/* Dr Marketing. Dark navy stage, warm paper sections, one electric blue, and each project keeps its own colour. */
:root {
  --ink: #0a0f1f;
  --ink-2: #111a33;
  --ink-3: #1a2547;
  --paper: #f2f0eb;
  --paper-2: #e6e3dc;
  --text: #eef1f8;
  --muted: #8f9ab6;
  --text-d: #12182b;
  --muted-d: #5d6478;
  --blue: #2f6bff;
  --blue-d: #1f4fd1;
  --navy: #1f3b73;
  --sky: #cfe0f5;
  --pink: #ff4f9a;
  --line: rgb(238 241 248 / 0.14);
  --line-d: rgb(18 24 43 / 0.14);
  --r: 20px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --f-ar: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;
  --f-disp: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-lat: "Barlow Condensed", "Alexandria", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  /* Layered shadows tinted toward the navy, one light source for the whole page */
  --sh-1: 0 1px 1px rgb(10 15 31 / 0.08), 0 2px 4px rgb(10 15 31 / 0.08), 0 6px 12px rgb(10 15 31 / 0.08);
  --sh-2: 0 2px 2px rgb(10 15 31 / 0.1), 0 6px 12px rgb(10 15 31 / 0.12), 0 18px 36px rgb(10 15 31 / 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--f-ar); font-size: 17px; line-height: 1.7; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
svg { width: 1em; height: 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.lat { font-family: var(--f-lat); letter-spacing: 0.01em; unicode-bidi: isolate; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #fff; transform: translateY(-160%); transition: transform 0.2s var(--ease-out); }
.skip:focus { transform: none; }

/* ---------- shared pieces ---------- */
.kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted-d); margin-bottom: 20px; }
.kicker .lat { font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--blue); border-radius: 2px; }
.kicker-w { color: var(--muted); }
.kicker-w .lat { color: #8fb0ff; }
.kicker-w::before { background: #8fb0ff; }
.h2 { font-family: var(--f-disp); font-weight: 800; font-size: clamp(36px, 5.6vw, 84px); line-height: 1.05; letter-spacing: -0.01em; }
.h2 .dim { color: var(--muted); font-weight: 500; }
.light { background: var(--paper); color: var(--text-d); }
.src { margin-top: 28px; font-size: 13px; color: var(--muted); }
.src-d { color: var(--muted-d); }

/* Solid pill buttons with a round arrow, press gives feedback */
.pill { --bg: var(--blue); --fg: #fff; --dot: #fff; --dotfg: var(--blue); display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 22px 6px 6px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px; white-space: nowrap; box-shadow: var(--sh-1); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.pill-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dot); color: var(--dotfg); font-size: 18px; flex: none; transition: transform 0.35s var(--ease-out); }
.pill:hover { transform: translateY(-2px); box-shadow: var(--sh-2); transition-duration: 0.15s; }
.pill:hover .pill-dot { transform: translateX(-4px); transition-duration: 0.15s; }
.pill:active { transform: scale(0.97); transition-duration: 0.08s; }
.pill-blue { --bg: var(--blue); }
.pill-white { --bg: #fff; --fg: var(--text-d); --dot: var(--ink); --dotfg: #fff; }
.pill-ink { --bg: var(--ink); --fg: #fff; --dot: #fff; --dotfg: var(--ink); }

.chip { min-height: 40px; padding: 8px 18px; border-radius: 999px; background: var(--ink-3); color: var(--text); font-size: 15px; font-weight: 500; transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out); }
.chip:hover { background: #26335e; transition-duration: 0.12s; }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }

.sq { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 20px; transition: transform 0.3s var(--ease-out), background-color 0.3s; }
.sq:hover { background: var(--blue); transition-duration: 0.12s; }
.sq:active { transform: scale(0.94); }
.sq[data-dir="next"] svg { transform: none; }
.sq[data-dir="prev"] svg { transform: scaleX(-1); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: var(--ink); }
/* Shown only when the head script asks for it, and it removes itself after 4s even if the script never runs */
html.loading .loader { display: grid; animation: loader-failsafe 0.3s 4s forwards; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-in img { border-radius: 50%; }
.loader-n { font-family: var(--f-lat); font-weight: 700; font-size: 20px; letter-spacing: 0.1em; color: var(--muted); min-width: 3ch; text-align: center; }
.loader.is-done { display: none !important; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: transform 0.45s var(--ease-out), background-color 0.3s; }
.hdr-in { display: flex; align-items: center; gap: 24px; max-width: var(--max); margin-inline: auto; padding: 14px var(--gut); }
.hdr.is-solid { background: rgb(10 15 31 / 0.82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-w { font-family: var(--f-lat); font-size: 21px; font-weight: 600; letter-spacing: 0.06em; }
.brand-w b { font-weight: 800; }
.nav { display: none; gap: 6px; margin-inline-start: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: rgb(238 241 248 / 0.8); transition: background-color 0.3s, color 0.3s; }
.nav a:hover { background: rgb(255 255 255 / 0.08); color: #fff; transition-duration: 0.12s; }
.hdr-cta { display: none; min-height: 46px; font-size: 15px; }
.hdr-cta .pill-dot { width: 34px; height: 34px; }
.burger { margin-inline-start: auto; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-content: center; gap: 6px; transition: transform 0.3s var(--ease-out); }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease-out); }
.burger:active { transform: scale(0.94); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .hdr-cta { display: inline-flex; }
  .burger { display: none; }
}

/* Phone menu: big stacked links */
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gut) 40px; background: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path 0.55s var(--ease-in); }
.menu.is-open { clip-path: inset(0 0 0 0); transition: clip-path 0.6s var(--ease-out); }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--f-disp); font-size: clamp(34px, 10vw, 56px); font-weight: 700; line-height: 1.2; opacity: 0; transform: translateY(24px); transition: opacity 0.3s, transform 0.3s; }
.menu-nav small { font-family: var(--f-lat); font-size: 14px; color: var(--blue); font-weight: 700; }
.menu.is-open .menu-nav a { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(0.12s + var(--i, 0) * 0.06s); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 110px; overflow: clip; background:
  radial-gradient(60% 60% at 15% 30%, rgb(47 107 255 / 0.28), transparent 70%),
  radial-gradient(50% 50% at 90% 90%, rgb(255 79 154 / 0.12), transparent 70%), var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bgv { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 15 31 / 0.55) 0%, rgb(10 15 31 / 0.2) 35%, rgb(10 15 31 / 0.85) 75%, var(--ink) 100%); }
.hero-grid { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); display: grid; gap: 40px; align-items: end; }
.eyebrow { font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: #8fb0ff; margin-bottom: 18px; }
.hero-h { font-family: var(--f-disp); font-weight: 900; font-size: clamp(44px, 11vw, 120px); line-height: 1.02; letter-spacing: -0.02em; }
.ln { display: block; overflow: clip; padding-block: 0.06em; }
.ln > span { display: inline-block; }
.hl { font-style: normal; color: transparent; background: linear-gradient(90deg, #8fb0ff, var(--blue) 60%, #ff7ab3); -webkit-background-clip: text; background-clip: text; }
.hero-p { max-width: 34em; margin-top: 22px; font-size: clamp(16px, 1.3vw, 19px); color: rgb(238 241 248 / 0.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stack { display: none; }
.reel { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink-2); box-shadow: var(--sh-2); aspect-ratio: 9 / 16; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; inset: auto 12px 12px 12px; padding: 6px 12px; border-radius: 999px; width: fit-content; background: rgb(10 15 31 / 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.hero-tabs { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 44px auto 0; padding: 0 var(--gut) 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
.htab { text-align: start; padding-top: 12px; color: rgb(238 241 248 / 0.5); transition: color 0.3s; }
.htab:hover, .htab[aria-selected="true"] { color: #fff; }
.htab-line { display: block; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.htab-line i { display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; }
.htab[aria-selected="true"] .htab-line i { background: var(--c, var(--blue)); }
.htab b { display: block; font-family: var(--f-lat); font-size: 19px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.htab small { font-size: 13px; }
@media (min-width: 900px) {
  .hero-bg { display: none; }
  .hero { justify-content: center; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; }
  .hero-h { font-size: clamp(50px, 5.1vw, 92px); }
  .hero-h .ln { white-space: nowrap; }
  /* A fanned stack: the playing clip in front, two quieter clips tucked behind it */
  .hero-stack { display: flex; align-items: center; justify-content: center; }
  .reel-main { position: relative; z-index: 2; width: clamp(230px, 21vw, 310px); }
  .reel-a, .reel-b { z-index: 1; width: clamp(160px, 14.5vw, 220px); filter: saturate(0.8) brightness(0.8); }
  .reel-a { margin-inline-end: -46px; translate: 0 -14%; rotate: 5deg; }
  .reel-b { margin-inline-start: -46px; translate: 0 14%; rotate: -5deg; }
  .hero-tabs { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- marquee ---------- */
.marq { direction: ltr; overflow: clip; padding: 26px 0; background: var(--ink); border-block: 1px solid var(--line); }
.marq-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marq-item { display: inline-flex; align-items: center; gap: 0.35em; padding-inline: 0.35em; font-family: var(--f-lat); font-weight: 800; font-size: clamp(48px, 8vw, 120px); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.marq-item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px rgb(238 241 248 / 0.55); }
.marq-item .star { color: var(--c, var(--blue)); -webkit-text-stroke: 0; font-size: 0.5em; }
html:not(.has-gsap) .marq-track { animation: marq 40s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { padding-block: clamp(80px, 12vw, 170px) clamp(60px, 8vw, 110px); }
.statement { font-family: var(--f-disp); font-weight: 600; font-size: clamp(28px, 4.2vw, 62px); line-height: 1.32; letter-spacing: -0.01em; max-width: 22em; }
.statement .w { opacity: 1; }
html.has-gsap .statement .w { opacity: 0.16; }
.motto { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; margin-top: clamp(50px, 7vw, 90px); }
.motto-ar { white-space: nowrap; font-family: var(--f-disp); font-weight: 800; font-size: clamp(34px, 5vw, 72px); color: var(--navy); }
.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; inset: -22% -12%; width: 124%; height: 144%; overflow: visible; }
.circled path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motto-en { font-family: var(--f-serif); font-size: clamp(28px, 3.4vw, 48px); color: var(--muted-d); letter-spacing: 0; }
.vg { display: grid; gap: 28px; margin-top: clamp(60px, 8vw, 110px); }
.vg-item { border-top: 2px solid var(--text-d); padding-top: 22px; }
.vg-item h2 { font-family: var(--f-disp); font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.vg-item p { color: var(--muted-d); max-width: 36em; }
@media (min-width: 800px) { .vg { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ---------- numbers ---------- */
.nums { padding-bottom: clamp(70px, 10vw, 140px); }
.nums-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.num-hero { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; padding: 30px; background: var(--blue); color: #fff; border-radius: var(--r); box-shadow: var(--sh-2); }
.num-hero b { font-family: var(--f-disp); font-weight: 900; font-size: clamp(96px, 13vw, 190px); line-height: 1; }
.num-hero span { font-family: var(--f-disp); font-weight: 700; font-size: clamp(20px, 2vw, 30px); line-height: 1.25; }
.num { padding: 26px 4px 4px; border-top: 1px solid var(--line-d); }
.num:nth-child(even) { padding-inline-end: 14px; }
.num b { display: block; font-family: var(--f-disp); font-weight: 800; font-size: clamp(32px, 4vw, 58px); line-height: 1.1; color: var(--text-d); }
.num > span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted-d); line-height: 1.5; }
.nums-grid > .num:nth-of-type(n) { margin-top: 18px; }
@media (min-width: 900px) {
  .nums-grid { grid-template-columns: 1.3fr repeat(4, 1fr); gap: 0 26px; align-items: stretch; }
  .num-hero { grid-column: auto; grid-row: span 1; flex-direction: column; align-items: flex-start; justify-content: space-between; aspect-ratio: 1; }
  .num { margin-top: 0 !important; display: flex; flex-direction: column; justify-content: flex-end; }
}

/* ---------- DR (orb) MARKETING ---------- */
.dm { direction: ltr; overflow: clip; padding-block: clamp(30px, 6vw, 80px); background: var(--paper); color: var(--text-d); }
.dm-row { direction: ltr; display: flex; align-items: center; gap: 0.12em; width: max-content; font-size: clamp(110px, 22vw, 360px); will-change: transform; }
.dm-w { font-family: var(--f-lat); font-weight: 800; line-height: 0.8; text-transform: uppercase; letter-spacing: -0.02em; }
.dm-w:last-child { color: transparent; -webkit-text-stroke: 2px var(--text-d); }
.dm-orb { display: block; width: 0.8em; height: 0.8em; border-radius: 50%; overflow: hidden; flex: none; background: var(--ink); box-shadow: var(--sh-2); }
.dm-orb video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- work rows ---------- */
.work { position: relative; padding-block: clamp(80px, 11vw, 150px) clamp(40px, 6vw, 80px); background: var(--ink); }
.work-head { display: grid; gap: 28px; margin-bottom: clamp(36px, 5vw, 64px); }
.work-side p { color: var(--muted); max-width: 30em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
@media (min-width: 900px) { .work-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.rows { border-top: 1px solid var(--line); }
.row { position: relative; border-bottom: 1px solid var(--line); overflow: clip; }
.row[hidden] { display: none; }
.row-btn { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 18px; width: 100%; max-width: var(--max); margin-inline: auto; padding: 22px var(--gut); text-align: start; }
.row-i { align-self: start; padding-top: 6px; font-family: var(--f-lat); font-size: 14px; font-weight: 700; color: var(--c); }
.row-name { display: block; font-family: var(--f-lat); font-weight: 800; font-size: clamp(38px, 7.4vw, 116px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.005em; transition: transform 0.5s var(--ease-out), color 0.3s; }
.row-name .slash { color: var(--c); }
.row-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.row-meta b { color: var(--text); font-weight: 600; }
.row-thumb { width: 64px; aspect-ratio: 3 / 4; border-radius: 12px; object-fit: cover; }
.row-go { display: none; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 24px; transition: transform 0.5s var(--ease-out), background-color 0.3s; }
.row-bg { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.45s var(--ease-out); }
.row-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease-out); }
.row-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 15 31 / 0.9), rgb(10 15 31 / 0.55) 60%, rgb(10 15 31 / 0.35)); }
@media (hover: hover) and (pointer: fine) {
  .row:hover .row-bg { opacity: 1; transition-duration: 0.2s; }
  .row:hover .row-bg img { transform: scale(1); }
  .row:hover .row-name { transform: translateX(-14px); transition-duration: 0.3s; }
  .row:hover .row-go { background: var(--c); color: #fff; transform: rotate(-45deg); }
}
@media (min-width: 900px) {
  .row-thumb { display: none; }
  .row-go { display: grid; }
  .row-btn { padding-block: 30px; }
}
.peek { position: fixed; top: 0; left: 0; z-index: 30; width: 220px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.6); box-shadow: var(--sh-2); background: var(--ink-2); }
.peek video { width: 100%; height: 100%; object-fit: cover; }
.peek-l { position: absolute; inset: auto 0 14px 0; margin: auto; width: fit-content; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; }

/* ---------- now: pink babylon ---------- */
.now { position: relative; overflow: clip; padding-block: clamp(80px, 11vw, 150px); background: #ff8cbf; color: #1c0a17; isolation: isolate; }
.blob { position: absolute; inset: -20%; z-index: -1; }
.blob i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; }
.blob i:nth-child(1) { background: radial-gradient(closest-side, #ff3d8b, transparent); top: 0; left: -10%; animation: drift 18s ease-in-out infinite alternate; }
.blob i:nth-child(2) { background: radial-gradient(closest-side, #ffd1e4, transparent); top: 30%; right: -15%; animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
.blob i:nth-child(3) { background: radial-gradient(closest-side, #c2185b, transparent); bottom: -10%; left: 30%; opacity: 0.55; animation: drift 26s ease-in-out -12s infinite alternate; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, -6%) scale(1.15); } 100% { transform: translate(-6%, 8%) scale(0.95); } }
.now .kicker-w { color: #4a1533; }
.now .kicker-w .lat, .now .kicker-w::before { color: #4a1533; background: currentColor; }
.now .kicker-w .lat { background: none; }
.now-grid { display: grid; gap: 44px; align-items: center; }
.now-h { font-weight: 800; font-size: clamp(64px, 11vw, 170px); line-height: 0.85; text-transform: uppercase; color: #fff; text-shadow: 0 2px 30px rgb(150 0 70 / 0.25); }
.now-h i { display: block; font-family: var(--f-serif); font-weight: 400; text-transform: none; font-size: 1.05em; }
.now-h small { font-size: 0.32em; font-weight: 700; color: #1c0a17; text-shadow: none; }
.now-p { margin-top: 18px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.sched { margin-top: 28px; display: grid; gap: 10px; }
.sched li { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; background: rgb(255 255 255 / 0.72); box-shadow: var(--sh-1); }
.sched-d { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 14px; background: #1c0a17; color: #fff; font-size: 12px; line-height: 1.2; text-align: center; }
.sched-d b { display: block; font-family: var(--f-disp); font-size: 28px; font-weight: 800; }
.sched-d svg { font-size: 22px; color: #ff8cbf; }
.sched-t { font-size: 14.5px; line-height: 1.55; color: #3d1a30; }
.sched-t b { display: block; font-family: var(--f-disp); font-size: 18px; color: #1c0a17; }
.sched li.past { opacity: 0.55; }
.sched li.past .sched-t b::after { content: " · انتهى"; font-family: var(--f-ar); font-size: 13px; font-weight: 500; color: #7a3a60; }
.now-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.now-media { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #1c0a17; box-shadow: 0 2px 2px rgb(120 0 60 / 0.12), 0 10px 20px rgb(120 0 60 / 0.16), 0 30px 60px rgb(120 0 60 / 0.22); transform: rotate(-3deg); }
.now-media video { width: 100%; height: 100%; object-fit: cover; }
.now-media figcaption { position: absolute; inset: auto 12px 12px; padding: 8px 14px; border-radius: 999px; width: fit-content; background: #fff; color: #1c0a17; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
@media (min-width: 900px) { .now-grid { grid-template-columns: 1.2fr 0.8fr; gap: 70px; } }

/* ---------- services checkerboard ---------- */
.svc { padding-top: clamp(80px, 11vw, 150px); }
.svc .h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.board { display: grid; grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; overflow: hidden; }
.t-word { display: none; }
.t-img { aspect-ratio: 1; background: var(--ink-2); }
.t-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.t-img:hover img { transform: scale(1.06); }
.t-blue, .t-ink { grid-column: 1 / -1; padding: 34px var(--gut); color: #fff; }
.t-blue { background: var(--blue); }
.t-ink { background: var(--ink); }
.tile small { font-family: var(--f-lat); font-size: 15px; font-weight: 700; opacity: 0.7; }
.tile h3 { font-family: var(--f-disp); font-size: clamp(22px, 2vw, 30px); font-weight: 700; margin: 8px 0 10px; line-height: 1.25; }
.tile p { font-size: 15.5px; line-height: 1.65; opacity: 0.88; }
@media (min-width: 900px) {
  .board { grid-template-columns: repeat(4, 1fr); }
  .t-word { display: grid; place-items: center; aspect-ratio: 1; }
  .t-word span { font-weight: 800; font-size: clamp(30px, 3.2vw, 52px); color: var(--blue); letter-spacing: 0.02em; }
  .t-blue, .t-ink { grid-column: auto; aspect-ratio: 1; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; }
}

/* ---------- results ---------- */
.res { padding-block: clamp(80px, 11vw, 150px); background: var(--ink-2); }
.res-sub { margin-top: 18px; color: var(--muted); max-width: 40em; }
.res-grid { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
.card { padding: 26px; border-radius: var(--r); background: var(--ink); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-family: var(--f-disp); font-size: 20px; font-weight: 700; }
.card-big { font-family: var(--f-disp); font-size: 18px; color: var(--muted); }
.card-big b { font-size: clamp(36px, 3.6vw, 50px); font-weight: 800; color: #fff; }
.card-l { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-top: auto; }
.people { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; color: var(--ink-3); }
.people svg { width: 100%; height: auto; aspect-ratio: 20 / 28; transition: color 0.4s var(--ease-out); }
.people svg.on { color: var(--blue); }
.bars { direction: ltr; display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.bars i { flex: 1; height: calc(var(--v) * 1%); min-height: 3px; border-radius: 6px 6px 2px 2px; background: var(--ink-3); transform-origin: bottom; }
.bars i.peak { background: var(--blue); }
.bars-x { display: flex; justify-content: space-between; direction: ltr; font-size: 13px; color: var(--muted); margin-top: -8px; }
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ring { position: relative; text-align: center; }
.ring svg { width: 100%; height: auto; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--ink-3); stroke-width: 3.2; }
.ring .ring-v { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: var(--v) 100; }
.ring b { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1; display: grid; place-items: center; font-family: var(--f-disp); font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; }
.ring span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
@media (min-width: 900px) { .res-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- reels ---------- */
.reels { padding-block: clamp(80px, 11vw, 150px); overflow: clip; }
.reels-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.reels-nav { display: none; gap: 10px; }
@media (min-width: 900px) { .reels-nav { display: flex; } }
.reels-row { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gut); scroll-padding-inline: var(--gut); padding-bottom: 6px; }
.reels-row::-webkit-scrollbar { display: none; }
.rc { flex: none; width: clamp(200px, 22vw, 290px); scroll-snap-align: start; }
.rc-media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--ink); box-shadow: var(--sh-1); }
.rc-media video, .rc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc-media video { opacity: 0; transition: opacity 0.5s; }
.rc-media video.is-playing { opacity: 1; }
.rc-tag { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 999px; background: var(--c); color: #fff; font-family: var(--f-lat); font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.rc p { margin-top: 10px; font-size: 14px; color: var(--muted-d); }
.rc p b { color: var(--text-d); font-weight: 600; }

/* ---------- partners (logo wall, set in type) ---------- */
.partners { padding-block: clamp(80px, 11vw, 150px); background: #000; }
.partners-sub { margin-top: 16px; color: var(--muted); max-width: 38em; }
.pwall { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.pw { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px; padding: 20px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); overflow: hidden; transition: background-color 0.4s; }
.pw::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 120%, rgb(47 107 255 / 0.4), transparent 60%); opacity: 0; transition: opacity 0.5s var(--ease-out); }
.pw:hover::before { opacity: 1; transition-duration: 0.2s; }
.pw-n { position: relative; font-family: var(--f-disp); font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.3; }
.pw-n.lat { font-family: var(--f-lat); font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.pw-k { position: relative; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pw-k b { display: block; color: #8fb0ff; font-weight: 600; }
@media (min-width: 700px) { .pwall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .pwall { grid-template-columns: repeat(4, 1fr); } .pw { min-height: 180px; padding: 26px; } }

/* ---------- family (accounts) ---------- */
.family { padding-block: clamp(80px, 11vw, 150px); }
.accts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.acct a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px; border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.acct a:hover { transform: translateY(-4px); box-shadow: var(--sh-2); transition-duration: 0.15s; }
.acct a:active { transform: scale(0.98); }
.acct img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.acct a > span { display: grid; gap: 4px; min-width: 0; }
.acct-n { display: block; font-family: var(--f-lat); font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.05; color: var(--text-d); }
.acct-h { display: block; font-size: 13px; color: var(--muted-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-f { margin-top: auto; display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted-d); }
.acct-f b { font-family: var(--f-disp); font-size: 22px; font-weight: 800; color: var(--text-d); }
.acct.main a { background: var(--ink); color: #fff; }
.acct.main .acct-n, .acct.main .acct-f b { color: #fff; }
.acct.main .acct-h, .acct.main .acct-f { color: var(--muted); }
.acct.main img { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--blue); }
@media (min-width: 700px) { .accts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .accts { grid-template-columns: repeat(5, 1fr); } }

/* ---------- contact ---------- */
.contact { padding-block: clamp(90px, 12vw, 170px) clamp(60px, 8vw, 100px); background: radial-gradient(70% 60% at 85% 0%, rgb(47 107 255 / 0.3), transparent 70%), var(--ink); }
.big { font-family: var(--f-disp); font-weight: 900; font-size: clamp(54px, 10vw, 160px); line-height: 1; letter-spacing: -0.02em; }
.big .lat { font-family: var(--f-serif); font-weight: 400; color: #8fb0ff; letter-spacing: 0; }
.contact-sub { margin-top: 16px; font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.6vw, 38px); color: #8fb0ff; }
.contact-grid { display: grid; gap: 14px; margin-top: clamp(40px, 6vw, 70px); }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); }
.contact-card .ic { font-size: 30px; color: #8fb0ff; margin-bottom: 4px; }
.contact-card h3 { font-family: var(--f-disp); font-size: 24px; font-weight: 700; }
.contact-card p { color: var(--muted); margin-bottom: 10px; }
.contact-blue { background: var(--blue); border-color: transparent; }
.contact-blue .ic, .contact-blue p { color: rgb(255 255 255 / 0.85); }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.ftr { padding-block: 44px 28px; background: var(--ink); border-top: 1px solid var(--line); overflow: clip; }
.ftr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--muted); }
.ftr-nav a:hover { color: #fff; }
.ftr-giant { direction: ltr; margin-top: 40px; font-weight: 800; font-size: clamp(56px, 13.5vw, 210px); line-height: 0.85; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgb(238 241 248 / 0.22); text-align: center; }
.ftr-c { margin-top: 26px; font-size: 13px; color: var(--muted); }

/* ---------- project story ---------- */
.story { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.story.is-open { pointer-events: auto; }
.story-scrim { position: absolute; inset: 0; background: rgb(5 8 18 / 0.7); opacity: 0; transition: opacity 0.4s var(--ease-in); }
.story.is-open .story-scrim { opacity: 1; transition: opacity 0.3s var(--ease-out); }
.story-panel { position: absolute; inset: 12px 0 0 0; margin-inline: auto; max-width: 1180px; overflow-y: auto; overscroll-behavior: contain; border-radius: 26px 26px 0 0; background: var(--paper); color: var(--text-d); transform: translateY(104%); transition: transform 0.45s var(--ease-in); }
.story.is-open .story-panel { transform: none; transition: transform 0.6s var(--ease-out); }
.st-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: rgb(242 240 235 / 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-d); }
.st-top .lat { font-size: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.st-x { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; transition: transform 0.3s var(--ease-out); }
.st-x:hover { transform: rotate(90deg); }
.st-x:active { transform: scale(0.92); }
.st-hero { display: grid; gap: 26px; padding: 26px 18px; }
.st-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 16; max-height: 70vh; width: min(100%, 380px); justify-self: center; background: var(--ink); box-shadow: var(--sh-2); }
.st-media.wide { aspect-ratio: 16 / 9; width: 100%; max-height: none; }
.st-media video { width: 100%; height: 100%; object-fit: cover; }
.st-logo { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; box-shadow: var(--sh-1); }
.st-name { margin-top: 18px; font-family: var(--f-lat); font-weight: 800; font-size: clamp(54px, 8vw, 110px); line-height: 0.9; text-transform: uppercase; color: var(--c); }
.st-name small { font-size: 0.42em; color: var(--text-d); }
.st-tag { margin-top: 14px; font-family: var(--f-disp); font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.4; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.st-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; font-size: 14px; box-shadow: var(--sh-1); }
.st-chips svg { color: var(--c); }
.st-body { margin-top: 22px; display: grid; gap: 12px; color: #333a4d; max-width: 36em; }
.st-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.st-stats div { padding: 14px; border-radius: 16px; background: var(--c); color: #fff; }
.st-stats b { display: block; font-family: var(--f-disp); font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.1; }
.st-stats span { font-size: 13px; opacity: 0.9; }
.st-sec { margin-top: 26px; }
.st-sec h3 { font-size: 14px; font-weight: 600; color: var(--muted-d); margin-bottom: 10px; }
.st-partners { display: flex; flex-wrap: wrap; gap: 8px; }
.st-partners span { padding: 8px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.st-next { margin-top: 18px; display: inline-block; padding: 8px 14px; border-radius: 12px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 15px; }
.st-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.st-cta .pill-blue { --bg: var(--c); --dotfg: var(--c); }
.st-foot { margin-top: 10px; border-top: 1px solid var(--line-d); }
.st-nextp { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 26px 18px 40px; text-align: start; }
.st-nextp small { display: block; font-size: 13px; color: var(--muted-d); }
.st-nextp b { display: block; font-family: var(--f-lat); font-size: clamp(34px, 5vw, 64px); font-weight: 800; text-transform: uppercase; line-height: 1; color: var(--c2); transition: transform 0.4s var(--ease-out); }
.st-nextp:hover b { transform: translateX(-10px); }
.st-nextp .row-go { display: grid; background: var(--ink); color: #fff; }
@media (min-width: 900px) {
  .story-panel { inset: 28px 28px 0 28px; }
  .st-hero { grid-template-columns: 1fr 380px; gap: 50px; padding: 40px 44px; align-items: start; }
  .st-media { position: sticky; top: 90px; grid-column: 2; grid-row: 1; }
  .st-media.wide { width: 100%; aspect-ratio: 9 / 16; }
  .st-copy { grid-column: 1; grid-row: 1; }
  .st-top { padding-inline: 44px; }
  .st-nextp { padding-inline: 44px; }
}
html.story-open { overflow: hidden; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .blob i { animation: none; }
  .loader { display: none; }
}
