/* Ghozlan Holding — inner pages (GHZ-PRD-03): one system for both appearances and
   both directions. Layout, type, spacing and components follow site/DESIGN-RULES.md (D5).
   Brand: burgundy #70050a, deep #2b0204/#1c0509, gold #ebc17d, cream #f5eee4,
   Objektiv Mk3 ('Ghozlan Latin', site/fonts-licensed.css; Inter while its licensed files are absent) with Cairo
   ('Ghozlan Arabic'). */
@font-face{font-family:Inter;src:url('/assets/fonts/inter-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-21FF,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;src:url('/assets/fonts/inter-latin-ext.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0100-0130,U+0132-0151,U+0154-024F,U+0259,U+02B0-02BA,U+02BD-02C5,U+02C7-02D9,U+02DB,U+02DD-0303,U+0305-0307,U+0309-0328,U+032A-036F,U+1E00-1EFF,U+2070-20AB,U+20AD-2121,U+2123-218F,U+2200-2211,U+2213-2214,U+2216-2BFF,U+2C60-2C7F,U+A720-A7FF,U+FB00-FB06}
@font-face{font-family:Inter;src:url('/assets/fonts/inter-cyrillic.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0400-052F,U+1C80-1C88,U+2DE0-2DFF,U+A640-A69F}
/* 'Ghozlan Arabic' (DESIGN-RULES §5.1): Cairo (SIL OFL 1.1; Ahmad, 29 Nov 2026), declared identically in
   cinematic-scroll/arabic.css. One variable file draws both weights, and its range stops at 500, so Arabic is never
   set heavier (rule 7). Inside Arabic text Cairo draws the letters, the word space and the Arabic-Indic digits, and a
   2 KB cut of the same font the shared punctuation; Latin letters and Western digits fall through to the Latin face. */
@font-face{font-family:'Ghozlan Arabic';src:url('/assets/fonts/cairo-arabic.woff2') format('woff2');font-weight:400 500;font-style:normal;font-display:swap;unicode-range:U+0020,U+00A0,U+0600-06FF,U+0750-077F,U+0870-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+2060}
@font-face{font-family:'Ghozlan Arabic';src:url('/assets/fonts/cairo-arabic-punctuation.woff2') format('woff2');font-weight:400 500;font-style:normal;font-display:swap;unicode-range:U+0021,U+0028-0029,U+002C-002F,U+003A-003B,U+00AB,U+00BB,U+2013-2014,U+2026}

/* Tokens (DESIGN-RULES §2–§10). The homepage and the gallery declare the same names. */
:root{
  --burgundy:#70050a;--deep:#2b0204;--deep-2:#1c0509;--gold:#ebc17d;--gold-2:#edd089;--gold-3:#c08329;--cream:#f5eee4;--burgundy-deep:var(--deep);
  --on-dark:#f6eee4;--on-dark-2:rgba(246,238,228,.82);--on-dark-3:rgba(246,238,228,.64);--line-on-dark:rgba(246,238,228,.4);
  --hairline:rgba(235,193,125,.28);--gold-dim:rgba(235,193,125,.32);--glass:rgba(18,6,10,.34);
  /* One left edge: the gutter, or the centred 1440 column once the page is wider. */
  --gutter:clamp(24px,5vw,100px);--max:1440px;--edge:max(var(--gutter),calc((100% - var(--max)) / 2 + var(--gutter)));
  --sp-4:4px;--sp-8:8px;--sp-12:12px;--sp-16:16px;--sp-24:24px;--sp-32:32px;--sp-40:40px;--sp-48:48px;--sp-64:64px;--sp-80:80px;--sp-96:96px;--sp-128:128px;--sp-160:160px;
  --section:clamp(64px,8vw,128px);--section-tight:clamp(40px,5vw,80px);--head-gap:clamp(32px,4.5vw,64px);--grid-gap:24px;
  --font:'Ghozlan Latin',Inter,'Ghozlan Arabic',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --font-ar:'Ghozlan Arabic','Ghozlan Latin',Inter,'Segoe UI','Geeza Pro','Noto Sans Arabic',Tahoma,sans-serif;
  --fs-display:clamp(44px,5.5vw,80px);--fs-title:clamp(36px,4.4vw,64px);--fs-h2:clamp(32px,3.5vw,50px);--fs-h3:clamp(22px,1.8vw,28px);--fs-quote:clamp(26px,2.8vw,48px);
  --fs-lead:clamp(17px,1.35vw,20px);--fs-body-l:clamp(16px,1.15vw,18px);--fs-deck:clamp(15px,1.06vw,17px);
  --lh-display:1.04;--ls-display:-.03em;--lh-title:1.06;--lh-h2:1.1;--ls-h2:-.022em;--lh-h3:1.2;--lh-quote:1.18;--ls-quote:-.02em;
  --r-media:4px;--r-box:14px;--r-pill:999px;--radius:var(--r-box);--radius-sm:var(--r-media);
  --ease:cubic-bezier(.22,1,.36,1);--ease-cut:cubic-bezier(.4,0,.2,1);--dur-1:160ms;--dur-2:240ms;--dur-3:400ms;--dur-4:700ms;--dur-5:1200ms;
  /* The bar (the homepage's height) and, on full pages, the way back beneath it. */
  --safe-top:env(safe-area-inset-top,0px);--bar:99px;--strip:44px;--head:calc(var(--bar) + var(--strip) + var(--safe-top));
}
:root,:root[data-theme=light]{
  --bg:#f5eee4;--bg-2:#efe5d8;--surface:#fbf7f1;--surface-2:#f2e9dd;--ink:#2a0d12;--ink-2:#5b4244;--muted:#78605f;
  --line:rgba(64,21,27,.14);--line-strong:rgba(64,21,27,.28);--line-field:rgba(64,21,27,.5);
  --accent:#70050a;--accent-ink:#fff;--accent-soft:rgba(112,5,10,.08);
  --gold-ink:#8a5a13;--focus:#70050a;--error:#b3261e;
  --shadow-1:0 30px 60px -38px rgba(42,13,18,.45);--shadow-2:0 40px 100px -40px rgba(23,2,8,.55);--shadow:var(--shadow-1);
  --hero-shade:linear-gradient(180deg,rgba(20,6,9,0) 40%,rgba(20,6,9,.55));
  --foot-bg:#70050a;--foot-ink:#f5eee4;--foot-muted:#e3c9bf;--foot-gold:#ebc17d;--foot-line:rgba(245,238,228,.18);
}
:root[data-theme=dark]{
  --bg:#12060a;--bg-2:#180a0e;--surface:#1c0a0f;--surface-2:#261116;--ink:#f3ebe1;--ink-2:#d6c3b8;--muted:#a48e87;
  --line:rgba(243,235,225,.13);--line-strong:rgba(243,235,225,.26);--line-field:rgba(243,235,225,.4);
  --accent:#ebc17d;--accent-ink:#2a0d12;--accent-soft:rgba(235,193,125,.1);
  --gold-ink:#ebc17d;--focus:#ebc17d;--error:#ff9b93;
  --shadow-1:0 30px 60px -36px rgba(0,0,0,.8);--shadow-2:0 30px 60px -36px rgba(0,0,0,.8);--shadow:var(--shadow-1);
  --hero-shade:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.6));
  --foot-bg:#0c0406;--foot-ink:#f3ebe1;--foot-muted:#bfa9a0;--foot-gold:#ebc17d;--foot-line:rgba(243,235,225,.12);
}
@media (max-width:760px){:root{--grid-gap:16px;--lh-display:1.09;--ls-display:-.02em;--lh-title:1.17;--lh-h2:1.19;--ls-h2:-.015em;--lh-h3:1.27;--lh-quote:1.31;--ls-quote:-.01em}}
@media (max-width:360px){:root{--gutter:16px;--fs-display:40px}}

/* Base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--head) + 24px)}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.625;font-weight:400;font-optical-sizing:none;font-variation-settings:'opsz' 14;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;transition:background-color var(--dur-3) var(--ease),color var(--dur-3) var(--ease)}
/* On English pages the Arabic language name («العربية») is set in the brand Arabic face, Cairo 500. Its seven letters,
   and the space (the face that has it sets the line's metrics), come from 'Ghozlan Arabic Label': 2 KB cut from
   cairo-arabic.woff2 at 500 with every layout feature, so those pages don't fetch the whole face (31 KB) for one word
   (PERF-01). The language links name only that face: with 'Ghozlan Arabic' after it, the browser fetches that one too
   while the small one loads. A new Arabic name for them needs its letters in the label face (fontTools: instance
   cairo-arabic.woff2 at wght 500, then subset to U+0020,… with every layout feature, as woff2). */
@font-face{font-family:'Ghozlan Arabic Label';src:url('/assets/fonts/cairo-arabic-label.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0020,U+0627-0629,U+0631,U+0639,U+0644,U+064A}
html:not([lang=ar]) :is(.site-head,.site-foot) [lang=ar]{font-family:'Ghozlan Arabic',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;font-weight:500}
html:not([lang=ar]) :is(.site-head .language-switch,.site-foot .foot-langs a)[lang=ar]{font-family:'Ghozlan Arabic Label',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif}
img,video,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
h1,h2,h3,h4,p,figure,blockquote,dl,dd,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3,h4{font-weight:500;line-height:1.1;letter-spacing:-.022em;text-wrap:balance}
p{text-wrap:pretty}
::selection{background:var(--burgundy);color:#fff}
:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:4px}
[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:fixed;inset-inline-start:12px;top:12px;z-index:200;padding:12px 24px;border-radius:var(--r-pill);background:var(--accent);color:var(--accent-ink);font-weight:500;transform:translateY(-160%);transition:transform var(--dur-2) var(--ease)}
.skip-link:focus{transform:none}
/* Every band puts its content on the one left edge (§2.2); safe areas are symmetric. */
.wrap{width:100%;max-width:none;margin-inline:0;padding-left:max(var(--edge),env(safe-area-inset-left));padding-right:max(var(--edge),env(safe-area-inset-right))}
main{display:block;min-height:60vh;outline:none}

/* Type scale (§5.2) */
.eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:12px;line-height:16px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink)}
/* The GH mark before the label (Ahmad, 24 Nov: option C), in the label's own gold; it is decoration,
   drawn as a mask so it is never read aloud, and stays on the first line when the label wraps. */
.eyebrow::before{content:'';flex:0 0 17px;width:17px;height:14px;background:currentColor;-webkit-mask:url(/assets/ghozlan-mark.svg) center/contain no-repeat;mask:url(/assets/ghozlan-mark.svg) center/contain no-repeat;align-self:flex-start;margin-top:calc(.5lh - 7px)}
.display{font-size:var(--fs-display);line-height:var(--lh-display);letter-spacing:var(--ls-display)}
.h1{font-size:var(--fs-display);line-height:var(--lh-display);letter-spacing:var(--ls-display)}
.h2{font-size:var(--fs-h2);line-height:var(--lh-h2);letter-spacing:var(--ls-h2)}
.h3{font-size:var(--fs-h3);line-height:var(--lh-h3);letter-spacing:-.015em}
.lead{font-size:var(--fs-lead);line-height:1.65;color:var(--ink-2);max-width:62ch}
.muted{color:var(--muted)}
.small{font-size:14px;line-height:22px}
.num{font-variant-numeric:tabular-nums}
@media (max-width:760px){.small{font-size:15px;line-height:24px}}

/* Header: the homepage's own bar (cinematic-scroll.html) on every page: the film's
   chapters, the same tools, the same type and the same states (§2.3). */
.site-head{position:sticky;top:0;z-index:60;color:var(--ink);transition:color var(--dur-3) var(--ease);--strip-bg:var(--bg);--strip-line:var(--line)}
/* z-index 2: the bar, and the menu that drops from it, sit above the way-back strip. */
.head-bar{position:relative;z-index:2;height:calc(var(--bar) + var(--safe-top));padding-top:var(--safe-top);display:flex;align-items:center;justify-content:space-between;gap:32px;padding-left:max(var(--edge),env(safe-area-inset-left));padding-right:max(var(--edge),env(safe-area-inset-right));background:linear-gradient(180deg,var(--bg) 0,var(--strip-bg) 100%);transition:background var(--dur-3) var(--ease)}
/* The way back, under the bar on every full page: to the page's section of the main page, and
   to the main page. */
.page-return{position:relative;height:var(--strip);display:flex;align-items:center;justify-content:space-between;gap:16px;padding-left:max(var(--edge),env(safe-area-inset-left));padding-right:max(var(--edge),env(safe-area-inset-right));background:var(--strip-bg);border-bottom:1px solid var(--strip-line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-size:13px;line-height:20px;font-weight:500;transition:background var(--dur-3) var(--ease),border-color var(--dur-3) var(--ease),opacity var(--dur-2) var(--ease),transform var(--dur-3) var(--ease)}
.page-return a{display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:0;color:inherit;white-space:nowrap}
.page-return a span{overflow:hidden;text-overflow:ellipsis}
.page-return svg{width:16px;height:16px;flex-shrink:0}
[dir=rtl] .page-return .icon-back{transform:scaleX(-1)}
.page-return .return-section{color:var(--accent)}
.page-return a:hover span{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;color:inherit}
.brand-mark{width:62px;height:47px}
.brand .mark-gold{display:none}
/* On light pages the mark is gold foil (ghozlan-mark-gold-ink.svg, 20 Oct 2026); over films and in dark mode, the light gold mark. */
:root[data-theme=dark] .brand .mark-ink{display:none}
:root[data-theme=dark] .brand .mark-gold{display:block}
.brand-word{font-size:18px;font-weight:500;letter-spacing:.04em;line-height:1.1}
/* The lockup's "HOLDING" is artwork, exempt from the type floor. */
.brand-word small{display:block;font-size:9px;letter-spacing:.13em;margin-top:7px;font-weight:500;line-height:1}
/* The bar's gap eases from 32 (≥1334) to 28 at 1181, so the wider Objektiv names still fit beside the tools there
   (DESIGN-RULES §2.3, 30 Nov 2026). */
.site-nav{display:flex;align-items:center;gap:clamp(24px,2.4vw,32px);font-size:13px;line-height:20px;font-weight:500}
.site-nav a{position:relative;padding:12px 0;white-space:nowrap;color:inherit}
.site-nav a::after{content:'';position:absolute;bottom:4px;inset-inline:0;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform var(--dur-3) var(--ease)}
[dir=rtl] .site-nav a::after{transform-origin:right}
@media (hover:hover){.site-nav a:hover::after{transform:scaleX(1)}}
.site-nav a[aria-current=true]::after{transform:scaleX(1);background:var(--burgundy)}
.head-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}
.tool{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;color:inherit;transition:background-color var(--dur-2)}
@media (hover:hover){.tool:hover{background:var(--accent-soft)}}
.tool svg{width:20px;height:20px}
.theme-toggle .icon-sun{display:none}
:root[data-theme=dark] .theme-toggle .icon-sun{display:block}
:root[data-theme=dark] .theme-toggle .icon-moon{display:none}
.language-switch{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-size:13px;line-height:20px;white-space:nowrap;color:inherit}
.language-switch:lang(ar){font-size:14px}
.menu-toggle{display:none;align-items:center;gap:12px;min-height:44px;font-size:13px;line-height:20px;font-weight:500;color:inherit;flex-shrink:0}
.menu-toggle>[aria-hidden=true]{font-size:23px;font-weight:400;line-height:1}
.menu-theme{display:none}
/* Over a page's opening scene, and in the dark appearance: light on dark, as over the film.
   Over a scene the bar carries a solid fill (≥78%) so a scrolled headline never reads
   through it, and focus turns gold. */
body.over-scene .site-head,:root[data-theme=dark] .site-head{color:var(--on-dark);--focus:var(--gold)}
body.over-scene .site-head{--strip-bg:rgba(16,9,11,.78);--strip-line:rgba(246,238,228,.16);text-shadow:0 1px 12px rgba(16,9,11,.44)}
body.over-scene .head-bar{background:linear-gradient(rgba(16,9,11,.84),rgba(16,9,11,.78));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
:root[data-theme=dark] body:not(.over-scene) .site-head{--strip-bg:#12060a}
:root[data-theme=dark] body:not(.over-scene) .head-bar{background:linear-gradient(180deg,#12060a 0,var(--strip-bg))}
body.over-scene .page-return .return-section,:root[data-theme=dark] .page-return .return-section{color:var(--gold)}
body.over-scene .site-head .mark-ink{display:none}
body.over-scene .site-head .mark-gold{display:block}
body.over-scene .site-nav a[aria-current=true]::after,:root[data-theme=dark] .site-nav a[aria-current=true]::after{background:var(--gold)}
@media (hover:hover){body.over-scene .tool:hover,:root[data-theme=dark] .tool:hover{background:rgba(246,238,228,.12)}}
/* Menu mode: the chapters drop down below the bar, as on the homepage (≤1180, frozen). */
@media (max-width:1180px){
  .site-nav{display:none;position:absolute;top:100%;inset-inline:0;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100svh - var(--bar) - var(--safe-top));overflow-y:auto;overscroll-behavior:contain;padding:8px max(var(--edge),env(safe-area-inset-right)) 24px max(var(--edge),env(safe-area-inset-left));background:rgba(28,5,9,.96);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--hairline);color:var(--on-dark);text-shadow:none;--focus:var(--gold)}
  .site-nav.is-open{display:flex}
  .site-nav a{display:flex;align-items:center;min-height:50px;padding:0;font-size:15px;line-height:20px;color:var(--on-dark);border-bottom:1px solid rgba(246,238,228,.08)}
  .site-nav a::after{display:none}
  .site-nav a[aria-current=true]{color:var(--gold)}
  .site-nav :focus-visible{outline-offset:-2px}
  .menu-toggle{display:flex}
  .head-tools{margin-inline-start:auto}
  body.menu-open .head-bar{background:var(--deep-2);color:var(--on-dark);text-shadow:none;--focus:var(--gold)}
  body.menu-open .site-head .mark-ink{display:none}
  body.menu-open .site-head .mark-gold{display:block}
  /* The way back steps out of the way while reading down a long page (body.head-compact,
     shell.js) and returns on the way up. */
  body.head-compact .page-return{opacity:0;transform:translateY(-100%);visibility:hidden;transition:background var(--dur-3) var(--ease),border-color var(--dur-3) var(--ease),opacity var(--dur-2) var(--ease),transform var(--dur-3) var(--ease),visibility 0s linear var(--dur-3)}
  body.head-compact .site-head{pointer-events:none}
  body.head-compact .head-bar{pointer-events:auto}
}
@media (max-width:760px){
  .head-bar{gap:12px}
  .page-return{gap:12px;font-size:12px}
  .brand-mark{width:46px;height:38px}
  .brand-word{font-size:16px}
  .brand-word small{font-size:8px}
  /* As on the homepage: on phones the appearance switch moves into the menu. */
  .head-tools .head-theme{display:none}
  .menu-theme{display:flex;align-items:center;gap:12px;min-height:56px;font-size:20px;line-height:28px;font-weight:500;color:var(--on-dark);text-align:start}
  .menu-theme svg{width:20px;height:20px}
  /* The menu is a full sheet in --deep-2; the open chapter carries a gold bar. */
  .site-nav{min-height:calc(100svh - var(--bar) - var(--safe-top));padding-bottom:calc(24px + env(safe-area-inset-bottom));background:var(--deep-2)}
  .site-nav a{min-height:56px;font-size:20px;line-height:28px}
  .site-nav a[aria-current=true]::after{display:block;top:14px;bottom:14px;inset-inline-start:-14px;inset-inline-end:auto;width:2px;height:auto;transform:none;background:var(--gold)}
  /* No backdrop-filter on phones: solid fills instead. */
  .page-return,.site-nav,body.over-scene .head-bar{-webkit-backdrop-filter:none;backdrop-filter:none}
  body.over-scene .site-head{--strip-bg:rgba(16,9,11,.94)}
  body.over-scene .head-bar{background:rgba(16,9,11,.94)}
}
@media (max-width:360px){
  .head-bar{gap:8px}
  .brand{gap:8px}
  .brand-mark{width:40px;height:32px}
  .tool{width:40px}
  .head-tools{gap:8px}
  .page-return{gap:8px}
}
/* Below 360 the Menu word is visually hidden (the button keeps its name), so the bar fits at 320.
   In the way-back strip the main page keeps its house (named for assistive technology), so the
   way back to the section reads in full (A11Y-PERF-11). */
@media (max-width:359px){
  .menu-toggle{font-size:0;gap:0}
  .menu-toggle .label,.page-return .return-home span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .page-return .return-home{flex-shrink:0;min-width:44px;justify-content:flex-end}
  .brand-word{font-size:15px}
}
@media (max-width:1050px){:root{--bar:91px}}
@media (max-width:760px){:root{--bar:80px;--strip:42px}}

/* Buttons and links (§6) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 24px;border-radius:var(--r-pill);background:var(--accent);color:var(--accent-ink);font-size:14px;line-height:20px;font-weight:500;transition:transform var(--dur-1) var(--ease),background-color var(--dur-2),color var(--dur-2),border-color var(--dur-2);white-space:nowrap}
@media (hover:hover){.btn:hover{filter:brightness(1.12)}}
.btn:active{transform:scale(.98)}
.btn svg{width:18px;height:18px;flex-shrink:0;transition:transform var(--dur-3) var(--ease)}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line-strong)}
@media (hover:hover){.btn-ghost:hover{background:var(--accent-soft);filter:none}}
.btn-small{min-height:40px;padding:0 16px;font-size:13px}
.btn-small svg{width:16px;height:16px}
.btn[aria-disabled=true],.btn:disabled{opacity:.45;pointer-events:none}
.link-arrow{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:14px;line-height:20px;font-weight:500;color:var(--accent)}
@media (hover:hover){.link-arrow:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}}
.link-arrow svg{width:16px;height:16px;flex-shrink:0;transition:transform var(--dur-3) var(--ease)}
/* Directional icons (arrow, back, leave-site) point the reading way and nudge toward
   inline-end on hover; play, download, check, clock and the rest never mirror (§11). */
[dir=rtl] :is(.btn,.link-arrow) svg:is(.icon-arrow,.icon-back,.icon-external,:has(>path[d^="M4 12h15"]),:has(>path[d^="M20 12H5"]),:has(>path[d^="M14 5h5v5"])){transform:scaleX(-1)}
@media (hover:hover){
  :is(.btn,.link-arrow):hover svg:is(.icon-arrow,:has(>path[d^="M4 12h15"])){transform:translateX(4px)}
  [dir=rtl] :is(.btn,.link-arrow):hover svg:is(.icon-arrow,:has(>path[d^="M4 12h15"])){transform:scaleX(-1) translateX(4px)}
}
.tag{display:inline-flex;align-items:center;gap:8px;min-height:28px;padding:0 12px;border-radius:var(--r-pill);font-size:12px;line-height:16px;font-weight:500;background:var(--accent-soft);color:var(--ink-2);white-space:nowrap}
.tag.is-gold{color:var(--gold-ink);background:color-mix(in srgb,var(--gold-3) 12%,transparent)}
.dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}
@media (pointer:coarse){.btn-small{min-height:44px}}
@media (max-width:760px){
  /* Buttons may wrap on phones; the icon keeps its size. */
  .btn{min-height:48px;max-width:100%;white-space:normal;line-height:1.3;padding-block:12px;font-size:15px}
  .btn-small{min-height:44px;padding-block:8px;font-size:13px}
  .link-arrow{font-size:15px}
}

/* Breadcrumbs: dense links, 40px targets (44 on touch) without moving the layout */
.crumbs{display:flex;flex-wrap:wrap;column-gap:8px;font-size:13px;line-height:20px;color:var(--muted);padding-top:24px}
.crumbs a{display:inline-flex;align-items:center;min-height:40px;margin-block:-10px;color:var(--ink-2)}
@media (hover:hover){.crumbs a:hover{color:var(--accent)}}
@media (pointer:coarse){.crumbs a{min-height:44px;margin-block:-12px}}
.crumbs li{display:inline-flex;align-items:center;gap:8px}
.crumbs li+li::before{content:'/';opacity:.5}
/* › is mirrored in RTL, so it points down the hierarchy in the reading direction. */
[dir=rtl] .crumbs li+li::before{content:'\203A'}

/* Page heroes */
.page-hero{padding-block:var(--section-tight)}
.page-hero .eyebrow{margin-bottom:16px}
.page-hero .lead{margin-top:24px}
.hero-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--grid-gap);align-items:end}
.hero-media{position:relative;border-radius:var(--r-media);overflow:hidden;background:var(--surface-2);aspect-ratio:3/2}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-wide{margin-top:clamp(32px,5vw,64px);aspect-ratio:21/9;border-radius:var(--r-media);overflow:hidden;background:var(--surface-2)}
.hero-wide img{width:100%;height:100%;object-fit:cover}
@media (max-width:1100px){.hero-split{grid-template-columns:1fr;align-items:start}.hero-wide{aspect-ratio:16/9}}
@media (max-width:760px){.hero-wide{aspect-ratio:4/3}}

/* Sections (§4) */
.section{padding-block:var(--section)}
.section.tight{padding-block:var(--section-tight)}
.section.alt{background:var(--bg-2)}
.section.surface{background:var(--surface)}
/* Neighbours on the same background share one gap instead of two. */
.section:not(.alt,.surface)+.section:not(.alt,.surface),.section.alt+.section.alt,.section.surface+.section.surface{padding-top:0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px 40px;flex-wrap:wrap;margin-bottom:var(--head-gap)}
.section-head .eyebrow{margin-bottom:16px}
.section-head .lead{margin-top:24px}
.rule{height:1px;background:var(--line);border:0;margin:0}
.grid{display:grid;gap:var(--grid-gap)}
.g-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1100px){.g-4{grid-template-columns:repeat(2,minmax(0,1fr))}.g-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.g-2,.g-3,.g-4{grid-template-columns:1fr}.section-head .lead{margin-top:16px}}
/* Splits are 5 + 7 of the 12-column grid (the gap may take up to one column); they stack
   below 1101. */
.cols{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--sp-48) clamp(24px,5vw,96px)}
.cols.contact-cols{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
/* Contact: once a company is chosen, the head office's line says it handles the enquiry (Ahmad, 25 Nov 2026). */
.office-handled{position:relative;margin-top:12px;padding-inline-start:14px;font-size:15px;line-height:22px;color:var(--ink-2)}
.office-handled::before{content:'';position:absolute;inset-inline-start:0;top:3px;bottom:3px;width:2px;border-radius:2px;background:var(--gold-3)}
.office-handled[hidden]{display:none}
html:lang(ar) .office-handled{font-size:var(--ar-small);line-height:1.8}
html:lang(ar) .office-handled::before{top:.45em;bottom:.45em}
@media (max-width:1100px){.cols,.cols.contact-cols{grid-template-columns:1fr}}
.prose{display:grid;gap:24px;align-content:start;max-width:68ch;color:var(--ink-2);font-size:var(--fs-body-l);line-height:1.7}
.prose p:first-child{color:var(--ink);font-size:1.12em;line-height:1.6}

/* Statement band */
.statement{font-size:var(--fs-quote);line-height:var(--lh-quote);letter-spacing:var(--ls-quote);font-weight:400;max-width:24ch;color:var(--ink)}
.statement em{font-style:normal;color:var(--accent)}
.statement.long{font-size:clamp(22px,2.1vw,32px);line-height:1.35;max-width:30ch}

/* Figures (structural counts only) */
.figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));border-top:1px solid var(--line)}
.figure{padding-block:24px 8px;padding-inline:0 24px;border-inline-end:1px solid var(--line)}
.figure:last-child{border-inline-end:0}
.figure b{display:block;font-size:clamp(44px,5vw,72px);font-weight:500;letter-spacing:-.03em;line-height:1;color:var(--accent)}
.figure span{display:block;margin-top:12px;font-size:13px;line-height:20px;color:var(--muted)}
.figure.text b{font-size:clamp(19px,1.7vw,25px);line-height:1.25;letter-spacing:-.01em}

/* Numbered blocks: vision / pillars / values */
.numbered{display:grid;gap:0;border-top:1px solid var(--line)}
.numbered li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:24px;padding:24px 0;border-bottom:1px solid var(--line);align-items:baseline}
.numbered .n{font-size:12px;line-height:16px;font-weight:500;color:var(--gold-ink);font-variant-numeric:tabular-nums;letter-spacing:.1em}
.numbered h3{font-size:20px;line-height:26px;letter-spacing:-.01em;margin-bottom:8px}
.numbered p{color:var(--ink-2)}
/* A table of contents marks the section being read. */
.numbered a[aria-current]{color:var(--accent)}
.numbered a{display:inline-flex;align-items:center;min-height:40px;margin-block:-10px}
@media (hover:hover){.numbered a:hover{color:var(--accent)}}
@media (pointer:coarse){.numbered a{min-height:44px;margin-block:-12px}}
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-box);overflow:hidden}
.tile{background:var(--surface);padding:clamp(24px,2.6vw,40px);display:grid;align-content:start;gap:12px;min-height:220px}
.tile .n{font-size:12px;line-height:16px;font-weight:500;color:var(--gold-ink);letter-spacing:.1em}
.tile h3{font-size:20px;line-height:26px;letter-spacing:-.01em}
.tile p{color:var(--ink-2);font-size:var(--fs-deck)}
@media (max-width:1100px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.tiles{grid-template-columns:1fr}.tile{min-height:0}}
.vmc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--grid-gap)}
.vmc article{padding:clamp(24px,3vw,48px);border-radius:var(--r-box);background:var(--surface);border:1px solid var(--line);display:grid;gap:16px;align-content:start}
.vmc article:first-child{background:var(--burgundy);color:var(--cream);border-color:transparent;--focus:var(--gold)}
.vmc article:first-child .eyebrow{color:var(--gold)}
.vmc p{font-size:var(--fs-lead);line-height:1.55}
.vmc.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.vmc h3{font-size:var(--fs-h3);line-height:var(--lh-h3)}
.vmc article>p+p{margin-top:-8px}
@media (max-width:1100px){.vmc,.vmc.two{grid-template-columns:1fr}}

/* Filters */
.filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding-block:16px;border-block:1px solid var(--line);margin-bottom:clamp(32px,3vw,48px)}
.filters .label{font-size:12px;line-height:16px;font-weight:500;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin-inline-end:8px}
.chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:var(--r-pill);border:1px solid var(--line-strong);font-size:13px;line-height:20px;font-weight:500;color:var(--ink-2);white-space:nowrap;transition:background-color var(--dur-2),color var(--dur-2),border-color var(--dur-2)}
@media (hover:hover){.chip:hover{border-color:var(--ink-2);color:var(--ink)}}
.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.chip .count{font-size:12px;opacity:.65;font-variant-numeric:tabular-nums}
.select{position:relative;display:inline-flex}
.select select{appearance:none;-webkit-appearance:none;min-height:40px;padding-block:0;padding-inline:16px 40px;border-radius:var(--r-pill);border:1px solid var(--line-strong);background:transparent;font-size:13px;line-height:20px;font-weight:500;color:var(--ink);transition:border-color var(--dur-2)}
@media (hover:hover){.select select:hover{border-color:var(--ink-2)}}
.select::after{content:'';position:absolute;inset-inline-end:16px;top:50%;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none;opacity:.7}
.select select option{color:#2a0d12;background:#fbf7f1}
.filters .result-count{margin-inline-start:auto;font-size:13px;line-height:20px;color:var(--muted)}
.filters-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;width:100%}
.filters-row+.filters-row{padding-top:16px;border-top:1px dashed var(--line)}
@media (min-width:761px){.filters-row>.select:last-child{margin-inline-start:auto}}
@media (pointer:coarse){.chip,.select select{min-height:44px}}
.promo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 40px;align-items:center;padding:clamp(24px,3vw,40px);border-radius:var(--r-box);background:var(--surface);border:1px solid var(--line)}
.promo h2{font-size:var(--fs-h3);line-height:var(--lh-h3);letter-spacing:-.015em;max-width:40ch}
.filter-group{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:760px){
  .promo{grid-template-columns:1fr}
  /* Controls at 16px so iOS does not zoom on focus; 44px targets. */
  .select select{font-size:16px;min-height:44px}
  .chip{min-height:44px}
  /* Chip groups run as one horizontal row, edge to edge (§2.1). */
  .filters .filter-group{flex:1 1 100%;min-width:0;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter);padding-block:2px}
  .filters .filter-group::-webkit-scrollbar{display:none}
  .filters .filter-group :focus-visible{outline-offset:-2px}
  .filters-row>.select{margin-inline-start:0!important}
}

/* Cards */
.card{position:relative;display:grid;gap:16px;align-content:start;color:inherit}
.card-media{position:relative;border-radius:var(--r-media);overflow:hidden;background:var(--surface-2);aspect-ratio:4/3}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur-5) var(--ease)}
@media (hover:hover){.card:hover .card-media img{transform:scale(1.04)}}
.card-meta{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;font-size:13px;line-height:20px;color:var(--muted)}
.card-meta .sep{opacity:.5}
.card h3{font-size:20px;line-height:26px;letter-spacing:-.01em}
.card p{color:var(--ink-2);font-size:var(--fs-deck);line-height:1.7}
.card .stretched::after{content:'';position:absolute;inset:0;z-index:1}
.card a:focus-visible{outline:none}
.card:has(a:focus-visible){outline:2px solid var(--focus);outline-offset:4px;border-radius:var(--r-box)}

/* Company cards: emblem plate. The rows hold the "Read more" line at the foot of every
   card in a row. */
.company-card{border-radius:var(--r-box);background:var(--surface);border:1px solid var(--line);padding:24px;display:grid;grid-template-rows:auto auto auto 1fr auto;align-content:stretch;gap:24px;min-height:100%;transition:border-color var(--dur-2),transform var(--dur-4) var(--ease);--accent-c:var(--accent)}
@media (hover:hover){.company-card:hover{border-color:var(--line-strong);transform:translateY(-4px);box-shadow:var(--shadow-1)}}
.company-card .top{display:flex;justify-content:space-between;align-items:start;gap:16px}
.company-card .emblem{width:58px;height:58px;object-fit:contain}
.company-card .emblem.on-dark{display:none}
:root[data-theme=dark] .company-card .emblem.on-light{display:none}
:root[data-theme=dark] .company-card .emblem.on-dark{display:block}
.company-card .year{font-size:13px;line-height:20px;color:var(--muted);font-variant-numeric:tabular-nums}
.company-card h3{font-size:var(--fs-h3);line-height:var(--lh-h3);letter-spacing:-.015em}
.company-card .sector{margin-top:4px;font-size:13px;line-height:20px;color:var(--gold-ink)}
.company-card .place{font-size:13px;line-height:20px;color:var(--muted);display:flex;gap:8px;align-items:center;align-self:start}
.company-card .place svg{width:16px;height:16px;flex-shrink:0}
.company-card .bottom{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid var(--line)}
.company-card .bottom svg{width:18px;height:18px;color:var(--accent);transition:transform var(--dur-3) var(--ease)}
@media (hover:hover){.company-card:hover .bottom svg{transform:translateX(4px)}}
[dir=rtl] .company-card .bottom svg{transform:scaleX(-1)}
@media (hover:hover){[dir=rtl] .company-card:hover .bottom svg{transform:scaleX(-1) translateX(4px)}}
@media (max-width:760px){.company-card{padding:16px;gap:16px}}

/* Emblems swap with the appearance: burgundy on light, gold on dark */
img.on-dark{display:none}
:root[data-theme=dark] img.on-light{display:none}
:root[data-theme=dark] img.on-dark{display:block}

/* Company table view */
.company-table{width:100%;min-width:640px;border-collapse:collapse;font-size:15px;line-height:24px}
.company-table th,.company-table td{padding:16px 12px;border-bottom:1px solid var(--line);text-align:start;vertical-align:middle;font-weight:400}
.company-table thead th{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line-strong)}
.company-table tbody th a{display:inline-flex;align-items:center;gap:12px;font-weight:500;line-height:24px;vertical-align:middle}
@media (hover:hover){.company-table tbody th a:hover span{color:var(--accent)}}
.company-table .emblem-sm{width:32px;height:32px;object-fit:contain}
.company-table tbody tr{transition:background-color var(--dur-2)}
@media (hover:hover){.company-table tbody tr:hover{background:var(--surface)}}

/* Sector blocks */
.sector-row{display:grid;grid-template-columns:80px minmax(0,1.1fr) minmax(0,1fr);gap:clamp(16px,3vw,48px);padding:clamp(24px,3vw,40px) 0;border-bottom:1px solid var(--line);align-items:start}
.sector-row:first-child{border-top:1px solid var(--line)}
.sector-row .n{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.1em;color:var(--gold-ink);font-variant-numeric:tabular-nums;padding-top:8px}
.sector-row h3{font-size:var(--fs-h3);line-height:var(--lh-h3);margin-bottom:12px}
.sector-row p{color:var(--ink-2)}
.sector-companies{display:grid;gap:8px}
.sector-companies a{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 16px;border-radius:var(--r-box);border:1px solid var(--line);transition:border-color var(--dur-2),background-color var(--dur-2)}
@media (hover:hover){.sector-companies a:hover{border-color:var(--line-strong);background:var(--surface)}}
.sector-companies img{width:32px;height:32px;object-fit:contain}
.sector-companies .meta{display:grid;line-height:1.35}
.sector-companies .meta small{font-size:13px;line-height:20px;color:var(--muted)}
.sector-companies .go{margin-inline-start:auto;width:16px;height:16px;color:var(--accent)}
[dir=rtl] .sector-companies .go{transform:scaleX(-1)}
@media (max-width:1100px){.sector-row{grid-template-columns:1fr}.sector-row .n{padding:0}}

/* Facts */
.facts{display:grid;border-top:1px solid var(--line)}
.facts div{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.facts dt{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-top:4px}
.facts dd{font-size:16px;line-height:24px;color:var(--ink)}
.facts dd a{color:var(--accent)}

/* Company page */
.company-hero{position:relative;padding-top:clamp(24px,4vw,64px);padding-bottom:clamp(40px,5vw,80px);--accent-c:var(--accent)}
.company-hero .grid-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(32px,5vw,96px);align-items:stretch}
.company-hero .identity{display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding-top:12px}
.company-hero .emblem-lg{width:84px;height:84px;object-fit:contain}
.company-hero .emblem-lg.on-dark{display:none}
:root[data-theme=dark] .company-hero .emblem-lg.on-light{display:none}
:root[data-theme=dark] .company-hero .emblem-lg.on-dark{display:block}
.company-hero h1{font-size:var(--fs-display);line-height:var(--lh-display);letter-spacing:var(--ls-display);margin-top:24px}
.company-hero .sector-line{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:14px;color:var(--ink-2)}
.company-hero .lead{margin-top:24px}
.company-hero .sector-line i{width:28px;height:2px;background:var(--accent-c)}
.company-hero .media{position:relative;border-radius:var(--r-media);overflow:hidden;min-height:460px;background:var(--surface-2)}
.company-hero .media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.company-hero .media::after{content:'';position:absolute;inset:0;background:linear-gradient(200deg,transparent 55%,color-mix(in srgb,var(--accent-c) 45%,transparent));mix-blend-mode:multiply;opacity:.6}
.hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}
.hero-facts div{padding-block:16px 0;padding-inline:0 16px;border-inline-end:1px solid var(--line)}
.hero-facts div+div{padding-inline-start:16px}
.hero-facts div:last-child{border-inline-end:0}
.hero-facts dt{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.hero-facts dd{margin-top:8px;font-size:16px;line-height:24px;font-weight:500}
@media (max-width:1100px){.company-hero .grid-hero{grid-template-columns:1fr}.company-hero .media{min-height:0;aspect-ratio:4/3}.hero-facts{grid-template-columns:1fr 1fr}.hero-facts div:nth-child(2){border-inline-end:0}.hero-facts div:nth-child(3){grid-column:1/-1;border-top:1px solid var(--line);padding-inline-start:0;margin-top:16px}}
.activity-list{display:grid;gap:0;border-top:1px solid var(--line)}
.activity-list li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--line);color:var(--ink-2)}
.activity-list li::before{content:'';width:10px;height:10px;margin-top:8px;border-radius:2px;background:var(--accent-c,var(--accent));transform:rotate(45deg)}
.media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--grid-gap)}
.media-grid figure{border-radius:var(--r-media);overflow:hidden;background:var(--surface-2);aspect-ratio:4/3}
.media-grid img{width:100%;height:100%;object-fit:cover}
.media-grid figure:only-child{aspect-ratio:21/9}
@media (max-width:1100px){.media-grid figure:only-child{aspect-ratio:16/9}}
@media (max-width:760px){.media-grid figure:only-child{aspect-ratio:4/3}}
/* The company's band: its own hue, mixed down until cream text holds 4.5:1 (§8.2). */
.company-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 32px;align-items:center;padding:clamp(24px,4vw,64px);border-radius:var(--r-box);background:color-mix(in srgb,var(--accent-c,var(--burgundy)) 70%,#1c0509);color:#fbf7f1;--focus:#fbf7f1}
.company-cta h2{font-size:var(--fs-h2);line-height:var(--lh-h2);letter-spacing:var(--ls-h2);max-width:24ch}
.company-cta p{color:#fbf7f1;margin-top:16px}
/* Links inside sentences are underlined, not told apart by colour alone (WCAG 1.4.1). */
.check a,[data-change]{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.company-cta .btn{background:#fbf7f1;color:#2a0d12}
@media (max-width:760px){.company-cta{grid-template-columns:1fr}}
.siblings{margin-top:32px;font-size:14px;color:var(--muted)}
.siblings a{color:var(--accent);font-weight:500}
.siblings a:hover{text-decoration:underline;text-underline-offset:4px}
.pager{display:grid;grid-template-columns:1fr 1fr;gap:var(--grid-gap)}
.pager a{display:grid;gap:8px;padding:24px;border-radius:var(--r-box);border:1px solid var(--line);transition:border-color var(--dur-2),background-color var(--dur-2)}
@media (hover:hover){.pager a:hover{border-color:var(--line-strong);background:var(--surface)}}
.pager a:last-child{text-align:end}
.pager small{font-size:12px;line-height:16px;font-weight:500;color:var(--muted);letter-spacing:.1em;text-transform:uppercase}
.pager span{font-size:20px;line-height:26px;font-weight:500;letter-spacing:-.01em}

/* Projects */
.project-card .plate{position:relative;aspect-ratio:4/3;border-radius:var(--r-media);overflow:hidden;background:var(--plate,var(--burgundy));color:var(--on-dark);padding:clamp(16px,2vw,24px);display:flex;flex-direction:column;justify-content:space-between}
.project-card .plate::before{content:'';position:absolute;inset:0;background:radial-gradient(120% 90% at 100% 0,rgba(255,255,255,.14),transparent 55%),repeating-linear-gradient(135deg,rgba(255,255,255,.04) 0 1px,transparent 1px 14px)}
.project-card .plate>*{position:relative}
.project-card .plate .years{font-size:clamp(34px,3.4vw,52px);font-weight:500;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.project-card .plate .where{font-size:13px;line-height:20px;opacity:.85;display:flex;gap:8px;align-items:center}
.project-card .plate .where svg{width:16px;height:16px}
.plate .place-big,.project-plate-lg .place-big{font-size:var(--fs-h3);font-weight:500;line-height:1.15;letter-spacing:-.015em;max-width:16ch}
.project-plate-lg .place-big{font-size:var(--fs-title)}
.project-card .plate img.emblem{width:46px;height:46px;opacity:.9}
.status{display:inline-flex;align-items:center;gap:8px;font-size:13px;line-height:20px;font-weight:500}
.status::before{content:'';width:8px;height:8px;border-radius:50%;background:currentColor}
.status.completed{color:#2f7a4f}
:root[data-theme=dark] .status.completed{color:#7fcf9c}
.status.concept{color:var(--gold-ink)}
.status.ongoing{color:#2f6f86}
.project-hero .media{aspect-ratio:21/9;border-radius:var(--r-media);overflow:hidden;background:var(--surface-2);margin-top:clamp(24px,4vw,48px)}
.project-hero .media img{width:100%;height:100%;object-fit:cover}
@media (max-width:1100px){.project-hero .media{aspect-ratio:16/9}}
@media (max-width:760px){.project-hero .media{aspect-ratio:4/3}}
.project-plate-lg{margin-top:clamp(24px,4vw,48px);border-radius:var(--r-media);min-height:clamp(260px,32vw,420px);background:var(--plate,var(--burgundy));color:var(--on-dark);position:relative;overflow:hidden;display:flex;align-items:end;padding:clamp(24px,3vw,48px)}
.project-plate-lg::before{content:'';position:absolute;inset:0;background:radial-gradient(90% 120% at 100% 0,rgba(255,255,255,.16),transparent 55%),repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 1px,transparent 1px 16px)}
.project-plate-lg>*{position:relative}
/* Showcase numerals never exceed the display size. */
.project-plate-lg .years{font-size:var(--fs-display);font-weight:500;letter-spacing:-.03em;line-height:.95;font-variant-numeric:tabular-nums}
.project-plate-lg .emblem{position:absolute;inset-inline-end:clamp(24px,3vw,48px);top:clamp(24px,3vw,48px);width:72px;height:72px}

/* Media centre */
.media-lead{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(24px,3.4vw,48px);margin-bottom:clamp(48px,5vw,80px)}
.feature .card-media{aspect-ratio:16/9}
.feature h2{font-size:var(--fs-h2);line-height:var(--lh-h2);letter-spacing:var(--ls-h2)}
.feature p{font-size:var(--fs-lead)}
.side-list{display:grid;align-content:start;border-top:1px solid var(--line)}
.side-item{position:relative;display:grid;grid-template-columns:132px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.side-item .thumb{border-radius:var(--r-media);overflow:hidden;aspect-ratio:4/3;background:var(--surface-2)}
.side-item .thumb img{width:100%;height:100%;object-fit:cover}
.side-item h3{font-size:20px;line-height:26px;letter-spacing:-.01em;margin-top:8px;transition:color var(--dur-2)}
@media (hover:hover){.side-item:hover h3{color:var(--accent)}}
@media (max-width:1100px){.media-lead{grid-template-columns:1fr}}
.article-head{max-width:900px}
.article-head h1{font-size:var(--fs-title);line-height:var(--lh-title);letter-spacing:-.025em;margin-top:16px}
.article-media{margin-block:clamp(32px,4vw,64px);border-radius:var(--r-media);overflow:hidden;aspect-ratio:16/9;background:var(--surface-2)}
.article-media img{width:100%;height:100%;object-fit:cover}
/* Article: text 8 + aside 4, opening a tight gap below the scene. */
.article-body{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:var(--sp-48) var(--grid-gap);align-items:start;padding-top:var(--section-tight)}
.article-body .prose{font-size:var(--fs-body-l);line-height:1.7}
/* Lists in an article's rich text, as on the company pages (company-page.css .prose.rich): the long articles of 30 Nov 2026 have them. */
.article-body .prose :is(ul,ol){display:grid;gap:8px;padding-inline-start:24px}
.article-body .prose ul{list-style:disc}
.article-body .prose ol{list-style:decimal}
.article-aside{position:sticky;top:calc(var(--head) + 24px);display:grid;gap:24px;max-width:360px;justify-self:end;width:100%}
.share{display:flex;flex-wrap:wrap;gap:8px}
.share a,.share button{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line-strong);color:var(--ink-2);transition:background-color var(--dur-2),color var(--dur-2)}
@media (hover:hover){.share a:hover,.share button:hover{background:var(--accent-soft);color:var(--ink)}}
.share svg{width:18px;height:18px}
@media (max-width:1100px){.article-body{grid-template-columns:1fr}.article-aside{position:static;justify-self:stretch;max-width:none}}

/* Careers */
.job-list{display:grid;border-top:1px solid var(--line)}
.job{position:relative;display:grid;grid-template-columns:96px minmax(0,1.4fr) minmax(0,1fr) auto;gap:clamp(16px,2.4vw,40px);align-items:center;padding:24px 0;border-bottom:1px solid var(--line);transition:background-color var(--dur-2)}
@media (hover:hover){.job:hover{background:color-mix(in srgb,var(--surface) 70%,transparent)}}
.job .thumb{width:96px;aspect-ratio:1;border-radius:var(--r-media);overflow:hidden;background:var(--surface-2)}
.job .thumb img{width:100%;height:100%;object-fit:cover}
.job h3{font-size:var(--fs-h3);line-height:var(--lh-h3);letter-spacing:-.015em}
.job .meta{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;line-height:20px;color:var(--muted);margin-top:8px}
.job .where{font-size:14px;color:var(--ink-2);display:grid;gap:4px}
.job .go{width:20px;height:20px;color:var(--accent)}
[dir=rtl] .job .go{transform:scaleX(-1)}
@media (max-width:1100px){.job{grid-template-columns:72px minmax(0,1fr) auto}.job .thumb{width:72px}.job .where{display:none}}

/* Documents */
.doc-list{display:grid;border-top:1px solid var(--line)}
.doc{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.doc .icon{width:48px;height:56px;border-radius:var(--r-media);border:1px solid var(--line-strong);display:grid;place-items:end center;padding-bottom:8px;font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;color:var(--accent);background:var(--surface)}
.doc h3{font-size:20px;line-height:26px;letter-spacing:-.01em}
.doc .meta{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;line-height:20px;color:var(--muted);margin-top:4px}
@media (max-width:760px){.doc{grid-template-columns:40px minmax(0,1fr)}.doc .icon{width:40px;height:48px}.doc .actions{grid-column:2}}

/* Forms (§6) */
.form{display:grid;gap:24px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media (max-width:760px){.form .row{grid-template-columns:1fr}}
.field{display:grid;gap:8px;align-content:start}
.field>label,.field>.label{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:14px;line-height:20px;font-weight:500;color:var(--ink)}
.field .hint{font-size:13px;line-height:20px;font-weight:400;color:var(--muted)}
.field .why{font-size:13px;line-height:20px;color:var(--muted)}
.req{color:var(--accent);font-weight:500}
.input,.field select,.field textarea{width:100%;min-height:52px;padding:12px 16px;border-radius:var(--r-box);border:1px solid var(--line-field);background:var(--surface);color:var(--ink);font-size:16px;line-height:1.6;transition:border-color var(--dur-2)}
.field textarea{min-height:160px;resize:vertical;line-height:1.6}
.field select{appearance:none;-webkit-appearance:none;padding-inline-end:44px}
/* The chevron is the filter selects' own (.select::after), drawn by the wrapper (forms.js);
   it sits at inline-end, so it moves to the left in Arabic by itself. */
.field-select{position:relative;display:block}
.field-select::after{content:'';position:absolute;inset-inline-end:20px;top:50%;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none;opacity:.7;color:var(--ink)}
@media (hover:hover){:is(.input,.field select,.field textarea):hover{border-color:var(--ink-2)}}
.input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 35%,transparent)}
:is(.input,.field select,.field textarea):disabled{background:var(--surface-2);color:var(--muted)}
.field.has-error :is(.input,select,textarea){border-color:var(--error)}
.field.has-error :is(.input,select,textarea):focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--error) 30%,transparent)}
.field .error{font-size:13px;line-height:20px;color:var(--error);display:none}
.field.has-error .error{display:block}
.file{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:16px;border:1px dashed var(--line-field);border-radius:var(--r-box);background:var(--surface)}
.file input{position:absolute;opacity:0;width:1px;height:1px}
/* The hidden file input shows its focus on its "Choose file" button. */
.file input:focus-visible+.btn{outline:2px solid var(--focus);outline-offset:4px}
.file .name{font-size:14px;color:var(--ink-2)}
.check,.field>label.check{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;min-height:44px;font-size:14px;line-height:22px;font-weight:400;color:var(--ink-2)}
.check input{width:22px;height:22px;margin:0;accent-color:var(--accent)}
.notice{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;padding:16px;border-radius:var(--r-box);background:var(--accent-soft);font-size:14px;color:var(--ink-2)}
.notice svg{width:20px;height:20px;color:var(--accent);margin-top:2px}
.form-summary{display:grid;gap:0;border-top:1px solid var(--line)}
.form-summary div{display:grid;grid-template-columns:minmax(120px,.6fr) minmax(0,1.4fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.form-summary dt{font-size:13px;line-height:20px;color:var(--muted)}
.form-summary dd{white-space:pre-wrap;overflow-wrap:anywhere}
.form-actions{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center}
.state{display:grid;justify-items:start;gap:16px;padding:clamp(24px,4vw,48px);border-radius:var(--r-box);border:1px solid var(--line);background:var(--surface)}
.state .icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.state .icon svg{width:24px;height:24px}
.state .ref{font-size:13px;line-height:20px;color:var(--muted);letter-spacing:.04em}
.state.is-error{border-color:color-mix(in srgb,#9e2636 40%,var(--line))}
.state.is-error .icon{background:color-mix(in srgb,#9e2636 12%,transparent);color:#9e2636}
:root[data-theme=dark] .state.is-error .icon{color:#f2a0a0}
.state .ref b{color:var(--ink);font-weight:500;letter-spacing:.08em}
@media (max-width:760px){.field .hint,.field .why{font-size:14px}}

/* Empty / loading states */
.empty{display:grid;justify-items:center;text-align:center;gap:16px;padding:clamp(48px,6vw,96px) 24px;border:1px dashed var(--line-strong);border-radius:var(--r-box)}
.empty .icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.empty .icon svg{width:24px;height:24px}
.empty h3{font-size:var(--fs-h3);line-height:var(--lh-h3)}
.empty p{color:var(--muted);max-width:44ch}
.skeleton{border-radius:var(--r-box);background:linear-gradient(100deg,var(--surface-2) 30%,var(--surface) 50%,var(--surface-2) 70%) 0/200% 100%;animation:shimmer 1.4s linear infinite;min-height:200px}
@keyframes shimmer{to{background-position:-200% 0}}

/* Search */
.search-box{position:relative;display:flex;align-items:center;gap:12px;padding-block:8px;padding-inline:24px 8px;border-radius:var(--r-box);border:1px solid var(--line-strong);background:var(--surface);box-shadow:var(--shadow-1)}
/* The box shows the focus of the field inside it. */
.search-box:focus-within{outline:2px solid var(--focus);outline-offset:4px}
.search-box svg{width:22px;height:22px;color:var(--muted);flex-shrink:0}
.search-box input{flex:1;min-width:0;border:0;background:transparent;font-size:clamp(18px,1.6vw,22px);padding:12px 0;outline:none;color:var(--ink)}
.search-box input::placeholder{color:var(--muted)}
/* If a hint is still too long for the field, it ends in “…” rather than mid-word (R1-PA-07). */
.search-box input{text-overflow:ellipsis}
.search-box input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.search-results{display:grid;border-top:1px solid var(--line)}
.hit{position:relative;display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}
.hit .kind{font-size:12px;line-height:16px;font-weight:500;color:var(--gold-ink);letter-spacing:.1em;text-transform:uppercase;padding-top:4px}
.hit h3{font-size:20px;line-height:26px;letter-spacing:-.01em}
.hit p{color:var(--ink-2);font-size:var(--fs-deck);margin-top:8px;max-width:68ch}
.hit mark{background:color-mix(in srgb,var(--gold) 45%,transparent);color:inherit;border-radius:2px;padding:0 2px}
:root[data-theme=dark] .hit mark{color:var(--ink)}
@media (max-width:760px){.hit{grid-template-columns:1fr;gap:8px}.search-box{padding-inline:16px 8px}}

/* Footer: one spec with the homepage (top --section, bottom 32, phone 24 + safe area) */
.site-foot{background:var(--foot-bg);color:var(--foot-ink);margin-top:0;padding-top:var(--section);--focus:var(--foot-gold)}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:clamp(32px,4vw,64px)}
.foot-brand{display:grid;gap:16px;align-content:start}
.foot-brand img{width:62px;height:47px}
.foot-brand strong{font-size:20px;line-height:26px;font-weight:500}
.foot-brand p{color:var(--foot-muted);font-size:14px;line-height:22px;max-width:34ch}
.site-foot h2{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--foot-gold);margin-bottom:16px}
.site-foot li+li{margin-top:0}
.site-foot li a,.site-foot li button{display:inline-flex;align-items:center;min-height:40px;font-size:15px;line-height:22px;text-align:start}
.site-foot a{color:var(--foot-ink);opacity:.92;transition:opacity var(--dur-2)}
.site-foot a:hover{opacity:1;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.site-foot button{color:var(--foot-ink);opacity:.92}
.site-foot button:hover{opacity:1;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.foot-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;align-items:center;margin-top:clamp(48px,6vw,96px);padding-block:16px 32px;border-top:1px solid var(--foot-line);font-size:13px;line-height:20px;color:var(--foot-muted)}
.foot-bottom a{display:inline-flex;align-items:center;min-height:40px}
.foot-langs{display:flex;gap:16px}
.foot-langs a{font-size:13px}
.foot-langs a[aria-current=true]{color:var(--foot-gold);opacity:1}
@media (pointer:coarse){.site-foot li a,.site-foot li button,.foot-bottom a{min-height:44px}}
@media (max-width:1100px){.foot-grid{grid-template-columns:1fr 1fr}.foot-brand{grid-column:1/-1}}
@media (max-width:760px){.foot-grid{grid-template-columns:1fr}.foot-bottom{padding-bottom:calc(24px + env(safe-area-inset-bottom))}}

/* CTA band: one closing block per page */
.cta-band{display:grid;grid-template-columns:minmax(0,1.3fr) auto;gap:24px 48px;align-items:end;padding-block:var(--section);border-top:1px solid var(--line)}
.cta-band h2{font-size:var(--fs-h2);line-height:var(--lh-h2);letter-spacing:var(--ls-h2);max-width:18ch}
.cta-band p{margin-top:24px;color:var(--ink-2);max-width:56ch}
@media (max-width:1100px){.cta-band{grid-template-columns:1fr}}
@media (max-width:760px){.cta-band p{margin-top:16px}}

/* Cookie consent and confirmation toast: site/consent.css */

/* Map placeholder (functional consent) */
.map-frame{position:relative;border-radius:var(--r-media);overflow:hidden;aspect-ratio:4/3;background:var(--surface-2);border:1px solid var(--line)}
.map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(.35) sepia(.18)}
:root[data-theme=dark] .map-frame iframe{filter:invert(.9) hue-rotate(180deg) grayscale(.4)}
/* Tablets: the contact columns stack and the map spans the row, so it takes a wide 21:9 band
   instead of a tall 4:3 box (R1-DE-11). Phones keep 4:3. */
@media (min-width:761px) and (max-width:1100px){.map-frame{aspect-ratio:21/9}}
.map-placeholder{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:16px;text-align:center;padding:24px;background:radial-gradient(circle at 50% 40%,var(--surface),var(--surface-2))}
.map-placeholder p{font-size:14px;line-height:22px;color:var(--ink-2);max-width:34ch}

/* Entity selector (contact): every tile's emblem and name start on the same line. */
.entities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--grid-gap)}
@media (min-width:761px){.entities{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1101px){.entities{grid-template-columns:repeat(9,minmax(0,1fr));gap:16px}}
.entity{position:relative;display:grid;justify-items:center;align-content:start;text-align:center;gap:8px;padding:16px 12px;border-radius:var(--r-box);border:1px solid var(--line);background:var(--surface);min-height:152px;transition:border-color var(--dur-2),background-color var(--dur-2),color var(--dur-2)}
@media (hover:hover){.entity:hover{border-color:var(--line-strong)}}
.entity img{width:44px;height:44px;object-fit:contain;margin-bottom:4px}
.entity .on-dark{display:none}
.entity strong{font-size:14px;font-weight:500;line-height:1.3}
.entity small{font-size:13px;color:var(--muted);line-height:1.4}
.entity[aria-checked=true]{background:var(--burgundy);border-color:var(--burgundy);color:#fbf7f1}
.entity[aria-checked=true] small{color:var(--gold)}
.entity[aria-checked=true] .on-light{display:none}
.entity[aria-checked=true] .on-dark{display:block}
:root[data-theme=dark] .entity .on-light{display:none}
:root[data-theme=dark] .entity .on-dark{display:block}

/* Reveal on scroll (calm; static when motion is reduced): text rises 24px over 700ms. */
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity var(--dur-4) var(--ease),transform var(--dur-4) var(--ease)}
[data-reveal].is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  [data-reveal]{opacity:1;transform:none}
}
@media print{.site-head,.site-foot,.share,.filters{display:none!important}body{background:#fff;color:#000}}

/* Arabic, written and set Arabic-first (DESIGN-RULES §5.3, rule 7). html:lang(ar) outranks
   visual-pages.css and cinema.css. Headings keep the Latin sizes (one token); only their
   leading opens, for hamza, shadda, tanween and kasra. Reading text is about 1.1× the Latin,
   the floor is 13px, the measure 34em, two weights, no tracking, no capitals, no italics.
   lead 19–22 (phone 18) · body 18 (17) · small 16 (15) · ui 15 · nav 14 · label 14 (13) · min 13 */
html:lang(ar){--ar-lead:clamp(19px,1.45vw,22px);--ar-body:18px;--ar-deck:17px;--ar-small:16px;--ar-ui:15px;--ar-nav:14px;--ar-label:14px;--ar-min:13px;--ar-measure:34em;font-synthesis:none}
@media (max-width:760px){html:lang(ar){--ar-lead:18px;--ar-body:17px;--ar-deck:15px;--ar-small:15px;--ar-label:13px}}
html:lang(ar) body{font-family:var(--font-ar);font-size:var(--ar-body);line-height:1.85}
html:lang(ar) body *{letter-spacing:0!important;text-transform:none!important}
html:lang(ar) :is(em,i,cite,dfn,address,blockquote){font-style:normal}
html:lang(ar) :is(b,strong,th,h1,h2,h3,h4,.req,.sector-no,.sector-index,.sector-index b,.sequence-kicker,.doc .icon,.state .ref b,.tag,.status,.chip,.btn,.link-arrow){font-weight:500}
html:lang(ar) :is(h1,h2,h3,h4,.statement,.interlude-line){text-wrap:balance}
html:lang(ar) :is(p,li,dd,blockquote){text-wrap:pretty}
/* The groups below never overlap: :is() takes the specificity of its strongest argument,
   so each group is ordered after the groups it must override, at equal or higher weight.
   Leading: h1/h2 1.4, h3/h4 1.5; then item titles 1.5, section titles 1.4, page titles 1.35,
   display and scene titles 1.3, quotes 1.55. */
html:lang(ar) :is(h1,h2){line-height:1.4}
html:lang(ar) :is(h3,h4){line-height:1.5}
html:lang(ar) :is(.h3,.prose h2,.approach-line h3,.project-facts h3,.visual-job h3,.review-end h2,.vmc h3,.card h3,.side-item h3,.visual-news-grid h3,.promo h2,.figure.text b,.presence-copy h3,.apply-step h3,.hit h3,.doc h3,.job h3,.numbered h3,.empty h3,.pager span,.entity strong,.foot-brand strong){line-height:1.5}
html:lang(ar) :is(.h2,.study-heading h2,.section-title,.visual-end h2,.section-brief h2,.impact-grid h2,.life-strip h2,.cta-band h2,.company-cta h2,.sequence-head .h2,.feature h2,.visual-page .media-lead .feature h2,.featured-project .project-facts h2,#featured-title,.sector-cinema-head h2,.press-link h2){line-height:1.4}
html:lang(ar) :is(.h1,.study-heading h1,.visual-opening .study-heading h1,.company-hero h1,.article-head h1,.interlude-line){line-height:1.35}
html:lang(ar) :is(.display,.scene-title,.scene-band .scene-title,.scene-title.is-long,.sector-name,.project-plate-lg .years){line-height:1.3}
html:lang(ar) :is(.statement,.statement.long,.leadership-study blockquote,.leader-film blockquote p){line-height:1.55}
/* Sizes: small (secondary copy), then lead, then body; labels and meta last. */
html:lang(ar) :is(.card p,.hit p,.tile p,.approach-line p,.apply-step p,.section-brief>p,.review-end p,.map-placeholder p,.foot-brand p,.notice,.visual-job .company,.job .where,.principles-tags,.interlude-line small,.leader-film figcaption span){font-size:var(--ar-small);line-height:1.8;max-width:var(--ar-measure)}
html:lang(ar) .visual-project-grid .project-card .project-company{font-size:var(--ar-small);line-height:1.8}
html:lang(ar) :is(.lead,.scene-lead,.study-intro,.short-copy,.feature p,.vmc p){font-size:var(--ar-lead);line-height:1.85;max-width:var(--ar-measure)}
html:lang(ar) :is(.prose,details .detail-copy,.sequence-step p:not(.sequence-kicker),.cta-band p,.company-cta p,.empty p,.impact-grid p:not(.eyebrow),.life-strip>div>p:not(.eyebrow)){font-size:var(--ar-body);line-height:1.9;max-width:var(--ar-measure)}
html:lang(ar) .prose p:first-child{line-height:1.85}
html:lang(ar) .reel .sequence-copy>p:not(.sequence-kicker){font-size:var(--ar-small);line-height:1.8}
html:lang(ar) :is(.btn,.link-arrow,.chip,.select select,.film-toggle,.motion-button,.scene-cue,.field>label,.field>.label,.check,.sector-projects,.sector-firms a,.market-list button,.role-link,.study-intro a,.project-facts>a,.reel-with a,.siblings,.file .name,.leader-name,.entity strong,.site-foot li a,.site-foot li button,.company-table){font-size:var(--ar-ui);line-height:1.5}
html:lang(ar) .menu-toggle{font-size:var(--ar-ui);line-height:1.5}
html:lang(ar) :is(.site-nav,.page-return){font-size:var(--ar-nav);line-height:1.5}
html:lang(ar) .brand-word{font-size:19px;line-height:1.3}
html:lang(ar) .brand-word small{font-size:13px;line-height:1.4;margin-top:2px}
html:lang(ar) details summary{font-size:17px;line-height:1.6}
html:lang(ar) :is(.field input,.field select,.field textarea,.input){font-size:16px;line-height:1.8}
/* Email, telephone and web fields keep LTR values but sit on the Arabic edge. */
html:lang(ar) .field :is(input[type=email],input[type=tel],input[type=url]){text-align:right}
html:lang(ar) :is(.eyebrow,.site-foot h2,.company-table thead th,.sequence-kicker){font-size:var(--ar-label);font-weight:500;line-height:1.6}
html:lang(ar) :is(.crumbs,.card-meta,.visual-project-grid .project-card .card-meta,.visual-page .side-item .card-meta,.visual-job-meta,.facts dt,.hero-facts dt,.project-proof dt,.filters .label,.filters .result-count,.status,.tag,.pager small,.hit .kind,.sector-no,.sector-index,.sector-label,.field .hint,.field .why,.field .error,.numbered .n,.tile .n,.approach-line>span,.apply-step .n,.reel-ends,.state .ref,.small,.company-card .year,.company-card .sector,.company-card .place,.leader-role,.doc .meta,.job .meta,.entity small,.figure span,.form-summary dt,.reel-with p,.project-card .plate .where,.chapter-bar){font-size:var(--ar-label);line-height:1.6}
html:lang(ar) :is(.filters .label,.facts dt,.hero-facts dt,.pager small){font-weight:400}
html:lang(ar) :is(.chip .count,.foot-bottom,.foot-langs a,.reel-rail,.doc .icon){font-size:var(--ar-min)}
@media (max-width:1180px){html:lang(ar) .site-nav a{font-size:16px;line-height:1.5}}
@media (max-width:760px){
  html:lang(ar) .site-nav a,html:lang(ar) .menu-theme{font-size:20px;line-height:1.5}
  html:lang(ar) .select select{font-size:16px}
}
@media (max-width:359px){html:lang(ar) .menu-toggle{font-size:0}}

/* Markup from the page scripts (12 Oct). */
.nowrap{white-space:nowrap}
/* Meta lines (ui.js metaLine). English: the items wrap as whole flex items, each with its “·”
   before it; the line box reaches one separator's width past the start edge and that strip is
   clipped, so the dot that would open a line is never seen and none ends one (PH-31, F16).
   Arabic: the items join with the Arabic comma and wrap as text (R1-PA-02). */
.meta-dots{--sep-w:1.1em;display:flex;flex-wrap:wrap;align-items:baseline;min-width:0;margin-inline-start:calc(var(--sep-w) * -1);clip-path:inset(-.5em -.5em -.5em var(--sep-w))}
.meta-dots>.meta-item{min-width:0}
.meta-dots>.meta-item::before{content:'·';content:'·' / '';display:inline-block;width:var(--sep-w);text-align:center;letter-spacing:0;opacity:.5}
.scene .meta-dots>.meta-item::before{opacity:1}
.card-meta>.meta-dots{flex:1 1 auto}
/* Open, the menu shows it: “Close”, and the + turns to × (shell.js). Behind the phone sheet the
   page does not scroll. */
.menu-toggle .menu-icon{display:inline-block;transition:transform var(--dur-2) var(--ease)}
.menu-toggle[aria-expanded=true] .menu-icon{transform:rotate(45deg)}
@media (max-width:760px){html.menu-lock{overflow:hidden}}
/* Companies: phones always show the cards, so the Cards/Table switch is not offered there. */
@media (max-width:760px){.filters .view-row{display:none}}
/* Filters on phones: chip rows run edge to edge; each select takes the full width, so its
   choice (“All companies”, “Al-Waheeb Steel Works”) is never cut by its chevron (F15), and
   the count sits on its own line. */
@media (max-width:760px){
  .filters-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px 16px}
  .filters-row>.select,.filters-row>.select select{width:100%;min-width:0}
  .filters .result-count{margin:0}
  .filters .result-count:empty{display:none}
}
/* Search: on phones the submit is an arrow button, so the field keeps its width; the button
   keeps its name for assistive technology. */
.search-go svg{display:none}
@media (max-width:760px){
  .search-go{width:48px;min-width:48px;padding:0;justify-content:center}
  .search-go svg{display:block;width:18px;height:18px}
  .search-go-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* Cookie policy: the three tables share one column grid (cookies.js). On phones each row
   stacks instead of scrolling sideways: the cookie's name, then provider, purpose and
   duration, each under its label (the column heads stay for assistive technology). */
.cookie-table{table-layout:fixed}
/* One code face in both languages (the browser's Arabic default monospace is Courier). */
.cookie-table code{font-family:ui-monospace,Consolas,'SFMono-Regular','Liberation Mono',Menlo,monospace;font-size:.9em}
@media (max-width:760px){
  .cookie-table{display:block;width:100%;min-width:0;table-layout:auto}
  .cookie-table colgroup{display:none}
  .cookie-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .cookie-table :is(tbody,tr,th,td){display:block}
  .cookie-table tbody tr{padding-block:16px;border-bottom:1px solid var(--line)}
  .cookie-table tbody tr:first-child{border-top:1px solid var(--line-strong)}
  .cookie-table :is(th,td){padding:0;border:0}
  .cookie-table tbody th{margin-bottom:8px;font-weight:500}
  .cookie-table td{display:grid;grid-template-columns:minmax(88px,28%) minmax(0,1fr);gap:16px;padding-block:4px}
  .cookie-table td::before{content:attr(data-label);content:attr(data-label) / '';color:var(--muted);font-size:13px}
  html:lang(ar) .cookie-table td::before{font-size:var(--ar-label)}
}
/* A vacancy row is one destination: its title link covers the row (PH-21). */
.job .stretched::after{content:'';position:absolute;inset:0;z-index:1}
.job a:focus-visible{outline:none}
.job:has(a:focus-visible){outline:2px solid var(--focus);outline-offset:4px;border-radius:var(--r-media)}
/* A filter that sits at the row's far end on wider screens (media, search); on phones it
   takes its place in the grid below (DS-22). */
@media (min-width:761px){.filters-row>.push{margin-inline-start:auto}}
/* Contact on phones and tablets: the form comes before the office details, and on phones the
   nine entities sit in three even rows of three (PH-04, PH-34). */
@media (max-width:1100px){.contact-cols [data-form-host]{order:-1}}
@media (max-width:760px){
  .entities{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .entity{min-height:0;padding:12px 8px;gap:4px}
  .entity img{width:36px;height:36px}
  .entity strong{font-size:13px}
  .entity small{display:none}
}
/* Arabic tiles keep a two-word name on one line (contact.js tileName): narrower padding below
   375px, then a step down in size, so «مجوهرات غزلان» fits down to 320px (R1-PA-05). */
@media (max-width:374px){html:lang(ar) .entity{padding-inline:4px}}
@media (max-width:349px){html:lang(ar) .entities .entity strong{font-size:14px}}
@media (max-width:329px){html:lang(ar) .entities .entity strong{font-size:13px}}
/* Footer on phones: two columns, the brand and the companies across both (PH-19). */
@media (max-width:760px){
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 16px}
  .foot-brand{grid-column:1/-1}
  .foot-grid>nav[aria-labelledby=foot-companies]{grid-column:1/-1;order:1}
  .foot-grid>nav[aria-labelledby=foot-companies] ul{columns:2;column-gap:16px}
}

/* ── UX pass, 25 Nov 2026 ─────────────────────────────────────────────────────────────
   "The Group" in the bar (About, Sectors, Documents) and one row for the way back. */
.nav-group{position:relative;display:flex;align-items:center}
.nav-group-toggle{position:relative;display:inline-flex;align-items:center;gap:8px;padding:12px 0;font:inherit;color:inherit;white-space:nowrap}
.nav-group-toggle::after{content:'';position:absolute;bottom:4px;inset-inline:0;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform var(--dur-3) var(--ease)}
[dir=rtl] .nav-group-toggle::after{transform-origin:right}
@media (hover:hover){.nav-group:hover .nav-group-toggle::after{transform:scaleX(1)}}
.nav-group.is-current .nav-group-toggle::after{transform:scaleX(1);background:var(--burgundy)}
body.over-scene .nav-group.is-current .nav-group-toggle::after,:root[data-theme=dark] .nav-group.is-current .nav-group-toggle::after{background:var(--gold)}
.nav-group-caret{width:6px;height:6px;border-inline-end:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform var(--dur-2) var(--ease)}
[dir=rtl] .nav-group-caret{transform:translateY(-2px) rotate(-45deg)}
.nav-group.is-open .nav-group-caret{transform:translateY(1px) rotate(-135deg)}
[dir=rtl] .nav-group.is-open .nav-group-caret{transform:translateY(1px) rotate(135deg)}
.nav-group-list{position:absolute;top:100%;inset-inline-start:-20px;z-index:3;display:none;flex-direction:column;min-width:200px;padding:8px 20px 12px;border-radius:12px;background:rgba(28,5,9,.97);border:1px solid var(--hairline);box-shadow:0 18px 40px rgba(16,9,11,.3);color:var(--on-dark);text-shadow:none;--focus:var(--gold)}
.nav-group.is-open .nav-group-list{display:flex}
@media (hover:hover) and (min-width:1181px){.nav-group:hover .nav-group-list{display:flex}}
.site-nav .nav-group-list a{display:flex;align-items:center;min-height:44px;padding:0;color:var(--on-dark)}
.site-nav .nav-group-list a::after{display:none}
.site-nav .nav-group-list a:hover,.site-nav .nav-group-list a[aria-current=page]{color:var(--gold)}
@media (max-width:1180px){
  .nav-group{display:block;margin-top:20px}
  .nav-group-toggle{pointer-events:none;padding:0 0 4px;font-size:12px;line-height:20px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
  .nav-group-toggle::after,.nav-group-caret{display:none}
  .nav-group-list{position:static;display:flex;min-width:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
  .site-nav .nav-group-list a{min-height:50px;border-bottom:1px solid rgba(246,238,228,.08)}
  html:lang(ar) .nav-group-toggle{letter-spacing:0;font-size:14px}
}
@media (max-width:760px){.site-nav .nav-group-list a{min-height:56px}}
/* The way back and the breadcrumb share one row; the trail gives way first when space is short. */
.return-nav{display:flex;align-items:center;min-width:0;flex-shrink:0}
.return-crumbs{display:flex;align-items:center;justify-content:flex-end;min-width:0}
.return-crumbs nav{min-width:0}
.return-crumbs .crumbs{flex-wrap:nowrap;padding:0;margin:0;color:inherit;font-weight:400;white-space:nowrap}
.return-crumbs .crumbs li{min-width:0;flex-shrink:0}
.return-crumbs .crumbs li:last-child{flex-shrink:1;overflow:hidden}
.return-crumbs .crumbs [aria-current]{display:block;max-width:44ch;overflow:hidden;text-overflow:ellipsis;opacity:.72;color:inherit}
.return-crumbs .crumbs a{margin-block:0;color:inherit}
@media (max-width:760px){.return-crumbs{display:none}}
/* Utility pages (search, documents, privacy, cookies): a short opening, so the content the
   visitor came for starts on the first screen. */
.scene.scene-slim{min-height:0}
.scene-slim .scene-copy{padding-top:calc(var(--head) + 32px);padding-bottom:104px}
.scene-slim .scene-title{font-size:var(--fs-title);line-height:var(--lh-title);letter-spacing:-.025em;max-width:24ch}
@media (max-width:760px){.scene-slim .scene-copy{padding-top:calc(var(--head) + 20px);padding-bottom:64px}}
/* Search suggestions are tapped as often as clicked: full-height targets on touch screens. */
@media (pointer:coarse){[data-suggest]{display:inline-flex;align-items:center;min-height:44px;padding-inline:6px}}
/* An article's or a project's text as the panel's editor writes it since 1 Dec 2026 (site/preview.js › richText): a
   third level of heading, underline, a divider, pictures from the library with their captions, and tables. A figure
   takes the text column's full width with its caption below; a table scrolls sideways inside its own box, so a wide
   one never widens the page on a phone. */
.prose h4{font-size:1.12em;line-height:1.45;font-weight:500;color:var(--ink);margin-top:4px}
.prose u{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}
.prose hr{width:100%;height:0;margin:8px 0;border:0;border-top:1px solid var(--line-strong)}
.prose figure{display:grid;gap:12px;margin:8px 0}
.prose figure img{display:block;width:100%;height:auto;border-radius:var(--r-media);background:var(--line)}
.prose figcaption{color:var(--muted,var(--ink-2));font-size:14px;line-height:1.6}
.prose .table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--r-box)}
.prose .table-scroll:focus-visible{outline:2px solid var(--focus,currentColor);outline-offset:2px}
.prose table{width:100%;min-width:480px;border-collapse:collapse;font-size:.94em;line-height:1.55}
.prose :is(th,td){padding:12px 16px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top}
.prose th{color:var(--ink);font-weight:500}
.prose thead th{border-bottom-color:var(--line-strong);white-space:nowrap}
.prose tbody tr:last-child :is(th,td){border-bottom:0}
html:lang(ar) .prose h4{line-height:1.6}
html:lang(ar) .prose figcaption{font-size:var(--ar-small,14px);line-height:1.8}
html:lang(ar) .prose table{font-size:1em;line-height:1.8}

/* ---- Coming soon (Ahmad, 5 Dec 2026; site/coming-soon.js) ----
   The quiet line: a gold hairline ending in the company theme's node, then «قريباً» / "Coming soon" in gold at the
   H3 size, weight 400. The hairline draws, the theme's mark runs it once and the node lights; nothing loops. */
.soon-line{display:flex;align-items:center;gap:16px;margin-top:24px;font-size:var(--fs-h3);line-height:1.2;font-weight:400;letter-spacing:-.01em;color:var(--gold)}
html:lang(ar) .soon-line{line-height:1.5;letter-spacing:0}
.soon-rule{--w:64px;--s:1;position:relative;flex:none;width:var(--w);height:16px}
[dir=rtl] .soon-rule{--s:-1}
.soon-rule::before{content:'';position:absolute;top:50%;left:0;right:0;height:1px;background:rgba(235,193,125,.55);transform-origin:left}
[dir=rtl] .soon-rule::before{transform-origin:right}
.soon-node{position:absolute;top:50%;right:-4.5px;width:9px;height:9px;margin-top:-4.5px;border:1.5px solid currentColor;border-radius:50%;background:currentColor}
[dir=rtl] .soon-node{right:auto;left:-4.5px}
/* The node takes the company theme's shape (site/company-themes.css): facets a diamond, the square-cut ones a square. */
main[data-ct=facets] .soon-node{border-radius:1px;transform:rotate(45deg)}
main:is([data-ct=forge],[data-ct=circuit],[data-ct=elevation]) .soon-node{border-radius:1px}
.soon-spark{position:absolute;top:50%;left:-7px;width:14px;height:14px;margin-top:-7px;opacity:0;color:var(--gold-2)}
[dir=rtl] .soon-spark{left:auto;right:-7px}
.soon-spark svg{display:block;width:100%;height:100%}
@media (max-width:760px){.soon-line{margin-top:16px;gap:12px}.soon-rule{--w:48px}}
@media (prefers-reduced-motion:no-preference){
  .soon-line{animation:soon-rise var(--dur-4) var(--ease) 360ms both}
  .soon-rule::before{animation:soon-draw var(--dur-5) var(--ease) 520ms both}
  .soon-node{animation:soon-node var(--dur-3) var(--ease) 1500ms both}
  main[data-ct=facets] .soon-node{animation-name:soon-node-turned}
  .soon-spark{animation:soon-spark 1100ms var(--ease-cut) 900ms both}
}
@keyframes soon-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes soon-draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes soon-node{from{opacity:0;background:transparent}to{opacity:1}}
@keyframes soon-node-turned{from{opacity:0;background:transparent;transform:rotate(45deg) scale(.6)}to{opacity:1;transform:rotate(45deg)}}
@keyframes soon-spark{0%{opacity:0;transform:translateX(0) scale(.6)}20%,80%{opacity:1}100%{opacity:0;transform:translateX(calc(var(--s) * var(--w))) scale(1)}}

/* The small label on a card (Companies, projects) and in the sectors' strip: gold on the media's dark, a 1 px gold line.
   Latin in the eyebrow style (the only capitals the rules allow), Arabic at 13 px with no tracking. */
.soon-tag{display:inline-flex;align-items:center;min-height:26px;padding:3px 10px;border:1px solid rgba(235,193,125,.55);border-radius:var(--r-pill);background:rgba(18,6,10,.72);color:var(--gold);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
html:lang(ar) .soon-tag{font-size:13px;line-height:1.6;letter-spacing:0;text-transform:none}
.card-media>.soon-tag{position:absolute;top:12px;inset-inline-start:12px;z-index:2;pointer-events:none}
/* A coming soon company with no picture yet: its cover, as the opening draws it (the accent's gradient and its mark). */
.soon-card-cover{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(125deg,#290e15,var(--accent-c,var(--burgundy)))}
[dir=rtl] .soon-card-cover{background:linear-gradient(235deg,#290e15,var(--accent-c,var(--burgundy)))}
.card-media .soon-card-cover img{width:44%;height:44%;object-fit:contain;opacity:.32;transform:none}
.card-meta .soon-tag{background:none;border-color:var(--line-strong);color:var(--gold-ink);min-height:24px;padding-block:2px}
/* The sectors' stage and strip (site/pages/sectors.js): a coming soon sector's cover and its label. */
.sector-shot>.soon-cover{position:absolute;inset:0;background:linear-gradient(125deg,#290e15,var(--burgundy))}
[dir=rtl] .sector-shot>.soon-cover{background:linear-gradient(235deg,#290e15,var(--burgundy))}
.sector-copy .soon-line{margin-top:0}
.sector-thumb .soon-card-cover{position:relative;height:100%}
.sector-thumb .soon-card-cover img{width:40%;height:40%;object-fit:contain;opacity:.32}
.sector-strip .soon-tag{justify-self:start;min-height:24px;padding:2px 8px;background:none;border-color:var(--line-strong);color:var(--gold-ink);font-size:13px;line-height:18px;letter-spacing:0;text-transform:none}

/* Cookie consent (GHZ-PRD-03 p16, PRIV-01): banner, settings dialog and confirmation.
   Shared by the inner pages and the homepage; on the inner pages the colours follow
   the light or dark appearance, elsewhere they fall back to the light brand values.
   Sizes and radii follow site/DESIGN-RULES.md; every token has a fallback because the
   homepage does not load site.css. */
.consent,.consent-dialog,.toast{
  --c-bg:var(--bg,#f5eee4);--c-surface:var(--surface,#fbf7f1);--c-ink:var(--ink,#2a0d12);--c-ink-2:var(--ink-2,#5b4244);
  --c-line:var(--line,rgba(64,21,27,.14));--c-line-strong:var(--line-strong,rgba(64,21,27,.28));
  --c-accent:var(--accent,#70050a);--c-accent-ink:var(--accent-ink,#fff);--c-accent-soft:var(--accent-soft,rgba(112,5,10,.08));
  --c-focus:var(--focus,#70050a);--c-ease:var(--ease,cubic-bezier(.22,1,.36,1));
  --c-radius:var(--r-box,14px);--c-shadow:var(--shadow-2,0 40px 100px -40px rgba(23,2,8,.55));
  font-family:'Ghozlan Latin',Inter,'Ghozlan Arabic',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;letter-spacing:normal;text-transform:none;-webkit-font-smoothing:antialiased
}
/* Dark appearance: explicit values, so pages without the site tokens (the homepage) match. */
html[data-theme=dark] :is(.consent,.consent-dialog,.toast){--c-bg:#12060a;--c-surface:#1c0a0f;--c-ink:#f3ebe1;--c-ink-2:#d6c3b8;--c-line:rgba(243,235,225,.13);--c-line-strong:rgba(243,235,225,.26);--c-accent:#ebc17d;--c-accent-ink:#2a0d12;--c-accent-soft:rgba(235,193,125,.1);--c-focus:#ebc17d;--c-shadow:0 30px 60px -36px rgba(0,0,0,.8)}
:lang(ar) :is(.consent,.consent-dialog,.toast){font-family:'Ghozlan Arabic','Ghozlan Latin',Inter,'Segoe UI','Geeza Pro','Noto Sans Arabic',Tahoma,sans-serif;font-synthesis:none}
:is(.consent,.consent-dialog) :is(h2,h3,p){margin:0;color:inherit;font-weight:inherit;letter-spacing:normal;text-transform:none}
:is(.consent,.consent-dialog) :is(h2,h3){font-weight:500;line-height:1.25}
:is(.consent,.consent-dialog) :focus-visible{outline:2px solid var(--c-focus);outline-offset:4px;border-radius:4px}
/* Buttons: the .btn-small spec at 44px (consent decisions are tapped as often as clicked). */
:is(.consent,.consent-dialog) .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--c-accent);background:var(--c-accent);color:var(--c-accent-ink);font:inherit;font-size:13px;font-weight:500;line-height:1.3;white-space:nowrap;cursor:pointer;transition:transform var(--dur-1,160ms) var(--c-ease),background-color var(--dur-2,240ms)}
@media (hover:hover){:is(.consent,.consent-dialog) .btn:hover{filter:brightness(1.12)}}
:is(.consent,.consent-dialog) .btn:active{transform:scale(.98)}
:is(.consent,.consent-dialog) .btn-ghost{background:transparent;color:var(--c-ink);border-color:var(--c-line-strong)}
@media (hover:hover){:is(.consent,.consent-dialog) .btn-ghost:hover{background:var(--c-accent-soft);filter:none}}

/* The banner sits on the page's left edge (right in Arabic), above the safe area. */
.consent{position:fixed;z-index:120;inset-inline-start:var(--edge,var(--gutter,24px));bottom:calc(24px + env(safe-area-inset-bottom));width:min(480px,calc(100vw - 32px));padding:24px;border-radius:var(--c-radius);background:var(--c-surface);color:var(--c-ink);border:1px solid var(--c-line);box-shadow:var(--c-shadow);display:grid;gap:12px;transform:translateY(16px);opacity:0;transition:opacity var(--dur-3,400ms) var(--c-ease),transform var(--dur-3,400ms) var(--c-ease)}
.consent.is-in{transform:none;opacity:1}
.consent h2{font-size:16px;line-height:24px}
.consent p{font-size:14px;line-height:22px;color:var(--c-ink-2)}
.consent .actions{display:flex;flex-wrap:wrap;gap:8px}
.consent a{color:var(--c-accent);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
/* Homepage, desktop: the banner sits on the side away from the hero copy and its calls
   (right in English, left in Arabic), clear of the first screen's buttons. */
@media (min-width:761px){
  body.scroll-preview .consent{inset-inline-start:auto;inset-inline-end:var(--gutter,max(24px,5vw));bottom:96px;width:min(440px,calc(100vw - 48px))}
}

.consent-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:0;border:0;border-radius:var(--c-radius);background:var(--c-surface);color:var(--c-ink);box-shadow:var(--c-shadow)}
.consent-dialog::backdrop{background:rgba(18,6,10,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.consent-dialog .inner{padding:clamp(24px,3vw,40px);display:grid;gap:16px}
.consent-dialog h2{font-size:var(--fs-h3,24px);line-height:1.2}
.consent-dialog .muted{color:var(--c-ink-2)}
.consent-dialog .small{font-size:14px;line-height:22px}
.consent-dialog .form-actions{display:flex;flex-wrap:wrap;gap:8px}
.consent-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 0;border-top:1px solid var(--c-line)}
.consent-option h3{font-size:16px;line-height:24px}
.consent-option p{font-size:14px;line-height:22px;color:var(--c-ink-2);margin-top:4px}
.consent-dialog .switch{position:relative;width:52px;height:32px;flex-shrink:0}
.consent-dialog .switch input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer;z-index:1}
.consent-dialog .switch span{position:absolute;inset:0;border-radius:999px;background:var(--c-line-strong);transition:background-color var(--dur-2,240ms)}
.consent-dialog .switch span::after{content:'';position:absolute;top:4px;inset-inline-start:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:transform var(--dur-3,400ms) var(--c-ease)}
.consent-dialog .switch input:checked+span{background:var(--c-accent)}
.consent-dialog .switch input:checked+span::after{transform:translateX(20px)}
[dir=rtl] .consent-dialog .switch input:checked+span::after{transform:translateX(-20px)}
.consent-dialog .switch input:disabled+span{opacity:.55}
.consent-dialog .switch input:focus-visible+span{outline:2px solid var(--c-focus);outline-offset:4px}

.toast{position:fixed;z-index:130;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,20px);opacity:0;padding:12px 24px;border-radius:999px;background:var(--c-ink);color:var(--c-bg);font-size:14px;line-height:20px;transition:opacity var(--dur-3,400ms),transform var(--dur-3,400ms) var(--c-ease);pointer-events:none}
.toast.is-in{opacity:1;transform:translate(-50%,0)}

/* Arabic: the first Arabic a visitor reads, set at the Arabic sizes (§5.3). */
:lang(ar) .consent h2{font-size:18px;line-height:1.5}
:lang(ar) :is(.consent p,.consent a,.consent-option p,.consent-dialog .small){font-size:15px;line-height:1.8}
:lang(ar) :is(.consent,.consent-dialog) .btn{font-size:15px}
:lang(ar) .consent-option h3{font-size:17px;line-height:1.5}
:lang(ar) .consent-dialog h2{line-height:1.4}
:lang(ar) .toast{font-size:15px}

/* Phones: a compact sheet docked above the safe area; two decisions side by side, the
   settings link beneath them; no backdrop blur. */
@media (max-width:760px){
  /* UX pass, 25 Nov 2026: a low bar, not a sheet. The heading is kept for assistive technology
     only, the text is set small, and the three choices share one row, so the page's first
     headline stays readable above it. */
  .consent{inset-inline:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:auto;padding:12px 14px;gap:8px}
  .consent h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .consent p{font-size:13px;line-height:19px}
  .consent .actions{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;align-items:center}
  .consent .actions .btn{white-space:normal;padding:6px 8px;min-height:44px;font-size:13px}
  .consent [data-consent=custom]{min-height:44px;padding-inline:6px;border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
  :lang(ar) :is(.consent p,.consent a){font-size:14px;line-height:1.65}
  :lang(ar) .consent .actions .btn{font-size:14px}
  .consent-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}
  .consent-dialog .form-actions .btn{flex:1 1 auto}
}
/* Tablets (761–1180 px; Ahmad, 25 Nov 2026): the inner pages get a low bar too, sized for the width: the text and
   the three choices in one row (the text wraps beside the choices on the narrower tablets), the heading kept for
   assistive technology only, Customise as a quiet link. The homepage keeps its own placement. */
@media (min-width:761px) and (max-width:1180px){
  body:not(.scroll-preview) .consent{inset-inline:16px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;padding-block:12px;padding-inline:20px 12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px}
  body:not(.scroll-preview) .consent h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body:not(.scroll-preview) .consent p{font-size:14px;line-height:21px;max-width:72ch}
  body:not(.scroll-preview) .consent .actions{flex-wrap:nowrap;align-items:center;gap:8px}
  body:not(.scroll-preview) .consent [data-consent=custom]{padding-inline:8px;border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
  :lang(ar) body:not(.scroll-preview) :is(.consent p,.consent a){font-size:15px;line-height:1.7}
}
@media (prefers-reduced-motion:reduce){.consent,.toast{transition:none}}
@media print{.consent,.toast{display:none!important}}
/* UX pass, 25 Nov 2026 — homepage, desktop: while the banner is open the featured-project
   card behind it steps aside, so the two never sit on top of each other. */
@media (min-width:761px){body.scroll-preview:has(.consent.is-in) .hero-project-discovery{opacity:0!important;visibility:hidden;pointer-events:none}}

/* The story continues on the inner pages (site/cinema.js): opening scenes from the
   homepage films, interludes, sequences, word and shutter reveals, the chapter indicator
   and the brand curtain between pages. Same palette and motion as the homepage; spacing,
   type and radii follow site/DESIGN-RULES.md (tokens in site.css). */

/* Film moments */
.film{position:relative;overflow:hidden;background:#1a0a0e}
.film-poster,.film-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.film-video{opacity:0;transition:opacity var(--dur-5) var(--ease)}
.film.is-playing .film-video{opacity:1}
.film-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(18,6,10,.6) 0,rgba(18,6,10,.08) 26%,rgba(18,6,10,.18) 52%,rgba(18,6,10,.86) 100%),linear-gradient(90deg,rgba(18,6,10,.55),rgba(18,6,10,0) 62%)}
[dir=rtl] .film-shade{background:linear-gradient(180deg,rgba(18,6,10,.6) 0,rgba(18,6,10,.08) 26%,rgba(18,6,10,.18) 52%,rgba(18,6,10,.86) 100%),linear-gradient(270deg,rgba(18,6,10,.55),rgba(18,6,10,0) 62%)}
/* Opening scenes carry crumbs, labels and the title over the film: the scrim holds the
   upper band too, so small text keeps its contrast over bright sky or sparks (§8.2). */
.scene .film-shade{background:linear-gradient(180deg,rgba(18,6,10,.66) 0,rgba(18,6,10,.4) 26%,rgba(18,6,10,.42) 52%,rgba(18,6,10,.88) 100%),linear-gradient(90deg,rgba(18,6,10,.6),rgba(18,6,10,0) 62%)}
[dir=rtl] .scene .film-shade{background:linear-gradient(180deg,rgba(18,6,10,.66) 0,rgba(18,6,10,.4) 26%,rgba(18,6,10,.42) 52%,rgba(18,6,10,.88) 100%),linear-gradient(270deg,rgba(18,6,10,.6),rgba(18,6,10,0) 62%)}
.film-still .film-poster{animation:push-in 22s linear both}
@keyframes push-in{from{transform:scale(1.02)}to{transform:scale(1.1)}}
/* The Still view of the visual pages (site/visual-pages.js): films rest on their poster. */
body[data-view=still] .film-video{opacity:0}
body[data-view=still] :is(.film-still,.sequence-frame) .film-poster{animation:none;transition:none;transform:none}

/* Opening scene: the header floats over it, the film pushes in as the page lifts away */
body.has-scene main{margin-top:calc(-1 * var(--head))}
.scene{position:relative;isolation:isolate;min-height:max(640px,100svh);display:flex;flex-direction:column;justify-content:flex-end;color:var(--on-dark);overflow:hidden;background:#12060a;view-transition-name:scene-film;--focus:var(--gold)}
.scene-band{min-height:max(500px,66svh)}
.scene>.film{position:absolute;inset:0;z-index:-1}
.scene>.film :is(.film-poster,.film-video){transform:translate3d(0,calc(var(--p,0) * 6%),0) scale(calc(1.03 + var(--p,0) * .1));transform-origin:50% 40%}
.scene>.film-still .film-poster{animation:none}
.scene::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/cinematic-scroll/assets/web/grain.png');opacity:.07;mix-blend-mode:overlay}
.scene-copy{position:relative;padding-top:calc(var(--head) + 40px);padding-bottom:clamp(128px,16vh,160px);transform:translate3d(0,calc(var(--p,0) * -70px),0);opacity:calc(1 - var(--p,0) * 1.25)}
.scene-crumbs .crumbs{padding-top:0;margin-bottom:clamp(24px,3vh,32px);color:var(--on-dark-2)}
.scene-crumbs .crumbs a{color:var(--on-dark)}
.scene-crumbs .crumbs a:hover{color:#fff}
.scene .crumbs [aria-current]{color:rgba(246,238,228,.9)}
/* Phones: a detail page's trail stops at its section; the page's own name is the title just
   below it (PH-29). */
@media (max-width:760px){.scene-crumbs .crumbs li:nth-child(n+3):last-child{display:none}}
.scene :is(.eyebrow,.crumbs){text-shadow:0 1px 14px rgba(18,6,10,.6)}
.scene .eyebrow{color:var(--gold)}
.scene-eyebrow{margin-bottom:16px}
/* Page titles: display on full scenes and utility bands, Title L when long (§5.2). */
.scene-title{font-size:var(--fs-display);line-height:var(--lh-display);letter-spacing:var(--ls-display);max-width:15ch;font-weight:500;color:var(--on-dark);text-wrap:balance}
.scene-band .scene-title{max-width:18ch}
.scene-title.is-long{font-size:var(--fs-title);line-height:var(--lh-title);letter-spacing:-.025em;max-width:22ch}
.scene-lead{margin-top:24px;max-width:62ch;font-size:var(--fs-lead);line-height:1.65;color:rgba(246,238,228,.88)}
.scene-actions{margin-top:32px}
.scene .btn{background:#fbf7f1;color:#2a0d12}
.scene .btn-ghost{background:transparent;color:var(--on-dark);border-color:var(--line-on-dark)}
@media (hover:hover){.scene .btn-ghost:hover{background:rgba(246,238,228,.1)}}
.scene .emblem-on-film{width:62px;height:62px;margin-bottom:24px}
.scene-foot{position:absolute;inset-inline:0;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:24px;padding-block:16px 24px}
.scene-foot::before{content:'';position:absolute;top:0;inset-inline:var(--edge);height:1px;background:rgba(246,238,228,.24)}
.scene-cue{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:13px;line-height:20px;font-weight:500;color:var(--on-dark)}
.scene-cue span{font-size:18px;color:var(--gold);animation:cue 2.4s var(--ease) infinite}
@keyframes cue{0%,100%{transform:translateY(-2px)}50%{transform:translateY(4px)}}
/* Film text control: the .btn-small spec in glass. */
.film-toggle{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:var(--r-pill);border:1px solid var(--line-on-dark);background:var(--glass);font-size:13px;line-height:20px;font-weight:500;color:var(--on-dark);transition:background-color var(--dur-2)}
@media (hover:hover){.film-toggle:hover{background:rgba(246,238,228,.1)}}
@media (pointer:coarse){.film-toggle{min-height:44px}}
.story-anchor{display:block;height:0;scroll-margin-top:var(--head)}

/* The first section after a scene opens a tight gap below it */
.story-anchor+section.wrap:not(.section){padding-top:var(--section-tight)}
.scene .search-box{width:min(680px,100%);background:#fbf7f1;color:#2a0d12;border-color:transparent}
.scene .search-box input{color:#2a0d12}
.scene .search-box .btn{background:#70050a;color:#fff}
.scene-note{margin-top:12px;color:var(--on-dark-2);flex-basis:100%}
.sector-anchor{display:block;position:relative;top:calc(-1 * var(--head) - 24px);visibility:hidden}
.sequence-step .sector-companies{display:grid;gap:8px;margin-top:8px}
.company-card .card-media{margin:-24px -24px 0;border-radius:calc(var(--r-box) - 1px) calc(var(--r-box) - 1px) 0 0;aspect-ratio:16/9}
@media (max-width:760px){.company-card .card-media{margin:-16px -16px 0}}

/* A company's emblem on its film, and the facts beneath the scene */
.scene-emblem{margin-bottom:16px}
.scene-emblem .emblem-lg{width:76px;height:76px;object-fit:contain}
.scene-emblem .on-light{display:none!important}
.scene-emblem .on-dark{display:block!important}
.company-facts{padding-top:clamp(24px,3vw,40px)}
.company-facts .hero-facts{border-top:0;border-bottom:1px solid var(--line);padding-bottom:16px}
.company-facts .hero-facts div{border-inline-end-color:var(--line)}
.company-facts .hero-facts dd{font-size:16px}
.scene .card-meta,.scene .card-meta .sep{color:var(--gold)}

/* The header over the opening scene: site.css, with the header itself. */

/* Words rise into place; photographs open like a shutter; figures count */
[data-lines] .w{display:inline-block;overflow:hidden;vertical-align:top;padding-block:.1em .16em;margin-block:-.1em -.16em}
/* Arabic reveal masks hold hamza, shadda and kasra (§5.3). */
:lang(ar) [data-lines] .w{padding-block:.3em .35em;margin-block:-.3em -.35em}
[data-lines] .w>span{display:inline-block;transform:translateY(112%);transition:transform var(--dur-5) var(--ease);transition-delay:calc(var(--i,0) * 42ms)}
[data-lines].is-in .w>span{transform:none}
/* Photographs open like the homepage curtain: a burgundy panel lifts off the picture. */
[data-wipe]{position:relative;overflow:hidden;isolation:isolate}
[data-wipe]::before{content:'';position:absolute;inset:0;z-index:4;background:var(--burgundy);transform-origin:50% 0;transition:transform var(--dur-5) cubic-bezier(.65,0,.15,1);pointer-events:none}
[data-wipe].is-in::before{transform:scaleY(0)}
[data-wipe] img{transform:scale(1.12);transition:transform 2s var(--ease)}
[data-wipe].is-in img{transform:none}

/* Interlude: a film moment between sections */
.interlude{position:relative;isolation:isolate;min-height:min(88svh,860px);display:flex;align-items:flex-end;color:var(--on-dark);overflow:hidden;background:#12060a;--focus:var(--gold)}
.interlude>.film{position:absolute;inset:-9% 0;z-index:-1}
.interlude>.film :is(.film-poster,.film-video){transform:translate3d(0,calc(var(--q,0) * -7%),0) scale(1.06)}
.interlude::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/cinematic-scroll/assets/web/grain.png');opacity:.07;mix-blend-mode:overlay}
.interlude-copy{padding-block:clamp(80px,14vh,160px)}
.interlude .eyebrow{color:var(--gold);margin-bottom:16px;text-shadow:0 1px 14px rgba(18,6,10,.6)}
.interlude-line{font-size:var(--fs-title);line-height:var(--lh-title);letter-spacing:-.025em;max-width:19ch;font-weight:500;color:var(--on-dark);text-wrap:balance}
.interlude-line small{display:block;margin-top:24px;font-size:var(--fs-deck);line-height:1.7;letter-spacing:0;color:var(--on-dark-2);font-weight:400}

/* Sequence: a sticky film window that changes with each step */
.sequence{padding-block:var(--section)}
.sequence-head{max-width:var(--max)}
.sequence-head .h2{margin-top:16px;max-width:20ch}
.sequence-head .lead{margin-top:24px}
.sequence-body{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(32px,5vw,96px);align-items:start;margin-top:var(--head-gap)}
.sequence-stage{position:sticky;top:calc(var(--head) + 24px);height:min(74svh,680px);border-radius:var(--r-media);overflow:hidden;background:#12060a;isolation:isolate}
.sequence-frame{position:absolute;inset:0;opacity:0;transition:opacity var(--dur-5) var(--ease)}
.sequence-frame.is-active{opacity:1}
.sequence-frame>.film{position:absolute;inset:0}
.sequence-frame .film-poster{transform:scale(1.08);transition:transform 9s linear}
.sequence-frame.is-active .film-poster{transform:scale(1)}
.sequence-frame .film-still .film-poster{animation:none}
/* The counting year: a showcase numeral, never above the display size. */
.sequence-mark{position:absolute;inset-inline-start:clamp(16px,2.4vw,32px);bottom:clamp(16px,2vw,24px);z-index:2;font-size:var(--fs-display);font-weight:500;letter-spacing:-.03em;line-height:1;color:var(--on-dark);font-variant-numeric:tabular-nums;text-shadow:0 12px 40px rgba(0,0,0,.35)}
.sequence-steps{display:grid}
.sequence-step{min-height:min(74svh,680px);display:flex;flex-direction:column;justify-content:center;padding-block:32px;border-top:1px solid var(--line)}
.sequence-copy{display:flex;flex-direction:column;gap:16px}
.sequence-step:last-child{border-bottom:1px solid var(--line)}
/* Steps out of view step back in colour, never below readable contrast. */
.sequence-step :is(h3,p,.sequence-kicker){transition:color var(--dur-4) var(--ease)}
.sequence-step:not(.is-active) :is(h3,p,.sequence-kicker){color:var(--muted)}
.sequence-step p{color:var(--ink-2);max-width:46ch}
.sequence-step .link-arrow{align-self:flex-start;margin-top:4px}
.sequence-kicker{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink)}

/* Leadership: the chairman's office from the homepage film, with his words over it */
.leader-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,96px);align-items:start}
.leader-film{position:sticky;top:calc(var(--head) + 24px);margin:0;aspect-ratio:4/5;max-height:calc(100svh - var(--head) - 48px);border-radius:var(--r-media);overflow:hidden;isolation:isolate;color:var(--on-dark)}
.leader-film>.film{position:absolute;inset:0}
.leader-film .chairman-still .film-poster{object-position:88% 42%}
.leader-film figcaption{position:absolute;inset-inline:0;bottom:0;z-index:2;padding:clamp(24px,3vw,40px) clamp(24px,3vw,40px) calc(clamp(24px,3vw,40px) + 48px)}
.leader-film blockquote p{font-size:clamp(22px,2.1vw,32px);line-height:1.3;letter-spacing:-.015em;font-weight:400;text-wrap:balance}
.leader-film figcaption span{display:block;margin-top:16px;font-size:13px;color:var(--gold)}
.closing-actions{padding-block:clamp(32px,5vw,64px) clamp(64px,8vw,128px)}
@media (max-width:1100px){.leader-grid{grid-template-columns:1fr}.leader-film{position:relative;top:0;aspect-ratio:4/3}}

/* Chapter indicator, as on the homepage */
.chapter-bar{position:fixed;inset-inline-start:max(var(--edge),env(safe-area-inset-left));bottom:calc(24px + env(safe-area-inset-bottom));z-index:55;display:flex;align-items:center;gap:12px;padding:8px 16px;border-radius:var(--r-pill);background:color-mix(in srgb,var(--surface) 86%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--line);font-size:13px;line-height:20px;font-weight:500;color:var(--ink-2);opacity:0;transform:translateY(12px);transition:opacity var(--dur-3),transform var(--dur-4) var(--ease);pointer-events:none;max-width:calc(100% - 2 * var(--gutter))}
.chapter-bar.is-on{opacity:1;transform:none}
.chapter-bar [data-chapter-name]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chapter-track{position:relative;flex:0 0 64px;height:1px;background:var(--line-strong);overflow:hidden}
.chapter-track i{position:absolute;inset:0;background:var(--gold-3);transform-origin:left;transform:scaleX(0)}
[dir=rtl] .chapter-track i{transform-origin:right}
.chapter-count{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}

/* Hovering a company card plays its film moment */
.card-media{position:relative}
.hover-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity var(--dur-4) var(--ease);pointer-events:none}
.is-filming .hover-film{opacity:1}

/* Figures counting up */
.figure b[data-count]{font-variant-numeric:tabular-nums}

@media (max-width:760px){
  .scene{min-height:max(560px,88svh)}
  .scene-band{min-height:max(440px,58svh)}
  .scene-copy{padding-bottom:96px;opacity:calc(1 - var(--p,0) * 2.6)}
  .scene-lead{margin-top:16px}
  .scene-actions{margin-top:24px}
  .scene-foot{padding-block:12px 16px}
  .interlude{min-height:72svh}
  .sequence-body{grid-template-columns:1fr;gap:0}
  /* The film stays on top; a band in the page colour under it hides lines scrolling past. */
  .sequence-stage{top:calc(var(--head) + 10px);height:40svh;z-index:2;border-radius:var(--r-media);box-shadow:0 -10px 0 var(--sequence-bg,var(--bg)),0 12px 0 var(--sequence-bg,var(--bg)),0 22px 10px -2px var(--sequence-bg,var(--bg))}
  /* The film stays on top; the leading step's words stay pinned just beneath it (site/cinema.js). */
  .sequence-step{min-height:46svh;justify-content:flex-start;padding-block:0}
  .sequence-copy{position:sticky;top:calc(var(--head) + 10px + 40svh);padding-block:24px}
  .sequence-body{margin-bottom:var(--sequence-tail,0px)}
  .sequence-steps{margin-bottom:calc(-1 * var(--sequence-tail,0px))}
  .chapter-bar{bottom:calc(16px + env(safe-area-inset-bottom));padding:8px 16px;font-size:12px;-webkit-backdrop-filter:none;backdrop-filter:none;background:color-mix(in srgb,var(--surface) 94%,transparent)}
  .chapter-track{flex-basis:40px}
}
@media (prefers-reduced-motion:reduce){
  .film-video{display:none}
  .film-still .film-poster,.scene-cue span{animation:none}
  [data-lines] .w>span{transform:none;transition:none}
  [data-wipe]::before{display:none}
  [data-wipe] img{transform:none;transition:none}
  .scene>.film :is(.film-poster,.film-video),.interlude>.film :is(.film-poster,.film-video){transform:none}
  .scene-copy{transform:none;opacity:1}
  .sequence-frame,.sequence-frame .film-poster{transition:none}
}
@media print{.scene,.interlude,.chapter-bar,.sequence-stage{display:none!important}body.has-scene main{margin-top:0}}

/* Coming soon (site/coming-soon.js): the opening scene on a cover in place of a film. The gradient the gallery draws for
   a company without a film (.photo-company-cover), in the company's accent (the group's burgundy elsewhere), with the
   mark large and faint on the side away from the text, never mirrored; then the site's grain and film shade. */
.soon-scene{min-height:max(560px,74svh)}
.scene>.soon-cover{position:absolute;inset:0;z-index:-1;overflow:hidden;background:linear-gradient(125deg,#290e15 0%,var(--accent-c,var(--burgundy)) 100%)}
[dir=rtl] .scene>.soon-cover{background:linear-gradient(235deg,#290e15 0%,var(--accent-c,var(--burgundy)) 100%)}
.soon-mark{position:absolute;top:54%;right:calc(var(--edge) - 3vw);width:min(40vw,600px);height:auto;max-height:80%;object-fit:contain;opacity:.08;transform:translateY(-50%)}
[dir=rtl] .soon-mark{right:auto;left:calc(var(--edge) - 3vw)}
.soon-mark.is-wide{width:min(54vw,820px);opacity:.12}
.soon-scene .scene-foot{min-height:40px}
.soon-scene .scene-actions{margin-top:32px}
.soon-helpful{padding-block:var(--section-tight) var(--section)}
.soon-helpful .filter-group{margin-top:12px}
@media (max-width:760px){
  .soon-scene{min-height:max(560px,88svh)}
  .soon-mark{top:30%;right:-34vw;width:92vw;opacity:.07}
  [dir=rtl] .soon-mark{right:auto;left:-34vw}
  .soon-mark.is-wide{width:120vw;opacity:.12}
  .soon-scene .scene-actions{margin-top:24px}
}
@media (prefers-reduced-motion:no-preference){
  .soon-scene .scene-actions{animation:soon-rise var(--dur-4) var(--ease) 440ms both}
  .soon-mark{animation:soon-mark var(--dur-5) var(--ease-cut) 80ms both}
}
@keyframes soon-mark{from{opacity:0;transform:translateY(-50%) scale(1.04)}}

/* Pages change through the brand curtain (cross-document view transitions), on the
   homepage and every inner page: the old page settles back, burgundy shows between, the
   new page rises from below. A card's picture carries into the next page's opening scene
   (site/cinema.js names it "scene-film"). Browsers without support simply navigate. */
@view-transition{navigation:auto}
::view-transition{background:#2b0204}
::view-transition-old(root){animation:curtain-out .5s cubic-bezier(.65,0,.35,1) both}
::view-transition-new(root){animation:curtain-in .85s cubic-bezier(.22,1,.36,1) .12s both}
::view-transition-group(scene-film){animation-duration:.85s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
::view-transition-old(scene-film),::view-transition-new(scene-film){height:100%;object-fit:cover}
@keyframes curtain-out{to{opacity:.15;transform:scale(.97)}}
@keyframes curtain-in{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0)}}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* Scrollbars on every page, dialog and panel: slim, rounded and in the brand's colours
   instead of the browser's grey bar with arrow buttons. Burgundy on light surfaces, gold on
   dark ones (the film, dark mode, the menus and the fullscreen viewer). Loaded by the
   homepage, the gallery and every inner page. Elements that hide their scrollbar
   (filter rows, the phone gallery) keep doing so. */
:root{--sb-thumb:rgba(112,5,10,.36);--sb-thumb-hover:rgba(112,5,10,.62)}
:root[data-theme=dark],
html:has(> body.scroll-preview),
html:has(> body.photographic-gallery),
.cinema-dialog,.cinema-panel,.site-nav,.site-header nav,#company-view{--sb-thumb:rgba(235,193,125,.36);--sb-thumb-hover:rgba(235,193,125,.66)}
/* The reading dialog is paper on the dark film: burgundy, unless the visitor chose dark. */
.story-dialog{--sb-thumb:rgba(112,5,10,.36);--sb-thumb-hover:rgba(112,5,10,.62)}
:root[data-theme=dark] .story-dialog{--sb-thumb:rgba(235,193,125,.36);--sb-thumb-hover:rgba(235,193,125,.66)}

::-webkit-scrollbar{width:10px;height:10px;background:transparent}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background-color:var(--sb-thumb);border:3px solid transparent;border-radius:999px;background-clip:padding-box;min-height:40px}
::-webkit-scrollbar-thumb:hover,::-webkit-scrollbar-thumb:active{background-color:var(--sb-thumb-hover);border-width:2px}
::-webkit-scrollbar-button{display:none;width:0;height:0}
::-webkit-scrollbar-corner{background:transparent}

/* Browsers without the pseudo-elements (Firefox): the standard, thin and coloured. */
@supports not selector(::-webkit-scrollbar){
  *{scrollbar-width:thin;scrollbar-color:var(--sb-thumb) transparent}
}

