/* ==========================================================================
   فاطمة علي البلوشي — من الكلمة… إلى الأثر
   Palette: Yellow #F0AC15 leads · Black · White · (Blue #187CFB, Purple #6851D4 in small doses)
   Type: Markazi Text = her voice (sentences) · Alexandria = structure (names, titles, UI)
   Signature: the dot of «كلمة…» becomes a line that writes the page, right-to-left,
   returning to the margin like a pen — and ends as the final dot of «للأثر».
   ========================================================================== */

:root {
  --yellow: #F0AC15;
  --black: #000;
  --white: #fff;
  --mist: #EEEDE9;
  --paper: #FBFAF6;
  --blue: #187CFB;
  --purple: #6851D4;

  --f-sans: "Alexandria", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-voice: "Markazi Text", "Noto Naskh Arabic", "Amiri", "Traditional Arabic", serif;

  --g: clamp(24px, 5.2vw, 84px);
  --rail: calc(var(--g) * .5);
  --hdr: 76px;
  --pad-y: clamp(104px, 12vw, 190px);

  --ease: cubic-bezier(.22, .7, .12, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 860px) {
  :root { --hdr: 62px; --g: 24px; --pad-y: 96px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 8px); background: #000; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.7;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { display: block; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
.voice { font-family: var(--f-voice); }
::selection { background: var(--yellow); color: #000; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; right: 10px; z-index: 100; padding: 10px 16px; background: #000; color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- tones ---------- */
[data-tone="yellow"] { --bg: var(--yellow); --fg: #000; --fg-2: rgba(0,0,0,.66); --thread: #000; --dot-fill: #000; --btn-bg: #000; --btn-fg: var(--yellow); --rule: rgba(0,0,0,.2); }
[data-tone="light"]  { --bg: #fff; --fg: #000; --fg-2: rgba(0,0,0,.58); --thread: #000; --dot-fill: var(--yellow); --btn-bg: var(--yellow); --btn-fg: #000; --rule: rgba(0,0,0,.14); }
[data-tone="mist"]   { --bg: var(--mist); --fg: #000; --fg-2: rgba(0,0,0,.6); --thread: #000; --dot-fill: var(--yellow); --btn-bg: var(--yellow); --btn-fg: #000; --rule: rgba(0,0,0,.14); }
[data-tone="dark"]   { --bg: #000; --fg: #fff; --fg-2: rgba(255,255,255,.64); --thread: var(--yellow); --dot-fill: var(--yellow); --btn-bg: var(--yellow); --btn-fg: #000; --rule: rgba(255,255,255,.18); }

.s { position: relative; background: var(--bg); color: var(--fg); }
:where(.s) > * { position: relative; z-index: 2; }

/* ---------- the thread ---------- */
.thread-layer { position: absolute !important; inset: 0; z-index: 1 !important; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.thread-layer--over { z-index: 6 !important; }
.thread-layer path { fill: none; stroke: var(--thread); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thread-layer .tip { fill: var(--thread); }
@media (max-width: 860px) { .thread-layer path { stroke-width: 1.75; } }

/* anchors: invisible points the line passes through; CSS decides where they sit */
.ta { position: absolute !important; width: 0; height: 0; pointer-events: none; }
[data-thread] { --t: d; --seg: curve; --layer: under; --k: .5; --follow: none; }
.ta--rail { right: var(--rail); }
.ta--rail-in { right: calc(var(--g) * -.5); }
.ta--over { --layer: over; }
@media (max-width: 860px) { .ta--d { display: none !important; } }
@media (min-width: 861px) { .ta--m { display: none !important; } }

/* dots the line visits */
.stop { position: absolute !important; z-index: 3; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--thread); transition: background-color .45s var(--ease-out), transform .45s var(--ease-out); }
.stop.is-reached { background: var(--dot-fill); }

/* ---------- small type ---------- */
.label { font-size: 14px; font-weight: 500; color: var(--fg-2); margin-bottom: 22px; }
.chapter { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; margin-bottom: 30px; }
.chapter__no { font-weight: 700; font-variant-numeric: tabular-nums; }
[data-tone="dark"] .chapter__no { color: var(--yellow); }
.chapter__bar { width: 1.5px; height: 1.15em; background: currentColor; opacity: .45; }
.chapter__bar--solo { display: none; }
.step { display: inline-block; font-family: var(--f-sans); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--yellow); }

/* ---------- buttons & links ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 26px 19px;
  font-family: var(--f-sans); font-size: 16px; font-weight: 600; line-height: 1;
  text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: 0;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(-7px); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--dark { background: #000; color: var(--yellow); }
.btn--dark:hover { background: #1a1a1a; }
.arr { position: relative; display: inline-block; width: 24px; height: 12px; flex: none; transition: transform .45s var(--ease-out); }
.arr::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.arr::after { content: ""; position: absolute; left: 1px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.tlink { font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.tlink:hover { text-decoration-thickness: 2px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Header & menu
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--g);
  color: var(--hfg);
  transition: background-color .4s, color .4s;
}
.hdr[data-tone="yellow"] { --hfg: #000; --hbg: rgba(240,172,21,.95); --cta-bg: #000; --cta-fg: var(--yellow); }
.hdr[data-tone="light"]  { --hfg: #000; --hbg: rgba(255,255,255,.93); --cta-bg: #000; --cta-fg: #fff; }
.hdr[data-tone="mist"]   { --hfg: #000; --hbg: rgba(238,237,233,.94); --cta-bg: #000; --cta-fg: #fff; }
.hdr[data-tone="dark"]   { --hfg: #fff; --hbg: rgba(0,0,0,.88); --cta-bg: var(--yellow); --cta-fg: #000; }
.hdr.is-solid { background: var(--hbg); -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px); }
.hdr__brand { font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hdr__nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 36px); }
.hdr__nav a { position: relative; padding: 6px 0; font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.hdr__nav a:not(.hdr__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease-out); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="true"]::after { transform: scaleX(1); }
.hdr__nav .hdr__cta { padding: 11px 20px 12px; background: var(--cta-bg); color: var(--cta-fg); font-weight: 600; transition: background-color .4s, color .4s; }
.hdr__menu { display: none; align-items: center; gap: 12px; padding: 10px 0; background: none; border: 0; font-size: 15px; font-weight: 600; }
.hdr__menu-icon { display: grid; gap: 6px; width: 24px; }
.hdr__menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr) + 28px) var(--g) 36px;
  background: var(--yellow); color: #000;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__nav { position: relative; display: grid; }
.menu__nav::before { content: ""; position: absolute; right: 6px; top: 26px; bottom: 26px; width: 2px; background: #000; }
.menu__nav a { position: relative; display: flex; align-items: center; gap: 22px; padding: 9px 0; font-size: clamp(30px, 8.6vw, 52px); font-weight: 700; line-height: 1.2; text-decoration: none; }
.menu__nav i { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 2px #000; }
.menu__nav a:hover i, .menu__nav a:focus-visible i { background: #000; }
.menu__contact { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: 16px; font-weight: 600; }
.menu__contact a { text-decoration: underline; text-underline-offset: 6px; }
.js .menu.is-open .menu__nav a { animation: menuIn .7s var(--ease-out) both; }
.js .menu.is-open .menu__nav a:nth-child(2) { animation-delay: .04s; }
.js .menu.is-open .menu__nav a:nth-child(3) { animation-delay: .08s; }
.js .menu.is-open .menu__nav a:nth-child(4) { animation-delay: .12s; }
.js .menu.is-open .menu__nav a:nth-child(5) { animation-delay: .16s; }
.js .menu.is-open .menu__nav a:nth-child(6) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateX(-18px); } }

/* ==========================================================================
   البداية
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  align-items: center;
  gap: clamp(28px, 4.2vw, 72px);
  padding: calc(var(--hdr) + 12px) var(--g) clamp(28px, 3vw, 44px);
}
.hero__photo { align-self: stretch; min-height: 540px; overflow: hidden; background: #d99b12; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 44%; }
.hero__words { padding-block: 32px; }
.ta--hero-left { left: calc(var(--g) * -.5); margin-top: clamp(62px, 6.6vw, 112px); }
.hero__l1 { font-size: clamp(28px, 2.9vw, 48px); font-weight: 500; line-height: 1.35; }
.hero__word {
  display: flex; align-items: baseline;
  font-size: clamp(104px, 14.6vw, 250px); font-weight: 700; line-height: 1.02;
  margin: .02em 0 .1em;
}
.dots { display: inline-flex; align-items: baseline; gap: .075em; margin-inline-start: .08em; }
.dots i { display: inline-block; width: .105em; height: .105em; border-radius: 50%; background: currentColor; }
.hero__l3 { font-size: clamp(26px, 2.5vw, 42px); font-weight: 500; line-height: 1.4; max-width: 11em; }
.hero__id { margin-top: clamp(40px, 5vw, 76px); max-width: 36em; }
.hero__name { font-family: var(--f-sans); font-size: clamp(24px, 2.1vw, 34px); font-weight: 700; line-height: 1.3; }
.hero__roles { margin: 6px 0 18px; font-size: 15px; font-weight: 500; }
.hero__roles span[aria-hidden] { margin: 0 .55em; opacity: .4; }
.hero__belief { font-size: clamp(21px, 1.65vw, 27px); line-height: 1.6; max-width: 25em; }

/* intro sequence */
.js .hero [data-intro] { opacity: 0; }
.js .hero [data-intro="0"] img { transform: scale(1.06); }
.js .hero [data-intro="1"], .js .hero [data-intro="3"], .js .hero .hero__kalima { clip-path: inset(-30% -4% -40% 104%); }
.js .hero [data-intro="4"] { transform: translateY(16px); }
.js .hero .dots i { opacity: 0; transform: scale(.3); }
.js .hero .is-shown { opacity: 1; transform: none; clip-path: inset(-30% -4% -40% -4%); transition: opacity 1s var(--ease-out), transform 1.4s var(--ease-out), clip-path 1.25s var(--ease); }
.js .hero .is-shown .hero__kalima { clip-path: inset(-30% -4% -40% -4%); transition: clip-path 1.1s var(--ease); }
.js .hero [data-intro="0"].is-shown img { transform: none; transition: transform 2.4s var(--ease-out); }
.js .hero .is-shown .dots i { opacity: 1; transform: none; transition: opacity .35s ease, transform .5s var(--ease-out); }
.js .hero .is-shown .dots i:nth-child(1) { transition-delay: .75s; }
.js .hero .is-shown .dots i:nth-child(2) { transition-delay: .95s; }
.js .hero .is-shown .dots i:nth-child(3) { transition-delay: 1.15s; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-content: start; gap: 26px; min-height: 0; padding-top: var(--hdr); }
  .hero__photo { min-height: 0; height: min(60svh, 560px); margin-inline: calc(var(--g) * -1); }
  .hero__photo img { object-position: 44% 40%; }
  .hero__words { padding-block: 0 8px; }
  .hero__word { font-size: 27vw; }
  .hero__id { margin-top: 34px; }
}

/* ==========================================================================
   تعرّف على فاطمة
   ========================================================================== */
.about { padding: clamp(250px, 24vw, 340px) var(--g) var(--pad-y); }
.ta--about-sweep { top: 34px; --follow: x; }
.about__in { max-width: 1060px; }
.about__title { font-size: clamp(44px, 6vw, 100px); font-weight: 600; line-height: 1.2; margin-bottom: clamp(44px, 5vw, 80px); }
.about__text { max-width: 33em; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.85; }
.about__text p + p { margin-top: 1.05em; }
.about__lead { font-size: 1.24em; font-weight: 500; line-height: 1.6; }
.about__text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: rgba(0,0,0,.3); transition: text-decoration-color .3s; }
.about__text a:hover { text-decoration-color: #000; }
.about__sign { margin-top: 1.5em !important; font-size: 1.3em; font-weight: 600; line-height: 1.6; }
.hl { color: inherit; padding: 0 .06em; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 100% 86% / 0% 44%; transition: background-size 1.2s var(--ease-out) .45s; }
.is-in .hl { background-size: 100% 44%; }
@media (max-width: 860px) {
  .about { padding-top: 240px; }
}

/* ==========================================================================
   أعمالي
   ========================================================================== */
.works { padding: 0 var(--g) var(--pad-y); }
.works__in { max-width: 1180px; }
.works__title { font-size: clamp(38px, 5.2vw, 88px); font-weight: 800; line-height: 1.2; max-width: 13em; margin-bottom: 34px; }
.works__title .voice { display: block; font-size: .6em; font-weight: 500; line-height: 1.4; margin-bottom: .1em; }
.works__lead { max-width: 29em; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.75; margin-bottom: 22px; }
.works__start { font-size: 17px; font-weight: 700; margin-bottom: clamp(44px, 6vw, 84px); }
.journey { list-style: none; margin: 0; padding: 0; }
.journey a { position: relative; display: grid; grid-template-columns: 58px 1fr; align-items: baseline; padding: 16px 0; text-decoration: none; }
.journey .stop { right: calc(var(--g) * -.5 - 7px); top: calc(50% - 7px); }
.journey__no { font-size: 14px; font-weight: 600; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.journey__name { font-size: clamp(30px, 3.8vw, 58px); font-weight: 700; line-height: 1.2; transition: transform .6s var(--ease-out), color .3s; }
.journey a:hover .journey__name, .journey a:focus-visible .journey__name { transform: translateX(-14px); }

/* ==========================================================================
   01 | بوصلة وأثر
   ========================================================================== */
.compass { padding: var(--pad-y) var(--g) calc(var(--pad-y) * .9); }
.compass__open { max-width: 1100px; }
.compass__q { font-size: clamp(36px, 4.8vw, 80px); font-weight: 500; line-height: 1.3; max-width: 13em; }

.compass__stage {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  margin: clamp(150px, 15vw, 240px) 0 clamp(90px, 10vw, 170px);
  font-family: var(--f-sans); font-weight: 800;
}
.compass__w { font-size: clamp(66px, 11.8vw, 206px); line-height: 1; white-space: nowrap; }
.compass__w--1 { justify-self: end; align-self: start; transform: translateX(calc((1 - var(--pe, 1)) * -8vw)); opacity: calc(.15 + var(--pe, 1) * .85); }
.compass__w--2 { justify-self: start; align-self: end; color: var(--yellow); transform: translateX(calc((1 - var(--pe, 1)) * 8vw)); opacity: calc(.15 + var(--pe, 1) * .85); }
.dial { position: relative; display: block; width: clamp(250px, 30vw, 470px); aspect-ratio: 1; margin-inline: clamp(-50px, -2.4vw, -14px); }
.dial__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dial__ring { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 1.2; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--ring, 1)); transform: rotate(-90deg); }
.dial__ring--in { stroke: rgba(255,255,255,.3); stroke-width: 1; }
.dial__ticks line { stroke: rgba(255,255,255,.55); stroke-width: 1; opacity: var(--ticks, 1); }
.dial__ticks line.is-major { stroke: #fff; stroke-width: 1.4; }
.dial__lbl { fill: #fff; font-family: var(--f-sans); font-size: 10px; font-weight: 600; dominant-baseline: central; opacity: var(--ticks, 1); }
.dial__lbl--n { text-anchor: end; }
.dial__lbl--s { text-anchor: start; fill: var(--yellow); }
.dial__needle { transform: rotate(var(--needle, 0deg)); }
.dial__needle-n { fill: #fff; }
.dial__needle-s { fill: var(--yellow); }
.dial__pin { fill: #000; stroke: #fff; stroke-width: 1.5; }
.ta--dial-n { left: 50%; top: 8.333%; --seg: line; }
.ta--dial-s { left: 50%; top: 91.667%; }

.compass__story {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(72px, 10vw, 170px);
  max-width: 1200px; margin: 0 auto clamp(130px, 14vw, 230px);
  font-size: clamp(22px, 1.8vw, 29px); line-height: 1.85; color: rgba(255,255,255,.9);
}
.ta--story-top { left: 50%; top: -30px; }

.make { position: relative; }
.make__cap { display: grid; gap: 10px; align-content: start; }
.make__quote { font-size: clamp(26px, 2.3vw, 38px); font-weight: 500; line-height: 1.4; }
.make__note { font-size: 15px; color: var(--fg-2); }
.make__lead { font-size: clamp(22px, 2vw, 32px); line-height: 1.6; max-width: calc(50% - 56px); margin-top: 44px; }

/* the cover: its printed line sits exactly on the page's centre line */
.make--cover { margin-bottom: clamp(130px, 14vw, 230px); }
.shot { --w: min(40%, 640px); position: relative; width: var(--w); margin-left: calc(50% - .2796 * var(--w)); margin-right: auto; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.shot img { width: 100%; aspect-ratio: 1200 / 1250; object-fit: cover; }
.ta--shot-top { left: 27.96%; top: 0; --layer: over; }
.ta--shot-line { left: 27.96%; top: 21.4%; --layer: over; --seg: line; }
.ta--shot-dot { left: 28.5%; top: 69.84%; --layer: under; }
.shot__glow { position: absolute !important; z-index: 7 !important; left: 28.5%; top: 69.84%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(240,172,21,.55); transform: scale(0); transition: transform .7s var(--ease-out); pointer-events: none; }
.ta--shot-dot.is-reached ~ .shot__glow { transform: scale(.5); animation: pulse 2.6s var(--ease-out) .2s 2; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,172,21,.6); } 70% { box-shadow: 0 0 0 26px rgba(240,172,21,0); } 100% { box-shadow: 0 0 0 0 rgba(240,172,21,0); } }
.make--cover .make__cap { position: absolute; left: 0; bottom: 14%; width: calc(50% - .2796 * min(40%, 640px) - clamp(28px, 4vw, 64px)); }

/* the spread: its fold carries the line like a ribbon */
.make--spread { max-width: 1060px; margin: 0 auto clamp(130px, 14vw, 230px); }
.step--side { display: block; margin-bottom: 28px; }
.spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; background: var(--paper); color: #141414; box-shadow: 0 60px 90px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.06); }
.spread::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 90px; margin-left: -45px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.09) 42%, rgba(0,0,0,.16) 50%, rgba(0,0,0,.09) 58%, transparent); pointer-events: none; z-index: 1; }
.ta--fold-top { left: 50%; top: 0; --layer: over; --seg: line; }
.ta--fold-bottom { left: 50%; top: 100%; }
.page { position: relative; padding: clamp(30px, 4vw, 58px) clamp(26px, 3.6vw, 54px) 64px; --lh: 2.05em; }
.page__msg, .page__write { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(1lh - 1px), rgba(0,0,0,.1) calc(1lh - 1px), rgba(0,0,0,.1) 1lh); background-position: 0 -.38em; background-attachment: local; }
.page__kicker { font-family: var(--f-sans); font-size: 12.5px; font-weight: 600; color: rgba(0,0,0,.48); margin-bottom: 1.4em; }
.page__msg { font-size: clamp(22px, 1.9vw, 30px); line-height: var(--lh); }
.page__q { font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; line-height: 1.5; margin-bottom: .5em; }
.page__write { display: block; width: 100%; min-height: 8.2em; padding: 0; border: 0; background: transparent; resize: none; font: inherit; font-size: clamp(21px, 1.8vw, 28px); line-height: var(--lh); color: #1b1b1b; caret-color: var(--yellow); }
.page__write::placeholder { color: rgba(0,0,0,.36); }
.page__write:focus { outline: none; }
.page__write:focus-visible { outline: 2px dashed rgba(0,0,0,.3); outline-offset: 8px; }
.page__no { position: absolute; bottom: 22px; font-family: var(--f-sans); font-size: 12px; color: rgba(0,0,0,.35); }
.page--r .page__no { right: clamp(26px, 3.6vw, 54px); }
.page--l .page__no { left: clamp(26px, 3.6vw, 54px); }

/* the four colours */
.make--colours { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(72px, 10vw, 170px); max-width: 1240px; margin: 0 auto clamp(130px, 14vw, 230px); }
.ta--col-top { left: 50%; top: -60px; }
.ta--col-bottom { left: 50%; top: calc(100% + 60px); }
.colours__shot { position: relative; aspect-ratio: 1; overflow: hidden; background: #1a1612; }
.colours__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.colours__img.is-swapping { opacity: 0; }
.colours__title { font-size: clamp(40px, 4.6vw, 76px); font-weight: 600; line-height: 1.2; margin: 14px 0 18px; }
.colours__text, .colours__hint { font-size: clamp(21px, 1.7vw, 27px); line-height: 1.65; color: rgba(255,255,255,.86); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 30px 0 30px; }
.swatch { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; background: none; border: 0; color: #fff; font-size: 16px; font-weight: 500; }
.swatch i { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255,255,255,.4); transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out); }
.swatch:hover i { transform: scale(1.08); }
.swatch[aria-checked="true"] i { box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--yellow); }
.swatch[aria-checked="true"] span { color: var(--yellow); }

/* in someone's hands */
.make--hand { display: grid; grid-template-columns: minmax(0, 1fr) min(360px, 80vw) minmax(0, 1fr); align-items: end; gap: clamp(28px, 4vw, 64px); max-width: 1240px; margin: 0 auto clamp(90px, 10vw, 160px); }
.make__cap--hand { justify-self: end; max-width: 16em; padding-bottom: 12%; }
.ta--hand-top { left: 50%; top: 0; }
.ta--hand-bottom { left: 50%; top: 100%; }

.compass__end { position: relative; }
.ta--c-return { top: -10px; }
.compass__paper { max-width: 25em; font-size: clamp(22px, 2vw, 32px); line-height: 1.7; color: rgba(255,255,255,.8); margin-bottom: clamp(80px, 10vw, 150px); }
.finale { font-size: clamp(48px, 7.6vw, 130px); font-weight: 600; line-height: 1.18; margin-bottom: 52px; }
.finale span { display: block; }
.finale__2 { color: var(--yellow); }
.ta--c-out { margin-top: 40px; }

/* ==========================================================================
   Video facades (TikTok / YouTube) — the video loads only when asked
   ========================================================================== */
.vid { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #111; color: #fff; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid__btn { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: right; }
.vid__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.vid--poster .vid__btn::after, .vid--type .vid__img + .vid__cap::before { content: ""; }
.vid--poster .vid__btn::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.05) 55%); }
.vid__cap { position: absolute; right: 22px; left: 22px; bottom: 22px; z-index: 1; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.4; font-weight: 500; }
.vid__icon { position: absolute; z-index: 1; top: 20px; left: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); transition: transform .45s var(--ease-out); }
.vid__icon::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -9px 0 0 -5px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #000; }
.vid__btn:hover .vid__icon, .vid__btn:focus-visible .vid__icon { transform: scale(1.1); }
.vid__btn:hover .vid__img { transform: scale(1.04); }
.vid--type { background: #151515; }
.vid--type .vid__img { opacity: .38; filter: grayscale(.2); }
.vid--type .vid__cap { font-size: clamp(22px, 1.9vw, 30px); }
.vid__q { position: absolute; inset: auto 24px 26px 24px; font-size: clamp(26px, 2.3vw, 38px); font-weight: 600; line-height: 1.35; }
.vid.is-playing .vid__btn { display: none; }

/* ==========================================================================
   02 | الكلمة التي أصبحت كتبًا
   ========================================================================== */
.books { padding: var(--pad-y) var(--g); }
.books__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; margin-bottom: clamp(70px, 8vw, 130px); }
.books__title { font-size: clamp(46px, 6.8vw, 116px); font-weight: 800; line-height: 1.12; margin-bottom: 28px; }
.books__lead { font-size: clamp(23px, 2.1vw, 34px); line-height: 1.6; }
.books__moment { width: clamp(210px, 17vw, 270px); }
.books__moment figcaption { margin-top: 12px; font-size: 13px; color: var(--fg-2); }
.books__moment .vid { box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }

.shelf { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 4.2vw, 70px); align-items: start; --gap: clamp(30px, 4.2vw, 70px); }
.book { position: relative; margin-top: var(--lift, 0px); container-type: inline-size; }
.book__btn { display: block; width: 100%; padding: 0; border: 0; background: #ddd; transform: rotate(var(--tilt, 0deg)); box-shadow: 0 34px 50px -26px rgba(0,0,0,.5), 0 3px 8px rgba(0,0,0,.12); transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.book__btn img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.book__btn:hover, .book__btn:focus-visible { transform: rotate(0deg) translateY(-12px); box-shadow: 0 48px 60px -30px rgba(0,0,0,.55), 0 3px 8px rgba(0,0,0,.12); }
.book__title { display: block; margin-top: 20px; font-size: 17px; font-weight: 600; }
/* the line crosses each cover 60% of the way down (2:3 covers → 90% of the width) */
.ta--shelf-pre { right: calc(var(--g) * -.5); top: calc(90cqi - 80px); }
.ta--shelf-in { right: calc(var(--g) * -.5 + 40px); top: 90cqi; --t: l; }
.ta--gap { left: calc(var(--gap) * -.5); top: 90cqi; --t: l; }
.ta--gap-last { left: calc(var(--g) * -.5); --t: d; }
.ta--books-sweep { --follow: x; margin-top: 30px; }
.ta--books-return { margin-top: 190px; }
.books__hint { margin-top: 44px; font-size: 14px; color: var(--fg-2); }
.books__bridge { margin-top: clamp(150px, 16vw, 260px); font-size: clamp(34px, 4.2vw, 70px); font-weight: 500; line-height: 1.3; }

/* ==========================================================================
   03 | من الكلمة المكتوبة… إلى الكلمة التي تُقال
   ========================================================================== */
.stage { min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: #000; }
.stage__photo { position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; }
.stage__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 42%; transform: scale(calc(1.14 - var(--p, 1) * .14)); will-change: transform; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,.05) 72%); pointer-events: none; }
.ta--stage-top { top: 0; --layer: over; }
.ta--stage-bottom { top: 100%; }
.stage__over { padding: 0 var(--g) clamp(50px, 6vw, 96px); max-width: 1300px; }
.stage__title { font-size: clamp(56px, 8.8vw, 156px); font-weight: 600; line-height: 1.12; margin: 6px 0 22px; }
.stage__where { font-size: 14px; color: rgba(255,255,255,.72); }

.sessions { padding: var(--pad-y) var(--g); }
.sessions__in { max-width: 1320px; }
.sessions__title { font-size: clamp(44px, 7vw, 122px); font-weight: 800; line-height: 1.14; margin-bottom: 36px; }
.sessions__lead { max-width: 25em; font-size: clamp(23px, 2.1vw, 34px); line-height: 1.6; margin-bottom: clamp(60px, 7vw, 100px); }
.label--build { color: rgba(0,0,0,.62); }
.build { list-style: none; margin: 0 0 60px; padding: 0; }
.build li { position: relative; display: grid; grid-template-columns: minmax(170px, 24%) 1fr; gap: 28px; align-items: baseline; padding: 24px 0; }
.build .stop { right: calc(var(--g) * -.5 - 7px); top: 42px; }
.build__k { font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.4; }
.build p { max-width: 25em; font-size: clamp(23px, 2.1vw, 32px); line-height: 1.6; }
.build .build__last { font-weight: 600; }
.proof { display: grid; grid-template-columns: minmax(250px, 30%) 1fr; gap: clamp(44px, 7vw, 120px); align-items: start; margin-top: clamp(90px, 10vw, 150px); }
.proof__clip { max-width: 330px; }
.proof__clip figcaption { margin-top: 12px; font-size: 13px; color: rgba(0,0,0,.62); }
.stages { list-style: none; margin: 0; padding: 0; }
.stages a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 19px 0 20px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding .45s var(--ease-out); }
.stages li:first-child a { border-top: 1px solid var(--rule); }
.stages a:hover { padding-inline-start: 12px; }
.stages__name { font-size: 18px; font-weight: 600; line-height: 1.5; }
.stages__meta { flex: none; font-size: 14px; color: rgba(0,0,0,.62); }

/* ==========================================================================
   04 | ريشة
   ========================================================================== */
.reesha { padding: var(--pad-y) var(--g); }
.reesha__brand { display: flex; align-items: center; gap: clamp(22px, 3vw, 52px); }
.reesha__title { font-size: clamp(110px, 17.5vw, 310px); font-weight: 800; line-height: .98; }
.reesha__mark { width: clamp(78px, 9vw, 150px); height: auto; }
.wave { position: relative; height: clamp(250px, 22vw, 330px); }
.ta--wave-in { right: calc(var(--g) * -.5); top: -40px; }
.ta--wave-a { right: calc(var(--g) * -.5 + 64px); top: 44px; --t: l; --seg: wave; }
.ta--wave-b { left: clamp(90px, 9vw, 150px); top: 44px; --t: l; }
.ta--wave-turn { left: clamp(40px, 5vw, 90px); top: 110px; --t: d; }
.ta--wave-out { right: calc(var(--g) * -.5); top: 100%; }
.reesha__lead { font-size: clamp(34px, 4.4vw, 74px); font-weight: 500; line-height: 1.3; max-width: 14em; margin-bottom: 28px; }
.reesha__text { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.75; max-width: 28em; }
.reesha__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 6vw, 110px); align-items: start; margin-top: clamp(80px, 9vw, 140px); }
.eps { list-style: none; margin: 0; padding: 0; }
.ep { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 4px 12px; width: 100%; padding: 22px 0 24px; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: right; transition: opacity .4s; }
.eps li:first-child .ep { border-top: 1px solid var(--rule); }
.ep .stop { right: calc(var(--g) * -.5 - 7px); top: 32px; }
.ep__no { grid-row: span 2; font-size: 14px; font-weight: 600; color: var(--fg-2); font-variant-numeric: tabular-nums; padding-top: 5px; }
.ep__t { font-size: clamp(19px, 1.55vw, 24px); font-weight: 600; line-height: 1.45; }
.ep__g { font-size: 14px; color: var(--fg-2); }
.ep:hover .ep__t, .ep.is-current .ep__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--yellow); }
.reesha__stick { position: sticky !important; top: calc(var(--hdr) + 28px); }
.frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform 1.4s var(--ease-out); }
.frame__img.is-swapping { opacity: 0; transform: scale(1.03); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame__play { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border: 0; background: var(--yellow); color: #000; font-weight: 600; font-size: 15px; }
.frame__icon { position: relative; width: 12px; height: 14px; }
.frame__icon::after { content: ""; position: absolute; inset: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #000; }
.frame.is-playing .frame__play { display: none; }
.frame__cap { margin-top: 16px; font-size: 15px; font-weight: 500; }
.frame__no { color: var(--blue); font-weight: 700; margin-left: 6px; }
.reesha__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: clamp(60px, 7vw, 100px); }

/* ==========================================================================
   05 | والكلمة وجدت طريقها إلى الشاشة
   ========================================================================== */
.screen { padding: var(--pad-y) var(--g); }
.screen__title { font-size: clamp(46px, 7vw, 124px); font-weight: 500; line-height: 1.2; margin-bottom: clamp(70px, 8vw, 130px); }
.screen__title em { font-style: normal; color: var(--yellow); }
.reels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 44px); align-items: start; }
.reel figcaption { margin-top: 16px; font-size: 15px; color: var(--fg-2); max-width: 22em; }
.reel--a { grid-column: 1 / span 5; grid-row: 1; }
.reel--b { grid-column: 7 / span 3; grid-row: 1; margin-top: clamp(80px, 14vh, 150px); }
.reel--c { grid-column: 10 / span 3; grid-row: 1; margin-top: 18px; }
.reel--d { grid-column: 7 / span 4; grid-row: 2; margin-top: clamp(-240px, -22vh, -120px); }
.reel-note { grid-column: 1 / span 5; grid-row: 2; align-self: end; display: grid; gap: 34px; padding-bottom: 8px; }
.reel .vid { box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.reel .vid__icon { background: var(--yellow); }
.reel--b .vid, .reel--d .vid { background: #16131f; }
.reel--b .vid__icon, .reel--d .vid__icon { background: var(--purple); }
.reel--b .vid__icon::after, .reel--d .vid__icon::after { border-left-color: #fff; }
.screen__text { max-width: 22em; font-size: clamp(22px, 2vw, 32px); line-height: 1.7; color: rgba(255,255,255,.88); }
/* live frames from the videos themselves (fetched on approach); the quote sits on top */
.vid .vid__img--live { opacity: 0; transition: opacity .8s ease; }
.vid.has-poster .vid__img--live { opacity: 1; }
.vid--type.has-poster .vid__img--live { filter: none; }
.vid.has-poster .vid__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%); }
.vid.has-poster .vid__icon { z-index: 2; }
.vid.has-poster .vid__q, .vid.has-poster .vid__cap { opacity: 0; }
.vid.has-poster .vid__btn::after { background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 30%); }
.reel figcaption { display: grid; gap: 6px; }
.reel__q { font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; line-height: 1.4; color: #fff; }
.reel:not(.reel--a) .reel__q { font-size: clamp(20px, 1.5vw, 24px); }
.tlink--light { color: #fff; }

/* ==========================================================================
   لنتعاون
   ========================================================================== */
.collab { padding: var(--pad-y) var(--g); overflow: clip; }
.collab__q { font-size: clamp(44px, 6.4vw, 110px); font-weight: 600; line-height: 1.2; margin-bottom: 26px; }
.collab__lead { font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; margin-bottom: clamp(50px, 6vw, 90px); }
.spaces { list-style: none; margin: 0; padding: 0; }
.space a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: clamp(120px, 12vw, 180px); padding: 24px 0; border-top: 1.5px solid #000; text-decoration: none; }
.space:last-child a { border-bottom: 1.5px solid #000; }
.space .stop { right: calc(var(--g) * -.5 - 7px); top: calc(50% - 7px); }
.space__word { position: absolute !important; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; pointer-events: none; font-size: clamp(90px, 13vw, 230px); font-weight: 800; line-height: 1; color: rgba(0,0,0,.075); white-space: nowrap; }
.space__word span { display: block; transform: translateX(calc((var(--p, .5) - .5) * -34vw)); }
.space__name { position: relative; z-index: 1; font-size: clamp(26px, 3.4vw, 56px); font-weight: 700; line-height: 1.25; transition: transform .6s var(--ease-out); }
.space__go { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; opacity: 0; transform: translateX(14px); transition: opacity .45s, transform .6s var(--ease-out); }
.space a:hover .space__name, .space a:focus-visible .space__name { transform: translateX(-14px); }
.space a:hover .space__go, .space a:focus-visible .space__go { opacity: 1; transform: none; }
.space a:hover .space__word { color: rgba(0,0,0,.14); }
.collab__end { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin-top: clamp(80px, 9vw, 140px); }
.collab__idea { font-size: clamp(34px, 4.4vw, 74px); font-weight: 600; line-height: 1.3; }
.collab__idea span { font-weight: 500; }
.collab__idea .collab__idea-1 { font-weight: inherit; }

/* ==========================================================================
   النهاية
   ========================================================================== */
.end { padding: var(--pad-y) var(--g) 40px; text-align: center; }
.end__photo { width: min(760px, 100%); margin: 0 auto clamp(120px, 12vw, 180px); }
.end__photo img { width: 100%; aspect-ratio: 1200 / 678; object-fit: cover; }
.ta--end-in { margin-top: -80px; }
.ta--end-swoop { --follow: next-x; margin-top: -70px; }
.ta--end-left { left: var(--rail); margin-top: -44px; }
.ta--end-drop { left: var(--rail); --follow: next-y; --oy: -40; }
.end__title { display: inline-block; font-size: clamp(38px, 5.4vw, 90px); font-weight: 600; line-height: 1.35; margin-bottom: clamp(70px, 8vw, 120px); }
.final-dot { display: inline-block; width: .15em; height: .15em; margin-inline-start: .06em; border-radius: 50%; background: #000; transform: scale(.001); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), background-color .6s; }
.final-dot.is-reached { transform: none; background: var(--yellow); box-shadow: 0 0 0 .02em #000; }
.end__contact { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px clamp(28px, 6vw, 96px); }
.end__contact a { display: grid; gap: 4px; justify-items: center; text-decoration: none; padding: 10px 6px; }
.end__ch { font-size: clamp(26px, 2.8vw, 44px); font-weight: 700; line-height: 1.2; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 50% 92% / 0% 36%; transition: background-size .6s var(--ease-out); }
.end__contact a:hover .end__ch, .end__contact a:focus-visible .end__ch { background-size: 100% 36%; }
.end__h { font-size: 14px; color: var(--fg-2); }
.foot { margin-top: clamp(110px, 12vw, 190px); padding-top: 34px; border-top: 1.5px solid #000; text-align: right; }
.foot__en { font-size: clamp(34px, 6.2vw, 108px); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-align: left; }
.foot__ar { margin-top: 12px; font-size: clamp(30px, 5vw, 86px); font-weight: 800; line-height: 1.2; }
.foot__small { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-size: 13px; color: var(--fg-2); }
.foot__small a { text-decoration: none; }

/* ==========================================================================
   Dialogs
   ========================================================================== */
.dlg { width: min(980px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; background: #fff; color: #000; overflow: auto; }
.dlg::backdrop { background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg[open] { animation: dlgIn .55s var(--ease-out); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px); } }
.dlg__close-form { position: sticky; top: 0; z-index: 2; height: 0; }
.dlg__close { position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border: 0; background: #000; color: #fff; font-size: 26px; line-height: 1; }
.dlg__book { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.dlg__cover { background: var(--mist); padding: clamp(28px, 4vw, 56px); display: grid; place-items: center; }
.dlg__cover img { width: min(100%, 340px); box-shadow: 0 30px 50px -26px rgba(0,0,0,.5); }
.dlg__body { padding: clamp(30px, 4.4vw, 60px); display: grid; align-content: center; gap: 18px; }
.dlg__body .label { margin: 0; }
.dlg__title { font-size: clamp(34px, 3.6vw, 56px); font-weight: 800; line-height: 1.15; }
.dlg__tag { font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; line-height: 1.5; }
.dlg__tag:empty { display: none; }
.dlg__text { font-size: clamp(20px, 1.6vw, 25px); line-height: 1.75; }
.dlg__meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 6px 0 10px; font-size: 14px; }
.dlg__meta dt { color: rgba(0,0,0,.55); }
.dlg__meta dd { font-weight: 600; }
.dlg__body .btn { justify-self: start; --btn-bg: var(--yellow); --btn-fg: #000; }
.dlg--compass { background: #000; color: #fff; }
.dlg__compass { padding: clamp(34px, 5vw, 72px); }
.dlg__compass .label { color: var(--yellow); }
.dlg__compass .dlg__title { font-size: clamp(44px, 6vw, 96px); }
.dlg__compass .dlg__tag { margin: 8px 0 34px; color: rgba(255,255,255,.86); }
.dlg__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.75; color: rgba(255,255,255,.88); }
.dlg__pull { grid-column: 1 / -1; font-size: 1.3em; font-weight: 600; color: var(--yellow); }
.dlg__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); }
.dlg__colours { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 15px; }
.dlg__colours span { display: inline-flex; align-items: center; gap: 9px; }
.dlg__colours span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.dlg--compass .btn { --btn-bg: var(--yellow); --btn-fg: #000; }
.dlg__fine { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); }
.dlg--compass .dlg__close { background: var(--yellow); color: #000; }

/* ==========================================================================
   Tablet & phone
   ========================================================================== */
@media (max-width: 1100px) {
  .reel--a { grid-column: 1 / span 6; grid-row: 1; }
  .reel--b { grid-column: 8 / span 5; grid-row: 1; margin-top: 16vh; }
  .reel--c { grid-column: 1 / span 5; grid-row: 2; margin-top: 0; }
  .reel--d { grid-column: 7 / span 5; grid-row: 2; margin-top: 8vh; }
  .reel-note { grid-column: 1 / -1; grid-row: 3; margin-top: 40px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .compass__stage { grid-template-columns: 1fr; justify-items: center; gap: 0; margin: 140px 0 90px; }
  .compass__w { font-size: 25vw; }
  .compass__w--1 { justify-self: end; align-self: auto; margin-bottom: 4px; }
  .compass__w--2 { justify-self: start; align-self: auto; margin-top: 0; }
  .dial { width: min(78vw, 360px); margin: 0; }
  .compass__story { grid-template-columns: 1fr; gap: 1em; margin-bottom: 110px; }
  .shot { --w: 88%; margin-left: 6%; margin-right: auto; }
  .make--cover .make__cap { position: static; width: auto; margin-top: 26px; padding-inline-end: 6%; }
  .make--cover { margin-bottom: 110px; }
  .spread { grid-template-columns: 1fr; min-height: 0; }
  .spread::before { display: none; }
  .page--r { border-bottom: 1px dashed rgba(0,0,0,.18); }
  .make--spread, .make--colours { margin-bottom: 110px; }
  .make--colours { grid-template-columns: 1fr; gap: 34px; }
  .make--hand { grid-template-columns: 1fr; justify-items: center; margin-bottom: 90px; }
  .make--hand .vid { width: min(320px, 78vw); }
  .make__cap--hand { justify-self: stretch; max-width: none; padding: 0; }
  .ta--shot-return { margin-top: 36px; }
  .make__lead { max-width: none; }
  .hero__l3 { max-width: 7.5em; }

  .books__head { grid-template-columns: 1fr; gap: 44px; }
  .books__moment { width: min(62vw, 260px); }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 22px; }
  .book { margin-top: 0 !important; }
  .book:nth-child(even) { margin-top: 40px !important; }
  .book__title { font-size: 15px; margin-top: 14px; }
  .books__bridge { margin-top: 110px; }

  .stage { min-height: 88svh; }
  .stage__photo img { object-position: 41% 40%; }
  .build li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .build .stop { top: 34px; }
  .proof { grid-template-columns: 1fr; gap: 50px; }
  .proof__clip { max-width: 72vw; }
  .stages a { flex-direction: column; gap: 4px; }

  .reesha__brand { gap: 14px; }
  .reesha__title { font-size: 25vw; }
  .reesha__mark { width: 54px; }
  .wave { height: 28px; }
  .ta--wave-a { right: calc(var(--g) * -.5); top: 0; --t: d; }
  .ta--wave-b { left: auto; right: calc(var(--g) * -.5); top: 270px; --t: d; }
  .reesha__body { grid-template-columns: 1fr; }
  .reesha__stick { top: var(--hdr); z-index: 4; order: -1; margin-inline: calc(var(--g) * -1); padding: 10px var(--g) 14px; background: #fff; }
  .ta--wave-out { top: 300px; }
  .reesha__lead { margin-top: 10px; }
  .final-dot { --t: r; }
  .space__word { font-size: 68px; color: rgba(0,0,0,.055); }

  .reels { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .reel--a, .reel--b, .reel--c, .reel--d { grid-column: auto; grid-row: auto; margin-top: 0; }
  .reel--b, .reel--d { margin-top: 56px; }
  .reel-note { grid-column: 1 / -1; grid-row: auto; margin-top: 24px; }
  .vid__q { font-size: 21px; inset: auto 16px 18px 16px; }
  .vid__icon { width: 46px; height: 46px; top: 14px; left: 14px; }
  .reel figcaption { font-size: 13.5px; }
  .screen__foot, .collab__end { grid-template-columns: 1fr; }

  .space a { min-height: 108px; }
  .space__go { display: none; }

  .end__photo { width: 86%; }
  .foot__small { flex-direction: column; }

  .dlg__book { grid-template-columns: 1fr; }
  .dlg__cover img { width: min(58%, 240px); }
  .dlg__cols { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .reels { grid-template-columns: 1fr; }
  .reel { width: 78%; }
  .reel:nth-child(even) { margin-right: auto; margin-top: 0 !important; }
}

/* ==========================================================================
   Reduced motion: everything visible, nothing travels
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-intro], .js .hero .dots i { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero [data-intro] img { transform: none !important; }
  .compass__w--1, .compass__w--2, .space__word span, .stage__photo img { transform: none !important; opacity: 1 !important; }
}

/* ==========================================================================
   جديد فاطمة — optional news list (only rendered for visitors when it has items)
   ========================================================================== */
.news { padding: var(--pad-y) var(--g); }
.news__in { max-width: 1280px; }
.news__title { font-size: clamp(40px, 5.6vw, 96px); font-weight: 700; line-height: 1.15; margin-bottom: clamp(44px, 5vw, 80px); }
.news__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(24px, 3vw, 48px); align-items: start; }
.news__item { display: grid; gap: 10px; }
.news__photo { margin-bottom: 10px; background: #fff; }
.news__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.news__kicker { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.news__t { font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; line-height: 1.35; }
.news__text { font-size: clamp(20px, 1.55vw, 24px); line-height: 1.6; }
.news__link { justify-self: start; margin-top: 4px; }
@media (max-width: 1100px) { .news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news__list { grid-template-columns: 1fr; } }

/* more than four reels: the extra ones flow after the designed four */
.reels > figure.reel:nth-of-type(n+5) { grid-column: auto / span 4; grid-row: auto; margin-top: 0; }
@media (max-width: 1100px) { .reels > figure.reel:nth-of-type(n+5) { grid-column: auto / span 6; } }
@media (max-width: 860px) { .reels > figure.reel:nth-of-type(n+5) { grid-column: auto; } }
