/* belalsarsour.com
   Brand palette: navy #1B3A6B, dark #0D2145, light #F0F4FF, orange #E8622C.
   Logical properties (inline-start/end) are used throughout so the Arabic
   right-to-left version works from the same stylesheet. */

:root {
  --bg: #05070D;
  --surface: #0C1220;
  --panel: #161D2E;
  --navy: #1B3A6B;
  --line: rgba(240, 244, 255, 0.12);
  --text: #F0F4FF;
  --muted: #A9B6D3;
  --accent: #E8622C;
  --accent-hover: #F47A45;
  --radius: 18px;
  --light: #F4F5F8;
  --ink: #0A0D14;
  --wrap: 1320px;
  --font-display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8.2vw, 7.4rem); letter-spacing: -0.025em; line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.8rem); letter-spacing: -0.02em; }
h2 em { font-style: normal; color: var(--accent); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
@media (min-width: 900px) { .wrap { width: min(100% - 96px, var(--wrap)); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--accent); color: #fff; }
.narrow { max-width: 760px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.eyebrow, .spec, .crumbs, .num, figcaption, .soon, .examples, .brand-role {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow { color: var(--accent); margin: 0 0 14px; }
.spec { color: var(--muted); margin: 0 0 14px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.ar { font-family: "Segoe UI", Tahoma, sans-serif; font-weight: 600; color: var(--muted); font-size: 0.85em; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .btn svg, [dir="rtl"] .card-cta svg { transform: scaleX(-1); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { padding: 10px 16px; font-size: 0.9rem; }
.btn-white { background: #fff; color: #05070D; }
.btn-white:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-glass { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn-panel { width: 100%; justify-content: center; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-panel:hover { background: var(--accent); }
.dot-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.dot-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(20, 24, 34, 0.55); backdrop-filter: blur(10px); color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: background 0.25s; }
.pill svg { width: 16px; height: 16px; }
a.pill:hover, button:hover > .pill { background: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px; font-weight: 700; }
.text-link:hover { color: var(--accent-hover); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.brand-role { color: var(--muted); font-size: 0.62rem; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; color: var(--text); padding: 6px 0; }
.site-nav > a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.site-nav > a:not(.btn):hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 6px 0; transition: transform 0.2s; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 11vw, 160px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section h2 { margin-bottom: 40px; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head h2 { margin: 0; max-width: 16ch; }
.more { margin: 36px 0 0; }
.page-head { position: relative; padding: clamp(64px, 9vw, 130px) 0 clamp(28px, 5vw, 56px); overflow: hidden; }
.page-head h1 { max-width: 16ch; margin-bottom: 26px; font-size: clamp(2.4rem, 6.6vw, 5.6rem); }
.page-head .wrap { position: relative; }
.backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2); opacity: 0.42; transform: scale(1.1); }
.has-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 12, 26, 0.35), var(--bg) 96%); }
.has-backdrop .wrap { z-index: 1; }
.crumbs { color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin-inline: 6px; opacity: 0.5; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips a { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; transition: background 0.2s, border-color 0.2s; }
.chips a:hover { background: var(--accent); border-color: var(--accent); }

.light { background: var(--light); color: var(--ink); border: 0; }
.light .lede, .light p { color: #3D4558; }
.light .dot-label { color: var(--ink); }

/* ---------------------------------------------------------------- hero */
.hero { padding: 0 12px 12px; }
.hero-card { position: relative; min-height: min(calc(100vh - 84px), 900px); min-height: min(calc(100svh - 84px), 900px); border-radius: 22px; overflow: hidden; background: #000; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding: clamp(20px, 4vw, 56px); isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 7, 13, 0.78) 0%, rgba(5, 7, 13, 0.25) 55%, rgba(5, 7, 13, 0.1) 100%), linear-gradient(180deg, rgba(5, 7, 13, 0) 55%, rgba(5, 7, 13, 0.6) 100%); }
.hero-copy { align-self: center; max-width: 720px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 12ch; margin-bottom: 22px; }
.hero .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.hero .w > span { display: inline-block; }
.js .hero .w > span { transform: translateY(110%); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { transform: none; } }
.hero .lede { color: #E4E9F5; max-width: 44ch; margin: 0; }
.hero-next { display: block; width: clamp(220px, 24vw, 320px); text-decoration: none; color: #fff; }
.hero-next-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.hero-next-media img, .hero-next-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s, transform 0.8s; }
.hero-next-media video { opacity: 0; }
.hero-next.is-previewing video { opacity: 1; }
.hero-next:hover img { transform: scale(1.05); }
.hero-next-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 13, 0.85)); }
.hero-next-title { position: absolute; inset-inline: 16px; bottom: 14px; z-index: 1; display: grid; }
.hero-next-title strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.hero-next-title span { font-size: 0.85rem; opacity: 0.85; }

/* ---------------------------------------------------------------- rail */
.rail-sec { padding-bottom: clamp(48px, 7vw, 100px); }
.rail-head { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-bottom: 26px; }
.rail-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.more-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.more-link svg { width: 16px; height: 16px; }
.more-link:hover { color: var(--text); }
.rail-arrows { margin-inline-start: auto; display: flex; gap: 10px; }
.rail-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--panel); display: grid; place-items: center; cursor: pointer; transition: background 0.2s; }
.rail-arrows button:hover { background: var(--accent); }
.rail-arrows svg { width: 18px; height: 18px; }
.rail-arrows button:first-child svg { transform: scaleX(-1); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; }
@media (min-width: 900px) { .rail { padding-inline: max(48px, calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(48px, calc((100vw - var(--wrap)) / 2)); } }
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: 0 0 clamp(230px, 23vw, 310px); aspect-ratio: 2 / 3; scroll-snap-align: start; }
.rail .card-body { text-align: center; padding: 22px 18px 26px; }
.rail .card-top, .rail .card-cta { display: none; }
.rail .card-eyebrow { display: block; }
.rail .card-body h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; margin-bottom: 12px; }
.rail .card-body p:not(.spec) { max-height: none; opacity: 1; margin: 0; overflow: visible; font-size: 0.92rem; line-height: 1.35; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rail .card::before { background: linear-gradient(180deg, rgba(5, 7, 13, 0) 35%, rgba(5, 7, 13, 0.9) 100%); }
.rail .card-play .play { top: 34%; bottom: auto; }

/* ---------------------------------------------------------------- statement */
.statement { position: relative; min-height: min(86vh, 760px); display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 80px 0; }
.bgv, .statement .bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.statement-shade { position: absolute; inset: 0; z-index: -1; background: rgba(5, 7, 13, 0.5); }
.statement h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); max-width: 16ch; margin: 0 auto 18px; }
.statement p { max-width: 44ch; margin: 0 auto 28px; font-size: 1.15rem; color: #E4E9F5; }

/* ---------------------------------------------------------------- makes (words + stage) */
.makes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.makes-words { list-style: none; margin: 0; padding: 0; }
.makes-words a { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.08; letter-spacing: -0.02em; text-decoration: none; color: #B4BAC8; transition: color 0.3s, transform 0.3s; }
.makes-words a.is-on, .makes-words a:hover { color: var(--ink); transform: translateX(8px); }
.makes-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(10, 13, 20, 0.25); }
.makes-stage img, .makes-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s; }
.makes-stage video { opacity: 0; }
.makes-stage.is-previewing video { opacity: 1; }

/* ---------------------------------------------------------------- spotlight */
.spot { position: relative; min-height: min(92vh, 780px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--tint); transition: background 0.8s; padding: 80px 0; }
.spot-bg { position: absolute; inset-block: 0; inset-inline-start: 0; width: 58%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 0.8s; }
.spot-bg.is-on { opacity: 1; }
.spot-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 20%, var(--tint) 58%); transition: background 0.8s; }
.spot-inner { display: grid; justify-items: start; padding-inline-start: 44%; }
.spot-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 16ch; margin: 0 0 26px; transition: opacity 0.35s; }
.spot-line.is-out { opacity: 0; }
.spot-tabs { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: clamp(36px, 6vw, 80px); }
.spot-tabs button { display: grid; justify-items: center; gap: 4px; width: 120px; background: none; border: 0; padding: 0; cursor: pointer; text-align: center; opacity: 0.5; transition: opacity 0.3s; }
.spot-tabs button.is-on, .spot-tabs button:hover { opacity: 1; }
.spot-tabs img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; border: 2px solid transparent; transition: border-color 0.3s; }
.spot-tabs button.is-on img { border-color: #fff; }
.spot-tabs strong { font-size: 0.9rem; }
.spot-tabs span { font-size: 0.74rem; opacity: 0.8; line-height: 1.3; }

/* ---------------------------------------------------------------- notch block */
.notch { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 14px; }
.notch-tile { background: linear-gradient(135deg, #F58A3C, var(--accent)); border-radius: var(--radius); aspect-ratio: 16 / 9; display: grid; place-content: center; text-align: center; font-family: var(--font-display); color: #0A0D14; text-transform: uppercase; line-height: 0.95; }
.notch-tile span { font-size: 1rem; letter-spacing: 0.2em; font-weight: 600; }
.notch-tile strong { font-size: clamp(2rem, 3.6vw, 3rem); font-style: italic; }
.notch-title { align-self: center; margin: 0 !important; padding-inline-start: clamp(8px, 2vw, 28px); font-size: clamp(1.8rem, 4vw, 3.2rem); }
.notch-body { background: var(--surface); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.notch-body ol { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.notch-body li { display: flex; gap: 14px; align-items: baseline; }
.notch-body p { color: var(--muted); margin: 0 0 8px; font-size: 0.98rem; }
.notch-video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; min-height: 340px; isolation: isolate; }
.notch-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.notch-video::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(232, 98, 44, 0.9) 0%, rgba(232, 98, 44, 0.35) 22%, transparent 48%); }
.notch-video .pill { position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(-50%, -50%); }

/* ---------------------------------------------------------------- meet + story */
.meet-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.meet-img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #fff; }
.light .about-facts { color: var(--ink); }
.story-hero { padding: 8px 24px 24px; }
/* Small film tile top left, big panel bottom right, joined at the corner by two curved pieces. */
.story-stage { --split: clamp(230px, 32vw, 460px); --top: calc(var(--split) * 0.5625); --r: 26px; --panel: #232327; position: relative; min-height: min(calc(100vh - 100px), 780px); }
.story-film { position: absolute; inset-inline-start: 0; top: 0; width: var(--split); height: var(--top); border: 0; padding: 0; cursor: pointer; overflow: hidden; background: #000; border-radius: var(--r); display: grid; place-items: center; z-index: 2; }
.story-film img, .story-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s, transform 0.8s; }
.story-film video { opacity: 0; }
/* soft fade on the tile’s right and bottom edges, so the film melts into the page instead of ending on a hard line */
.story-film::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 55%, rgba(5, 7, 13, 0.92) 100%), linear-gradient(180deg, transparent 55%, rgba(5, 7, 13, 0.85) 100%); }
.story-film img, .story-film video { object-position: center 42%; }
.story-film.is-previewing video { opacity: 1; }
.story-film:hover img { transform: scale(1.05); }
.story-film .pill { position: relative; z-index: 1; }
.story-panel { position: absolute; inset-inline-start: var(--split); top: var(--top); inset-inline-end: 0; bottom: 0; background: var(--panel); border-radius: 0 var(--r) var(--r) var(--r); }
.story-join { position: absolute; width: var(--r); height: var(--r); }
/* grey behind the tile’s rounded corner, so the panel flows into it */
.story-stage::before { content: ""; position: absolute; inset-inline-start: calc(var(--split) - var(--r)); top: calc(var(--top) - var(--r)); width: var(--r); height: var(--r); background: var(--panel); }
.story-join.a { inset-inline-start: var(--split); top: calc(var(--top) - var(--r)); background: radial-gradient(circle at 100% 0, transparent calc(var(--r) - 0.5px), var(--panel) var(--r)); }
.story-join.b { inset-inline-start: calc(var(--split) - var(--r)); top: var(--top); background: radial-gradient(circle at 0 100%, transparent calc(var(--r) - 0.5px), var(--panel) var(--r)); }
[dir="rtl"] .story-join.a, [dir="rtl"] .story-join.b { transform: scaleX(-1); }
.story-portrait { position: absolute; inset-inline-end: clamp(16px, 4vw, 64px); bottom: clamp(16px, 4vw, 48px); height: calc(100% - var(--top) - clamp(32px, 8vw, 96px)); width: auto; max-width: 42%; object-fit: cover; border-radius: var(--r); z-index: 1; }
.has-cut .story-portrait { bottom: 0; height: 100%; max-width: 50%; object-fit: contain; object-position: bottom; border-radius: 0; }
.story-copy { position: absolute; inset-inline-start: 0; bottom: 0; z-index: 3; padding: clamp(20px, 3.4vw, 44px); max-width: min(62%, 760px); }
.story-copy h1 { font-size: clamp(2rem, 4.8vw, 4.2rem); max-width: 14ch; margin: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
/* testimonials (appear only when data.mjs has entries) */
.quotes { background: #000; padding: clamp(72px, 10vw, 140px) 0; text-align: center; }
.quotes-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.8vw, 3.2rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; margin: 0 auto clamp(36px, 6vw, 72px); transition: opacity 0.35s; }
.quotes-line.is-out { opacity: 0; }
.quotes-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; }
.quotes-tabs button { display: grid; justify-items: center; gap: 4px; width: 170px; background: none; border: 0; padding: 0; cursor: pointer; opacity: 0.45; transition: opacity 0.3s; }
.quotes-tabs button.is-on, .quotes-tabs button:hover { opacity: 1; }
.quotes-tabs img, .quotes-initial { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; display: grid; place-items: center; background: var(--panel); font-family: var(--font-display); font-weight: 600; }
.quotes-tabs span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.big-statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; text-align: center; max-width: 24ch; margin: 0 auto; color: var(--ink) !important; }
.story-rows { padding-top: 0; }
.story-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 6vw, 96px); align-items: center; padding: clamp(28px, 5vw, 64px) 0; border-top: 1px solid rgba(10, 13, 20, 0.12); }
.story-row:nth-child(even) > div { order: 2; }
.story-row h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 16px; }
.story-row p { font-size: 1.12rem; max-width: 46ch; }
.story-row img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: clamp(14px, 1.6vw, 24px); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-feature { grid-template-columns: repeat(3, 1fr); }
.cards-feature .card:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.cards-feature .card:first-child h3 { font-size: clamp(1.8rem, 4.2vw, 3.6rem); }
.card {
  position: relative; display: block; text-align: start; padding: 0; width: 100%;
  aspect-ratio: 4 / 5; background: var(--panel); border: 0; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; cursor: pointer; isolation: isolate;
}
.card.is-still { cursor: default; }
.card-media { position: absolute; inset: 0; z-index: -2; }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s; }
.card-media video { opacity: 0; }
.card.is-previewing .card-media video { opacity: 1; }
.card:not(.is-still):hover .card-media img { transform: scale(1.06); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 12, 26, 0.5) 0%, rgba(6, 12, 26, 0) 28%, rgba(6, 12, 26, 0) 42%, rgba(6, 12, 26, 0.92) 100%); transition: opacity 0.4s; }
.card::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; transition: border-color 0.3s; }
.card:not(.is-still):hover::after { border-color: var(--accent); }
.card-top { position: absolute; inset-inline: 18px; top: 16px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.card-top .tagline { color: var(--text); opacity: 0.85; text-align: end; }
.card-body { position: absolute; inset-inline: 0; bottom: 0; padding: 22px 20px 20px; }
.card-eyebrow { display: none; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 8px; }
.card-body h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); margin-bottom: 8px; }
.card-body p { color: #C9D3EA; font-size: 0.95rem; line-height: 1.5; margin: 0 0 12px; }
.card-body .spec { font-size: 0.64rem; color: var(--muted); }
.card-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: var(--text); }
.card-cta svg { width: 18px; height: 18px; color: var(--accent); transition: transform 0.3s; }
.card:hover .card-cta svg { transform: translateX(6px); }
@media (hover: hover) and (min-width: 721px) {
  .card-body p:not(.spec) { max-height: 0; opacity: 0; margin: 0; overflow: hidden; transition: max-height 0.45s, opacity 0.35s, margin 0.45s; }
  .card:hover .card-body p:not(.spec), .card:focus-visible .card-body p:not(.spec) { max-height: 7em; opacity: 1; margin: 0 0 12px; }
}
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; margin-bottom: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.cat-head h2, .cat-head .spec { margin: 0; }
.work-cat { padding: clamp(30px, 4vw, 56px) 0; scroll-margin-top: 70px; }
.tag-art { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center; background: radial-gradient(120% 90% at 20% 10%, var(--navy), var(--surface) 70%); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.tag-art span:last-child { color: var(--accent); }

/* ---------------------------------------------------------------- film player */
.film { margin: 0; }
.player { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.player.is-still { cursor: default; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.a-16x9 { aspect-ratio: 16 / 9; }
.a-9x16 { aspect-ratio: 9 / 16; }
.play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); transition: transform 0.2s; }
.play svg { width: 34px; height: 34px; }
.player:hover .play, .card-play:hover .play { transform: scale(1.08); }
.card-play .play { inset: 0; margin: auto; width: 64px; height: 64px; background: rgba(6, 12, 26, 0.45); border: 1px solid rgba(240, 244, 255, 0.6); backdrop-filter: blur(6px); box-shadow: none; transition: transform 0.3s, background 0.3s, border-color 0.3s; }
.card-play:hover .play { background: var(--accent); border-color: var(--accent); }
.card-play .play svg { width: 24px; height: 24px; }
.soon { position: absolute; inset-inline-start: 12px; bottom: 12px; background: rgba(10, 23, 48, 0.85); color: var(--text); padding: 6px 10px; border-radius: 6px; font-size: 0.64rem; }
figcaption { color: var(--muted); margin-top: 12px; display: flex; gap: 10px; }
.num { color: var(--accent); }
.film-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.film-row.is-wide { grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------------------------------------------------------------- project page */
.project-body { display: grid; gap: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.block h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.block-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.block-text h2 { margin: 0; }
.block-c { max-width: 720px; }
.block-c > :last-child { margin-bottom: 0; }
.block-text p { color: var(--muted); font-size: 1.12rem; }
.block-film.is-vertical { max-width: 420px; margin-inline: auto; width: 100%; }
.block-film .player { box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); }
.pull { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--text) !important; line-height: 1.1; border-inline-start: 4px solid var(--accent); padding-inline-start: 18px; margin-top: 26px; }
.ticks, .credits { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; font-size: 1.08rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 14px; height: 2px; background: var(--accent); }
.credits li { color: var(--muted); font-size: 0.95rem; }
.gallery { column-gap: 18px; }
.gallery.cols-3 { columns: 3; }
.gallery.cols-4 { columns: 4; }
.shot { display: block; width: 100%; padding: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); cursor: zoom-in; break-inside: avoid; }
.shot img { width: 100%; transition: transform 0.4s; }
.shot:hover img { transform: scale(1.03); }
.project-cta { margin-top: 0; }

/* ---------------------------------------------------------------- services */
.service-list { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr); align-items: baseline; gap: 8px 24px; padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--line); transition: padding 0.35s, color 0.3s; }
.service-list strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; transition: color 0.3s; }
.service-list .desc { color: var(--muted); }
.service-list li:hover { padding-inline-start: 18px; }
.service-list li:hover strong { color: var(--accent); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { transition: transform 0.3s, border-color 0.3s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.service h3 { margin: 14px 0 10px; }
.service p { color: var(--muted); margin-bottom: 12px; }
.examples { color: var(--muted); margin: 0; font-size: 0.68rem; }
.examples a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.steps li { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps .num { padding-top: 6px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- about, contact */
.about-facts { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 28px; max-width: 18ch; }
.about-tag { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 2rem); margin: 0; }
.channels { display: flex; flex-wrap: wrap; gap: 12px; }
.channel { padding: 16px 26px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; transition: border-color 0.2s, background 0.2s; }
.channel:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.channel:hover { border-color: var(--text); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; align-items: start; }
.contact-channels { display: grid; gap: 18px; }
.channel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.channel-card.is-main { border-color: rgba(232, 98, 44, 0.6); }
.channel-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.channel-card p { color: var(--muted); }
.channel-card .actions { margin-top: 18px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; scroll-margin-top: 90px; }
.contact-form h2 { font-size: 1.5rem; margin: 0 0 4px; }
.contact-form label { display: grid; gap: 8px; font-weight: 500; font-size: 0.95rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 14px; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- closing, footer */
.closing { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 85% 110%, rgba(232, 98, 44, 0.28), transparent 60%), radial-gradient(80% 100% at 0% 0%, var(--navy), var(--surface) 70%); border-top: 1px solid var(--line); padding: clamp(80px, 12vw, 180px) 0; }
.closing h2 { font-size: clamp(2.4rem, 8vw, 7rem); line-height: 0.98; max-width: 12ch; }
.closing h2 { margin-bottom: 14px; }
.closing p { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 90px) 0 0; overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.footer-cols a { text-decoration: none; font-weight: 500; }
.footer-cols a:hover { color: var(--accent); }
.footer-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin: 0 0 4px; }
.footer-role { color: var(--muted); margin: 0 0 4px; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 14.2vw; line-height: 0.9; letter-spacing: -0.03em; white-space: nowrap; text-align: center; margin: 0.3em 0 0.1em; color: transparent; -webkit-text-stroke: 1px rgba(240, 244, 255, 0.22); user-select: none; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.footer-line { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); }
.footer-line strong { color: var(--text); }
.footer-tag { color: var(--accent); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* floating WhatsApp button (appears when site.whatsapp is set in data.mjs) */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); transition: transform 0.25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 12, 26, 0.94); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox-stage { max-width: min(1200px, 100%); max-height: 100%; display: grid; place-items: center; }
.lightbox-stage img { max-height: calc(100vh - 80px); width: auto; border-radius: 10px; }
.lightbox-stage .lb-video { position: relative; width: min(1100px, 92vw); aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.lightbox-stage .lb-video.a-9x16 { width: auto; height: calc(100vh - 80px); aspect-ratio: 9 / 16; }
.lightbox-stage iframe, .lightbox-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; top: 14px; inset-inline-end: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.7rem; line-height: 1; cursor: pointer; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .cards-3, .cards-feature, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card { grid-template-columns: 1fr; }
  .hero-next { display: none; } /* Belal 2026-11-18: on phones and tablets the card covered the reel. Keep the hero clean. */
  .makes, .meet-grid, .story-row, .notch { grid-template-columns: 1fr; }
  .story-row:nth-child(even) > div { order: 0; }
  .notch-tile { aspect-ratio: auto; padding: 28px; }
  .notch-title { padding: 0; }
  .spot-bg { width: 100%; opacity: 0; }
  .spot-bg.is-on { opacity: 0.45; }
  .spot-shade { background: linear-gradient(180deg, transparent, var(--tint) 85%); }
  .spot-inner { padding-inline-start: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .story-hero { padding: 8px 12px 12px; }
  .story-stage { --split: 46vw; min-height: 640px; }
  .story-copy { max-width: 100%; }
  .story-portrait { max-width: 60%; height: 46%; bottom: 34%; }
  .has-cut .story-portrait { max-width: 70%; height: 80%; bottom: 0; }
  .hero-row { grid-template-columns: 1fr; }
  .block-text { grid-template-columns: 1fr; }
  .gallery.cols-4 { columns: 3; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) { font-size: 1.15rem; padding: 10px 0; color: var(--text); }
  .site-nav .btn { margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .cards-3, .cards-feature, .service-grid, .steps, .film-row.is-wide, .sec-head { grid-template-columns: 1fr; }
  .cards-feature .card:first-child { aspect-ratio: 4 / 5; }
  .service-list li { grid-template-columns: 40px 1fr; }
  .service-list .desc { grid-column: 2; }
  .gallery.cols-3, .gallery.cols-4 { columns: 2; column-gap: 12px; }
  .shot { margin-bottom: 12px; }
  .actions .btn { width: 100%; justify-content: center; }
  .film-row { grid-template-columns: repeat(2, 1fr); }
  .channels .channel { flex: 1 1 100%; text-align: center; }
}
/* scroll reveal: the class is added by site.js, so the page is fully visible without scripts */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 0.6s; }
  .js .hero .w > span { transform: none; animation: none; }
  .card-media img, .card-cta svg, .service-list li { transition: none; }
}

