/* =====================================================================
   COGNITIVE AXIS INVESTMENTS (COAXIS) — UNIFIED STYLESHEET
   One file shared by index.html and all sector-*.html pages.
   Previously this ~600-line block was duplicated verbatim inside every
   one of the 12 HTML files (≈12 × 13KB of inline CSS). Extracting it
   here means the browser downloads and parses it once, then serves it
   from cache on every subsequent page in the site.
   ===================================================================== */

/* ============ FONTS (self-hosted, replaces Google Fonts CDN) ============ */
@font-face{
  font-family:'Montserrat';
  src:url('../fonts/montserrat-variable.woff2') format('woff2');
  font-weight:200 600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('../fonts/ibm-plex-mono-light.woff2') format('woff2');
  font-weight:300;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('../fonts/ibm-plex-mono-regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('../fonts/ibm-plex-mono-medium.woff2') format('woff2');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Sans Arabic';
  src:url('../fonts/ibm-plex-sans-arabic-extralight.woff2') format('woff2');
  font-weight:200;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Sans Arabic';
  src:url('../fonts/ibm-plex-sans-arabic-light.woff2') format('woff2');
  font-weight:300;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Sans Arabic';
  src:url('../fonts/ibm-plex-sans-arabic-regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'IBM Plex Sans Arabic';
  src:url('../fonts/ibm-plex-sans-arabic-medium.woff2') format('woff2');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

:root{
  --black:#0a0a0a;
  --white:#faf9f6;
  --pure:#ffffff;
  --muted:#8c8c8c;
  --muted-dark:#5e5e5e;
  --line-d:rgba(255,255,255,.14);
  --line-d-strong:rgba(255,255,255,.28);
  --line-l:rgba(10,10,10,.12);
  --line-l-strong:rgba(10,10,10,.28);
  --card-d:#141414;
  --f-display:'Montserrat',-apple-system,'Segoe UI',Roboto,sans-serif;
  --f-body:'Montserrat',-apple-system,'Segoe UI',Roboto,sans-serif;
  --f-mono:'IBM Plex Mono',ui-monospace,'SFMono-Regular',Consolas,monospace;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{
  font-family:var(--f-body);
  background:var(--black);
  color:var(--white);
  overflow-x:hidden;
  line-height:1.6;
}
::selection{background:#fff;color:#000}
img,svg{max-width:100%}

/* ============ ACCESSIBILITY UTILITIES ============ */
.skip-link{position:absolute;top:-100%;left:1rem;background:#fff;color:#000;padding:.9rem 1.4rem;font-family:var(--f-mono);font-size:.78rem;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;z-index:10500;transition:top .25s ease}
.skip-link:focus{top:1rem}
a:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:1px}
.btn:focus-visible{outline-offset:4px}

/* ============ ARABIC / RTL ============ */
[lang="ar"] body,[dir="rtl"]{font-family:'IBM Plex Sans Arabic','Segoe UI',Tahoma,sans-serif}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] .display,[dir="rtl"] .wordmark{font-family:'IBM Plex Sans Arabic','Segoe UI',Tahoma,sans-serif}
[dir="rtl"] *{letter-spacing:normal !important}
[dir="rtl"] .num,[dir="rtl"] .reg-codes,[dir="rtl"] .v.mono,[dir="rtl"] .slink-num,[dir="rtl"] .f-mono{font-family:var(--f-mono)}

/* ============ CURSOR ============ */
.cursor-dot,.cursor-ring{position:fixed;top:0;left:0;border-radius:50%;pointer-events:none;z-index:9999;mix-blend-mode:difference;background:transparent}
.cursor-dot{width:6px;height:6px;background:#fff;transform:translate(-50%,-50%)}
.cursor-ring{width:34px;height:34px;border:1px solid #fff;transform:translate(-50%,-50%);transition:width .3s ease,height .3s ease,opacity .3s ease}
.cursor-ring.grow{width:60px;height:60px;opacity:.5}
@media (hover:none),(pointer:coarse){.cursor-dot,.cursor-ring{display:none}}

/* ============ SCROLL PROGRESS ============ */
.progress{position:fixed;top:0;left:0;height:2px;width:0;background:#fff;mix-blend-mode:difference;z-index:9000}

/* ============ LOADER ============ */
.loader{position:fixed;inset:0;background:var(--black);z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.6rem;transition:opacity .8s ease,visibility .8s ease}
.loader.hidden{opacity:0;visibility:hidden}
.loader .wordmark{font-size:1.4rem;font-weight:300;letter-spacing:.5em;color:#fff;padding-left:.5em}
.loader-bar{width:160px;height:1px;background:var(--line-d);overflow:hidden}
.loader-bar span{display:block;height:100%;width:0;background:#fff;animation:load 1.1s ease forwards}
@keyframes load{to{width:100%}}

/* ============ NAV ============ */
.nav{position:fixed;top:0;left:0;width:100%;z-index:8000;padding:1.7rem clamp(1.5rem,5vw,4rem);display:flex;align-items:center;justify-content:space-between;transition:background .5s ease,padding .5s ease,border-color .5s ease;border-bottom:1px solid transparent}
.nav.scrolled{background:var(--white);border-bottom-color:var(--line-l);padding-top:1.1rem;padding-bottom:1.1rem}
/* Menu-open state must be declared AFTER .scrolled so it wins when both
   classes are present — otherwise opening the menu on a scrolled page
   leaves a white bar with a white (invisible) close button on top of
   the overlay. */
.nav.menu-open{z-index:8300;background:var(--black);border-bottom-color:transparent}
.nav.menu-open .wordmark{color:#fff}
.wordmark{font-family:var(--f-display);font-weight:400;font-size:1.05rem;letter-spacing:.34em;color:#fff;text-decoration:none;padding-left:.34em;transition:color .5s ease;white-space:nowrap}
.nav.scrolled .wordmark{color:var(--black)}
.nav-links{display:flex;gap:clamp(1.4rem,3vw,2.8rem);align-items:center}
.nav-links a{font-size:.74rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.72);text-decoration:none;transition:color .35s ease;position:relative;padding:.2rem 0}
.nav.scrolled .nav-links a{color:var(--muted-dark)}
.nav-links a:hover{color:#fff}
.nav.scrolled .nav-links a:hover{color:var(--black)}
.nav-links a::after{content:"";position:absolute;left:0;bottom:-3px;width:0;height:1px;background:currentColor;transition:width .35s ease}
.nav-links a:hover::after{width:100%}

/* ============ SECTORS DROPDOWN (desktop) ============
   Hover- and focus-driven on purpose — no JS needed to open/close, so it
   can't get stuck open or desync from CSS transitions. Every sector is
   one hover away from any page, rather than needing a detour through the
   homepage's #sectors section first. */
.nav-item{position:relative}
.nav-dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:480px;padding-top:1.5rem;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s;z-index:210}
.nav-item:hover .nav-dropdown,.nav-item:focus-within .nav-dropdown{opacity:1;visibility:visible;pointer-events:auto}
.nav-dropdown-inner{padding:.7rem;background:var(--white);border:1px solid var(--line-l);box-shadow:0 28px 56px -16px rgba(0,0,0,.4);display:grid;grid-template-columns:1fr 1fr;gap:.15rem;transform:translateY(-8px);transition:transform .22s ease}
.nav-item:hover .nav-dropdown-inner,.nav-item:focus-within .nav-dropdown-inner{transform:translateY(0)}
.nav-dropdown a{display:flex;align-items:baseline;gap:.7rem;padding:.68rem .8rem;color:var(--black);text-decoration:none;font-size:.84rem;font-weight:400;letter-spacing:0;text-transform:none;border-radius:1px;transition:background .15s ease}
.nav-dropdown a::after{display:none}
.nav-dropdown a:hover,.nav-dropdown a:focus-visible{background:var(--black);color:#fff}
.nav-dropdown a .num{font-family:var(--f-mono);font-size:.66rem;color:var(--muted);flex-shrink:0;transition:color .15s ease}
.nav-dropdown a:hover .num,.nav-dropdown a:focus-visible .num{color:rgba(255,255,255,.6)}
[dir="rtl"] .nav-dropdown{direction:rtl}
@media (max-width:1200px){.nav-dropdown{width:400px}}
.nav-dropdown-single{width:280px}
.nav-dropdown-inner-single{grid-template-columns:1fr}

.lang{display:flex;align-items:center;gap:.1rem;margin-left:.8rem}
.lang button{background:none;border:none;font-family:var(--f-mono);font-size:.72rem;color:rgba(255,255,255,.5);cursor:pointer;padding:.3rem .5rem;transition:color .3s ease;letter-spacing:.05em}
.nav.scrolled .lang button{color:var(--muted)}
.lang button.active{color:#fff}
.nav.scrolled .lang button.active{color:var(--black)}
.lang span{color:rgba(255,255,255,.25);font-size:.7rem}
.nav.scrolled .lang span{color:var(--line-l-strong)}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;z-index:8500}
.burger span{width:24px;height:1.5px;background:#fff;transition:.4s;display:block}
.nav.scrolled .burger span{background:var(--black)}
.nav.menu-open .burger span{background:#fff}
.burger.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.burger.active span:nth-child(2){opacity:0}
.burger.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}

/* ============ MOBILE MENU ============
   Full-screen accordion. Top-level rows form a hairline ledger (same
   construction as the desktop dropdown); Sectors and About expand in
   place instead of dumping all ~20 links on screen at once. Uses
   logical properties throughout so RTL (Arabic) mirrors for free. */
html.menu-lock,html.menu-lock body{overflow:hidden}
.mobile-menu{position:fixed;inset:0;background:var(--black);z-index:8200;display:flex;flex-direction:column;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:5.6rem clamp(1.6rem,7vw,2.4rem) max(2rem,env(safe-area-inset-bottom));text-align:start}
.mobile-menu.open{opacity:1;visibility:visible}
@media (min-width:761px){.mobile-menu{display:none !important}}

/* Staggered rise of the top-level rows, delays applied only while open
   so closing is a single clean fade. */
.mobile-menu>*{border-top:1px solid var(--line-d);opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}
.mobile-menu.open>*{opacity:1;transform:none}
.mobile-menu.open>*:nth-child(1){transition-delay:.05s}
.mobile-menu.open>*:nth-child(2){transition-delay:.11s}
.mobile-menu.open>*:nth-child(3){transition-delay:.17s}
.mobile-menu.open>*:nth-child(4){transition-delay:.23s}
.mobile-menu.open>*:nth-child(5){transition-delay:.29s}
.mobile-menu.open>*:nth-child(6){transition-delay:.35s}

/* Top-level rows: link and group-toggle share one type treatment. */
.mm-link,.mm-toggle{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;padding:1.05rem 0;font-family:var(--f-display);font-weight:200;font-size:clamp(1.55rem,6vw,1.95rem);line-height:1.15;letter-spacing:.02em;color:#fff;text-decoration:none;background:none;border:none;cursor:pointer;text-align:start;transition:color .3s ease}
.mm-link:active,.mm-toggle:active{color:rgba(255,255,255,.55)}
.mobile-menu>.mm-link:last-of-type{border-bottom:1px solid var(--line-d)}

/* Plus → × indicator, built from the same 1.5px bars as the burger. */
.mm-plus{position:relative;flex:0 0 auto;width:20px;height:20px;transition:transform .35s ease}
.mm-plus::before,.mm-plus::after{content:"";position:absolute;top:50%;left:0;width:100%;height:1.5px;background:currentColor}
.mm-plus::after{transform:rotate(90deg)}
.mm-group.open .mm-plus{transform:rotate(45deg)}

/* Collapsible panel (grid-rows trick: animates height without JS math). */
.mm-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s cubic-bezier(.22,.8,.3,1)}
.mm-group.open .mm-panel{grid-template-rows:1fr}
.mm-panel-inner{overflow:hidden;min-height:0;display:flex;flex-direction:column;visibility:hidden;opacity:0;transform:translateY(-6px);transition:visibility .3s,opacity .3s ease,transform .3s ease}
.mm-group.open .mm-panel-inner{visibility:visible;opacity:1;transform:none;transition:visibility 0s,opacity .35s ease .1s,transform .35s ease .1s}
.mm-panel a{display:flex;align-items:baseline;padding:.55rem 0;font-family:var(--f-body);font-weight:300;font-size:.95rem;letter-spacing:.01em;color:rgba(255,255,255,.62);text-decoration:none;transition:color .25s ease}
.mm-panel a:hover,.mm-panel a:focus-visible{color:#fff}
.mm-panel a:last-child{margin-bottom:1.15rem}
.mm-panel .num{font-family:var(--f-mono);font-size:.68rem;color:rgba(255,255,255,.35);margin-inline-end:.8rem}
.mm-panel .mm-all{color:rgba(255,255,255,.85)}

/* Language switcher pinned to the bottom of the overlay. */
.mobile-menu .lang{margin-top:auto;margin-inline-start:0;padding:1.4rem 0 .2rem;justify-content:flex-start}
.mobile-menu .lang button{color:rgba(255,255,255,.55);font-size:.95rem}
.mobile-menu .lang button.active{color:#fff}
.mobile-menu .lang span{color:rgba(255,255,255,.25)}

/* ============ HERO ============ */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;background:var(--black)}
#hero-canvas{position:absolute;inset:0;z-index:0}
.hero-veil{position:absolute;inset:0;z-index:1;background:radial-gradient(120% 90% at 20% 50%,rgba(10,10,10,.6) 0%,rgba(10,10,10,0) 55%);pointer-events:none}
.hero-inner{position:relative;z-index:2;width:100%;max-width:1280px;margin:0 auto;padding:0 clamp(1.5rem,5vw,4rem)}
.hero-eyebrow{font-family:var(--f-mono);font-size:.8rem;letter-spacing:.32em;text-transform:uppercase;color:var(--muted);margin-bottom:2rem;opacity:0;transform:translateY(20px);animation:rise .9s .2s ease forwards}
.hero h1{font-family:var(--f-display);font-weight:200;font-size:clamp(2.6rem,7vw,6rem);line-height:1.04;letter-spacing:-.02em;max-width:16ch;margin-bottom:2rem;opacity:0;transform:translateY(28px);animation:rise 1s .35s ease forwards}
/* Sector pages carry a single short word as h1 (e.g. "Technology"), so they get a
   slightly smaller cap size and tighter measure than the homepage's full sentence. */
body:not([data-sector="home"]) .hero h1{font-size:clamp(2.6rem,7vw,5.6rem);line-height:1.05;max-width:14ch}
.hero-sub{font-weight:300;font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.65;color:rgba(255,255,255,.66);max-width:46ch;margin-bottom:3rem;opacity:0;transform:translateY(24px);animation:rise 1s .5s ease forwards}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap;opacity:0;transform:translateY(20px);animation:rise 1s .65s ease forwards}
@keyframes rise{to{opacity:1;transform:none}}
.scroll-cue{position:absolute;bottom:2.4rem;left:50%;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:.8rem;opacity:0;animation:fade 1s 1.1s ease forwards}
.scroll-cue span{font-family:var(--f-mono);font-size:.66rem;letter-spacing:.3em;text-transform:uppercase;color:var(--muted)}
.scroll-cue i{width:1px;height:46px;background:linear-gradient(var(--muted),transparent);position:relative;overflow:hidden}
.scroll-cue i::after{content:"";position:absolute;top:-46px;left:0;width:1px;height:46px;background:#fff;animation:cue 2s ease-in-out infinite}
@keyframes cue{to{top:46px}}
@keyframes fade{to{opacity:1}}

/* ============ BUTTONS ============ */
.btn{display:inline-flex;align-items:center;gap:.7rem;font-family:var(--f-display);font-weight:500;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;padding:1.05rem 2.1rem;border-radius:0;text-decoration:none;cursor:pointer;border:1px solid;transition:background .4s ease,color .4s ease,border-color .4s ease;background:transparent}
.btn .btn-inner{display:inline-flex;align-items:center;gap:.7rem;transition:transform .25s ease}
.btn-light{border-color:#fff;color:#fff}
.btn-light:hover{background:#fff;color:#000}
.btn-fill{border-color:#fff;background:#fff;color:#000}
.btn-fill:hover{background:transparent;color:#fff}
.btn-dark{border-color:var(--black);color:var(--black)}
.btn-dark:hover{background:var(--black);color:#fff}
.btn .arrow{transition:transform .35s ease}
.btn:hover .arrow{transform:translateX(5px)}
[dir="rtl"] .btn:hover .arrow{transform:translateX(-5px)}

/* ============ SECTIONS ============ */
.section{padding:clamp(5.5rem,13vh,11rem) clamp(1.5rem,5vw,4rem)}
.section--light{background:var(--white);color:var(--black)}
.section--dark{background:var(--black);color:var(--white)}
.wrap{max-width:1280px;margin:0 auto}
.eyebrow{font-family:var(--f-mono);font-size:.74rem;letter-spacing:.3em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:.8rem;margin-bottom:2.4rem}
.eyebrow::before{content:"";width:34px;height:1px;background:currentColor;opacity:.5}
.sec-title{font-family:var(--f-display);font-weight:200;font-size:clamp(2rem,4.5vw,3.4rem);line-height:1.1;letter-spacing:-.015em}

/* ============ STATEMENT (home) ============ */
.statement .lead{font-family:var(--f-display);font-weight:200;font-size:clamp(1.6rem,3.6vw,2.9rem);line-height:1.32;letter-spacing:-.01em;max-width:24ch}
.statement .lead .em{font-weight:400}

/* ============ STATS (home) ============ */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line-d);border-top:1px solid var(--line-d);border-bottom:1px solid var(--line-d)}
.stat{background:var(--black);padding:3rem 1.6rem 3rem 0}
.stat .num{font-family:var(--f-display);font-weight:200;font-size:clamp(2.2rem,4.2vw,3.6rem);letter-spacing:-.02em;line-height:1;display:flex;align-items:baseline;gap:.35rem}
.stat .num .unit{font-family:var(--f-mono);font-size:.9rem;font-weight:400;color:var(--muted);letter-spacing:0}
.stat .label{font-family:var(--f-mono);font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-top:1.1rem;line-height:1.5}

/* ============ SECTORS GRID (home) ============ */
.sectors-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1.5rem;margin-bottom:3.6rem}
.sectors-head p{color:var(--muted-dark);max-width:34ch;font-weight:300;font-size:1.02rem}
.sectors-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-l);border-left:1px solid var(--line-l)}
.sector{display:block;text-decoration:none;color:inherit;position:relative;padding:2.6rem 2.2rem 2.8rem;border-right:1px solid var(--line-l);border-bottom:1px solid var(--line-l);background:var(--white);transition:background .45s ease,color .45s ease;overflow:hidden;cursor:pointer}
.sector:hover{background:var(--black);color:var(--white)}
.sector .ico{width:30px;height:30px;margin-bottom:2.2rem;color:var(--black);transition:color .45s ease}
.sector:hover .ico{color:#fff}
.sector .ico svg{width:100%;height:100%;display:block;stroke:currentColor;stroke-width:1.1;fill:none}
.sector h3{font-family:var(--f-display);font-weight:400;font-size:1.18rem;letter-spacing:.01em;margin-bottom:.7rem}
.sector p{font-size:.86rem;font-weight:300;line-height:1.55;color:var(--muted-dark);transition:color .45s ease}
.sector:hover p{color:rgba(255,255,255,.6)}
.sector .corner{position:absolute;top:1.6rem;right:1.6rem;opacity:0;transform:translate(-6px,6px);transition:opacity .4s ease,transform .4s ease;color:#fff}
[dir="rtl"] .sector .corner{right:auto;left:1.6rem;transform:translate(6px,6px)}
.sector:hover .corner{opacity:1;transform:none}
.sector:focus-visible{outline:2px solid currentColor;outline-offset:-6px}
@media (hover:none),(pointer:coarse){.sector .corner{opacity:.35;transform:none}}

/* ============ APPROACH (home) ============ */
.approach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:1rem;border-top:1px solid var(--line-d)}
.principle{padding:3rem 2.4rem 1rem 0;border-right:1px solid var(--line-d)}
.principle:last-child{border-right:none;padding-right:0}
.principle .p-mark{font-family:var(--f-mono);font-size:.78rem;color:var(--muted);letter-spacing:.1em;margin-bottom:1.6rem}
.principle h3{font-family:var(--f-display);font-weight:300;font-size:1.45rem;letter-spacing:-.005em;margin-bottom:1.1rem;line-height:1.2}
.principle p{font-weight:300;font-size:.96rem;line-height:1.65;color:rgba(255,255,255,.6)}

/* ============ PRESENCE (home) ============ */
.presence-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:start}
.presence-body{font-family:var(--f-display);font-weight:200;font-size:clamp(1.4rem,2.8vw,2.2rem);line-height:1.35;letter-spacing:-.01em;max-width:20ch}
.presence-meta{padding-top:.6rem}
.meta-row{padding:1.6rem 0;border-top:1px solid var(--line-l)}
.meta-row:first-child{border-top:none;padding-top:0}
.meta-row .k{font-family:var(--f-mono);font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem}
.meta-row .v{font-weight:300;font-size:1.02rem;line-height:1.5;white-space:pre-line}
.meta-row .v.mono{font-family:var(--f-mono);font-size:.92rem;letter-spacing:.02em}

/* ============ OVERVIEW (sector pages) ============ */
.ov-grid{display:grid;grid-template-columns:auto 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:start}
.ov-icon{width:88px;height:88px;color:var(--black);flex-shrink:0}
.ov-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1;fill:none}
.ov-lead{font-family:var(--f-display);font-weight:200;font-size:clamp(1.5rem,3vw,2.4rem);line-height:1.32;letter-spacing:-.01em;max-width:24ch}
.ov-context{margin-top:1.6rem;font-weight:300;font-size:1.05rem;line-height:1.7;color:var(--muted-dark);max-width:52ch}

/* ============ FOCUS AREAS (sector pages) ============ */
.focus-head{margin-bottom:3.4rem}
.focus-grid{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line-d);border-left:1px solid var(--line-d)}
.focus{padding:2.5rem 2.2rem 2.7rem;border-right:1px solid var(--line-d);border-bottom:1px solid var(--line-d);transition:background .45s ease,color .45s ease}
.focus:hover{background:var(--white);color:var(--black)}
.focus .tick{display:inline-block;width:9px;height:9px;border:1px solid currentColor;margin-bottom:1.7rem;opacity:.55}
.focus h3{font-family:var(--f-display);font-weight:400;font-size:1.22rem;letter-spacing:.005em;margin-bottom:.7rem}
.focus p{font-size:.9rem;font-weight:300;line-height:1.55;color:rgba(255,255,255,.55);transition:color .45s ease}
.focus:hover p{color:var(--muted-dark)}

/* ============ OTHER SECTORS / SECTOR LINKS (sector pages) ============ */
.other-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1.5rem;margin-bottom:3.4rem}
.slink-grid{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line-l);border-left:1px solid var(--line-l)}
.slink{display:flex;align-items:center;gap:1.1rem;padding:1.6rem 1.9rem;border-right:1px solid var(--line-l);border-bottom:1px solid var(--line-l);text-decoration:none;color:var(--black);background:var(--white);transition:background .35s ease,color .35s ease}
.slink:hover{background:var(--black);color:#fff}
.slink:focus-visible{outline:2px solid currentColor;outline-offset:-4px}
.slink-num{font-family:var(--f-mono);font-size:.76rem;color:var(--muted);letter-spacing:.05em}
.slink:hover .slink-num{color:rgba(255,255,255,.6)}
.slink-name{font-family:var(--f-display);font-weight:400;font-size:1.08rem;flex:1}
.slink-arrow{transition:transform .35s ease;opacity:.6}
.slink:hover .slink-arrow{transform:translateX(4px);opacity:1}
[dir="rtl"] .slink:hover .slink-arrow{transform:translateX(-4px)}
.back-wrap{margin-top:3rem}

/* ============ CONTACT (shared) ============ */
.contact{text-align:center}
.contact .eyebrow{justify-content:center}
.contact .eyebrow::before{display:none}
.contact h2{font-family:var(--f-display);font-weight:200;font-size:clamp(2.4rem,6vw,4.4rem);letter-spacing:-.02em;margin-bottom:1.6rem}
.contact .c-body{color:rgba(255,255,255,.6);font-weight:300;font-size:1.05rem;margin-bottom:3rem}
.mail-link{display:inline-block;font-family:var(--f-display);font-weight:300;font-size:clamp(1.3rem,3.5vw,2.4rem);color:#fff;text-decoration:none;letter-spacing:-.01em;padding-bottom:.4rem;border-bottom:1px solid var(--line-d-strong);transition:border-color .4s ease,letter-spacing .4s ease}
.mail-link:hover{border-color:#fff;letter-spacing:0}
.c-note{margin-top:2.6rem;font-family:var(--f-mono);font-size:.74rem;letter-spacing:.1em;color:var(--muted-dark);text-transform:uppercase}

/* ============ FOOTER (shared) ============ */
.footer{background:#050505;color:var(--white);padding:clamp(3.5rem,8vh,6rem) clamp(1.5rem,5vw,4rem) 2.6rem}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:2.5rem;padding-bottom:3rem;border-bottom:1px solid var(--line-d)}
.footer-brand .wordmark{color:#fff;font-size:1.1rem;display:inline-block;margin-bottom:1.1rem}
.footer-brand .entity{font-weight:300;font-size:.92rem;color:var(--muted);line-height:1.6;max-width:30ch}
.footer-nav{display:flex;gap:2.4rem;flex-wrap:wrap}
.footer-nav a{font-size:.74rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.6);text-decoration:none;transition:color .35s ease}
.footer-nav a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1.2rem;padding-top:2.2rem}
.reg-codes{font-family:var(--f-mono);font-size:.72rem;color:var(--muted-dark);letter-spacing:.04em;line-height:1.7}
.footer-bottom .copy{font-family:var(--f-mono);font-size:.72rem;color:var(--muted-dark);letter-spacing:.04em}

/* ============ PROUD OF UAE BADGE ============
   Deliberately the one spot on the site where the monochrome palette
   breaks — the flag's actual colours, kept small and quiet rather than
   a big banner, so it reads as a mark of provenance and not a graphic
   accent competing with the rest of the page. Present on every page. */
.uae-badge{display:flex;align-items:center;justify-content:center;gap:.85rem;padding:1.7rem 0;margin-top:2.6rem;border-top:1px solid var(--line-d)}
.uae-badge .flag{width:26px;height:13px;flex-shrink:0;display:block;border-radius:1px;box-shadow:0 0 0 1px rgba(255,255,255,.14);transition:transform .4s ease}
.uae-badge span{font-family:var(--f-mono);font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.55);transition:color .4s ease}
.uae-badge:hover .flag{transform:scale(1.12)}
.uae-badge:hover span{color:rgba(255,255,255,.85)}
[dir="rtl"] .uae-badge .flag{transform:scaleX(-1)}
[dir="rtl"] .uae-badge:hover .flag{transform:scaleX(-1) scale(1.12)}

/* ============ INSIGHTS — shared wireframe visual ============
   Every post carries a mathematically-projected 2D wireframe of the same
   3D solid used for its sector's hero (icosahedron, octahedron, etc. —
   see assets/icons/wireframes/). It's the one piece of "imagery" the site
   uses anywhere, deliberately: no stock photography, just the brand's own
   geometric language reused at a different scale. */
.wf-visual{position:relative;display:flex;align-items:center;justify-content:center;background:var(--black);overflow:hidden}
.wf-visual::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.08),transparent 68%);pointer-events:none}
.wf-visual svg{width:62%;height:62%;color:#fff;filter:drop-shadow(0 0 24px rgba(255,255,255,.05));animation:wf-spin 90s linear infinite}
@keyframes wf-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.wf-visual svg{animation:none}}

/* ============ INSIGHTS INDEX — featured post ============ */
.post-featured{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:stretch;margin-bottom:clamp(3.5rem,7vh,5.5rem);padding-bottom:clamp(3.5rem,7vh,5.5rem);border-bottom:1px solid var(--line-l)}
.post-featured-visual{order:2}
.post-featured-visual.wf-visual{border-radius:2px;min-height:280px}
.post-featured-text{order:1;display:flex;flex-direction:column;justify-content:center}
.post-featured .kicker{display:flex;align-items:center;gap:.9rem;margin-bottom:1.5rem;flex-wrap:wrap}
.post-featured .kicker .tag{font-family:var(--f-mono);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--black);background:transparent;border:1px solid var(--line-l-strong);padding:.3rem .7rem}
.post-featured .kicker .meta-sep{color:var(--muted);font-family:var(--f-mono);font-size:.76rem}
.post-featured h2{font-family:var(--f-display);font-weight:200;font-size:clamp(1.9rem,4.2vw,3rem);line-height:1.12;letter-spacing:-.015em;margin-bottom:1.2rem}
.post-featured h2 a{color:inherit;text-decoration:none}
.post-featured h2 a:hover{text-decoration:underline;text-underline-offset:.15em}
.post-featured .excerpt{font-weight:300;font-size:1.05rem;line-height:1.65;color:var(--muted-dark);max-width:52ch;margin-bottom:1.8rem}
@media (max-width:900px){
  .post-featured{grid-template-columns:1fr}
  .post-featured-visual{order:1}
  .post-featured-text{order:2}
  .post-featured-visual.wf-visual{min-height:220px}
}

/* ============ INSIGHTS INDEX — grid of the rest ============ */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line-l);border:1px solid var(--line-l)}
.post-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:var(--white);transition:background .4s ease,color .4s ease}
.post-card .wf-visual{aspect-ratio:16/11}
.post-card .wf-visual svg{width:46%;height:46%}
.post-card-body{padding:1.7rem 1.7rem 2rem;display:flex;flex-direction:column;flex:1}
.post-card:hover{background:var(--black);color:#fff}
.post-card:focus-visible{outline:2px solid currentColor;outline-offset:-6px}
.post-card .post-meta{font-family:var(--f-mono);font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin-bottom:1.1rem;display:flex;gap:.6rem;flex-wrap:wrap}
.post-card:hover .post-meta{color:rgba(255,255,255,.5)}
.post-card h3{font-family:var(--f-display);font-weight:400;font-size:1.12rem;line-height:1.32;margin-bottom:.8rem}
.post-card p{font-size:.85rem;font-weight:300;line-height:1.6;color:var(--muted-dark);flex:1}
.post-card:hover p{color:rgba(255,255,255,.6)}
.post-card .read-more{display:inline-flex;align-items:center;gap:.5rem;margin-top:1.4rem;font-family:var(--f-mono);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;opacity:.7}
.post-card:hover .read-more{opacity:1}
@media (max-width:1024px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){.post-grid{grid-template-columns:1fr}}

.insights-section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:2rem;gap:1rem;flex-wrap:wrap}
.insights-section-head h2{font-family:var(--f-display);font-weight:300;font-size:1.05rem;letter-spacing:.01em;color:var(--muted-dark)}

/* ============ SINGLE POST — header + hero visual ============ */
.post-header{padding:calc(clamp(5.5rem,13vh,11rem) + 2.6rem) clamp(1.5rem,5vw,4rem) 0;background:var(--black);color:#fff}
.post-header .wrap{max-width:820px;margin:0 auto}
.post-header .post-meta{font-family:var(--f-mono);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.post-header .post-meta .dot{opacity:.5}
.post-title{font-family:var(--f-display);font-weight:200;font-size:clamp(2rem,5vw,3.4rem);line-height:1.14;letter-spacing:-.015em;margin:1.4rem 0 1.6rem}
.post-excerpt{font-weight:300;font-size:1.1rem;line-height:1.6;color:rgba(255,255,255,.66);max-width:58ch;padding-bottom:clamp(2.2rem,5vh,3.4rem)}
.post-hero-visual{aspect-ratio:21/9;max-height:340px}
.post-hero-visual svg{width:34%;height:34%}
@media (max-width:700px){.post-hero-visual{aspect-ratio:4/3;max-height:none}}

/* ============ SINGLE POST — article body ============ */
.post-body{max-width:680px;margin:0 auto}
.post-body p{font-weight:300;font-size:1.08rem;line-height:1.85;color:var(--black);margin-bottom:1.7rem}
.post-body p:first-of-type{font-size:1.22rem;line-height:1.7;font-weight:300;color:#000}
.post-body p:last-child{margin-bottom:0}

.pull-quote{max-width:680px;margin:clamp(2.6rem,6vh,4rem) auto;padding:0 0 0 clamp(1.6rem,4vw,2.6rem);border-left:2px solid var(--black)}
.pull-quote p{font-family:var(--f-display);font-weight:300;font-size:clamp(1.35rem,3vw,1.9rem);line-height:1.42;letter-spacing:-.01em;color:var(--black)}
[dir="rtl"] .pull-quote{border-left:none;border-right:2px solid var(--black);padding:0 clamp(1.6rem,4vw,2.6rem) 0 0}

.post-foot{max-width:680px;margin:0 auto}
.post-foot .btn{margin-top:1rem}

/* ============ SINGLE POST — related posts ============ */
.related-posts{border-top:1px solid var(--line-l);margin-top:clamp(3rem,6vh,4.5rem);padding-top:clamp(2.6rem,5vh,3.6rem)}
.related-posts .eyebrow{justify-content:center}
.related-posts .eyebrow::before{display:none}
.related-posts h2{text-align:center;margin-bottom:2.6rem}

.error-page{min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:8rem clamp(1.5rem,5vw,4rem) 6rem}
.error-page .code{font-family:var(--f-mono);font-size:.8rem;letter-spacing:.32em;text-transform:uppercase;color:var(--muted);margin-bottom:2rem}
.error-page h1{font-family:var(--f-display);font-weight:200;font-size:clamp(2.6rem,7vw,5rem);letter-spacing:-.02em;margin-bottom:1.6rem}
.error-page p{font-weight:300;font-size:1.05rem;line-height:1.65;color:rgba(255,255,255,.66);max-width:42ch;margin:0 auto 3rem}

/* ============ PROCESS CHAIN (sector pages) ============
   A connected sequence of steps ("cadena de trabajo"). Reuses the existing
   .reveal/.in machinery for its entrance animation (each .chain-step also
   carries class="reveal dN", so the IntersectionObserver already wired up
   for reveal targets picks it up with no extra JS) and adds one dedicated
   animation of its own: the connecting thread draws itself across (desktop)
   or down (mobile) once the chain scrolls into view. */
.process-head{margin-bottom:4rem}
.chain{position:relative;display:flex;gap:1.5rem}
.chain.reveal{opacity:1;transform:none} /* block itself doesn't slide — only its steps do */
.chain-line-bg{position:absolute;top:13px;left:0;right:0;height:1px;background:var(--line-d-strong)}
.chain-line-fg{position:absolute;top:13px;left:0;height:1px;width:100%;background:#fff;transform:scaleX(0);transform-origin:left center;transition:transform 1.3s cubic-bezier(.16,.8,.3,1) .1s}
[dir="rtl"] .chain-line-fg{transform-origin:right center}
.chain.in .chain-line-fg{transform:scaleX(1)}
.chain-step{position:relative;flex:1;min-width:0;padding-right:1.6rem}
.chain-step:last-child{padding-right:0}
.chain-node{width:26px;height:26px;border-radius:50%;background:var(--black);border:1px solid var(--line-d-strong);display:flex;align-items:center;justify-content:center;margin-bottom:1.7rem;transition:border-color .5s ease .1s,background .5s ease .1s}
.chain-node span{font-family:var(--f-mono);font-size:.66rem;color:var(--muted);transition:color .5s ease .1s}
.chain-step.in .chain-node{border-color:#fff;background:#fff}
.chain-step.in .chain-node span{color:var(--black)}
.chain-step h3{font-family:var(--f-display);font-weight:400;font-size:1.05rem;margin-bottom:.65rem;letter-spacing:.005em}
.chain-step p{font-size:.85rem;font-weight:300;line-height:1.62;color:rgba(255,255,255,.55);max-width:27ch}
@media (max-width:900px){
  .chain{flex-direction:column;gap:0}
  .chain-line-bg{top:0;left:13px;right:auto;width:1px;height:100%}
  .chain-line-fg{top:0;left:13px;width:1px;height:100%;transform:scaleY(0);transform-origin:top center}
  .chain.in .chain-line-fg{transform:scaleY(1)}
  .chain-step{padding:0 0 3rem 3.8rem}
  .chain-step:last-child{padding-bottom:0}
  .chain-node{position:absolute;left:0;top:0;margin-bottom:0}
}
@media (prefers-reduced-motion:reduce){
  .chain-line-fg{transition-delay:0s}
}

/* ============ REVEAL ============ */
.reveal{opacity:0;transform:translateY(36px);transition:opacity 1s cubic-bezier(.16,.8,.3,1),transform 1s cubic-bezier(.16,.8,.3,1)}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.08s}
.reveal.d2{transition-delay:.16s}
.reveal.d3{transition-delay:.24s}
.reveal.d4{transition-delay:.32s}

/* ============ QUESTIONS (AEO/GEO content, home + sector pages) ============
   Deliberately not an accordion: every answer sits in the DOM already
   visible, in the site's own key/value editorial language (same family as
   .meta-row), rather than the generic toggle-list pattern most FAQ sections
   use. That also means search and AI crawlers can read the full answer
   text without needing to simulate a click. */
.qa-list{border-top:1px solid var(--line-l)}
.qa-item{display:grid;grid-template-columns:64px 1fr;gap:1.6rem;padding:2.3rem 0;border-bottom:1px solid var(--line-l)}
.qa-num{font-family:var(--f-mono);font-size:.76rem;color:var(--muted);padding-top:.35rem}
.qa-q{font-family:var(--f-display);font-weight:500;font-size:1.18rem;letter-spacing:-.005em;margin-bottom:.75rem;max-width:42ch}
.qa-a{font-weight:300;font-size:.98rem;line-height:1.72;color:var(--muted-dark);max-width:58ch}
.qa-list.on-dark{border-top-color:var(--line-d)}
.qa-list.on-dark .qa-item{border-bottom-color:var(--line-d)}
.qa-list.on-dark .qa-a{color:rgba(255,255,255,.58)}
@media (max-width:640px){
  .qa-item{grid-template-columns:1fr;gap:.6rem}
  .qa-num{padding-top:0}
}
/* ============ PROSE (long-form reading column, e.g. About "Why Dubai") ============ */
.prose{max-width:68ch}
.prose p{font-weight:300;font-size:1.05rem;line-height:1.8;margin-bottom:1.5rem}
.section--dark .prose p{color:rgba(255,255,255,.68)}
.section--light .prose p{color:var(--muted-dark)}
.prose p:last-child{margin-bottom:0}
.prose p:first-child{font-size:1.15rem;color:inherit}
.section--dark .prose p:first-child{color:rgba(255,255,255,.85)}
.section--light .prose p:first-child{color:var(--black)}

/* ============ LANGUAGE OF COAXIS (wireframe gallery) ============ */
.lang-grid-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line-l);border:1px solid var(--line-l)}
.lang-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:var(--white);transition:background .35s ease,color .35s ease}
.lang-card-visual{aspect-ratio:4/3}
.lang-card-visual svg{width:52%;height:52%}
.lang-card-body{padding:1.7rem 1.7rem 2rem}
.lang-card-tag{font-family:var(--f-mono);font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:.9rem}
.lang-card:hover .lang-card-tag{color:rgba(255,255,255,.5)}
.lang-card h3{font-family:var(--f-display);font-weight:500;font-size:1.08rem;margin-bottom:.7rem}
.lang-card p{font-size:.85rem;font-weight:300;line-height:1.6;color:var(--muted-dark)}
.lang-card:hover{background:var(--black);color:#fff}
.lang-card:hover p{color:rgba(255,255,255,.6)}
@media (max-width:1024px){.lang-grid-cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){.lang-grid-cards{grid-template-columns:1fr}}

/* ============ PROCESS (scroll-driven Burj build-up) ============ */
.process-layout{display:grid;grid-template-columns:1fr 1fr;background:var(--black)}
.process-visual{position:sticky;top:0;height:100vh;align-self:start;overflow:hidden}
#process-canvas{position:absolute;inset:0}
.process-visual::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.06),transparent 65%);pointer-events:none;z-index:1}
.process-progress{position:absolute;left:clamp(1.5rem,4vw,3rem);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:1.1rem;z-index:2}
.process-progress .dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.22);transition:background .4s ease,transform .4s ease}
.process-progress .dot.active{background:#fff;transform:scale(1.3)}
.process-stages{display:flex;flex-direction:column}
.process-stage{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:4rem clamp(1.5rem,5vw,4rem)}
.process-stage .stage-num{font-family:var(--f-mono);font-size:.78rem;letter-spacing:.2em;color:var(--muted);margin-bottom:1.4rem;direction:ltr;unicode-bidi:isolate}
.process-stage h2{font-family:var(--f-display);font-weight:200;font-size:clamp(2rem,4.2vw,3.2rem);color:#fff;letter-spacing:-.015em;margin-bottom:1.6rem;max-width:14ch}
.process-stage p{font-weight:300;font-size:1.05rem;line-height:1.75;color:rgba(255,255,255,.62);max-width:46ch}
.process-stage:not(:last-child){border-bottom:1px solid var(--line-d)}

/* ============ RESPONSIVE ============ */
@media (max-width:1024px){
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat{padding-right:1.4rem}
  .sectors-grid{grid-template-columns:repeat(2,1fr)}
  .approach-grid{grid-template-columns:1fr;border-top:none}
  .principle{border-right:none;border-top:1px solid var(--line-d);padding:2.4rem 0 1rem}
  .presence-grid{grid-template-columns:1fr;gap:3rem}
  .ov-grid{grid-template-columns:1fr;gap:2rem}
  .process-layout{display:block}
  .process-visual{position:sticky;height:44vh;top:0}
  .process-stage{min-height:auto;padding-top:3rem;padding-bottom:3rem}
  .process-progress{display:none}
}
@media (max-width:760px){
  .nav-links{display:none}
  .nav .lang{display:none}
  .burger{display:flex}
  .stats-grid{grid-template-columns:1fr}
  .stat{padding:2.4rem 0;border-right:none}
  .sectors-grid{grid-template-columns:1fr;border-left:none}
  .sector{border-right:none}
  .sectors-head{margin-bottom:2.4rem}
  .focus-grid{grid-template-columns:1fr;border-left:none}
  .focus{border-right:none}
  .slink-grid{grid-template-columns:1fr;border-left:none}
  .slink{border-right:none}
  .footer-top{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001s !important;animation-delay:0s !important;transition-duration:.001s !important}
  .reveal{opacity:1;transform:none}
  .hero-eyebrow,.hero h1,.hero-sub,.hero-cta,.scroll-cue{opacity:1;transform:none}
}

/* ============ PRINT ============ */
@media print{
  .cursor-dot,.cursor-ring,.progress,.loader,.nav,.mobile-menu,.burger,
  .scroll-cue,#hero-canvas,.hero-veil,.skip-link{display:none !important}
  body{background:#fff;color:#000}
  .hero{min-height:auto;padding:2rem 0;color:#000;background:#fff}
  .section--dark{background:#fff;color:#000}
  .section--dark .principle p,.section--dark .c-body{color:#333}
  a{color:#000;text-decoration:underline}
  .footer{background:#fff;color:#000}
}

/* ============ NEW PAGES: criteria "what we won't do" grid ============ */
.dont-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2.4rem 4rem;max-width:960px}
.dont-grid .prose p{margin:0}
@media (max-width:760px){.dont-grid{grid-template-columns:1fr;gap:2rem}}

/* ============ LOGOMARK in wordmark (nav / loader / footer) ============ */
.wordmark{display:inline-flex;align-items:center}
.wordmark .wm-mark{width:.92em;height:.92em;flex:0 0 auto;margin-inline-end:.42em}
.loader .wordmark .wm-mark{width:1em;height:1em;margin-inline-end:.5em}
.footer-brand .wordmark{display:inline-flex;align-items:center}

/* ============ FOOTER legal links ============ */
.footer-legal{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;margin-top:1rem}
.footer-legal a{font-size:.82rem;color:var(--muted);text-decoration:none;letter-spacing:.02em;transition:color .3s ease}
.footer-legal a:hover{color:var(--white)}
[dir="rtl"] .footer-legal{justify-content:flex-start}

/* =====================================================================
   THEME — light by default; manual dark via [data-theme="dark"] on <html>.
   Light mode = the existing design, untouched. The dark theme re-themes
   every light surface; already-dark surfaces (hero, footer, .section--dark,
   nav over the hero) stay put. Alternation survives as elevation:
   base #0a0a0a  ·  raised band #141414  ·  cards #1c1c1c.
   ===================================================================== */
:root{color-scheme:light}
[data-theme="dark"]{color-scheme:dark}

[data-theme="dark"] body{background:#0a0a0a}
[data-theme="dark"] .section--light{background:#141414;color:var(--white)}

[data-theme="dark"] .nav.scrolled{background:#141414;border-bottom-color:var(--line-d)}
[data-theme="dark"] .nav.scrolled .wordmark{color:var(--white)}
[data-theme="dark"] .nav.scrolled .nav-links a{color:rgba(255,255,255,.66)}
[data-theme="dark"] .nav.scrolled .nav-links a:hover{color:var(--white)}
[data-theme="dark"] .nav.scrolled .lang button.active{color:var(--white)}
[data-theme="dark"] .nav.scrolled .lang span{color:var(--line-d-strong)}
[data-theme="dark"] .nav.scrolled .burger span{background:var(--white)}

[data-theme="dark"] .nav-dropdown-inner{background:#1c1c1c;border-color:var(--line-d)}
[data-theme="dark"] .nav-dropdown a{color:var(--white)}
[data-theme="dark"] .nav-dropdown a:hover,[data-theme="dark"] .nav-dropdown a:focus-visible{background:var(--white);color:var(--black)}

[data-theme="dark"] .sectors-head p{color:rgba(255,255,255,.6)}
[data-theme="dark"] .sectors-grid{border-top-color:var(--line-d);border-left-color:var(--line-d)}
[data-theme="dark"] .sector{background:#1c1c1c;border-right-color:var(--line-d);border-bottom-color:var(--line-d)}
[data-theme="dark"] .sector .ico{color:var(--white)}
[data-theme="dark"] .sector p{color:rgba(255,255,255,.55)}
[data-theme="dark"] .sector:hover{background:var(--white);color:var(--black)}
[data-theme="dark"] .sector:hover .ico{color:var(--black)}
[data-theme="dark"] .sector:hover p{color:var(--muted-dark)}
[data-theme="dark"] .sector .corner{color:var(--black)}

[data-theme="dark"] .meta-row{border-top-color:var(--line-d)}
[data-theme="dark"] .ov-icon{color:var(--white)}
[data-theme="dark"] .ov-context{color:rgba(255,255,255,.6)}

[data-theme="dark"] .slink-grid{border-top-color:var(--line-d);border-left-color:var(--line-d)}
[data-theme="dark"] .slink{background:#1c1c1c;border-right-color:var(--line-d);border-bottom-color:var(--line-d);color:var(--white)}
[data-theme="dark"] .slink:hover{background:var(--white);color:var(--black)}

[data-theme="dark"] .section--light .prose p{color:rgba(255,255,255,.62)}
[data-theme="dark"] .section--light .prose p:first-child{color:var(--white)}

[data-theme="dark"] .btn-dark{border-color:var(--white);color:var(--white)}
[data-theme="dark"] .btn-dark:hover{background:var(--white);color:var(--black)}

[data-theme="dark"] .post-featured{border-bottom-color:var(--line-d)}
[data-theme="dark"] .post-featured .kicker .tag{color:var(--white);border-color:var(--line-d-strong)}
[data-theme="dark"] .post-featured .excerpt{color:rgba(255,255,255,.62)}
[data-theme="dark"] .post-grid{background:var(--line-d);border-color:var(--line-d)}
[data-theme="dark"] .post-card{background:#1c1c1c}
[data-theme="dark"] .post-card:hover{background:var(--white);color:var(--black)}
[data-theme="dark"] .post-card:hover p{color:var(--muted-dark)}
[data-theme="dark"] .post-card p{color:rgba(255,255,255,.55)}
[data-theme="dark"] .insights-section-head h2{color:rgba(255,255,255,.6)}
[data-theme="dark"] .post-body p{color:rgba(255,255,255,.82)}
[data-theme="dark"] .pull-quote p{color:var(--white)}
[data-theme="dark"] .related-posts{border-top-color:var(--line-d)}

[data-theme="dark"] .qa-list{border-top-color:var(--line-d)}
[data-theme="dark"] .qa-item{border-bottom-color:var(--line-d)}
[data-theme="dark"] .qa-a{color:rgba(255,255,255,.6)}

[data-theme="dark"] .lang-grid-cards{background:var(--line-d);border-color:var(--line-d)}
[data-theme="dark"] .lang-card{background:#1c1c1c}
[data-theme="dark"] .lang-card:hover{background:var(--white);color:var(--black)}
[data-theme="dark"] .lang-card:hover p{color:var(--muted-dark)}
[data-theme="dark"] .lang-card p{color:rgba(255,255,255,.55)}

/* ============ THEME TOGGLE BUTTON ============ */
.theme-toggle{background:none;border:none;cursor:pointer;padding:.4rem;margin-inline-start:.5rem;display:inline-flex;align-items:center;justify-content:center;line-height:0;color:rgba(255,255,255,.72);transition:color .35s ease,transform .3s ease}
.theme-toggle:hover{color:#fff;transform:rotate(-12deg)}
.theme-toggle .ti{width:18px;height:18px;display:block}
.theme-toggle .ti-sun{display:none}
[data-theme="dark"] .theme-toggle .ti-moon{display:none}
[data-theme="dark"] .theme-toggle .ti-sun{display:block}
.nav.scrolled .theme-toggle{color:var(--muted-dark)}
.nav.scrolled .theme-toggle:hover{color:var(--black)}
[data-theme="dark"] .nav.scrolled .theme-toggle{color:rgba(255,255,255,.66)}
[data-theme="dark"] .nav.scrolled .theme-toggle:hover{color:var(--white)}
.nav.menu-open .theme-toggle{color:rgba(255,255,255,.8)}

/* ============ PARTNERS page ============ */
.partners-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line-l);border-left:1px solid var(--line-l);margin-top:1.4rem}
.partner-card{padding:2.4rem 2rem 2.6rem;border-right:1px solid var(--line-l);border-bottom:1px solid var(--line-l);display:flex;flex-direction:column}
.partner-logo{height:56px;display:flex;align-items:center;margin-bottom:1.6rem}
.partner-logo img{max-height:56px;max-width:170px;object-fit:contain;filter:grayscale(1) contrast(.92);opacity:.85;transition:filter .45s ease,opacity .45s ease}
.partner-card:hover .partner-logo img{filter:none;opacity:1}
.partner-logo--text span{font-family:var(--f-display);font-weight:500;font-size:1.2rem;letter-spacing:.01em;color:var(--black)}
.partner-name{font-family:var(--f-display);font-weight:500;font-size:1.12rem;letter-spacing:-.005em;margin-bottom:.7rem;color:var(--black)}
.partner-desc{font-weight:300;font-size:.92rem;line-height:1.65;color:var(--muted-dark);flex:1}
.partner-link{margin-top:1.4rem;font-family:var(--f-mono);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--black);text-decoration:none;transition:opacity .3s ease}
.partner-link:hover{opacity:.55}
.partners-empty{max-width:54ch}
.partners-empty p{font-weight:300;font-size:1.18rem;line-height:1.7;color:var(--muted-dark)}
@media (max-width:900px){.partners-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.partners-grid{grid-template-columns:1fr}}
/* partners — dark theme */
[data-theme="dark"] .partners-grid{border-top-color:var(--line-d);border-left-color:var(--line-d)}
[data-theme="dark"] .partner-card{border-right-color:var(--line-d);border-bottom-color:var(--line-d)}
[data-theme="dark"] .partner-logo{background:#faf9f6;border-radius:3px;padding:.55rem .75rem;align-self:flex-start;height:auto}
[data-theme="dark"] .partner-logo--text{background:none;padding:0}
[data-theme="dark"] .partner-logo--text span{color:var(--white)}
[data-theme="dark"] .partner-name{color:var(--white)}
[data-theme="dark"] .partner-desc{color:rgba(255,255,255,.6)}
[data-theme="dark"] .partner-link{color:var(--white)}
[data-theme="dark"] .partners-empty p{color:rgba(255,255,255,.62)}
