/* Prootech — light editorial studio style. Logical properties everywhere so RTL mirrors cleanly. */
:root {
  --ink: #0a0a0a;
  --mute: #8a8a8a;
  --line: #e6e6e6;
  --bg: #fafafa;
  --purple: #6300ff;
  --pad: clamp(20px, 2.2vw, 32px);
  --sans: "Geist", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --hand: "Caveat", cursive;
  --ease: cubic-bezier(.76, 0, .24, 1);
}
[dir="rtl"] {
  --sans: "Readex Pro", system-ui, sans-serif;
  --mono: "IBM Plex Sans Arabic", "Readex Pro", sans-serif;
  --hand: "Aref Ruqaa", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--purple); color: #fff; }

/* labels */
.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
[dir="rtl"] .mono { letter-spacing: 0; text-transform: none; font-size: 13px; }
.mono.small { font-size: 11px; line-height: 1.45; color: #595959; }
[dir="rtl"] .mono.small { font-size: 12.5px; }
.arr { width: 11px; height: 11px; flex: none; transition: transform .45s var(--ease); }
[dir="rtl"] .arr { transform: scaleX(-1); }

/* loader */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; }
.loader span { width: 14px; height: 14px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 40px var(--purple); }

/* nav */
.nav { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); transition: transform .6s var(--ease); }
.nav.hide { transform: translateY(-110%); }
.logo img { height: 30px; width: auto; }
.pill { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(250,250,250,.75); backdrop-filter: blur(12px); }
.pill a { font-size: 14px; font-weight: 500; color: #555; padding: 6px 12px; border-radius: 99px; transition: background .3s, color .3s; }
.pill a:hover, .pill a.on { background: #ececec; color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 99px; }
.lang:hover { background: #ececec; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; height: 40px; padding-inline: 18px; border-radius: 99px; position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--purple); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover .arr { transform: translate(2px, -2px); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translate(2px, -2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { color: #fff; border-color: var(--purple); }

/* hero */
.hero { min-height: 100svh; padding: 112px var(--pad) 40px; display: flex; flex-direction: column; }
.meta { display: flex; justify-content: space-between; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; background: #fff; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 0 rgba(99,0,255,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(99,0,255,0); } 100% { box-shadow: 0 0 0 0 rgba(99,0,255,0); } }

.h1 { margin-block-start: clamp(28px, 4vw, 56px); font-weight: 500; font-size: clamp(52px, 9.4vw, 148px); line-height: .92; letter-spacing: -.065em; }
[dir="rtl"] .h1 { font-size: clamp(48px, 8.4vw, 132px); line-height: 1.18; letter-spacing: -.01em; font-weight: 600; }
.line { display: block; overflow: hidden; padding-block-end: .06em; }
[dir="rtl"] .line { padding-block: .04em .1em; }
.li { display: inline-block; }
.accent { font-family: var(--hand); font-style: normal; font-weight: 500; color: var(--purple); font-size: 1.04em; letter-spacing: -.01em; display: inline-block; padding-inline: .06em; }
[dir="rtl"] .accent { font-weight: 700; font-size: .92em; letter-spacing: 0; }
.accent-in { display: inline-block; padding-inline: .08em; margin-inline: -.08em; }

.hero-foot { margin-block-start: auto; padding-block-start: 48px; display: grid; grid-template-columns: 1fr minmax(0, 430px); gap: 32px; align-items: end; }
.hero-copy { display: grid; gap: 28px; }
.intro { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
[dir="rtl"] .intro { line-height: 1.75; letter-spacing: 0; font-weight: 400; }
.intro .mute { color: var(--mute); }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 14px; }
.faces { display: flex; }
.faces img, .faces .count { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; margin-inline-end: -10px; }
.faces .count { display: grid; place-items: center; background: var(--ink); color: #fff; font: 500 11px var(--mono); }

/* reel: grows from inset card to full bleed, ring of real work spins with scroll */
.reel { padding-inline: var(--pad); }
.reel-frame { position: relative; height: 92svh; border-radius: 24px; background: #0b0b0b; overflow: hidden; perspective: 1400px; transform-origin: center center; }
.reel-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 55%, rgba(99,0,255,.28), transparent 70%); pointer-events: none; }
.ring { position: absolute; inset-inline-start: 50%; inset-block-start: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.card { position: absolute; width: 220px; aspect-ratio: 4/5; margin: -137px 0 0 -110px; border-radius: 10px; overflow: hidden; transform: rotateY(calc(var(--i) * 36deg)) translateZ(520px); backface-visibility: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.card img { width: 100%; height: 100%; object-fit: cover; }
.reel-l, .reel-r { position: absolute; inset-block-end: 22px; color: #bdbdbd; z-index: 2; }
.reel-l { inset-inline-start: 26px; } .reel-r { inset-inline-end: 26px; }

/* section heads */
.sec-head { display: flex; justify-content: space-between; padding-block-end: 14px; border-block-end: 1px solid var(--line); }

/* studio */
.studio { padding: clamp(100px, 12vw, 180px) var(--pad) 40px; }
.studio-grid { display: grid; grid-template-columns: 1fr minmax(0, 1.6fr); gap: 32px; padding-block: 40px 90px; }
.link { align-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; border-block-end: 1px solid currentColor; padding-block-end: 3px; width: max-content; }
.link:hover { color: var(--purple); }
.studio-text { font-size: clamp(24px, 2.5vw, 38px); line-height: 1.18; font-weight: 500; letter-spacing: -.03em; }
[dir="rtl"] .studio-text { line-height: 1.6; letter-spacing: 0; }
.studio-text .w { color: #c9c9c9; transition: color .2s; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stats .stat { min-width: 0; padding: 32px 28px; }
.stats .stat:first-child { padding-inline-start: 0; }
.stats .stat + .stat { border-inline-start: 1px solid var(--line); }
.stats .num { display: flex; align-items: baseline; gap: 4px; font-size: clamp(42px, 4.5vw, 64px); font-weight: 500; color: var(--ink); letter-spacing: -.04em; line-height: 1.15; margin-block-end: 14px; }
[dir="rtl"] .stats .num { justify-content: flex-end; }
.stats .suf { color: var(--purple); font-size: .55em; font-weight: 400; }
.stat-label { color: #655d6d; font-size: 15px; line-height: 1.85; }
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat { padding: 24px; }
  .stats .stat:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .stats .stat:nth-child(n+3) { border-block-start: 1px solid var(--line); }
}
@media (max-width: 480px) { .stats .stat { padding: 22px 16px; } .stats .num { font-size: 42px; } .stat-label { font-size: 13px; } }
.num { font-size: clamp(56px, 6vw, 92px); font-weight: 500; letter-spacing: -.06em; line-height: 1; margin-block-end: 14px; font-family: "Geist", sans-serif; }
.suf { color: #c4c4c4; }

/* services */
.services { padding: clamp(90px, 10vw, 150px) var(--pad) 60px; }
.h2 { font-size: clamp(40px, 4.6vw, 72px); font-weight: 500; line-height: .98; letter-spacing: -.05em; max-width: 14ch; margin-block: 40px 56px; }
[dir="rtl"] .h2 { line-height: 1.35; letter-spacing: 0; max-width: 16ch; }
.accent.sm { font-size: 1.08em; }
.serv-list { list-style: none; }
.serv { display: grid; grid-template-columns: 70px 1fr 1fr 48px; gap: 24px; align-items: start; padding-block: 34px; border-block-start: 1px solid var(--line); position: relative; cursor: pointer; }
.serv:last-child { border-block-end: 1px solid var(--line); }
.serv::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: #f1edff; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; }
.serv:hover::before { transform: scaleY(1); }
.serv h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.03em; transition: transform .55s var(--ease), color .3s; }
[dir="rtl"] .serv h3 { letter-spacing: 0; }
.serv:hover h3 { transform: translateX(10px); color: var(--purple); }
[dir="rtl"] .serv:hover h3 { transform: translateX(-10px); }
.idx { color: var(--mute); padding-block-start: 8px; }
.serv-body p { font-size: 15px; line-height: 1.5; max-width: 42ch; color: #333; }
[dir="rtl"] .serv-body p { line-height: 1.8; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 14px; }
.tags span { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; color: #666; background: #fff; }
.circle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; background: #fff; }
.serv:hover .circle { background: var(--purple); color: #fff; border-color: var(--purple); }
.end-space { height: 30vh; }

/* motion initial states (only when JS is on) */
.js .li { transform: translateY(105%); }
.js .reveal-up { opacity: 0; transform: translateY(24px); }
.js .reveal-fade { opacity: 0; }

@media (max-width: 900px) {
  .pill { display: none; }
  .hero-foot, .studio-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .serv { grid-template-columns: 40px 1fr 44px; }
  .serv-body { grid-column: 2 / 3; }
  .serv .circle { grid-row: 1; grid-column: 3; }
  .card { width: 150px; margin: -94px 0 0 -75px; transform: rotateY(calc(var(--i) * 36deg)) translateZ(330px); }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- clients marquee ---------- */
.clients { padding: 70px 0 10px; }
.clients-label { text-align: center; color: var(--mute); margin-block-end: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marq 32s linear infinite; }
[dir="rtl"] .track { animation-name: marq-rtl; }
.track span { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.03em; color: #b5b5b5; white-space: nowrap; transition: color .3s; }
.track span:hover { color: var(--ink); }
.track i { font-style: normal; color: var(--purple); font-size: 18px; }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-rtl { to { transform: translateX(50%); } }

/* ---------- selected work ---------- */
.work { padding: clamp(100px, 11vw, 170px) var(--pad) 60px; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(16px, 2vw, 28px); row-gap: 70px; }
.proj { display: block; }
.proj.low { margin-block-start: 120px; }
.ph { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/11; background: #e9e9e9; }
.ph img { width: 100%; height: 118%; object-fit: cover; transition: transform 1s var(--ease); will-change: transform; }
.proj:hover .ph img { transform: scale(1.05); }
.view { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; width: 52px; height: 52px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .5s var(--ease); }
.view .arr { width: 15px; height: 15px; }
.proj:hover .view { transform: scale(1); }
.pmeta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block-start: 16px; }
.pmeta h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -.03em; }
[dir="rtl"] .pmeta h3 { letter-spacing: 0; }
.pmeta .mono { color: var(--mute); font-size: 11px; }

/* ---------- process (dark, stacking cards) ---------- */
.process { background: #0a0a0a; color: #fff; padding: clamp(100px, 10vw, 150px) var(--pad) 120px; margin-block-start: 80px; border-radius: 28px 28px 0 0; }
.proc-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: end; margin-block-end: 50px; }
.sec-head.dark { border-color: #262626; color: #8d8d8d; }
.process .h2 { margin-block-end: 0; }
.proc-side { color: #9a9a9a; font-size: 18px; line-height: 1.5; max-width: 34ch; justify-self: end; }
[dir="rtl"] .proc-side { line-height: 1.8; }
.stack { display: grid; gap: 22px; }
.pcard { position: sticky; inset-block-start: calc(90px + var(--n) * 22px); min-height: 56svh; border-radius: 22px; padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; background: #1b1b1b; border: 1px solid #262626; transform-origin: top center; }
.pcard:nth-child(1) { background: #e9e6f5; color: var(--ink); }
.pcard:nth-child(2) { background: #c9c0ef; color: var(--ink); }
.pcard:nth-child(3) { background: #6300ff; }
.pcard:nth-child(4) { background: #161616; }
.pnum { align-self: end; font-size: clamp(90px, 11vw, 170px); font-weight: 500; letter-spacing: -.07em; line-height: .8; font-family: "Geist", sans-serif; }
.pbody { align-self: center; max-width: 520px; }
.prow { display: flex; justify-content: space-between; padding-block-end: 12px; border-block-end: 1px solid currentColor; opacity: .7; margin-block-end: 70px; }
.pbody h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.03em; margin-block-end: 12px; }
[dir="rtl"] .pbody h3 { letter-spacing: 0; }
.pbody p { font-size: 15px; line-height: 1.55; opacity: .8; max-width: 44ch; }
[dir="rtl"] .pbody p { line-height: 1.85; }
.pcard .tags span { background: transparent; border-color: currentColor; color: inherit; opacity: .8; }

/* ---------- CTA ---------- */
.cta { background: #0a0a0a; color: #fff; padding: 60px var(--pad) 90px; }
.cta > .mono { color: #8d8d8d; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-block-start: 24px; }
.cta-h { font-size: clamp(48px, 7.4vw, 120px); font-weight: 500; line-height: .95; letter-spacing: -.06em; }
[dir="rtl"] .cta-h { line-height: 1.25; letter-spacing: 0; font-weight: 600; }
.magnet { flex: none; width: clamp(140px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; text-align: center; font-size: 15px; font-weight: 500; transition: background .4s, color .4s; }
.magnet span { display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.magnet .arr { width: 16px; height: 16px; }
.magnet:hover { background: var(--purple); color: #fff; }
.hello { position: relative; height: 1.2em; overflow: hidden; margin-block-start: 50px; font-size: clamp(22px, 2vw, 30px); color: #6d6d6d; }
.hello span { position: absolute; inset-inline-start: 0; transform: translateY(110%); transition: transform .7s var(--ease); }
.hello span.on { transform: none; }
.hello span.out { transform: translateY(-110%); }

/* ---------- footer ---------- */
.foot { background: #0a0a0a; color: #fff; padding: 0 var(--pad) 26px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-block: 50px 40px; border-block-start: 1px solid #222; }
.mail { font-size: clamp(20px, 1.8vw, 26px); border-block-end: 1px solid #fff; padding-block-end: 4px; display: inline-block; }
.mail:hover { color: #b494ff; border-color: #b494ff; }
.tel { display: block; margin-block: 14px; color: #bbb; width: max-content; }
[dir="rtl"] .tel { text-align: end; }
.foot-about p { color: #8d8d8d; max-width: 34ch; line-height: 1.6; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col .mono { color: #6d6d6d; margin-block-end: 8px; }
.foot-col a, .foot-col span { color: #d6d6d6; font-size: 15px; width: max-content; }
.foot-col a:hover { color: #b494ff; }
.wordmark { font-size: 23vw; font-weight: 600; letter-spacing: -.07em; line-height: .8; white-space: nowrap; margin-block: 20px 26px; }
[dir="rtl"] .wordmark { font-size: 21vw; letter-spacing: 0; line-height: 1.05; }
.wordmark .accent { font-size: 1em; color: var(--purple); }
.foot-bot { display: flex; justify-content: space-between; color: #6d6d6d; font-size: 13px; }
.foot-bot a:hover { color: #fff; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; row-gap: 44px; }
  .proj.low { margin-block-start: 0; }
  .work-head, .cta-row { flex-direction: column; align-items: flex-start; }
  .proc-head { grid-template-columns: 1fr; }
  .proc-side { justify-self: start; }
  .pcard { grid-template-columns: 1fr; min-height: auto; }
  .pnum { order: 2; }
  .prow { margin-block-end: 30px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .meta { flex-wrap: wrap; gap: 10px; }
  .hero { padding-block-start: 96px; }
  .reel-frame { height: 70svh; }
}

/* =====================================================================
   Brand pass v2 — Readex Pro only, the 45° cut highlight box from the
   brand kit (ELEMENTS/v2 cut-bar), purple never used as text colour,
   loader matching the live prootech-agency.com intro.
   Type scale (desktop): 13 · 15 · 18 · 24 · 34 · 52 · 88 · hero clamp.
   ===================================================================== */
:root, [dir="rtl"] {
  --sans: "Readex Pro", system-ui, sans-serif;
  --mono: "Readex Pro", system-ui, sans-serif;
  --hand: "Readex Pro", system-ui, sans-serif;
  --ink: #0e0e10;
  --bg: #f7f7f8;
  --mute: #8a8a93;
  --line: #e4e4e8;
  --lilac: #ece6ff;
}
body { font-family: var(--sans); }
.num, .pnum { font-family: var(--sans); }

/* small labels: sentence case, no tracking, no monospace */
.mono, [dir="rtl"] .mono { font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.mono.small, [dir="rtl"] .mono.small { font-size: 13px; line-height: 1.5; color: #6b6b73; }
.sec-head { justify-content: flex-start; position: relative; color: #6b6b73; }
.sec-head::after { content: ""; position: absolute; inset-block-end: -2px; inset-inline-start: 0; width: 22px; height: 3px; background: var(--purple); clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
[dir="rtl"] .sec-head::after { clip-path: polygon(0 0, 100% 0, 100% 100%, 3px 100%); }

/* logo at the live site's proportions */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { display: block; height: clamp(56px, 5vw, 72px); width: auto; }
.foot-logo { height: 46px; width: auto; margin-block-end: 26px; }

/* headline scale */
.h1 { font-weight: 500; font-size: clamp(46px, 7.6vw, 124px); line-height: 1.02; letter-spacing: -.045em; }
[dir="rtl"] .h1 { font-weight: 600; font-size: clamp(44px, 7.2vw, 118px); line-height: 1.24; letter-spacing: 0; }
.h2 { font-size: clamp(34px, 3.7vw, 56px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; max-width: 16ch; }
[dir="rtl"] .h2 { font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.studio-text { font-size: clamp(22px, 2.1vw, 32px); font-weight: 400; line-height: 1.32; letter-spacing: -.02em; }
[dir="rtl"] .studio-text { line-height: 1.75; letter-spacing: 0; }
.intro { font-size: 18px; font-weight: 400; line-height: 1.55; letter-spacing: 0; }
[dir="rtl"] .intro { line-height: 1.85; }
.cta-h { font-size: clamp(44px, 6.2vw, 100px); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
[dir="rtl"] .cta-h { font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.num { font-size: clamp(52px, 5vw, 80px); font-weight: 500; letter-spacing: -.04em; }
.pnum { font-weight: 500; letter-spacing: -.05em; }
.serv h3, .pmeta h3, .pbody h3 { font-weight: 500; letter-spacing: -.02em; }
[dir="rtl"] .serv h3, [dir="rtl"] .pmeta h3, [dir="rtl"] .pbody h3 { font-weight: 600; letter-spacing: 0; }
.track span { font-weight: 500; letter-spacing: -.02em; }
.wordmark { font-weight: 700; letter-spacing: -.05em; font-size: 20vw; line-height: .9; }
[dir="rtl"] .wordmark { font-size: 19vw; line-height: 1.1; letter-spacing: 0; }
.wordmark .accent { font-size: 1em; }

/* the brand highlight box: white word on #6300FF, 45° cut at the reading end */
.accent, [dir="rtl"] .accent { font: inherit; letter-spacing: inherit; color: #fff; position: relative; display: inline-block; padding: 0 .2em .04em; margin-inline: .04em; isolation: isolate; }
.accent::before { content: ""; position: absolute; inset: .12em 0 .02em; z-index: -1; background: var(--purple); clip-path: polygon(0 0, 100% 0, 100% 58%, calc(100% - .42em) 100%, 0 100%); transform-origin: left center; transition: transform .9s var(--ease); }
[dir="rtl"] .accent::before { clip-path: polygon(0 0, 100% 0, 100% 100%, .42em 100%, 0 58%); transform-origin: right center; }
[dir="rtl"] .h1 .accent::before, [dir="rtl"] .cta-h .accent::before { inset-block: .2em .08em; }
.accent-in { padding: 0; margin: 0; transition: opacity .5s .35s; }
.js .accent:not(.lit)::before { transform: scaleX(0); }
.js .accent:not(.lit) .accent-in { opacity: 0; }
.accent.sm { font-size: 1em; }
[lang="en"] .accent { line-height: 1.16; padding: .02em .2em .1em; }
[lang="en"] .accent::before { inset: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - .2em), calc(100% - .2em) 100%, 0 100%); }
[lang="en"] .line { padding-block: .04em .12em; }
.wordmark .accent::before { inset: .1em 0 0; }

/* loader: greetings over five black columns that lift away like steps */
.loader { background: transparent; display: block; pointer-events: none; }
.loader .bars { position: absolute; inset: 0; display: flex; }
.loader .bars i { flex: 1; background: #050505; margin-inline-end: -1px; }
.greet { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 400; }
.hw { display: inline-block; }

/* CTA supergraphic: the monogram outline, faint, bleeding off the edge */
.cta { position: relative; overflow: hidden; }
.cta > *:not(.cta-mark) { position: relative; }
.cta-mark { position: absolute; inset-inline-end: -6%; inset-block-start: -10%; width: min(52vw, 640px); opacity: .1; pointer-events: none; }
[dir="rtl"] .cta-mark { transform: scaleX(-1); }
.magnet { font-size: 15px; }

/* keyboard focus */
a:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 900px) {
  .logo img { height: 50px; }
  .intro { font-size: 16px; }
}
@media (max-width: 360px) { .logo img { height: 44px; } }
.hero .line { overflow: visible; }

/* =====================================================================
   v3 — DESIGN.md tokens. Values come from DESIGN.md; use the names.
   Fewer sizes, bigger jumps: body 18, labels 15, buttons 16.
   ===================================================================== */
:root, [dir="rtl"] {
  --ink: #0e0e10; --paper: #f7f7f8; --bg: var(--paper); --white: #fff;
  --text-2: #5e5e66; --mute: var(--text-2); --line: #e4e4e8; --lilac: #eee8ff;
  --dark: #050505; --dark-2: #141416; --dark-line: #26262b; --dark-text-2: #a3a3ad;
  --t-display: clamp(48px, 7.4vw, 120px); --t-h2: clamp(36px, 4.2vw, 64px); --t-h3: clamp(24px, 2.2vw, 32px);
  --t-lead: clamp(22px, 2vw, 30px); --t-body: 18px; --t-small: 15px; --t-micro: 13px;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
  --pad: clamp(20px, 3.4vw, 56px); --section: clamp(96px, 11vw, 168px); --max: 1520px;
  --gut: max(var(--pad), calc((100vw - var(--max)) / 2));
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px;
}
/* content width: sections keep full-bleed backgrounds, text stops at --max */
.hero, .studio, .services, .work, .process, .cta, .foot, .reel { padding-inline: var(--gut); }

/* labels and small text */
.mono, [dir="rtl"] .mono, .mono.small, [dir="rtl"] .mono.small { font-size: var(--t-small); line-height: 1.5; }
.mono.small, .sec-head { color: var(--text-2); }
.sec-head { padding-block-end: var(--s-2); }

/* nav */
.nav { padding-block: 16px; padding-inline: var(--gut); direction: ltr; }
[dir="rtl"] .nav :is(.pill, .nav-cta, .menu-btn) { direction: rtl; }
.pill a { font-size: var(--t-small); padding: 8px 14px; color: #4a4a52; }
.lang { font-size: var(--t-small); padding: 10px 14px; }
.btn { height: 48px; padding-inline: 22px; font-size: 16px; }
.btn-ghost { background: var(--white); }
.menu-btn { display: none; font: 500 var(--t-small) var(--sans); height: 44px; padding-inline: 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--dark); color: #fff; display: grid; align-content: center; gap: var(--s-5); padding: 120px var(--pad) var(--s-5); }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: var(--s-2); }
.menu nav a { font-size: 38px; font-weight: 600; line-height: 1.3; }
.menu-mail { color: var(--dark-text-2); font-size: 18px; }
.nav.open .menu-btn { background: var(--purple); color: #fff; border-color: var(--purple); }
.nav.open .lang { color: #fff; }
.nav.open .logo img { filter: brightness(0) invert(1); }

/* hero: less dead air, the work frame peeks in below */
.hero { min-height: 88svh; padding-block: 128px var(--s-6); }
.hero-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s-5); padding-block-start: var(--s-6); }
.intro, [dir="rtl"] .intro { font-size: clamp(19px, 1.5vw, 22px); }
.intro .mute { color: var(--text-2); }
.hero-copy { gap: var(--s-4); }
.trust { align-items: flex-start; gap: var(--s-2); }
.trust-text { font-size: var(--t-small); line-height: 1.6; color: var(--text-2); padding-inline-start: var(--s-2); border-inline-start: 3px solid var(--purple); }

/* reel: no glow, real work on black */
.reel-frame::after { content: none; }
.reel-frame { background: var(--dark); border-radius: var(--r-lg); }
.reel-l, .reel-r { color: var(--dark-text-2); }

/* studio */
.studio { padding-block: var(--section) var(--s-5); }
.studio-grid { padding-block: var(--s-6) var(--s-7); }
.studio-text, [dir="rtl"] .studio-text { font-size: var(--t-lead); }
.link { font-size: 16px; }
.stat { padding-block-start: var(--s-4); }
.stat .mono.small { margin-block-start: var(--s-1); }

/* headlines */
.h2 { font-size: var(--t-h2); margin-block: var(--s-5) var(--s-6); }
.serv h3, .pmeta h3, .pbody h3 { font-size: var(--t-h3); }

/* services: not links, so no arrow and no pointer */
.services { padding-block: var(--section) var(--s-6); }
.serv { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s-4); padding-block: var(--s-5); cursor: default; }
.serv::before { background: var(--lilac); inset-inline: calc(var(--gut) * -1); }
.serv-body p { font-size: var(--t-body); color: #3a3a40; max-width: 52ch; }
.tags { gap: var(--s-1); margin-block-start: var(--s-3); }
.tags span { font-size: 14px; padding: 6px 12px; color: #4a4a52; }
.idx { padding-block-start: 10px; }

/* clients strip */
.clients { padding-block: var(--s-7) var(--s-2); }
.clients-label { font-size: var(--t-small); color: var(--text-2); }
.track { gap: var(--s-5); }
.track span { color: #9d9da6; }
.track .tick { width: 14px; height: 6px; background: var(--purple); clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }

/* work */
.work { padding-block: var(--section) var(--s-6); }
.grid { row-gap: var(--s-7); }
.ph { border-radius: var(--r-md); }
.pmeta { padding-block-start: var(--s-3); }
.pmeta .mono { font-size: var(--t-small); color: var(--text-2); }

/* process */
.process { background: var(--dark); padding-block: var(--section) var(--s-8); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.sec-head.dark { border-color: var(--dark-line); color: var(--dark-text-2); }
.proc-side { font-size: var(--t-body); color: var(--dark-text-2); }
.pcard { border-radius: var(--r-md); }
.pcard:nth-child(4) { background: var(--dark-2); border-color: var(--dark-line); }
.pbody p { font-size: var(--t-body); opacity: .85; }
.prow { font-size: var(--t-small); }

/* CTA: headline, one circle, then real contact routes */
.cta { background: var(--dark); padding-block: var(--s-6) var(--s-7); }
.cta > .mono { color: var(--dark-text-2); }
.magnet { font-size: 16px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-7); margin-block-start: var(--s-6); padding-block-start: var(--s-4); border-block-start: 1px solid var(--dark-line); }
.cta-contact a { display: grid; gap: 6px; font-size: var(--t-lead); transition: color .3s; }
.cta-contact .mono { color: var(--dark-text-2); }
.cta-contact a:hover { color: #c8b3ff; }

/* footer */
.foot { background: var(--dark); }
.foot-top { border-color: var(--dark-line); }
.mail { font-size: var(--t-lead); }
.foot-about p { color: var(--dark-text-2); font-size: var(--t-small); }
.foot-col .mono { color: var(--dark-text-2); }
.foot-col a, .foot-col span { font-size: 16px; }
.foot-bot { font-size: var(--t-micro); color: var(--dark-text-2); }

/* keyboard focus for buttons too */
button:focus-visible, .btn:focus-visible, .magnet:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

@media (max-width: 900px) {
  :root, [dir="rtl"] { --t-body: 17px; --t-h2: 34px; --t-lead: 21px; }
  .nav-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hero { min-height: 0; padding-block: 112px var(--s-5); }
  .h1, [dir="rtl"] .h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-foot { grid-template-columns: 1fr; padding-block-start: var(--s-5); }
  .trust { order: 2; }
  .serv { grid-template-columns: 36px minmax(0, 1fr); gap: var(--s-2); padding-block: var(--s-4); }
  .serv-body { grid-column: 2; }
  .grid { row-gap: var(--s-5); }
  .cta-contact { gap: var(--s-3); }
  .cta-contact a { font-size: 19px; }
}

/* loader greetings: big, like the live site */
.greet { font-size: clamp(44px, 7vw, 112px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
[dir="rtl"] .greet { letter-spacing: 0; }

/* =====================================================================
   v4 — multi-page components (about, services, work, project, blog,
   contact, 404). Same tokens as v3 / DESIGN.md.
   ===================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; font-size: var(--t-small); }
.skip:focus { inset-block-start: 12px; }

/* nav: six links */
.pill a[aria-current] { background: #ececec; color: var(--ink); }

/* serv rows are links now: whole row clickable, arrow shows it */
.serv-list > li { list-style: none; }
a.serv { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr) 48px; color: inherit; cursor: pointer; }
.serv .circle { justify-self: end; }
.serv:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.reel-r:hover { color: #fff; }

/* page header for inner pages */
.phero { padding: 148px var(--gut) var(--s-6); }
.phero .sec-head { gap: 10px; align-items: baseline; }
.crumb { color: var(--text-2); transition: color .3s; }
.crumb:hover { color: var(--ink); }
.crumb-sep { color: #b4b4bc; }
.ph1, [dir="rtl"] .ph1 { font-size: clamp(44px, 6.4vw, 104px); margin-block-start: var(--s-5); max-width: 15ch; }
.post-h1, [dir="rtl"] .post-h1 { font-size: clamp(36px, 4.6vw, 72px); max-width: 22ch; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: #3a3a40; max-width: 40ch; margin-block-start: var(--s-4); }
[dir="rtl"] .lead { line-height: 1.8; }
.js .phero .reveal-up { opacity: 0; transform: translateY(16px); }

/* generic section on inner pages */
.block { padding: var(--s-7) var(--gut) 0; }
.block.tight { padding-block-start: var(--s-5); }
.block > .sec-head { margin-block-end: var(--s-5); }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-5); align-items: start; }
.split-grid .btn { justify-self: start; }

/* long text */
.prose { max-width: 62ch; display: grid; gap: var(--s-3); }
.prose p, .prose li { font-size: var(--t-body); line-height: 1.75; color: #2e2e34; }
[dir="rtl"] .prose p, [dir="rtl"] .prose li { line-height: 1.95; }
.prose h2 { font-size: var(--t-h3); font-weight: 600; margin-block-start: var(--s-3); }
.prose ul { padding-inline-start: 1.2em; display: grid; gap: 6px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose.big .first { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); }
[dir="rtl"] .prose.big .first { line-height: 1.8; }
.article { margin-inline: auto; }

/* vision / mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.vm-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(28px, 3.4vw, 52px); display: grid; gap: var(--s-4); align-content: space-between; min-height: 300px; }
.vm-card .mono { color: var(--text-2); }
.vm-card.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.vm-card.dark .mono { color: var(--dark-text-2); }
.vm-text { font-size: var(--t-lead); line-height: 1.45; font-weight: 500; }
[dir="rtl"] .vm-text { line-height: 1.8; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-block-start: var(--s-6); border-block-start: 1px solid var(--line); }
.fact { padding: var(--s-4) var(--s-3) 0; }
.fact + .fact { border-inline-start: 1px solid var(--line); }
.fact .num { font-size: clamp(44px, 4.4vw, 72px); margin-block-end: var(--s-1); }

/* value rows */
.rows { list-style: none; }
.row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s-4); padding-block: var(--s-4); border-block-start: 1px solid var(--line); align-items: baseline; }
.row:last-child { border-block-end: 1px solid var(--line); }
.row h3 { font-size: var(--t-h3); font-weight: 600; }
.row p { font-size: var(--t-body); color: #3a3a40; line-height: 1.7; }
.why .h2.wide { max-width: 20ch; }
.why .lead { max-width: 52ch; margin-block-start: 0; }

/* client logos: one colour on a dark band */
.logos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--dark); border-radius: var(--r-md); overflow: hidden; }
.logos li { display: grid; place-items: center; padding: clamp(28px, 4vw, 56px); border-inline-end: 1px solid var(--dark-line); border-block-end: 1px solid var(--dark-line); }
.logos img { max-height: 56px; max-width: 80%; width: auto; filter: brightness(0) invert(1); opacity: .85; }

/* service detail items */
.items { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); }
.item { padding-block: var(--s-4); border-block-start: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 6px var(--s-2); }
.item h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.35; }
.item p { grid-column: 2; font-size: var(--t-body); color: #3a3a40; line-height: 1.75; }
.item .idx { padding-block-start: 6px; }

/* next service / project */
.next { display: grid; gap: var(--s-2); padding-block: var(--s-5); border-block: 1px solid var(--line); position: relative; color: inherit; }
.next .mono { color: var(--text-2); }
.next-t { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-h2); font-weight: 600; line-height: 1.2; }
.next-t .arr { width: .5em; height: .5em; transition: transform .5s var(--ease); }
.next:hover .next-t .arr { transform: translate(4px, -4px); }
[dir="rtl"] .next:hover .next-t .arr { transform: scaleX(-1) translate(4px, -4px); }
.next-proj { grid-template-columns: 1fr minmax(0, 360px); align-items: center; }
.next-proj .mono, .next-proj .next-t { grid-column: 1; }
.next-proj img { grid-column: 2; grid-row: 1 / span 2; border-radius: var(--r-sm); aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* work filters */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-block-end: var(--s-6); }
.chip { font: 500 var(--t-small) var(--sans); height: 44px; padding-inline: 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .3s, color .3s, border-color .3s; }
.chip span { color: var(--text-2); font-size: 13px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on span { color: #b9b9c2; }
.proj[hidden] { display: none; }

/* project page */
.cover { border-radius: var(--r-lg); overflow: hidden; background: #e9e9ec; }
.cover img { width: 100%; max-height: 86svh; object-fit: cover; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-5); align-items: start; }
.case-meta { display: grid; gap: var(--s-3); position: sticky; inset-block-start: 110px; }
.case-meta dt { color: var(--text-2); margin-block-end: 4px; }
.case-meta dd { font-size: var(--t-body); line-height: 1.6; }
.case-meta dd a:not(.link) { border-block-end: 1px solid var(--line); }
.case-meta dd a:hover { border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--s-3); }
.gallery figure { border-radius: var(--r-md); overflow: hidden; background: #e9e9ec; }
.gallery img { width: 100%; max-height: 80svh; object-fit: cover; object-position: top; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6) var(--s-4); }
.post-card { display: grid; gap: var(--s-2); align-content: start; }
.post-card .ph { aspect-ratio: 4/3; margin-block-end: var(--s-1); }
.post-card .mono { color: var(--text-2); }
.post-card h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }
.post-card p:last-child { color: #3a3a40; font-size: var(--t-small); line-height: 1.7; }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.empty { border: 1px dashed #cfcfd6; border-radius: var(--r-md); padding: clamp(32px, 5vw, 72px); display: grid; gap: var(--s-2); justify-items: start; max-width: 760px; }
.empty-h { font-size: var(--t-h3); font-weight: 600; }
.empty p:not(.empty-h) { color: var(--text-2); font-size: var(--t-body); line-height: 1.7; max-width: 52ch; margin-block-end: var(--s-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; padding-block-end: var(--s-8); }
.form { display: grid; gap: var(--s-3); }
.form label { display: grid; gap: var(--s-1); }
.form label > span { font-size: var(--t-small); color: var(--text-2); }
.form input, .form select, .form textarea { font: 400 var(--t-body) var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 54px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(99, 0, 255, .14); }
[dir="rtl"] .form input[dir="ltr"] { text-align: end; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.hp { position: absolute !important; inset-inline-start: -9999px; }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: var(--t-small); min-height: 1.5em; }
.form-status[data-state="ok"] { color: #0d7a3f; }
.form-status[data-state="err"] { color: #b42318; }
.direct { display: grid; gap: var(--s-3); position: sticky; inset-block-start: 110px; }
.direct > .mono { color: var(--text-2); padding-block-end: var(--s-2); border-block-end: 1px solid var(--line); }
.route { display: grid; gap: 4px; font-size: var(--t-lead); transition: color .3s; width: max-content; max-width: 100%; }
.route .mono { color: var(--text-2); }
.route:hover { color: #4a00c0; }
.direct .off { color: var(--text-2); margin-block-start: var(--s-2); }
.route-plain { font-size: var(--t-body); line-height: 1.8; }
.direct .btn { justify-self: start; margin-block-start: var(--s-2); }

/* 404 */
.nf { min-height: 80svh; display: grid; align-content: center; justify-items: start; gap: var(--s-3); }
.nf-code { font-size: var(--t-small); color: var(--text-2); }
.nf .ph1 { margin-block-start: 0; }

/* shared CTA + footer additions */
.cta { margin-block-start: var(--s-8); border-radius: var(--r-lg) var(--r-lg) 0 0; padding-block-start: var(--s-7); }
.process + .cta { margin-block-start: 0; border-radius: 0; }
.foot-dl { display: inline-flex; align-items: center; gap: 8px; margin-block-start: var(--s-3); font-size: var(--t-small); border-block-end: 1px solid currentColor; padding-block-end: 3px; }
.foot-dl:hover { color: #c8b3ff; }
.menu-foot { display: grid; gap: var(--s-1); }
.menu-foot a { color: var(--dark-text-2); font-size: 17px; }

@media (max-width: 900px) {
  .pill { display: none; }
  a.serv { grid-template-columns: 36px minmax(0, 1fr) 44px; }
  a.serv .serv-body { grid-column: 2; grid-row: 2; }
  .phero { padding-block-start: 120px; }
  .split-grid, .vm, .case, .contact-grid, .two, .items { grid-template-columns: 1fr; }
  .split-grid .btn { order: 2; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-inline-start: 0; }
  .row { grid-template-columns: 36px 1fr; }
  .row p { grid-column: 2; }
  .logos { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr; }
  .case-meta, .direct { position: static; grid-template-columns: 1fr 1fr; }
  .next-proj { grid-template-columns: 1fr; }
  .next-proj img { grid-column: 1; grid-row: auto; }
  .contact-grid { gap: var(--s-6); }
  .direct { grid-template-columns: 1fr; }
  .route { font-size: 19px; }
}
@media (min-width: 901px) and (max-width: 1180px) { .pill a { padding: 8px 10px; } .pill { gap: 0; } }

/* footer: no wordmark; the logo carries the brand, bigger */
.foot-logo { height: clamp(88px, 9vw, 140px); width: auto; margin-block-end: var(--s-4); }
.foot-top { padding-block: var(--s-7) var(--s-6); align-items: start; }
.foot-bot { padding-block-start: var(--s-3); border-block-start: 1px solid var(--dark-line); }
@media (max-width: 900px) { .foot-logo { height: 64px; } }

/* home: about link + the one company-profile download outside the About page */
.studio-links { display: grid; gap: var(--s-2); align-content: start; justify-items: start; }
.link-dl { color: var(--text-2); }
.link-dl:hover { color: var(--ink); }

/* ===================== v5 — 2026-11-26: products, branches, logo wall, reels, testimonials, join, brief form ===================== */
/* process stack: no animated filter (it repainted the whole card every frame and made scrolling stick) */
.pcard { position: sticky; overflow: hidden; will-change: transform; backface-visibility: hidden; }
.pshade { position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: 0; pointer-events: none; z-index: 2; }
.pcard > :not(.pshade) { position: relative; z-index: 1; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light .ico { width: 20px; height: 20px; }
.btn-xl { height: 56px; padding-inline: 28px; }
.ico { width: 22px; height: 22px; flex: none; }

/* floating free-consultation button */
.consult-fab { position: fixed; inset-block-end: 88px; inset-inline-end: 20px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid #dce9e1; border-radius: 50%; background: #fff; color: #128653; font-weight: 500; font-size: 14px; box-shadow: 0 8px 24px rgba(20, 50, 35, .12); transition: transform .25s ease, background .25s; }
.consult-fab:hover { background: #eaf8f0; transform: translateY(-3px); }
.consult-fab .ico { width: 30px; height: 30px; color: #008c45; flex: none; }
.consult-fab > span { position: absolute; inset-inline-end: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(4px); white-space: nowrap; padding: 8px 14px; border-radius: 12px; background: #17121f; color: #fff; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; box-shadow: 0 6px 20px #0002; }
.consult-fab:hover > span, .consult-fab:focus-visible > span { opacity: 1; visibility: visible; transform: translateY(-50%); }
.consult-fab:focus-visible { outline: 2px solid #128653; outline-offset: 4px; }
body:has(.bot.open) .consult-fab { opacity: 0; visibility: hidden; pointer-events: none; }
body:has(.consent:not([hidden])) .consult-fab { inset-block-end: 308px; }
@media (max-width: 600px) {
  .consult-fab { inset-block-end: 82px; inset-inline-end: 14px; width: 52px; height: 52px; }
  body:has(.consent:not([hidden])) .consult-fab { inset-block-end: 298px; }
}
@media (prefers-reduced-motion: reduce) { .consult-fab, .consult-fab > span { transition: none; } .consult-fab:hover { transform: none; } }

/* products */
.prods { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.prods.full { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.prod { position: relative; display: grid; align-content: start; gap: var(--s-2); padding: clamp(24px, 2.6vw, 40px); min-height: 320px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s; }
.prod::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--dark); transform: translateY(101%); transition: transform .6s var(--ease); }
.prod:hover { color: #fff; border-color: var(--dark); }
.prod:hover::before { transform: none; }
.prod .idx { color: var(--text-2); }
.prod h3 { font-size: var(--t-h3); line-height: 1.35; font-weight: 600; }
.prod p { font-size: 16px; line-height: 1.75; color: var(--text-2); transition: color .45s; }
.prod:hover p, .prod:hover .idx, .prod:hover .prod-feat li { color: var(--dark-text-2); }
.prod-feat { display: grid; gap: 8px; padding-block-start: var(--s-1); }
.prod-feat li { font-size: 15px; color: var(--text-2); padding-inline-start: 18px; position: relative; }
.prod-feat li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 3px; background: var(--purple); }
.prod-go { margin-block-start: auto; display: flex; align-items: center; justify-content: space-between; padding-block-start: var(--s-3); color: inherit !important; }
.prod:hover .circle { background: var(--purple); border-color: var(--purple); color: #fff; }
.products-home .work-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-3); margin-block-end: var(--s-5); }
.products-home .h2 { margin: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.plan { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); background: var(--white); display: grid; gap: var(--s-1); }
.plan.mid { background: var(--purple); color: #fff; border-color: var(--purple); }
.plan-n { font-size: var(--t-h3); font-weight: 600; }
.plan p:not(.plan-n) { font-size: 16px; line-height: 1.7; opacity: .85; }
.prod-cta { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-block: var(--s-4) var(--s-5); }
.phero .prod-cta { margin-block-end: 0; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--s-4); }
.others .next-t { font-size: var(--t-h3); }

/* branches */
.branches .h2 { margin-block-end: var(--s-5); }
.br-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.br { position: relative; display: grid; gap: 6px; padding: var(--s-4); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: background .4s, color .4s, border-color .4s; }
.br h3 { font-size: clamp(36px, 3.6vw, 56px); font-weight: 600; line-height: 1.1; margin-block-start: var(--s-3); }
.br .mono { color: var(--text-2); }
.br-note { font-size: 16px; color: var(--text-2); margin-block-start: var(--s-2); }
.br-phone { font-size: 18px; font-weight: 500; margin-block-start: var(--s-1); }
.br .circle { position: absolute; inset-block-start: var(--s-4); inset-inline-end: var(--s-4); }
.br:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.br:hover .mono, .br:hover .br-note { color: var(--dark-text-2); }
.br:hover .circle { background: var(--purple); border-color: var(--purple); }

/* client logo wall (dark band) */
.wall { background: var(--dark); color: #fff; margin: var(--s-7) var(--gut) 0; padding: var(--section) clamp(20px, 4vw, 64px) clamp(40px, 5vw, 80px); border-radius: var(--r-lg); }
.wall-head { display: grid; gap: var(--s-4); margin-block-end: var(--s-6); }
.wall .h2 { margin: 0; }
.wall-grid { display: grid; grid-template-columns: repeat(9, 1fr); border-block-start: 1px solid var(--dark-line); border-inline-start: 1px solid var(--dark-line); }
.lg { position: relative; aspect-ratio: 1 / .78; display: grid; place-items: center; padding: 18%; border-block-end: 1px solid var(--dark-line); border-inline-end: 1px solid var(--dark-line); overflow: hidden; isolation: isolate; }
.lg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: circle(0% at 50% 100%); transition: clip-path .6s var(--ease); }
.lg.lg-light::before { background: var(--purple); }
.lg img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(1.35); opacity: .55; transition: filter .5s, opacity .5s, transform .6s var(--ease); }
.lg.lg-dark img { filter: grayscale(1) invert(1) brightness(.9); }
.lg-name { position: absolute; inset-block-end: 8px; inset-inline: 8px; text-align: center; font-size: 12px; color: var(--text-2); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg.lg-light .lg-name { color: #e6dcff; }
.lg:hover::before { clip-path: circle(150% at 50% 100%); }
.lg:hover img, .lg.lg-dark:hover img { filter: none; opacity: 1; transform: scale(1.08) translateY(-6px); }
.lg:hover .lg-name { opacity: 1; transform: none; }

/* reels */
.reels { background: var(--dark); color: #fff; padding: var(--section) 0 var(--s-7); }
.reels-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-3); padding-inline: var(--gut); margin-block-end: var(--s-5); }
.reels-heading { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); min-width: 0; }
.reels-heading > div { min-width: 0; }
.reels-art { width: clamp(84px, 10vw, 144px); height: auto; flex: none; }
.reels-heading .h2 { margin-block: 24px 0; }
.reels .h2 { margin: var(--s-4) 0 0; }
.reels-row { display: flex; align-items: flex-start; gap: var(--s-2); overflow-x: auto; padding-inline: var(--gut); padding-block: 10px var(--s-2); scroll-snap-type: x mandatory; scrollbar-width: none; }
.reels-row::-webkit-scrollbar { display: none; }
.rl { position: relative; flex: 0 0 clamp(260px, 25vw, 360px); aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: var(--dark-2); scroll-snap-align: start; transition: transform .6s var(--ease); }
.rl video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rl-play { position: absolute; z-index: 2; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; background: #0002; color: #fff; cursor: pointer; font: 500 13px var(--sans); text-decoration: none; }
.rl-play > svg { width: 64px; height: 64px; padding: 12px; border: 1px solid #ffffff80; border-radius: 50%; background: #17101f80; backdrop-filter: blur(6px); }
.rl-play > span { border-radius: 99px; padding: 6px 12px; background: #17101f99; }
.rl-play:focus-visible { outline: 2px solid #b58aff; outline-offset: -5px; }
.rl-play:disabled { cursor: progress; }
.rl.has-started .rl-play, .rl.has-started .rl-cap, .rl.has-started::after { display: none; }
.rl-local .rl-ig { z-index: 3; }
.rl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 45%); pointer-events: none; }
.rl-cap { position: absolute; z-index: 1; inset-inline: 16px; inset-block-end: 16px; font-size: 15px; line-height: 1.5; font-weight: 500; }
.rl-ig { position: absolute; z-index: 1; inset-block-start: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.rl-ig .ico { width: 20px; height: 20px; }
.rl:hover { transform: translateY(-8px); }

/* testimonials */
.testi-stage { position: relative; display: grid; min-height: 280px; }
.tq { grid-area: 1 / 1; display: grid; gap: var(--s-4); align-content: start; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.tq.on { opacity: 1; transform: none; pointer-events: auto; }
.tq blockquote { font-size: clamp(26px, 3vw, 44px); line-height: 1.45; font-weight: 500; max-width: 30ch; }
.tq figcaption { display: flex; align-items: center; gap: var(--s-2); }
.tq figcaption img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: var(--white); border: 1px solid var(--line); padding: 6px; }
.tq figcaption > span { display: grid; gap: 2px; }
.tq figcaption .mono { color: var(--text-2); }
.testi-nav { display: flex; align-items: center; gap: var(--s-2); margin-block-start: var(--s-4); }
.tbtn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .3s, color .3s; }
.tbtn:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.tbtn[data-dir="-1"] .arr { transform: rotate(-90deg); }
[dir="rtl"] .tbtn[data-dir="1"] .arr { transform: rotate(-90deg); }
[dir="rtl"] .tbtn[data-dir="-1"] .arr { transform: none; }
.tdots { display: flex; gap: 6px; }
.tdots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s, width .3s; }
.tdots i.on { width: 40px; background: var(--purple); }

/* join us */
.join-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: end; margin-block-end: var(--s-5); }
.join-top .h2 { margin: 0; }
.join-pick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.form .jcard { position: relative; display: grid; gap: 6px; padding: var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: background .4s, color .4s, border-color .4s; }
.jcard input { position: absolute; opacity: 0; pointer-events: none; }
.jico { width: 44px; height: 44px; margin-block-end: var(--s-2); color: var(--purple); }
.form .jcard .jt { font-size: var(--t-h3); font-weight: 600; color: inherit; }
.form .jcard .jd { font-size: 16px; color: var(--text-2); }
.jcard:has(input:checked) { background: var(--dark); color: #fff; border-color: var(--dark); }
.form .jcard:has(input:checked) .jd { color: var(--dark-text-2); }
.jcard:has(input:checked) .jico { color: #fff; }
.jcard:has(input:focus-visible) { outline: 2px solid var(--purple); outline-offset: 3px; }
.jcard::after { content: ""; position: absolute; inset-block-start: var(--s-4); inset-inline-end: var(--s-4); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); }
.jcard:has(input:checked)::after { background: var(--purple); border-color: var(--purple); box-shadow: inset 0 0 0 5px var(--dark); }
.join-fields { display: grid; gap: var(--s-3); padding: var(--s-4); margin-block-start: var(--s-2); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }

/* project brief (contact) */
.brief-wrap { max-width: calc(1100px + var(--gut) * 2); }
.brief { gap: 0; }
.brief-progress { position: sticky; inset-block-start: 0; z-index: 5; display: flex; align-items: center; gap: var(--s-2); padding-block: var(--s-2); background: var(--paper); }
.bp-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.bp-bar i { display: block; height: 100%; width: 0; background: var(--purple); transition: width .6s var(--ease); }
.bp-txt { color: var(--text-2); white-space: nowrap; }
.bp-txt b { color: var(--ink); font-weight: 600; }
.q { border: 0; border-block-end: 1px solid var(--line); padding: var(--s-6) 0; margin: 0; min-width: 0; display: grid; gap: var(--s-3); }
.q legend { float: inline-start; width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px var(--s-2); margin-block-end: var(--s-2); padding: 0; }
.q-n { color: var(--text-2); }
.q-t { font-size: clamp(30px, 3.4vw, 52px); font-weight: 600; line-height: 1.25; }
.q-h { font-size: var(--t-small); color: var(--text-2); width: 100%; }
.q.done .q-n { color: #fff; background: var(--purple); padding: 2px 8px; border-radius: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.form .opt { position: relative; display: inline-flex; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.form .opt span { display: inline-flex; align-items: center; height: 54px; padding-inline: 24px; border-radius: 99px; border: 1px solid var(--ink); font-size: 17px; color: var(--ink); background: transparent; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.opt:hover span { transform: translateY(-2px); }
.form .opt input:checked + span { background: var(--purple); color: #fff; border-color: var(--purple); }
.opt input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 3px; }
.sub { color: var(--text-2); margin-block-start: var(--s-2); }
.form .line-in input, .form .line-in textarea { background: transparent; border: 0; border-block-end: 1px solid var(--ink); border-radius: 0; padding-inline: 0; font-size: 22px; height: 60px; box-shadow: none; }
.form .line-in textarea { height: auto; min-height: 120px; }
.form .line-in input:focus, .form .line-in textarea:focus { border-block-end: 2px solid var(--purple); box-shadow: none; }
.brief-send { display: flex; flex-wrap: wrap; gap: var(--s-2); padding-block-start: var(--s-5); }
.brief .form-status { margin-block-start: var(--s-2); font-size: 17px; }

.offices .off-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.off { display: grid; gap: 6px; align-content: start; padding-block-start: var(--s-3); border-block-start: 2px solid var(--ink); }
.off h3 { font-size: var(--t-h3); font-weight: 600; }
.off .mono { color: var(--text-2); }
.off-note { color: var(--text-2); font-size: 16px; margin-block-end: var(--s-2); }
.off a { width: max-content; font-size: 17px; }
.off a:hover { color: var(--purple); }
.off .link { margin-block-start: var(--s-1); }

/* social icons */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: var(--s-3); }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--dark-line); color: #fff; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--purple); border-color: var(--purple); transform: translateY(-3px); }
.socials.dark-on-light { margin-block-start: var(--s-6); }
.socials.dark-on-light a { border-color: var(--line); color: var(--ink); background: var(--white); }
.socials.dark-on-light a:hover { color: #fff; background: var(--purple); border-color: var(--purple); }

/* footer: Saudi Vision 2030 */
@media (min-width: 901px) { .foot-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.foot-vision { display: flex; align-items: center; gap: var(--s-4); padding-block: var(--s-4); border-block-start: 1px solid var(--dark-line); }
.foot-vision img { height: 72px; width: auto; }
.foot-vision p { color: var(--dark-text-2); font-size: var(--t-small); }

/* city pages + FAQ */
.city-h1 { max-width: 16ch; }
.faq-list { display: grid; border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding-block: var(--s-4); cursor: pointer; font-size: var(--t-h3); font-weight: 600; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 14px; height: 2px; background: currentColor; translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq details[open] summary i { background: var(--purple); border-color: var(--purple); color: #fff; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details p { font-size: var(--t-body); line-height: 1.85; color: var(--text-2); max-width: 70ch; padding-block-end: var(--s-4); }

/* work filter bar: sticky, quick, a sliding pill under the active chip */
.filters-bar { position: sticky; inset-block-start: 96px; z-index: 20; margin-block-end: var(--s-6); display: flex; justify-content: center; transition: inset-block-start .4s var(--ease); }
body:has(.nav.hide) .filters-bar { inset-block-start: 12px; }
.filters-bar .filters { position: relative; margin: 0; padding: 6px; gap: 4px; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 99px; scrollbar-width: none; box-shadow: 0 8px 30px rgba(14,14,16,.06); }
.filters-bar .filters::-webkit-scrollbar { display: none; }
.filters-bar .chip { position: relative; z-index: 1; border: 0; background: transparent; white-space: nowrap; transition: color .35s, background .3s; }
.filters-bar .chip.on { background: transparent; color: #fff; }
.filters-bar .chip:hover:not(.on) { background: var(--paper); }
.fpill { position: absolute; z-index: 0; inset-block: 6px; left: 0; width: 0; border-radius: 99px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
.work-grid .proj { transition: opacity .35s, transform .5s var(--ease); }
.work-grid .proj.out { opacity: 0; transform: scale(.96); }

@media (max-width: 1180px) {
  .wall-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 900px) {
  .prods, .prods.full, .plans, .ps-grid, .others, .br-grid, .join-top, .join-pick, .offices .off-grid { grid-template-columns: 1fr; }
  .wall-grid { grid-template-columns: repeat(3, 1fr); }
  .lg-name { display: none; }
  .wall { border-radius: var(--r-md); margin-inline: 12px; }
  .products-home .work-head, .reels-head { flex-direction: column; align-items: start; }
  .prod { min-height: 0; }
  .foot-vision { flex-direction: column; align-items: start; gap: var(--s-2); }
  .foot-vision img { height: 60px; }
  .form .opt span { height: 48px; padding-inline: 18px; font-size: 16px; }
  .q { padding-block: var(--s-5); }
  .filters-bar { inset-block-start: 76px; }
  .faq summary { font-size: 20px; }
  .rl { flex-basis: min(76vw, 360px); }
}
@media (min-width: 901px) and (max-width: 1280px) { .pill a { padding: 8px 9px; font-size: 14px; } .nav-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .tq, .lg::before, .prod::before, .fpill { transition: none; } }
.reels + .cta { margin-block-start: 0; border-radius: 0; }

/* ===================== v6 — systems selector + purple logo wall ===================== */
/* products: dark band, systems listed on the start side, the chosen one opens on the end side */
.systems { background: var(--dark); color: #fff; margin-block-start: var(--s-8); padding: var(--section) var(--gut) var(--s-8); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.systems.in-page { margin-block-start: var(--s-4); border-radius: var(--r-lg); margin-inline: var(--gut); padding: clamp(28px, 4vw, 64px); }
.block .sys { margin-block-start: 0; }
.block:has(> .sys) .sys { background: var(--dark); padding: clamp(20px, 3vw, 48px); border-radius: var(--r-lg); }
.sys-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-5); align-items: end; }
.sys-h { font-size: var(--t-h2); font-weight: 600; line-height: 1.3; max-width: 14ch; }
.sys-intro { font-size: var(--t-body); line-height: 1.85; color: var(--dark-text-2); max-width: 46ch; }
.sys { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); margin-block-start: var(--s-6); align-items: start; color: #fff; }
.sys-tabs { display: grid; border-block-start: 1px solid var(--dark-line); position: sticky; inset-block-start: 110px; }
.sys-tab { position: relative; display: grid; gap: 6px; text-align: start; padding-block: var(--s-3); padding-inline: var(--s-3) 0; background: none; border: 0; border-block-end: 1px solid var(--dark-line); color: var(--dark-text-2); font: inherit; cursor: pointer; transition: color .3s, padding .5s var(--ease); }
.sys-tab::before { content: ""; position: absolute; inset-block: var(--s-3); inset-inline-start: 0; width: 4px; background: var(--purple); transform: scaleY(0); transition: transform .5s var(--ease); }
.sys-tn { font-size: var(--t-h3); font-weight: 600; line-height: 1.35; }
.sys-ta { font-size: var(--t-small); }
.sys-tab:hover { color: #fff; }
.sys-tab[aria-selected="true"] { color: #fff; padding-inline-start: var(--s-4); }
.sys-tab[aria-selected="true"]::before { transform: none; }
.sys-tab:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.sys-panel { display: grid; gap: var(--s-4); padding: clamp(28px, 3.6vw, 56px); background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-lg); }
.sys-panel:not([hidden]) { animation: sysIn .55s var(--ease); }
@keyframes sysIn { from { opacity: 0; transform: translateY(14px); } }
.sys-name { font-size: clamp(30px, 3vw, 46px); font-weight: 600; line-height: 1.25; }
.sys-pitch { font-size: 19px; line-height: 1.8; color: var(--dark-text-2); max-width: 52ch; }
.sys-feat { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-4); padding-block: var(--s-2); }
.sys-feat li { display: flex; align-items: center; gap: 14px; font-size: 17px; line-height: 1.5; }
.sys-tick { flex: none; width: 28px; height: 28px; display: grid; place-items: center; background: var(--purple); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
[dir="rtl"] .sys-tick { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.sys-tick svg { width: 16px; height: 16px; }
.sys-for { display: grid; gap: 6px; padding-block-start: var(--s-3); border-block-start: 1px solid var(--dark-line); font-size: 17px; line-height: 1.7; }
.sys-for span { font-size: var(--t-small); color: var(--dark-text-2); }
.sys-acts { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple::before { background: #fff; }
.btn-purple:hover { color: var(--ink); }
.btn-line { border: 1px solid #3a3a41; color: #fff; background: transparent; }
.btn-line:hover { border-color: var(--purple); }

/* clients: white logos on the brand purple, one optical size, no grid lines */
.wall { background: var(--purple); color: #fff; margin: 0; padding: var(--section) var(--gut); border-radius: 0; }
.systems + .wall { margin-block-start: 0; }
.wall-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: end; margin-block-end: var(--s-7); }
.wall-h { font-size: var(--t-h2); font-weight: 600; line-height: 1.3; }
.wall-sub { font-size: var(--t-body); line-height: 1.85; color: rgba(255, 255, 255, .78); max-width: 42ch; }
.wall-grid { --cols: 9; --gap: clamp(16px, 2vw, 32px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5) var(--gap); border: 0; }
.wall .lg { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); aspect-ratio: auto; height: 112px; padding: 0; border: 0; display: grid; place-items: center; overflow: visible; }
.wall .lg::before { display: none; }
.wall .lg img { max-width: 100%; height: auto; filter: none; opacity: .82; transition: opacity .35s, transform .5s var(--ease); }
.wall .lg:hover img { opacity: 1; transform: translateY(-4px) scale(1.06); filter: none; }
.wall + .work { padding-block-start: var(--section); }

@media (max-width: 1180px) { .wall-grid { --cols: 6; } }
@media (max-width: 900px) {
  .sys-head, .wall-head { grid-template-columns: 1fr; gap: var(--s-3); }
  .sys { grid-template-columns: 1fr; gap: var(--s-3); }
  .sys-tabs { position: static; display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .sys-tabs::-webkit-scrollbar { display: none; }
  .sys-tab { flex: none; padding: 10px 18px; border: 1px solid var(--dark-line); border-radius: 99px; }
  .sys-tab[aria-selected="true"] { padding-inline-start: 18px; background: var(--purple); border-color: var(--purple); }
  .sys-tab::before, .sys-ta { display: none; }
  .sys-tn { font-size: 16px; white-space: nowrap; }
  .sys-feat { grid-template-columns: 1fr; }
  .systems { border-radius: var(--r-md) var(--r-md) 0 0; }
  .systems.in-page { margin-inline: 12px; }
  .wall-grid { --cols: 3; row-gap: var(--s-4); }
  .wall .lg { height: 84px; }
  .wall .lg img { max-width: 88%; }
}
@media (prefers-reduced-motion: reduce) { .sys-panel:not([hidden]) { animation: none; } }
.sys-panel[hidden] { display: none; }

/* logo wall hover: the real-colour logo on its own tile, a gentle lift and zoom */
.wall .lg { cursor: default; }
.lg-in { position: relative; display: block; max-width: 100%; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.lg-in::before { content: ""; position: absolute; inset: -16px -20px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(20, 0, 60, .28); opacity: 0; transform: scale(.82); transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.lg-light .lg-in::before { background: var(--dark); }
.wall .lg .lg-m { position: relative; display: block; width: 100%; height: auto; max-width: none; transition: opacity .4s ease; }
.wall .lg .lg-c { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s ease; }
.wall .lg:hover .lg-in { transform: scale(1.14); z-index: 2; }
.wall .lg:hover .lg-in::before { opacity: 1; transform: none; }
.wall .lg:hover .lg-m { opacity: 0; transform: none; }
.wall .lg:hover .lg-c { opacity: 1; }
.wall .lg:hover img { transform: none; }
@media (prefers-reduced-motion: reduce) { .lg-in, .lg-in::before { transition: none; } }
.wall .lg { min-width: 0; }
.wall .lg { grid-template-columns: minmax(0, 1fr); justify-items: center; }

/* brief step 01: main categories, then the chosen ones' sub-services */
.subs { display: grid; gap: var(--s-2); }
.sub-group { overflow: hidden; padding: var(--s-3); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.sub-group[hidden] { display: none; }
.sub-group .sub { margin: 0 0 var(--s-2); color: var(--ink); font-weight: 600; font-size: var(--t-small); display: flex; align-items: center; gap: 10px; }
.sub-group .sub::before { content: ""; width: 14px; height: 3px; background: var(--purple); }
.form .opt-sm span { height: 44px; padding-inline: 18px; font-size: 15px; border-color: var(--line); }
.form .opt-sm:hover span { border-color: var(--ink); }
.form .opt-sm input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.admin-subs { display: none; }
.brief-progress { inset-block-start: 92px; transition: inset-block-start .4s var(--ease); }
body:has(.nav.hide) .brief-progress { inset-block-start: 0; }
@media (max-width: 900px) { .brief-progress { inset-block-start: 68px; } .sub-group { padding: var(--s-2); } }

/* form controls take the site font (buttons don't inherit it by default) */
button, input, select, textarea, .btn { font-family: var(--sans); }

/* header: frosted glass with a fine edge, so whatever scrolls under it is blurred, not visible */
.pill, .lang {
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(14, 14, 16, .08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 28px rgba(14, 14, 16, .08);
}
.pill { padding: 5px; }
.lang { color: var(--ink); }
.pill a:hover, .pill a.on, .pill a[aria-current] { background: rgba(14, 14, 16, .07); }
.nav-cta { box-shadow: 0 8px 24px rgba(14, 14, 16, .18); }
.nav.open .lang { background: transparent; border-color: transparent; box-shadow: none; }

/* once the page moves, the whole header becomes one frosted bar with a hairline edge */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 247, 248, .7); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-block-end: 1px solid rgba(14, 14, 16, .07); opacity: 0; transition: opacity .4s ease; }
.nav.scrolled::before { opacity: 1; }
.nav.scrolled .pill, .nav.scrolled .lang { background: rgba(255, 255, 255, .55); box-shadow: none; }
.nav.open::before { opacity: 0; }

/* highlight box: Arabic letters (dots of ن ف, tops of ك ع ط) rise to the top of the line,
   so the box must start at the very top of the word, not 12–20% below it */
[dir="rtl"] .accent { padding-block: .04em .1em; }
[dir="rtl"] .accent::before,
[dir="rtl"] .h1 .accent::before,
[dir="rtl"] .cta-h .accent::before { inset-block: -.02em .02em; }

/* work filter: the active chip fills itself (the sliding pill mis-measured in RTL and after the font loaded) */
.filters-bar .chip { transition: background .35s var(--ease), color .35s var(--ease); }
.filters-bar .chip.on { background: var(--ink); color: #fff; }
.filters-bar .chip.on span { color: #b9b9c2; }
.fpill { display: none; }

/* phone: page titles scale with the screen so a short title and its highlighted word stay on one line */
@media (max-width: 600px) { .ph1 { font-size: 9vw; line-height: 1.35; } }
@media (max-width: 600px) { .ph1, [dir="rtl"] .ph1 { font-size: 9vw; line-height: 1.35; } }

/* phone menu: rows with hairlines, the current page marked, two clear actions and the socials at the foot */
.menu { align-content: space-between; gap: var(--s-4); padding: 104px var(--gut) calc(var(--s-4) + env(safe-area-inset-bottom)); overflow-y: auto; }
.menu-nav { display: grid; border-block-start: 1px solid var(--dark-line); }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding-block: 14px; border-block-end: 1px solid var(--dark-line); font-size: clamp(26px, 7.4vw, 34px); font-weight: 600; line-height: 1.3; color: #fff; }
.menu-nav a .arr { width: 16px; height: 16px; color: var(--dark-text-2); transition: transform .4s var(--ease), color .3s; }
[dir="rtl"] .menu-nav a .arr { transform: scaleX(-1); }
.menu-nav a:active .arr, .menu-nav a:hover .arr { color: #fff; }
.menu-nav a[aria-current] span { background: var(--purple); padding: 0 .22em; clip-path: polygon(0 0, 100% 0, 100% 100%, .3em 100%, 0 calc(100% - .3em)); }
[dir="ltr"] .menu-nav a[aria-current] span { clip-path: polygon(0 0, 100% 0, 100% calc(100% - .3em), calc(100% - .3em) 100%, 0 100%); }
.menu-foot { display: grid; gap: var(--s-3); }
.menu-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-ctas .btn { justify-content: center; height: 52px; padding-inline: 12px; font-size: 15px; }
.menu-ctas .ico { width: 20px; height: 20px; }
.menu-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); }
.menu-meta > a { color: var(--dark-text-2); font-size: 15px; }
.menu-meta .socials { margin: 0; gap: 8px; }
.menu-meta .socials a { width: 40px; height: 40px; }
.menu-meta .socials .ico { width: 18px; height: 18px; }
body:has(.nav.open) .consult-fab { opacity: 0; pointer-events: none; }
.consult-fab { transition: transform .4s var(--ease), background .3s, opacity .3s; }
.menu { padding-block-start: 92px; }
.menu-nav a { padding-block: 9px; font-size: clamp(24px, 6.6vw, 30px); }
.menu .btn-light { color: var(--ink); }
.menu .menu-nav a { padding-block: 10px; font-size: clamp(24px, 6.6vw, 30px); }
.menu .menu-ctas .btn-purple { color: #fff; }
.menu .menu-ctas .btn-light { color: var(--ink); }

/* phone: every filter shows at once (wraps onto a second row instead of scrolling out of view) */
@media (max-width: 600px) {
  .filters-bar .filters { flex-wrap: wrap; justify-content: center; overflow: visible; border-radius: 26px; padding: 6px; gap: 4px; }
  .filters-bar .chip { height: 40px; padding-inline: 14px; font-size: 14px; }
}

/* ===================== v7 — phone audit fixes ===================== */
/* nothing may push the page sideways (iOS ignores overflow on body alone; clip also keeps position: sticky working) */
html, body { overflow-x: clip; }
.reel, .wall, .systems, .reels, .foot { overflow-x: clip; }
/* slim, quiet scrollbar where the browser shows one */
html { scrollbar-width: thin; scrollbar-color: #c9c9d1 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #c9c9d1; border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 900px) {
  /* footer: columns may shrink (the long email used to push the grid 14px past the screen) */
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4) var(--s-3); }
  .foot-col a, .foot-col span { width: auto; max-width: 100%; overflow-wrap: anywhere; }
  .foot-about { grid-column: 1 / -1; }
  .foot-bot { flex-wrap: wrap; gap: var(--s-1); }
  .foot-bot a { padding-block: 10px; }
}
@media (max-width: 600px) {
  /* CTA: headline sized to the screen, a smaller circle sitting at the start, routes stacked */
  .cta { padding-block: var(--s-6) var(--s-6); border-radius: var(--r-md) var(--r-md) 0 0; }
  .cta-h, [dir="rtl"] .cta-h { font-size: 10vw; line-height: 1.3; }
  .cta-row { gap: var(--s-4); }
  .magnet { width: 112px; font-size: 14px; }
  .cta-contact { flex-direction: column; gap: var(--s-3); margin-block-start: var(--s-5); }
  .cta-contact a { font-size: 18px; }
  /* home: small text links get a full touch height */
  .studio-links .link, .reel-r { display: inline-flex; align-items: center; min-height: 44px; }
  .case-meta dd a { display: inline-block; padding-block: 8px; }
}
.form .hp, .hp { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  /* products on phone: all four systems visible as wrapping pills, none cut off at the edge */
  .sys-tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .sys-tab { flex: 1 1 auto; justify-content: center; text-align: center; }
  .sys-tn { white-space: normal; font-size: 15px; }
}

/* reels added by link: Instagram's own player in the same row */
.rl-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rl-placeholder { position: absolute; inset: 0; display: grid; place-items: start center; padding-block-start: 24%; background: radial-gradient(ellipse at 50% 25%, #6300ff55, transparent 65%), #17101f; }
.rl-placeholder img { width: 96px; height: 96px; object-fit: contain; mix-blend-mode: screen; opacity: .7; }
html:has(iframe:hover) :is(.cur-dot, .cur-ring) { opacity: 0 !important; visibility: hidden; }

/* ===================== v8 — cost calculator, booking, CTA tools ===================== */
.cta-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: var(--s-4); }
.cta-tools .btn-light:hover, .cta-tools .btn-light:focus-visible { color: #fff; }
@media (min-width: 1100px) {
  .cta-bottom { display: flex; align-items: center; gap: 32px; margin-block-start: var(--s-6); padding-block-start: var(--s-4); border-block-start: 1px solid var(--dark-line); }
  .cta-bottom .cta-contact { flex: 1; min-width: 0; margin-block-start: 0; padding-block-start: 0; border: 0; gap: 24px clamp(24px, 3vw, 56px); }
  .cta-bottom .cta-tools { flex: none; margin-block-start: 0; margin-inline-start: auto; justify-content: flex-end; max-width: 220px; }
}
@media (max-width: 1099px) { .cta-bottom .cta-tools { justify-content: flex-end; } }
.draft-note { margin: 0 var(--gut) var(--s-3); padding: 12px 18px; border-radius: var(--r-sm); background: #fff4d6; color: #6b4a00; font-size: var(--t-small); max-width: max-content; }

/* calculator: choices on the start side, a sticky dark result card on the end side */
.est { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.est-form { display: grid; gap: var(--s-5); }
.est-q { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-2); }
.est-q legend { font-size: var(--t-h3); font-weight: 600; margin-block-end: var(--s-2); padding: 0; }
.est-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.est-type { position: relative; display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.est-type input { position: absolute; opacity: 0; pointer-events: none; }
.et-n { font-size: 18px; font-weight: 600; }
.et-r { font-size: 14px; color: var(--text-2); direction: ltr; text-align: start; unicode-bidi: plaintext; }
.est-type:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.est-type:has(input:checked) .et-r { color: #b9b9c2; }
.est-type:has(input:focus-visible) { outline: 2px solid var(--purple); outline-offset: 3px; }
.est-opts[hidden] { display: none; }
.est .opt span em { font-style: normal; opacity: .6; margin-inline-start: 6px; font-size: .85em; direction: ltr; unicode-bidi: isolate; }
.est .opt input:checked + span em { opacity: .85; }
.est-rush { margin-block-start: var(--s-1); }
.est-result { position: sticky; inset-block-start: 110px; display: grid; gap: var(--s-2); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.est-result > .mono { color: var(--dark-text-2); }
.est-num { font-size: clamp(32px, 3.4vw, 52px); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.est-per { color: var(--dark-text-2); min-height: 1em; }
.est-note { font-size: 15px; line-height: 1.7; color: var(--dark-text-2); padding-block-end: var(--s-2); border-block-end: 1px solid var(--dark-line); }
.est-lead { gap: var(--s-2); }
.est-lead label > span { color: var(--dark-text-2); }
.est-lead input { background: var(--dark-2); border-color: var(--dark-line); color: #fff; }
.est-lead .btn { justify-self: stretch; justify-content: center; }
.est-lead .form-status[data-state="ok"] { color: #7ee2a8; }
.est-lead .form-status[data-state="err"] { color: #ff9b8f; }

/* booking: day cards in a scroll row, time pills, then the details */
.book-form { display: grid; gap: var(--s-5); max-width: 1100px; }
.book-pick { display: grid; gap: var(--s-4); }
.book-days { display: flex; gap: 10px; overflow-x: auto; padding-block: 4px 10px; scrollbar-width: thin; }
.bday { flex: none; cursor: pointer; }
.bday input { position: absolute; opacity: 0; pointer-events: none; }
.bday span { display: grid; justify-items: center; gap: 2px; width: 86px; padding: 14px 8px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); transition: background .3s, color .3s, border-color .3s; }
.bday b { font-size: 14px; font-weight: 500; color: var(--text-2); }
.bday strong { font-size: 30px; font-weight: 600; line-height: 1.1; }
.bday i { font-style: normal; font-size: 13px; color: var(--text-2); }
.bday input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.bday input:checked + span b, .bday input:checked + span i { color: #e6dcff; }
.bday input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 3px; }
.book-times { display: flex; flex-wrap: wrap; gap: 8px; }
.book-times[hidden] { display: none; }
.book-form .opt-sm input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.book-fields { display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
.book-fields .btn { justify-self: start; }

@media (max-width: 900px) {
  .est { grid-template-columns: 1fr; }
  .est-result { position: static; }
  .est-types { grid-template-columns: 1fr; }
  .book-fields { padding: var(--s-3); }
  .book-fields .btn { justify-self: stretch; justify-content: center; }
}
/* booking: grid children may shrink, so the day row scrolls inside the page instead of widening it */
.book-form { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.book-pick, .book-pick > div { min-width: 0; }
.bday span { width: auto; min-width: 86px; padding-inline: 12px; }
.bday i { white-space: nowrap; }
/* calculator extras look like the pills used everywhere else */
.est .opt { position: relative; display: inline-flex; cursor: pointer; }
.est .opt input { position: absolute; opacity: 0; pointer-events: none; }
.est .opt span { display: inline-flex; align-items: center; height: 48px; padding-inline: 20px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); font-size: 16px; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.est .opt:hover span { border-color: var(--ink); }
.est .opt input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.est .opt input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 3px; }
/* hidden radios/checkboxes inside pill and card choices: tiny and anchored to their own label */
.bday { position: relative; }
.bday input, .opt input, .est-type input, .jcard input, .cats input { width: 1px !important; height: 1px !important; inset: 0 auto auto 0; margin: 0; }
.est .opt span em { padding-inline-start: 8px; }

/* project presentation: full-width slides stacked like a case-study page */
.deck { display: grid; gap: clamp(8px, 1vw, 16px); padding-inline: var(--gut); margin-block-start: var(--s-6); }
.deck-first { margin-block-start: var(--s-5); }
.deck figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--line); aspect-ratio: 16 / 9; }
.deck img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .deck { padding-inline: 0; gap: 4px; } .deck figure { border-radius: 0; } }

/* ===================== v9 — showreel wall: real work drifting on a tilted plane ===================== */
.reel-frame { position: relative; height: min(92svh, 980px); overflow: hidden; background: var(--dark); perspective: 1600px; isolation: isolate; }
.reel-frame .ring, .reel-frame .reel-l, .reel-frame .reel-r { display: none; }
.rw-plane { position: absolute; inset: -38% -18%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); transform: rotateX(30deg) rotateZ(-9deg) scale(1.02); transform-origin: 50% 40%; }
[dir="rtl"] .rw-plane { transform: rotateX(30deg) rotateZ(9deg) scale(1.02); }
.rw-col { min-width: 0; }
.rw-track { animation: rwUp var(--d, 50s) linear infinite; animation-direction: var(--dir, normal); will-change: transform; }
.reel-frame .rw-track { animation-play-state: paused; }
.reel-frame.is-visible .rw-track { animation-play-state: running; }
.rw-track figure { margin: 0 0 clamp(14px, 1.6vw, 26px); border-radius: 18px; overflow: hidden; background: var(--dark-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.rw-track img { display: block; width: 100%; height: auto; filter: saturate(.92) brightness(.82); transition: filter .5s; }
@keyframes rwUp { to { transform: translateY(-50%); } }
.reel-frame:hover .rw-track { animation-play-state: paused; }
.rw-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 50%, rgba(5, 5, 5, .78), rgba(5, 5, 5, .35) 55%, rgba(5, 5, 5, 0) 75%),
              linear-gradient(to bottom, var(--dark) 0%, rgba(5, 5, 5, 0) 22%, rgba(5, 5, 5, 0) 78%, var(--dark) 100%); }
.rw-copy { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: var(--s-3); text-align: center; color: #fff; padding: var(--s-4); }
.rw-copy .mono { color: var(--dark-text-2); }
.rw-h { font-size: clamp(44px, 6.4vw, 104px); font-weight: 600; line-height: 1.2; max-width: 14ch; }
@media (max-width: 900px) {
  .rw-plane { grid-template-columns: repeat(3, minmax(0, 1fr)); inset: -30% -40%; }
  .rw-col:nth-child(n + 4) { display: none; }
  .reel-frame { height: 78svh; }
  .rw-h { font-size: 11vw; }
}
@media (prefers-reduced-motion: reduce) { .rw-track { animation: none; } }

/* service pages: how we work, FAQ, booking band */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); counter-reset: none; }
.steps li { display: grid; gap: var(--s-1); align-content: start; padding: var(--s-4) var(--s-3); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.steps .mono { color: var(--text-2); }
.steps h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
.steps p { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.svc-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.svc-band-h { font-size: var(--t-h3); font-weight: 600; margin-block-end: 6px; }
.svc-band p:not(.svc-band-h) { color: var(--dark-text-2); }
.svc-band .ico { width: 20px; height: 20px; }
.svc-band-intro { display: flex; align-items: center; gap: 20px; min-width: 0; }
.svc-band-symbol { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 18px; background: #6300ff20; color: #b58aff; border: 1px solid #b58aff30; }
.svc-band-symbol svg { width: 38px; height: 38px; }
@media (max-width: 480px) { .svc-band-intro { align-items: flex-start; gap: 14px; } .svc-band-symbol { width: 46px; height: 46px; border-radius: 12px; } .svc-band-symbol svg { width: 28px; height: 28px; } }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .svc-band .btns { width: 100%; } .svc-band .btn { flex: 1 1 100%; justify-content: center; } }

/* ===================== v10 — brand glass pieces, process art, custom cursor ===================== */
.glass { position: absolute; z-index: 0; pointer-events: none; user-select: none; height: auto; filter: drop-shadow(0 30px 50px rgba(99, 0, 255, .25)); animation: gFloat 9s ease-in-out infinite alternate; will-change: transform; }
@keyframes gFloat { from { transform: translate3d(0, 0, 0) rotate(-4deg); } to { transform: translate3d(0, -18px, 0) rotate(4deg); } }
.systems, .process, .reels, .svc-band, .vm-card.dark, .est-result { position: relative; overflow: hidden; }
.systems > :not(.glass), .process > :not(.glass), .reels > :not(.glass), .svc-band > :not(.glass), .vm-card.dark > :not(.glass), .est-result > :not(.glass) { position: relative; z-index: 1; }
.process > .stack { position: relative; }
.systems::before { content: ""; position: absolute; z-index: 0; pointer-events: none; inset-inline-end: -80px; inset-block-start: 20px; width: clamp(240px, 25vw, 380px); aspect-ratio: 1; background: url("/assets/3d/mark-glass.webp") center / contain no-repeat; opacity: .1; transform: rotate(-12deg); }
.cta-row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 18vw, 300px) minmax(0, 1fr); gap: 24px; }
.cta-row .magnet { justify-self: end; }
.cta-row .cta-h { font-size: clamp(28px, 3.4vw, 64px); }
.cta-row .cta-h .line { white-space: nowrap; }
.cta-emblem-stage { display: grid; place-items: center; min-width: 0; min-height: 300px; pointer-events: none; }
.cta-emblem { width: 100%; transform: perspective(800px) translate3d(var(--mx, 0px), var(--my, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s ease-out; }
.cta-emblem .g-cta { position: static; display: block; width: 100%; opacity: 1; animation-duration: 6s; }
.g-vm { width: 220px; inset-block-end: -40px; inset-inline-start: -30px; opacity: .65; }
.g-est { width: 150px; inset-block-start: -40px; inset-inline-start: -40px; opacity: .55; }

/* process cards: one brand piece per step fills the empty side and floats */
.pcard > img.pdeco { position: absolute; z-index: 1; pointer-events: none; width: clamp(120px, 15vw, 230px); height: auto; inset-block-start: 10%; inset-inline-start: 7%; filter: drop-shadow(0 26px 40px rgba(20, 0, 60, .35)); animation: gFloat 8s ease-in-out infinite alternate; }
.pcard:nth-child(2) > img.pdeco { animation-delay: -2s; width: clamp(150px, 19vw, 300px); }
.pcard:nth-child(3) > img.pdeco { animation-delay: -4s; }
.pcard:nth-child(4) > img.pdeco { animation-delay: -6s; inset-block-start: 14%; }

@media (max-width: 900px) {
  .systems::before { width: 160px; inset-inline-end: 20px; inset-block-start: 20px; opacity: .07; }
  .cta-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cta-emblem-stage { grid-column: 1 / -1; grid-row: 1; width: 140px; min-height: 170px; justify-self: center; }
  .cta-row .cta-h { grid-column: 1; grid-row: 2; font-size: clamp(18px, 5.5vw, 38px); }
  .cta-row .magnet { grid-column: 2; grid-row: 2; justify-self: end; width: clamp(88px, 20vw, 108px); font-size: 11px; }
  .cta-emblem .g-cta { opacity: 1; }
  .pcard > img.pdeco { width: 96px; inset-block-start: auto; inset-block-end: 18px; inset-inline-start: 18px; opacity: .9; }
}
@media (prefers-reduced-motion: reduce) { .glass, .pcard > img.pdeco { animation: none; } }
@media (prefers-reduced-motion: reduce) { .cta-emblem { transform: none; transition: none; } }
@media (max-width: 480px) {
  .cta-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
  .cta-emblem-stage { width: 112px; min-height: 140px; }
  .cta-bottom .cta-tools { padding-inline-end: 64px; }
  .cta-contact { padding-inline-end: 64px; }
  .cta-contact a { min-width: 0; overflow-wrap: anywhere; }
  .form input, .form select, .form textarea { font-size: max(16px, var(--t-body)); }
}
body:has(#menu:not([hidden])) .bot,
body:has(#menu:not([hidden])) .consult-fab { visibility: hidden; pointer-events: none; }

/* custom cursor: a purple dot with a trailing ring that opens up over anything clickable */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select, html.has-cursor iframe, html.has-cursor [contenteditable] { cursor: auto !important; }
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--purple); }
.cur-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(99, 0, 255, .55); transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
html.cur-on .cur-dot, html.cur-on .cur-ring { opacity: 1; }
html.cur-link .cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(99, 0, 255, .14); border-color: var(--purple); }
html.cur-link .cur-dot { transform: scale(.5); }
html.cur-dark .cur-ring { border-color: rgba(255, 255, 255, .7); }
html.cur-dark.cur-link .cur-ring { background: rgba(255, 255, 255, .12); border-color: #fff; }
html.cur-down .cur-ring { transform: scale(.85); }
@media (max-width: 1024px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cur-dot, .cur-ring { display: none !important; }
  html.has-cursor { cursor: auto !important; }
  html.has-cursor * { cursor: revert !important; }
  html.has-cursor :is(a, button, summary, [role="button"]) { cursor: pointer !important; }
}

/* cookie consent: small dark card at the bottom-end, never a full-screen wall */
.consent { position: fixed; z-index: 80; inset-block-end: 20px; inset-inline-end: 20px; width: min(440px, calc(100vw - 40px)); display: grid; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-md); background: var(--dark); color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.consent[hidden] { display: none; }
.consent p { font-size: 15px; line-height: 1.7; color: #d6d6dc; }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-btns .btn { height: 44px; padding-inline: 18px; font-size: 15px; flex: 1 1 auto; justify-content: center; }
.consent-btns .btn-light:hover, .consent-btns .btn-light:focus-visible { color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a, .foot-legal button { color: var(--dark-text-2); font: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.foot-legal a:hover, .foot-legal button:hover { color: #fff; }
.legal h2 { font-size: var(--t-h3); margin-block-start: var(--s-5); }
.legal > .mono { color: var(--text-2); }
/* Instagram reel waiting for consent */
.rl-load { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: var(--s-3); background: linear-gradient(160deg, #1b1b20, #0b0b0d); color: #fff; border: 0; font: inherit; text-align: center; cursor: pointer; }
.rl-load .ico { width: 44px; height: 44px; }
.rl-load span { font-size: 17px; font-weight: 600; }
.rl-load small { font-size: 13px; color: var(--dark-text-2); }
@media (max-width: 600px) { .consent { inset-inline: 12px; inset-block-end: 76px; width: auto; } }

/* website assistant: glass-mark button at the bottom-end, a dark chat panel */
.bot { position: fixed; z-index: 70; inset-block-end: 20px; inset-inline-end: 20px; display: grid; justify-items: end; gap: 12px; }
.bot-fab { position: relative; display: inline-flex; justify-content: center; align-items: center; width: 56px; height: 56px; padding: 8px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); background: var(--purple); color: #fff; font: 500 15px var(--sans); cursor: pointer; box-shadow: 0 12px 34px rgba(99, 0, 255, .35); transition: transform .4s var(--ease), background .3s; }
.bot-fab img { width: 44px; height: 44px; max-width: none; object-fit: contain; mix-blend-mode: screen; }
.bot-fab:hover { transform: translateY(-3px); background: #5200d6; }
.bot.open .bot-fab { background: var(--dark); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.bot-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 120px)); display: grid; grid-template-rows: auto 1fr auto auto auto; border-radius: 22px; overflow: hidden; background: var(--dark); color: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border: 1px solid #222; }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-block-end: 1px solid var(--dark-line); background: linear-gradient(180deg, #16101f, var(--dark)); }
.bot-head img { width: 40px; height: 40px; object-fit: contain; mix-blend-mode: screen; }
.bot-name { font-weight: 600; font-size: 16px; }
.bot-sub { font-size: 13px; color: var(--dark-text-2); }
.bot-x { margin-inline-start: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--dark-line); background: none; color: #fff; font-size: 20px; cursor: pointer; }
.bot-log { overflow-y: auto; padding: 16px; display: grid; align-content: start; gap: 10px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.bm { max-width: 86%; display: grid; gap: 8px; }
.bm p { padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.7; }
.bm-assistant { justify-self: start; }
.bm-assistant p { background: #1a1a1f; border-start-start-radius: 4px; }
.bm-user { justify-self: end; }
.bm-user p { background: var(--purple); border-start-end-radius: 4px; }
.bm p a { color: #c8b3ff; text-decoration: underline; }
.bm-links { display: flex; flex-wrap: wrap; gap: 6px; }
.bm-links a { font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid #3a3a41; color: #fff; }
.bm-links a:hover { background: var(--purple); border-color: var(--purple); }
.typing p { display: flex; gap: 5px; align-items: center; min-height: 40px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #888; animation: tdot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.bot-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.bot-chips[hidden] { display: none; }
.bot-chips button { flex: none; font: 14px var(--sans); color: #fff; background: #1a1a1f; border: 1px solid #2c2c33; border-radius: 99px; padding: 8px 14px; cursor: pointer; }
.bot-chips button:hover { border-color: var(--purple); }
.bot-form { display: flex; gap: 8px; padding: 10px 12px; border-block-start: 1px solid var(--dark-line); }
.bot-form input { flex: 1; min-width: 0; height: 44px; border-radius: 99px; border: 1px solid #2c2c33; background: #121216; color: #fff; padding-inline: 16px; font: 15px var(--sans); }
.bot-form input:focus { outline: none; border-color: var(--purple); }
.bot-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--purple); color: #fff; display: grid; place-items: center; cursor: pointer; }
[dir="rtl"] .bot-form button .arr { transform: scaleX(-1); }
.bot-note { font-size: 11px; color: #77777f; padding: 0 16px 10px; text-align: center; }
/* keep the consent card above the assistant button */
.consent:not([hidden]) ~ .bot, .bot:has(~ .consent:not([hidden])) { inset-block-end: 240px; }
@media (max-width: 600px) {
  .bot { inset-block-end: 14px; inset-inline-end: 14px; }
  .bot-fab .bot-tooltip { max-width: calc(100vw - 100px); }
  .bot-fab { padding: 8px; width: 52px; justify-content: center; }
  .bot-panel { position: fixed; inset: 10px; width: auto; height: auto; }
  .consent:not([hidden]) ~ .bot, .bot:has(~ .consent:not([hidden])) { inset-block-end: 230px; }
}
@media (max-width: 900px) { .pcard > img.pdeco { inset-inline-start: auto; inset-inline-end: 18px; inset-block-end: 22px; width: 92px; } }

/* Portfolio categories: a single home for client work and products. */
.portfolio-tabs { display: flex; gap: 8px; padding: 6px; margin-inline: var(--gut); margin-block-end: 32px; width: fit-content; max-width: calc(100% - var(--gut) * 2); background: #eeeaf4; border: 1px solid #e3ddee; border-radius: 99px; }
.portfolio-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 99px; background: transparent; color: #51485f; font: 500 16px var(--sans); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.portfolio-tabs button[aria-selected="true"] { background: var(--purple); color: #fff; box-shadow: 0 4px 14px #6300ff25; }
.portfolio-tabs button:hover:not([aria-selected="true"]) { background: #e4daf7; color: var(--purple); }
.portfolio-tabs button > span { font-size: 12px; opacity: .8; }
.portfolio-tabs button:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
[data-portfolio-panel][hidden] { display: none !important; }
.portfolio .work-block { padding-block-start: 0; }
.portfolio-products { border-radius: 28px; margin-inline: var(--gut); }
.portfolio-products .sys-head { margin-block-end: 40px; }
.portfolio-all-products { margin-block-start: 32px; }
@media (max-width: 600px) {
  .portfolio-tabs { width: auto; }
  .portfolio-tabs button { flex: 1; padding-inline: 12px; font-size: 14px; gap: 8px; }
  .portfolio-products { margin-inline: 0; border-radius: 0; }
}
/* Institutional privacy notice, shared by Arabic and English. */
.privacy-page { --privacy-muted: #575361; --privacy-border: #e5e1eb; max-width: 1600px; margin-inline: auto; padding: 152px var(--gut) 100px; }
.privacy-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-block-end: 56px; }
.privacy-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--purple); font-size: 14px; font-weight: 500; }
.privacy-eyebrow > .ico { width: 23px; height: 23px; }
.privacy-hero h1 { font-size: clamp(34px, 4.1vw, 64px); line-height: 1.5; letter-spacing: -.035em; font-weight: 600; margin-block: 20px; }
[dir="rtl"] .privacy-hero h1 { letter-spacing: 0; }
.privacy-hero h1 > span { display: block; color: var(--purple); }
.privacy-intro { max-width: 62ch; font-size: 17px; line-height: 1.95; color: var(--privacy-muted); }
.privacy-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block-start: 28px; color: var(--privacy-muted); font-size: 13px; line-height: 1.8; }
.privacy-meta > span + span { padding-inline-start: 24px; border-inline-start: 1px solid var(--privacy-border); }
.privacy-meta time { color: var(--ink); margin-inline-start: 8px; }
.privacy-contact { background: #15111e; color: #fff; padding: clamp(24px, 3vw, 40px); border-radius: 24px; }
.privacy-contact-icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #53436c; border-radius: 16px; color: #d6bdff; margin-block-end: 28px; }
.privacy-contact-icon .ico { width: 28px; height: 28px; }
.privacy-contact .privacy-eyebrow { color: #d6bdff; }
.privacy-contact h2 { font-size: 24px; line-height: 1.65; font-weight: 500; margin-block: 12px; }
.privacy-contact > p:not(.privacy-eyebrow) { color: #c7c1d0; font-size: 15px; line-height: 1.9; }
.privacy-email { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px 0; margin-block-start: 24px; border-block-start: 1px solid #403648; font-size: 14px; }
.privacy-email bdi { overflow-wrap: anywhere; }
.privacy-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--privacy-border); padding-block: 32px; margin-block-end: 64px; }
.privacy-principles > div { padding-inline: 32px; }
.privacy-principles > div:first-child { padding-inline-start: 0; }
.privacy-principles > div + div { border-inline-start: 1px solid var(--privacy-border); }
.privacy-principles .mono { color: var(--purple); }
.privacy-principles h2 { font-size: 19px; font-weight: 500; margin-block: 12px 8px; }
.privacy-principles p { color: var(--privacy-muted); font-size: 15px; line-height: 1.85; max-width: 40ch; }
.privacy-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.privacy-sidebar { position: sticky; top: 104px; }
.privacy-sidebar nav { border: 1px solid var(--privacy-border); border-radius: 18px; padding: 24px 16px; background: #fff; }
.privacy-nav-title { font-size: 16px; font-weight: 600; padding-inline: 10px; margin-block-end: 16px; }
.privacy-sidebar ol { list-style: none; }
.privacy-sidebar a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 10px; min-height: 44px; border-radius: 8px; color: var(--privacy-muted); font-size: 13px; line-height: 1.6; transition: color .2s, background .2s, box-shadow .2s; }
.privacy-sidebar a .mono { color: var(--purple); font-size: 11px; }
.privacy-sidebar a:hover, .privacy-sidebar a:focus-visible { color: var(--purple); background: #f3edff; }
.privacy-sidebar a.is-active { color: var(--purple); background: #eee5ff; font-weight: 600; box-shadow: inset 0 0 0 1px #6300ff18; }
.privacy-sidebar a::before { content: ""; position: absolute; inset-inline-start: 0; top: 25%; height: 50%; width: 3px; border-radius: 3px; background: var(--purple); opacity: 0; transform: scaleY(.4); transition: opacity .2s, transform .2s; }
.privacy-sidebar a.is-active::before { opacity: 1; transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .privacy-sidebar a, .privacy-sidebar a::before { transition: none; } }
.privacy-document { max-width: 820px; min-width: 0; }
.privacy-section { scroll-margin-top: 110px; padding-block: 36px; border-block-end: 1px solid var(--privacy-border); }
.privacy-section:first-child { padding-block-start: 0; }
.privacy-section-title { display: flex; align-items: baseline; gap: 16px; margin-block-end: 20px; }
.privacy-section-title > .mono { color: var(--purple); flex: none; }
.privacy-section h2 { font-size: clamp(21px, 2vw, 27px); line-height: 1.65; font-weight: 500; }
.privacy-text { color: #48434f; font-size: 16px; line-height: 2; overflow-wrap: anywhere; }
.privacy-text p + p, .privacy-text ul + p { margin-block-start: 16px; }
.privacy-text ul { padding-inline-start: 22px; display: grid; gap: 12px; }
.privacy-text li::marker { color: var(--purple); }
.privacy-settings { display: inline-flex; gap: 18px; align-items: center; min-height: 48px; margin-block-start: 24px; padding: 12px 20px; font: 500 14px var(--sans); color: var(--purple); background: #f3edff; border: 1px solid #ddd0f5; border-radius: 99px; cursor: pointer; }
.privacy-settings:hover { background: #e9dcff; }
.privacy-closing { display: flex; flex-wrap: wrap; gap: 16px 28px; padding: 32px; margin-block-start: 36px; background: #f3edff; border-radius: 18px; }
.privacy-closing p { flex-basis: 100%; font-size: 23px; font-weight: 500; }
.privacy-closing a { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; color: var(--purple); font-size: 14px; }
.privacy-page :is(a, button):focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
@media (max-width: 1050px) {
  .privacy-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 32px; }
  .privacy-hero { gap: 32px; }
  .privacy-sidebar a { font-size: 12px; }
}
@media (max-width: 800px) {
  .privacy-page { padding-block-start: 120px; }
  .privacy-hero { grid-template-columns: 1fr; }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-sidebar { position: static; }
  .privacy-sidebar ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-sidebar a { font-size: 13px; }
  .privacy-principles { margin-block-end: 36px; }
  .privacy-principles > div { padding-inline: 16px; }
}
@media (max-width: 480px) {
  .privacy-principles { grid-template-columns: 1fr; padding-block: 0; }
  .privacy-principles > div, .privacy-principles > div:first-child { padding: 24px 0; }
  .privacy-principles > div + div { border-inline-start: 0; border-block-start: 1px solid var(--privacy-border); }
  .privacy-sidebar ol { grid-template-columns: 1fr; }
  .privacy-meta { gap: 10px; }
  .privacy-meta > span + span { padding-inline-start: 0; border: 0; flex-basis: 100%; }
  .privacy-section-title { gap: 12px; }
  .privacy-closing { padding: 24px; }
}
/* About: editorial typography, a flat brand panel and real founder portraits. */
.about-page { --about-line: #e6e0ec; --about-muted: #6a6074; }
.about-hero, .about-section, .about-numbers, .about-page .founders, .about-trust, .about-join-wrap { width: calc(100% - var(--pad) - var(--pad)); max-width: 1280px; margin-inline: auto; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(40px, 6vw, 88px); padding-block: 156px 72px; }
.about-kicker { display: flex; align-items: center; gap: 10px; color: var(--purple); font-size: 13px; line-height: 1.8; font-weight: 500; }
.about-kicker > span { width: 7px; height: 7px; background: var(--purple); border-radius: 50%; }
.about-hero h1 { font-size: clamp(40px, 4.7vw, 70px); line-height: 1.55; font-weight: 600; letter-spacing: -.035em; margin-block: 24px; text-wrap: balance; }
[dir="rtl"] .about-hero h1 { letter-spacing: 0; }
.about-hero h1 > span { display: block; color: var(--purple); }
.about-lead { color: var(--about-muted); font-size: 18px; line-height: 2; max-width: 58ch; }
.about-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-block-start: 36px; }
.about-text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; font-size: 14px; border-block-end: 1px solid #cfc3de; }
.about-text-link:hover { color: var(--purple); border-color: var(--purple); }
.about-brand-panel { padding: clamp(24px, 3vw, 40px); background: #17121f; color: #fff; border: 1px solid #382b49; border-radius: 28px; box-shadow: 0 24px 60px #2110300d; }
.about-brand-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 6px 32px; border-block-end: 1px solid #ffffff20; }
.about-brand-top img { width: min(60%, 200px); height: auto; }
.about-brand-top > span { font-size: 10px; color: #c6b5d8; white-space: nowrap; }
.about-brand-caption { font-size: 13px; color: #baadca; line-height: 1.8; margin-block: 28px 12px; }
.about-disciplines a { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; gap: 12px; padding-block: 14px; border-block-end: 1px solid #ffffff14; font-size: 17px; line-height: 1.7; transition: color .2s; }
.about-disciplines a:last-child { border: 0; padding-block-end: 0; }
.about-disciplines .mono { color: #b58aff; font-size: 10px; }
.about-disciplines .arr { color: #b58aff; }
.about-disciplines a:hover { color: #d6bdff; }
.about-numbers { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 64px; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: #17101f; color: #fff; }
.about-numbers::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 90% 90%, #6300ff55, transparent 60%), linear-gradient(120deg, transparent 60%, #ffffff03 60.1%, transparent 60.2%); pointer-events: none; }
.about-numbers-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block-end: 28px; border-block-end: 1px solid #ffffff18; }
.about-numbers-heading > .mono { color: #ba9ce9; font-size: 10px; letter-spacing: .12em; }
.about-numbers-heading h2 { font-size: clamp(20px, 2vw, 28px); font-weight: 500; }
.about-number-origin { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; }
.about-number-caption { color: #c1afda; font-size: 13px; }
.about-number-origin > strong { font-size: clamp(78px, 10vw, 144px); line-height: 1.2; font-weight: 500; letter-spacing: -.065em; color: #fff; text-shadow: 0 12px 70px #6300ff55; }
.about-number-label { color: #c3bacd; font-size: 14px; line-height: 1.9; }
.about-origin-line { position: relative; display: block; width: 100%; height: 1px; margin-block-start: 36px; background: linear-gradient(to left, #a16aff, #a16aff08); }
.about-origin-line::before { content: ""; position: absolute; inset-inline-start: 0; top: -3px; width: 7px; height: 7px; background: #a16aff; border-radius: 50%; box-shadow: 0 0 18px #6300ff; }
.about-number-metrics { min-width: 0; }
.about-number-metric { display: grid; grid-template-columns: 100px minmax(0, 1fr) 20px; gap: 24px; align-items: center; padding-block: 22px; }
.about-number-metric + .about-number-metric { border-block-start: 1px solid #ffffff18; }
.about-number-metric strong { font-size: clamp(40px, 4.5vw, 64px); line-height: 1.1; font-weight: 500; letter-spacing: -.04em; text-align: start; }
.about-metric-index { font-size: 10px; color: #877498; }
.home-impact.about-numbers { width: 100%; max-width: none; margin-inline: 0; }
.home-impact .about-number-origin { gap: 20px; justify-content: flex-start; }
.home-impact .about-number-caption { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.home-impact .about-number-caption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b58aff; box-shadow: 0 0 16px #6300ff; }
.impact-feature-value { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; width: 100%; }
.home-impact .impact-feature-value > strong { display: flex; align-items: baseline; gap: 6px; font-size: clamp(88px, 9vw, 128px); line-height: 1; font-weight: 500; letter-spacing: -.065em; }
.impact-feature-value > .about-number-label { max-width: 12ch; color: #fff; font-size: 17px; }
[dir="rtl"] .impact-feature-value > .about-number-label { max-width: none; }
.impact-label-line { display: block; white-space: nowrap; }
.impact-description { color: #bfb3cd; font-size: 14px; line-height: 1.95; max-width: 45ch; }
.impact-work-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; margin-block-start: auto; padding-block: 18px 4px; border-block-start: 1px solid #ffffff20; color: #decaff; font-size: 13px; min-height: 48px; transition: color .2s; }
.impact-work-link:hover { color: #fff; }
.impact-work-link .arr { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .impact-feature-value { flex-direction: column; align-items: flex-start; gap: 12px; }
  .impact-feature-value > .about-number-label { max-width: none; font-size: 16px; }
}
.home-impact .impact-plus { font-size: .55em; color: #b58aff; letter-spacing: 0; }
.home-impact .about-number-metric { grid-template-columns: 120px minmax(0, 1fr) 20px; min-height: 116px; }
.home-impact .about-number-metric > strong { display: grid; grid-template-columns: minmax(0, 1fr) .6em; align-items: baseline; gap: 3px; font-size: 56px; font-variant-numeric: tabular-nums; }
.home-impact .about-number-metric .count-up { text-align: right; }
.home-impact .about-number-metric .impact-plus { text-align: left; }
.home-impact .about-number-metric .about-number-label { text-align: start; }
.home-impact .about-numbers-heading > .mono:lang(ar) { letter-spacing: 0; font-size: 12px; }
.about-section { padding-block: 88px; }
.about-section-heading h2, .about-direction > header h2 { font-size: clamp(29px, 3vw, 44px); line-height: 1.65; font-weight: 500; margin-block: 16px; text-wrap: balance; }
.about-section-heading h2 > span { display: block; color: var(--purple); }
.about-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); }
.about-story-text { color: #554b60; font-size: 17px; line-height: 2.1; }
.about-story-text p + p { margin-block-start: 24px; }
.about-story-text p:first-child { color: #23192d; font-size: 19px; }
.about-page .founders { padding: 0 0 88px; }
.about-page .founders-head { text-align: start; margin-block-end: 32px; }
.about-page .founders-head h2 { font-size: clamp(29px, 3vw, 44px); }
.about-page .founders-grid { max-width: 1000px; gap: 32px; }
.about-page .founder-photo { border: 1px solid #2a193d20; }
.about-direction { padding: 48px; border-radius: 28px; background: #18121f; color: #fff; }
.about-direction > header .about-kicker { color: #c4a0ff; }
.about-direction > header h2 { max-width: 28ch; margin-block-end: 32px; }
.about-direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-direction-grid article { padding: 32px; border: 1px solid #ffffff26; border-radius: 18px; }
.about-direction-grid article:last-child { background: var(--purple); border-color: var(--purple); }
.about-card-number { color: #d9c4f9; font-size: 12px; }
.about-direction h3 { font-size: 27px; line-height: 1.7; font-weight: 500; margin-block: 20px 12px; }
.about-direction-grid p { color: #d1c7de; font-size: 17px; line-height: 2; }
.about-direction-grid article:last-child p { color: #f0e8ff; }
.about-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block-start: 36px; }
.about-values-grid article { padding: 32px; border: 1px solid var(--about-line); border-radius: 20px; background: #fff; }
.about-value-number { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: #f2eaff; color: var(--purple); border-radius: 12px; font-size: 12px; }
.about-values-grid h3 { font-size: 25px; font-weight: 500; line-height: 1.7; margin-block: 24px 12px; }
.about-values-grid p { font-size: 16px; line-height: 1.95; color: var(--about-muted); }
.about-locations { border-block-start: 1px solid var(--about-line); padding-block-start: 64px; }
.about-locations .about-lead { font-size: 16px; }
.about-location-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block-start: 36px; border-block: 1px solid var(--about-line); }
.about-location-list > a { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; padding: 32px; transition: background .3s, color .3s; }
.about-location-list > a + a { border-inline-start: 1px solid var(--about-line); }
.about-location-list > a::after { content: ""; position: absolute; inset-inline: 32px; bottom: -1px; height: 2px; background: var(--purple); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.about-location-list > a:hover, .about-location-list > a:focus-visible { background: #fff; }
.about-location-list > a:hover::after, .about-location-list > a:focus-visible::after { transform: scaleX(1); }
.about-location-number { color: #9b92a7; font-size: 12px; }
.about-location-name { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
.about-location-name h3 { font-size: clamp(32px, 3vw, 44px); line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
.about-location-name > span { display: flex; align-items: center; gap: 8px; color: var(--purple); font-size: 12px; }
.about-location-name > span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.about-location-list p { margin-block-start: auto; color: var(--about-muted); font-size: 14px; line-height: 1.85; }
.about-location-link { display: flex; align-items: center; gap: 16px; color: var(--purple); font-size: 13px; min-height: 44px; }
.about-location-list > a:hover .about-location-name { color: var(--purple); }
.about-trust { padding: 48px; border-radius: 28px; background: #18121f; color: #fff; }
.about-trust .about-kicker { color: #c4a0ff; }
.about-trust h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.7; font-weight: 500; margin-block: 12px 36px; }
.about-trust-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.about-trust-logos > div { display: grid; place-items: center; min-height: 116px; padding: 24px; border-block-start: 1px solid #ffffff16; }
.about-trust-logos img { display: block; width: auto; max-width: 100%; height: auto; max-height: 60px; object-fit: contain; opacity: .9; }
.about-page .testi { max-width: 1280px; margin-inline: auto; }
.about-join-wrap { margin-block-start: 88px; background: #fff; border: 1px solid var(--about-line); border-radius: 28px; }
.about-join-wrap .join { padding: 48px; }
.about-join-wrap .join > .sec-head { margin-block-end: 24px; }
.about-join-wrap .join-top { gap: 32px; margin-block-end: 32px; }
.about-join-wrap .join-top .h2 { font-size: clamp(29px, 3vw, 42px); line-height: 1.6; }
.about-join-wrap .join-top .accent { background: transparent; color: var(--purple); padding: 0; margin: 0; }
.about-join-wrap .join-top .accent::before { display: none; }
.about-join-wrap .join-top .accent-in { opacity: 1 !important; }
.about-join-wrap .join-top .lead { font-size: 16px; line-height: 1.95; }
.about-join-wrap .join-form { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }
.about-join-wrap .join-pick { grid-template-columns: 1fr; }
.about-join-wrap .jcard { padding: 28px; border-radius: 18px; }
.about-join-wrap .join-fields { margin-block-start: 0; border-radius: 18px; background: #fbf9fe; padding: 28px; }
.about-page a:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
@media (max-width: 1000px) {
  .about-hero { gap: 32px; }
  .about-hero h1 { font-size: 44px; }
  .about-brand-panel { padding: 26px; }
  .about-direction, .about-trust, .about-join-wrap .join { padding: 32px; }
  .about-join-wrap .join-form { grid-template-columns: 1fr; }
  .about-join-wrap .join-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-location-list > a { gap: 16px; }
}
@media (max-width: 800px) {
  .about-hero { grid-template-columns: 1fr; padding-block: 120px 48px; }
  .about-hero h1 { font-size: clamp(36px, 6vw, 52px); }
  .about-brand-panel { max-width: 560px; width: 100%; }
  .about-numbers { grid-template-columns: 1fr; gap: 28px; }
  .about-numbers-heading { align-items: flex-start; flex-direction: column; gap: 12px; padding-block-end: 22px; }
  .about-number-origin > strong { font-size: clamp(88px, 20vw, 128px); }
  .about-origin-line { margin-block-start: 24px; }
  .about-number-metric { grid-template-columns: 76px minmax(0, 1fr) 16px; gap: 16px; padding-block: 20px; }
  .about-number-metric strong { font-size: 44px; }
  .home-impact .about-number-metric { grid-template-columns: 88px minmax(0, 1fr) 16px; gap: 12px; min-height: 100px; }
  .home-impact .about-number-metric > strong { font-size: 44px; }
  .home-impact .about-number-origin { gap: 20px; }
  .impact-feature-value { gap: 18px; }
  .impact-feature-value > .about-number-label { font-size: 15px; }
  .about-number-label { font-size: 13px; }
  .about-section { padding-block: 56px; }
  .about-story { grid-template-columns: 1fr; gap: 20px; }
  .about-page .founders { padding-block-end: 56px; }
  .about-direction { padding: 32px; }
  .about-values-grid { gap: 16px; }
  .about-values-grid article { padding: 24px; }
  .about-location-list { grid-template-columns: 1fr; }
  .about-location-list > a { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; padding: 24px 16px; gap: 8px 16px; }
  .about-location-list > a + a { border-inline-start: 0; border-block-start: 1px solid var(--about-line); }
  .about-location-number { padding-block-start: 3px; }
  .about-location-list p { grid-column: 2 / -1; margin: 0; }
  .about-location-link { grid-column: 3; grid-row: 1; }
  .about-trust { padding: 32px; }
  .about-join-wrap { margin-block-start: 56px; }
}
@media (max-width: 600px) {
  .about-lead { font-size: 16px; }
  .about-direction-grid, .about-values-grid { grid-template-columns: 1fr; }
  .about-direction-grid article { padding: 24px; }
  .about-direction-grid p, .about-story-text { font-size: 16px; }
  .about-story-text p:first-child { font-size: 18px; }
  .about-trust-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-trust-logos > div { min-height: 96px; padding: 20px; }
  .about-trust-logos img { max-height: 48px; }
  .about-join-wrap .join { padding: 24px; }
  .about-join-wrap .join-pick { grid-template-columns: 1fr; }
  .about-join-wrap .join-fields { padding: 20px; }
  .about-location-list > a { gap: 12px; }
  .about-location-link { font-size: 12px; gap: 8px; }
  .about-location-name h3 { font-size: 27px; }
  .about-direction, .about-trust { border-radius: 22px; padding: 28px 24px; }
  .about-hero-actions { gap: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) { .about-disciplines a, .about-location-list > a { transition: none; } }
/* Founder profiles: portrait, identity and an inline biography. */
.founders { max-width: 1160px; margin-inline: auto; }
.founders-head { margin-block-end: 40px; }
.founders-head > .mono { color: var(--purple); }
.founders-head h2 { font-size: clamp(29px, 3.3vw, 44px); font-weight: 500; line-height: 1.7; margin-block: 12px; }
.founders-head h2 > span { color: var(--purple); }
.founders-head > p:last-child { color: #6c6375; font-size: 16px; line-height: 1.8; }
.founders-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 32px; max-width: 1000px; margin-inline: auto; }
.founder-card { position: relative; min-width: 0; background: #fff; border: 1px solid #e6dfed; border-radius: 24px; overflow: clip; transition: border-color .25s, box-shadow .25s; }
.founder-card:has(.founder-details[open]) { border-color: #6300ff60; box-shadow: 0 16px 44px #36135b0a; }
.about-page .founder-photo, .founder-photo { position: relative; aspect-ratio: 900/1123; border-radius: 0; border: 0; overflow: clip; background: #22182f; }
.founder-photo > img { display: block; width: 100%; height: auto; transition: transform .65s ease, filter .65s ease; }
.founder-card:has(.is-revealed) .founder-photo > img { transform: scale(1.035); filter: blur(2px); }
.founder-caption { padding: 24px 28px; }
.founder-caption h3 { font-size: clamp(24px, 2.3vw, 30px); font-weight: 500; line-height: 1.6; }
.founder-caption p { color: #746a7e; font-size: 14px; line-height: 1.8; margin-block-start: 6px; }
.founder-details { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.founder-details::before { content: ""; position: absolute; inset: 0; background: #faf8fff5; clip-path: circle(0% at 9% 7%); transition: clip-path .5s cubic-bezier(.22, 1, .36, 1); }
[dir="ltr"] .founder-details::before { clip-path: circle(0% at 91% 7%); }
.founder-details.is-revealed::before { clip-path: circle(145% at 9% 7%); }
[dir="ltr"] .founder-details.is-revealed::before { clip-path: circle(145% at 91% 7%); }
.founder-details[open] { pointer-events: auto; }
.founder-details > summary { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 8px 6px 16px; border: 1px solid #e6dcf6; border-radius: 99px; background: #fff; color: var(--purple); font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; pointer-events: auto; transition: background .2s; }
.founder-details > summary::-webkit-details-marker { display: none; }
.founder-details > summary:hover, .founder-details[open] > summary { background: #f6f0ff; }
.founder-details > summary { user-select: none; -webkit-user-select: none; caret-color: transparent; -webkit-tap-highlight-color: transparent; }
.founder-details > summary * { pointer-events: none; user-select: none; -webkit-user-select: none; caret-color: transparent; }
.founder-details > summary:focus { outline: none; }
.founder-details > summary:focus-visible:not([data-pointer-focus]) { outline: 2px solid var(--purple); outline-offset: 4px; }
.founder-toggle-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #dfd0f4; border-radius: 50%; background: #fff; font: 300 24px/1 var(--sans); transition: rotate .2s, background .2s, color .2s; }
.founder-read-less { display: none; }
.founder-details[open] .founder-read-less { display: none; }
.founder-details[open] .founder-read-more { display: none; }
.founder-details[open] > summary { z-index: 3; padding: 5px; border-color: transparent; background: transparent; }
.founder-details[open] .founder-toggle-icon { rotate: 45deg; background: var(--purple); color: #fff; border-color: var(--purple); }
.founder-bio { position: absolute; inset: 28px; display: flex; flex-direction: column; gap: 24px; min-height: 0; color: #4c4057; opacity: 0; transform: translateY(18px); transition: opacity .25s ease, transform .4s ease; }
.founder-details.is-revealed .founder-bio { opacity: 1; transform: none; transition-delay: .12s; }
.founder-bio-head { flex: none; padding-inline-end: 48px; padding-block-end: 20px; border-block-end: 1px solid #6300ff20; }
.founder-bio-head h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.4; color: #20152e; }
.founder-bio-head p { font-size: 12px; line-height: 1.7; color: var(--purple); margin-block-start: 8px; }
.founder-bio-copy { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.founder-bio-copy > p { font-size: 15px; line-height: 2; }
.founder-bio > a { flex: none; display: flex; align-items: center; gap: 10px; color: #39234e; min-height: 48px; padding-block-start: 16px; border-block-start: 1px solid #6300ff20; font-size: 12px; text-decoration: none; }
.founder-bio > a > svg { margin-inline-start: auto; }
.founder-linkedin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--purple); color: #fff; font: 600 17px/1 Arial, sans-serif; }
.founder-bio > a:hover { color: var(--purple); }
@media (max-width: 700px) { .founders-grid { grid-template-columns: 1fr; gap: 28px; } .founder-caption { padding: 22px 24px; } .founder-bio { inset-inline: 22px; } }
@media (prefers-reduced-motion: reduce) { .founder-card, .founder-details > summary, .founder-toggle-icon, .founder-details::before, .founder-bio, .founder-photo > img { transition: none; } }
/* Editorial article detail. */
.story-page { max-width: 1500px; margin-inline: auto; padding: 144px var(--gut) 0; }
.story-hero { max-width: 1040px; margin-inline: auto; padding-block-end: 44px; }
.story-breadcrumb { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #79717f; margin-block-end: 28px; }
.story-breadcrumb a { color: var(--purple); padding-block: 8px; }
.story-hero h1 { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.55; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
[dir="rtl"] .story-hero h1 { letter-spacing: 0; }
.story-excerpt { max-width: 76ch; margin-block-start: 24px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.95; color: #625a6c; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-block-start: 32px; font-size: 13px; color: #6a6275; }
.story-author { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.story-author img { width: 40px; height: 40px; border-radius: 50%; }
.story-meta > time { border-inline: 1px solid #e0dbe6; padding-inline: 24px; }
.story-cover { overflow: hidden; border-radius: 26px; background: #eee8f4; margin-block-end: 56px; }
.story-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.post-card .post-cover-full img { object-fit: contain; background: #eae6ef; }
.story-cover.post-cover-full { background: #eae6ef; }
.story-cover.post-cover-full img { aspect-ratio: auto; max-height: min(760px, 85svh); object-fit: contain; }
.story-source { padding-block-start: 24px; border-block-start: 1px solid #e0dce8; }
.story-gallery { margin-block: 36px; }
.story-gallery > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.story-gallery figure { margin: 0; overflow: hidden; border-radius: 16px; background: #080808; }
.story-gallery img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .story-gallery > div { grid-template-columns: 1fr; } }
/* Present the photographic area of the archived square event frames. */
.story-page .event-photo, .posts .event-photo { position: relative; overflow: hidden; aspect-ratio: 958/675; }
.story-page .event-photo > img, .posts .event-photo > img { position: absolute; width: 112.735%; max-width: none; height: auto; max-height: none; aspect-ratio: 1; left: -6.89%; top: -27.4074%; object-fit: fill; }
.story-services { margin-block: 36px; padding: 24px; background: #f0ebf8; border-radius: 16px; }
.story-services p { font-weight: 600; margin-block-end: 14px; }
.story-services > div { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.story-services a { display: inline-flex; align-items: center; gap: 10px; color: #6300ff; }
.story-services a:hover { text-decoration: underline; text-underline-offset: 4px; }
.story-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; max-width: 1240px; margin-inline: auto; }
.story-layout.story-no-toc { display: block; max-width: 860px; }
.story-sidebar { position: sticky; top: 104px; display: grid; gap: 20px; }
.story-toc { padding: 24px 16px; background: #fff; border: 1px solid #e6dfef; border-radius: 20px; }
.story-toc > p { font-size: 16px; font-weight: 600; padding-inline: 12px; margin-block-end: 16px; }
.story-toc ol { list-style: none; display: grid; gap: 4px; }
.story-toc a { display: flex; align-items: baseline; gap: 12px; padding: 12px; min-height: 44px; border-radius: 10px; font-size: 13px; line-height: 1.75; color: #655c70; transition: background .2s, color .2s; }
.story-toc a > span { font-size: 11px; color: var(--purple); }
.story-toc a:hover, .story-toc a.is-active { background: #eee5ff; color: var(--purple); }
.story-toc a.is-active { box-shadow: inset 0 0 0 1px #6300ff15; font-weight: 500; }
.story-side-note { padding: 24px; background: #17101f; color: #fff; border-radius: 20px; }
.story-side-note > span { color: #c9aaff; }
.story-side-note > p { font-size: 19px; line-height: 1.85; margin-block: 12px 20px; }
.story-side-note a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 14px; color: #e4d5ff; }
.story-text { min-width: 0; border: 1px solid #e9e2f0; border-radius: 24px; background: #fff; padding: clamp(24px, 4vw, 56px); font-size: 17px; line-height: 2; color: #49414f; overflow-wrap: anywhere; }
.story-text > p { margin-block: 0 24px; }
.story-text > p:first-child { color: #201728; font-size: 19px; line-height: 2; padding-block-end: 28px; border-block-end: 1px solid #eee8f3; margin-block-end: 32px; }
.story-text h2 { scroll-margin-top: 110px; color: #24192e; font-size: clamp(22px, 2vw, 28px); line-height: 1.7; font-weight: 600; margin-block: 40px 20px; padding-inline-start: 16px; border-inline-start: 3px solid var(--purple); }
.story-text ul { background: #f7f3fd; border: 1px solid #ebe1f8; border-radius: 16px; padding: 24px; padding-inline-start: 44px; margin-block: 8px 28px; display: grid; gap: 12px; }
.story-text li::marker { color: var(--purple); }
.story-text strong { color: #24192e; font-weight: 600; }
.story-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; margin-block-start: 40px; padding-block-start: 28px; border-block-start: 1px solid #e9e2f0; color: #6a6275; font-size: 13px; }
.story-end a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; color: var(--purple); }
.story-related { margin-block: 80px 0; padding-block-start: 48px; border-block-start: 1px solid #e5dfed; }
.story-related-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-block-end: 32px; }
.story-related-head .mono { color: var(--purple); }
.story-related-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.6; margin-block-start: 8px; }
.story-related-head > a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 14px; color: var(--purple); }
.story-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-related-card { min-width: 0; background: #fff; border: 1px solid #e6dfef; border-radius: 20px; overflow: hidden; }
.story-related-image { overflow: hidden; aspect-ratio: 16/9; background: #eee8f4; }
.story-related-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.story-related-card > div:last-child { padding: 24px; }
.story-related-card .mono { font-size: 12px; color: #746b7e; }
.story-related-card h3 { font-size: 19px; line-height: 1.85; font-weight: 500; margin-block: 12px 20px; }
.story-related-card span { display: inline-flex; align-items: center; gap: 12px; color: var(--purple); font-size: 13px; }
.story-related-card:hover h3 { color: var(--purple); }
.story-related-card:hover img { transform: scale(1.035); }
.story-page a:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
@media (max-width: 1000px) { .story-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; } .story-text { padding: 28px; } .story-side-note { padding: 20px; } }
@media (max-width: 800px) {
  .story-page { padding-block-start: 116px; }
  .story-layout { grid-template-columns: 1fr; }
  .story-sidebar { position: static; }
  .story-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-side-note { display: none; }
  .story-related-grid { grid-template-columns: 1fr; }
  .story-cover { margin-block-end: 32px; border-radius: 18px; }
}
@media (max-width: 480px) {
  .story-toc ol { grid-template-columns: 1fr; }
  .story-meta { gap: 12px 16px; }
  .story-meta > time { border: 0; padding: 0; }
  .story-meta > span { flex-basis: 100%; }
  .story-text { padding: 24px 20px; font-size: 16px; border-radius: 18px; }
  .story-text > p:first-child { font-size: 17px; }
  .story-text ul { padding: 20px; padding-inline-start: 34px; }
  .story-related-head { align-items: start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .story-related-image img, .story-toc a { transition: none; } .story-related-card:hover img { transform: none; } }
/* Cookie preference centre: native choices with clear saved state. */
.cookies-intro { max-width: 820px; padding-block-end: 48px; }
.cookies-intro h1 { font-size: clamp(34px, 4.1vw, 64px); font-weight: 600; line-height: 1.5; margin-block: 20px; }
.cookies-intro h1 > span { display: block; color: var(--purple); }
.cookies-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cookie-preferences { border: 1px solid var(--privacy-border); background: #fff; padding: clamp(24px, 3vw, 40px); border-radius: 24px; }
.cookie-form-head h2, .cookie-explainer > h2 { font-size: 25px; font-weight: 500; line-height: 1.7; }
.cookie-form-head > p { font-size: 14px; line-height: 1.9; color: var(--privacy-muted); margin-block: 12px 28px; }
.cookie-preferences fieldset { border: 0; min-width: 0; display: grid; gap: 16px; }
.cookie-preferences legend { font-size: 16px; font-weight: 500; margin-block-end: 16px; }
.cookie-choice { display: flex; gap: 14px; align-items: start; border: 1px solid var(--privacy-border); border-radius: 16px; padding: 20px; min-height: 100px; cursor: pointer; transition: background .2s, border-color .2s; }
.cookie-choice:has(input:checked) { border-color: var(--purple); background: #f5f0ff; }
.cookie-choice:has(input:focus-visible) { outline: 2px solid var(--purple); outline-offset: 4px; }
.cookie-choice input { appearance: auto; width: 20px; height: 20px; flex: none; accent-color: var(--purple); margin-block-start: 5px; }
.cookie-choice strong { display: block; font-size: 16px; line-height: 1.8; font-weight: 500; }
.cookie-choice > span > span { display: block; margin-block-start: 6px; font-size: 14px; line-height: 1.9; color: var(--privacy-muted); }
.cookie-save-note { font-size: 13px; line-height: 1.9; color: var(--privacy-muted); margin-block: 24px; }
.cookie-save-status { font-size: 14px; line-height: 1.8; color: var(--purple); margin-block-start: 16px; }
.cookie-save-status:empty { display: none; }
.cookie-preferences .btn[disabled] { opacity: .5; cursor: default; }
.cookie-explainer { border-radius: 24px; background: #f0ecf6; padding: clamp(24px, 3vw, 40px); }
.cookie-explainer > h2 { margin-block: 12px 24px; }
.cookie-explainer section + section { border-block-start: 1px solid #ddd5e9; margin-block-start: 24px; padding-block-start: 24px; }
.cookie-explainer h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 17px; line-height: 1.8; font-weight: 500; margin-block-end: 8px; }
.cookie-explainer h3 span { color: var(--purple); border: 1px solid #d6c5f3; background: #fff; padding: 2px 10px; border-radius: 99px; font-size: 11px; }
.cookie-explainer section p { color: var(--privacy-muted); font-size: 14px; line-height: 1.95; }
@media (max-width: 800px) { .cookies-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cookie-choice { padding: 16px; gap: 10px; } .cookie-preferences .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .cookie-choice { transition: none; } }
/* Shared service artwork on the home and services pages. */
.serv-title { display: flex; align-items: center; gap: 20px; }
.serv-art { width: clamp(80px, 8vw, 128px); height: clamp(80px, 8vw, 128px); object-fit: contain; flex: none; filter: hue-rotate(-9deg) saturate(1.65) brightness(.84) contrast(1.08) drop-shadow(0 8px 12px rgba(99, 0, 255, .14)); transition: transform .5s var(--ease); }
.serv:hover .serv-art, .serv:focus-visible .serv-art { transform: translateY(-5px) rotate(-6deg); }
.bot-fab .bot-tooltip { position: absolute; inset-inline-end: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(4px); white-space: nowrap; padding: 9px 14px; border-radius: 12px; background: var(--dark); color: #fff; font-size: 14px; box-shadow: 0 6px 24px #0002; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
.bot-fab:hover .bot-tooltip, .bot-fab:focus-visible .bot-tooltip { opacity: 1; visibility: visible; transform: translateY(-50%); }
.bot-fab:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
@media (max-width: 600px) {
 .serv-title { gap: 12px; }
 .serv-art { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
 .serv-art, .bot-fab .bot-tooltip { transition: none; }
 .serv:hover .serv-art, .serv:focus-visible .serv-art { transform: none; }
}
.process-visual { position: relative; align-self: center; justify-self: center; display: grid; place-items: center; width: 100%; max-width: 440px; min-height: 300px; padding: 12px; color: #6300ff; background: radial-gradient(ellipse, #6300ff12, transparent 68%); }
.process-visual > img { display: block; width: min(100%, 360px); height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.process-visual-index { position: absolute; bottom: 8px; inset-inline-start: 16px; font: 500 20px/1 "Geist", sans-serif; letter-spacing: -.03em; opacity: .35; }
.pcard:nth-child(n+3) .process-visual { color: #fff; background: radial-gradient(ellipse, #ffffff10, transparent 68%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .pcard:hover .process-visual > img { transform: translateY(-5px); } }
@media (max-width: 900px) {
  .process-visual { max-width: 300px; min-height: 216px; padding: 4px; }
  .process-visual > img { width: 220px; max-width: 100%; }
  .pbody .prow { margin-block-end: 28px; }
}
@media (max-width: 480px) {
  .reels-heading { gap: 16px; width: 100%; }
  .reels-art { width: 68px; }
  .reels-heading .h2 { font-size: clamp(30px, 8vw, 40px); }
}
