/*
Theme Name: Tabadul Tejari
Theme URI: https://tabadultejari.com
Description: Tabadul Tejari — Trade Exchange. B2B Arab trade directory. Faithful WordPress port of the hand-built site (slider, mega-menu, ticker, directory, company profiles).
Author: Arab Marketing & Communications Group
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: tabadultejari
*/
/* Tabadul Tejari — Trade Exchange · mockup v1 */
:root {
  --ink: #0B1A2E;
  --muted: #5A6A80;
  --line: #DDE4EE;
  --bg: #ECF1F7;
  --panel: #F4F7FB;
  --white: #FFFFFF;
  --navy: #081733;
  --blue-900: #06214A;
  --blue-700: #0A4DB0;
  --blue-500: #1474EE;
  --cyan: #1CC0E6;
  --yellow: #FFD60A;
  --yellow-600: #F5C400;
  --grad: linear-gradient(120deg, #06214A 0%, #0A4DB0 52%, #18AEE3 100%);
  --grad-soft: linear-gradient(120deg, #0A2A5C 0%, #0D5BC6 60%, #1FB8E6 100%);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(8, 23, 51, .28);
  --wrap: 1320px;
  --gut: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; font-weight: 400; }
h3, h4 { font-weight: 500; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.block { background: var(--white); border-radius: var(--r-xl); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700);
}
.h2 { font-size: clamp(32px, 3.8vw, 54px); }
.lede { color: var(--muted); font-size: 17px; max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(245, 196, 0, .9); }
.btn-yellow:hover { background: var(--yellow-600); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--blue-500); color: var(--blue-700); }

/* ---------- Utility bar ---------- */
.utility { background: var(--panel); border-bottom: 1px solid var(--line); font: 500 12.5px/1 "IBM Plex Mono", ui-monospace, monospace; color: var(--muted); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 40px; }
.ut-org { letter-spacing: .22em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ut-right { display: flex; align-items: center; gap: 22px; }
.ut-right a { display: inline-flex; align-items: center; gap: 7px; }
.ut-right a:hover { color: var(--blue-700); }
.ut-right svg { width: 15px; height: 15px; }
.ut-search { position: relative; }
.ut-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.ut-search input { border: 0; background: transparent; font: inherit; color: var(--ink); width: 90px; padding: 6px 0 6px 22px; transition: width .3s; }
.ut-search input:focus { outline: none; width: 200px; }
.ut-search input::placeholder { color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 32px; height: 88px; }
/* wordmark: English caps, Arabic below at the same width */
.brand { --s: 13px; display: inline-flex; flex-direction: column; flex: none; width: max-content; }
.brand-en { font-weight: 600; font-size: var(--s); line-height: 1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #000; }
.brand-ar {
  font-family: "Noto Kufi Arabic", sans-serif; font-weight: 600; font-size: calc(var(--s) * 1.7); line-height: 1.3;
  color: #000; white-space: nowrap; text-align: justify; text-align-last: justify; margin-top: 2px;
}

.main-nav { margin-inline: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.main-nav a { display: block; padding: 8px 0; font-size: 16.5px; white-space: nowrap; font-weight: 500; color: var(--ink); position: relative; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-700); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover { color: var(--blue-700); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--blue-700); }
.hdr-cta { flex: none; box-shadow: none; }

/* sectors mega menu */
.main-nav, .main-nav ul, .main-nav li { height: 100%; }
.main-nav ul { align-items: center; }
.main-nav li { display: flex; align-items: center; }
.has-mega > a { display: inline-flex !important; align-items: center; gap: 5px; }
.has-mega > a svg { width: 15px; height: 15px; transition: transform .25s; }
.has-mega:hover > a, .has-mega:focus-within > a { color: var(--blue-700); }
.has-mega:hover > a svg, .has-mega:focus-within > a svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 88px; z-index: 60;
  background:
    radial-gradient(40% 70% at 70% 60%, rgba(20,116,238,.10), transparent 70%),
    radial-gradient(30% 50% at 95% 10%, rgba(255,214,10,.10), transparent 70%),
    rgba(238,242,248,.97);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 60px -30px rgba(8,23,51,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-in { display: grid; grid-template-columns: 360px repeat(3, 1fr); gap: 48px; padding: 40px 0 46px; }
.mega-card {
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 30px 30px 32px;
  display: flex; flex-direction: column; gap: 14px; align-self: start;
}
.mega-eye, .mega-col h4 {
  font: 500 12px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .24em; text-transform: uppercase;
}
.mega-eye { color: var(--blue-700); }
.mega-card h3 { font-size: 32px; letter-spacing: -.015em; }
.mega-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.main-nav .mega-card .btn { align-self: start; margin-top: 8px; box-shadow: none; display: inline-flex; padding: 0 22px; font-size: 15px; font-weight: 700; color: var(--navy); }
.mega a::after { display: none; }
.mega-col h4 { color: var(--muted); font-weight: 500; padding-bottom: 16px; border-bottom: 1px solid #CBD5E3; margin-bottom: 10px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: block; height: auto; }
.mega-col li { display: block; height: auto; }
.mega .mega-col a {
  display: block; padding: 8px 0; font-size: 15.5px; font-weight: 500; color: var(--ink); white-space: normal; line-height: 1.35;
}
.mega .mega-col a::after { display: none; }
.mega .mega-col a:hover { color: var(--blue-700); transform: translateX(3px); }
.mega .mega-col a { transition: color .2s, transform .2s; }

.menu-toggle { display: none; }

/* ticker */
.ticker { display: flex; align-items: stretch; height: 42px; border-top: 1px solid var(--line); font: 500 13px/1 "IBM Plex Mono", ui-monospace, monospace; overflow: hidden; }
.tk-label {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px 0 max(16px, calc((100vw - var(--wrap)) / 2));
  letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink); background: var(--white);
  box-shadow: 12px 0 18px -8px rgba(255,255,255,1); position: relative; z-index: 1; border-right: 1px solid var(--line);
}
.tk-label i { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,214,10,.3); }
.tk-track { flex: 1; overflow: hidden; display: flex; align-items: center; }
.tk-run { display: flex; white-space: nowrap; animation: tick 60s linear infinite; }
.ticker:hover .tk-run { animation-play-state: paused; }
.tk-item { padding: 0 26px; border-right: 1px solid var(--line); color: var(--muted); letter-spacing: .06em; }
.tk-item b { color: var(--ink); font-weight: 600; margin-left: 8px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-run { animation: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { margin-top: 0; }
.ph { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: 72px 0 68px; }
.ph-bg { position: absolute; inset: 0; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; mix-blend-mode: luminosity; }
.ph-copy { position: relative; }
.ph-copy > * { max-width: 720px; }
.ph h1 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -.02em; margin-top: 14px; }
.ph p { color: #D5E2F5; font-size: 18px; margin-top: 14px; }
.crumbs { display: flex; gap: 10px; font-size: 13.5px; color: #BFD3EE; font-weight: 600; }
.crumbs a:hover { color: var(--yellow); }

/* ---------- Hero ---------- */
.hero { margin-top: 0; }

/* banner slider — notched frame from the reference */
.banner {
  position: relative; overflow: hidden; min-height: 560px; background: var(--blue-900);
}
.slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center;
  padding: 60px max(var(--gut), calc((100% - var(--wrap)) / 2)) 84px; gap: 48px; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; z-index: 0; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.slide > *:not(.slide-bg) { position: relative; z-index: 1; }
.slide-copy { color: #fff; }
.slide-copy h2 { margin-top: 24px; }
.slide-brand { justify-self: center; display: grid; place-items: center; position: relative; width: 100%; }
.slide-brand::before {
  content: ""; position: absolute; width: 120%; aspect-ratio: 2 / 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent); pointer-events: none;
}
.slide-brand img { position: relative; width: min(100%, 470px); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.slide-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .2em; text-transform: uppercase; color: #D5E2F5;
}
.slide-tag b { color: var(--yellow); font-weight: 600; }
.slide-tag b::after { content: "·"; color: rgba(255,255,255,.5); margin-left: 10px; }
.slide h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.slide h2 em { font-style: normal; color: var(--yellow); }
.slide p { margin-top: 16px; color: #D5E2F5; font-size: 16.5px; max-width: 46ch; }
.slide-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.slide--markaz .slide-bg { background: radial-gradient(120% 100% at 85% 20%, #1D8FE0 0%, #0A3E86 45%, #061C40 100%); }
.slide--markaz .slide-bg img { opacity: .38; mix-blend-mode: screen; }
.slide--alsahl .slide-bg { background: #13202F; }
.slide--alsahl .slide-bg img { opacity: .22; }
.slide--alsahl .slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #13202F 30%, rgba(19,32,47,.2)); }
.slide--sponsor .slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,33,74,.95) 20%, rgba(10,77,176,.55) 60%, rgba(24,174,227,.15)); }
.sponsor-perks { display: grid; gap: 10px; justify-self: end; width: min(100%, 360px); }
.sponsor-perks div {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(10px);
  font-weight: 600; font-size: 15px;
}
.sponsor-perks svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--yellow); color: var(--navy); flex: none; }

.banner-ui { position: absolute; left: max(var(--gut), calc((100% - var(--wrap)) / 2)); right: max(var(--gut), calc((100% - var(--wrap)) / 2)); bottom: 26px; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dots button.is-active { width: 34px; background: var(--yellow); }
.arrows { display: flex; gap: 8px; }
.arrows button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1);
  color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px);
}
.arrows button:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.arrows svg { width: 18px; height: 18px; }
.banner-label {
  position: absolute; top: 22px; right: max(var(--gut), calc((100% - var(--wrap)) / 2)); z-index: 3; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6); font-weight: 700;
}

/* three cards under hero */
.hero-cards { display: grid; grid-template-columns: 1fr 236px 1fr; gap: 14px; margin-top: 14px; }
.hcard { border-radius: var(--r-lg); background: var(--white); padding: 24px 26px; display: flex; gap: 18px; align-items: center; overflow: hidden; position: relative; }
.hcard .num { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--blue-700); }
.hcard .num small { font-size: 22px; }
.hcard h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -.01em; }
.hcard p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.hcard .thumb { width: 128px; height: 104px; border-radius: 14px; overflow: hidden; flex: none; margin-left: auto; }
.hcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hcard--center { background: var(--grad); color: #fff; flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
.hcard--center .num { color: var(--yellow); font-size: 56px; }
.hcard--center span { font-weight: 700; font-size: 16px; }
.hcard--center small { color: #CFE2FA; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.hcard--center:hover { filter: brightness(1.08); }
.hcard .pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); background: #E5EFFD; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }

/* ---------- Sections ---------- */
section { margin-top: 14px; }
.sec { padding: 72px 64px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.sec-head .h2 { margin-top: 12px; }
.sec-head .lede { margin-top: 14px; }

/* directory */
.dir-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: none; }
.dir-filter { position: relative; width: 340px; }
.dir-filter input {
  width: 100%; height: 52px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 20px 0 48px; font-weight: 500; font-size: 15px; background: var(--panel);
}
.dir-filter input:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.dir-filter svg { position: absolute; left: 18px; top: 16px; width: 20px; height: 20px; color: var(--muted); }

.dir-cols { columns: 2; column-gap: 22px; }
.cat {
  break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.cat:hover { box-shadow: var(--shadow); }
.cat-band {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px 13px 18px; background: var(--grad); color: #fff;
}
.cat-band h3 { font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; line-height: 1.3; flex: 1; }
.cat--empty .cat-band { background: linear-gradient(120deg, #0B2E63, #2A5FA8); }
.cat-list { list-style: none; margin: 0; padding: 6px 8px; }
.cat-list li a { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 10px; }
.cat-list li a:hover { background: var(--panel); }
.cat-list .logo { width: 108px; height: 42px; flex: none; display: grid; place-items: center; }
.cat-list .logo img { max-width: 108px; max-height: 42px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.cat-list .who { flex: 1; min-width: 0; }
.cat-list .who strong { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.cat-list .who span { font-size: 12.5px; color: var(--muted); }
.cat-list .go { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue-700); flex: none; transition: .2s; }
.cat-list li a:hover .go { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.cat-list .go svg { width: 14px; height: 14px; }
.cat-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--blue-700); }
.cat-empty { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; background: var(--panel); font-size: 13.5px; color: var(--muted); }
.cat-empty a { color: var(--blue-700); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cat-empty a:hover { color: var(--navy); }
.cat-empty a svg { width: 14px; height: 14px; }
.cat.is-hidden { display: none; }
.dir-note { margin-top: 26px; display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: var(--r-md); background: #FFF8D6; color: #5B4A00; font-size: 14.5px; }
.dir-note svg { width: 24px; height: 24px; flex: none; color: #B38F00; }

/* featured profiles */
.feat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fcard { border-radius: var(--r-lg); background: var(--white); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcard .flogo { height: 120px; border-radius: 14px; background: var(--panel); display: grid; place-items: center; padding: 20px; }
.fcard .flogo img { max-height: 70px; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.fcard .sector { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
.fcard h3 { font-size: 16px; letter-spacing: -.01em; margin-top: 4px; }
.fcard p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.fcard .country { margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.fcard .country svg { width: 14px; height: 14px; color: var(--blue-500); }
.feat-head { display: flex; justify-content: space-between; align-items: end; margin: 56px 6px 22px; gap: 24px; }
.feat-head .h2 { margin-top: 10px; }

/* map */
.map-sec { text-align: center; }
.map-sec .lede { margin: 16px auto 0; }
.map { position: relative; margin: 46px auto 0; max-width: 1120px; }
.map > img { width: 100%; }
.map svg.routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.routes path { fill: none; stroke: url(#routeGrad); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 6 8; animation: flow 1.8s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.routes .hub circle.core { fill: var(--blue-700); }
.routes .hub circle.halo { fill: var(--blue-500); opacity: .18; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.routes .hub--arab circle.core { fill: var(--yellow); stroke: var(--navy); stroke-width: 2; }
.routes .hub--arab circle.halo { fill: var(--yellow); opacity: .35; }
.routes text { font: 700 21px "Archivo", sans-serif; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
.map-stats { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.map-stats div { background: var(--panel); border-radius: 18px; padding: 18px 26px; text-align: left; min-width: 230px; }
.map-stats b { display: block; font-size: 34px; letter-spacing: -.04em; line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.map-stats span { font-size: 14px; color: var(--muted); }

/* how it works panel */
.how { background: var(--panel); border-radius: var(--r-lg); padding: 48px 52px 40px; margin-top: 56px; }
.how-row { display: grid; grid-template-columns: 300px 1fr 44px; gap: 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.how-row:last-of-type { border-bottom: 0; }
.how-row h3 { font-size: 18px; letter-spacing: -.01em; display: flex; gap: 14px; align-items: center; }
.how-row h3 span { font-size: 13px; color: var(--blue-700); font-weight: 800; }
.how-row p { color: var(--muted); font-size: 15px; }
.how-row .circ { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--blue-700); background: #fff; }
.how-row .circ svg { width: 18px; height: 18px; }
.how-row:hover .circ { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.how-foot { text-align: center; margin-top: 26px; }

/* advertise CTA band */
.cta {
  position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--grad); color: #fff;
  display: grid; grid-template-columns: 440px 1fr; gap: 64px; padding: 56px; align-items: center;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.cta > *:not(.cta-bg) { position: relative; }
.form-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 22px; padding: 30px; backdrop-filter: blur(14px); }
.form-card h3 { font-size: 24px; }
.form-card > p { color: #D5E2F5; font-size: 14px; margin-top: 6px; }
.form-card form { display: grid; gap: 10px; margin-top: 20px; }
.form-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.95);
  padding: 13px 14px; font-weight: 500; font-size: 14.5px; color: var(--ink);
}
.form-card textarea { min-height: 92px; resize: vertical; }
.form-card .btn { justify-content: center; margin-top: 6px; }
.form-ok { display: none; padding: 14px; border-radius: 12px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 14.5px; }
.cta-copy .eyebrow { color: #BFE3FF; }
.cta-copy h2 { font-size: clamp(34px, 4.2vw, 60px); margin-top: 14px; max-width: 18ch; }
.cta-copy > p { color: #D5E2F5; margin-top: 16px; font-size: 17px; max-width: 54ch; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.channels div { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(8,23,51,.35); }
.channels svg { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--yellow); color: var(--navy); flex: none; }
.channels b { display: block; font-size: 15px; }
.channels span { font-size: 13.5px; color: #C8D8EE; line-height: 1.45; }
.cta-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.cta-actions small { color: #BFD3EE; font-size: 13px; }

/* insights */
.ins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icard { border-radius: var(--r-lg); overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.icard figure { margin: 0; height: 210px; overflow: hidden; position: relative; }
.icard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.icard:hover figure img { transform: scale(1.06); }
.icard figure span { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 99px; padding: 5px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); }
.icard .body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.icard h3 { font-size: 19px; letter-spacing: -.015em; }
.icard p { font-size: 14.5px; color: var(--muted); }
.icard .more { margin-top: auto; padding-top: 8px; color: var(--blue-700); font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.icard .more svg { width: 15px; height: 15px; }

/* partners */
.partners-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.partners-grid div { height: 112px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 18px; }
.partners-grid img { max-height: 62px; max-width: 100%; object-fit: contain; transition: transform .3s; mix-blend-mode: multiply; }
.partners-grid div:hover img { transform: scale(1.06); }
.prev { margin-top: 32px; display: flex; gap: 22px; align-items: baseline; }
.prev h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; flex: none; }
.prev ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prev li { border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 600; }

/* footer */
.site-footer { margin-top: 14px; background: var(--navy); color: #C7D3E8; }
.foot {
  position: relative; padding: 72px 0 56px;
  display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: 48px;
}
.foot .brand-en { color: #fff; }
.foot .brand-ar { color: #fff; }
.foot p { font-size: 14.5px; margin-top: 18px; line-height: 1.65; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.foot ul a:hover { color: var(--yellow); }
.foot .contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot .contact svg { width: 17px; height: 17px; color: var(--yellow); flex: none; margin-top: 3px; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.foot-social a:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.foot-social svg { width: 17px; height: 17px; }
.copy { text-align: center; font-size: 13px; color: #8EA3C4; padding: 22px 0 26px; line-height: 1.6; border-top: 1px solid rgba(255,255,255,.1); }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hdr { height: 76px; position: relative; }
  .hdr-cta { display: none; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; align-items: center; justify-content: center; margin-left: auto; cursor: pointer; flex: none; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(8,23,51,.3); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 6px var(--gut) 14px; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav, .main-nav ul, .main-nav li { height: auto; }
  .main-nav li { display: block; }
  .main-nav ul { align-items: stretch; }
  .main-nav { z-index: 70; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); }
  .has-mega > a { display: flex !important; }
  .mega { display: none; }
  .has-mega > a svg { display: none; }
}
@media (max-width: 1200px) {
  .mega-in { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .mega-card { display: none; }
  .ut-right a span { display: none; }
  .slide { grid-template-columns: 1fr; padding: 44px var(--gut) 80px; }
  .sponsor-perks { display: none; }
  .slide { align-content: center; gap: 22px; }
  .slide-brand { order: -1; justify-self: start; width: auto; }
  .slide-brand::before { display: none; }
  .slide-brand img { width: 260px; }
  .slide-copy h2 { margin-top: 18px; }
  .feat { grid-template-columns: repeat(3, 1fr); }
  .feat .fcard:nth-child(n+4) { display: none; }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .cta { grid-template-columns: 1fr; }
  .cta .form-card { order: 2; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --gut: 16px; }
  .ut-search { display: none; }
  .ph { padding: 44px 0; }
  .hero-cards { grid-template-columns: 1fr; }
  .sec { padding: 48px 22px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .dir-tools { align-items: stretch; width: 100%; }
  .dir-filter { width: 100%; }
  .dir-cols { columns: 1; }
  .how { padding: 28px 22px; }
  .how-row { grid-template-columns: 1fr; gap: 8px; }
  .how-row .circ { display: none; }
  .ins { grid-template-columns: 1fr; }
  .cta { padding: 36px 22px; gap: 32px; }
  .channels { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr 1fr; }
  .feat .fcard:nth-child(n+3) { display: none; }
  .feat-head { flex-direction: column; align-items: flex-start; }
  .map-stats div { min-width: 0; flex: 1 1 100%; }
  .prev { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .brand { --s: 12px; }
  .ut-org { letter-spacing: .14em; font-size: 10.5px; }
  .ut-right { display: none; }
  .tk-label { padding-left: 16px; letter-spacing: .12em; font-size: 11.5px; }
  .banner { min-height: 540px; }
  .slide { padding: 34px var(--gut) 84px; align-items: center; align-content: center; }
  .slide-brand img { width: 200px; }
  .banner-label { display: none; }
  .banner-ui { left: var(--gut); right: var(--gut); }
  .slide .btn-ghost { display: none; }
  .hcard { flex-wrap: wrap; }
  .hcard .thumb { display: none; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card .two { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; padding: 44px 0 40px; gap: 32px; }
    .cat-list .logo { width: 70px; }
  .cat-list .logo img { max-width: 70px; max-height: 36px; }
  .routes text { font-size: 22px; }
}

/* ---------- Directory page (search / filter / sort) ---------- */
.dir { padding: 28px; }
.dir-bar { display: flex; gap: 12px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dir-q { position: relative; flex: 1; }
.dir-q svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.dir-q input { width: 100%; height: 56px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--panel); padding: 0 18px 0 50px; font-size: 16px; color: var(--ink); }
.dir-q input:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.dir-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.dir-sort select { height: 56px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 40px 0 16px; font-size: 15px; font-weight: 600; color: var(--ink); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6A80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
.dir-ftoggle { display: none; height: 56px; }
.dir-grid { display: grid; grid-template-columns: 290px 1fr; gap: 32px; padding-top: 24px; }

.dir-filters { align-self: start; position: sticky; top: 150px; }
.f-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.f-head h3 { font-size: 18px; }
.f-head button, .dir-chips button { border: 0; background: none; color: var(--blue-700); font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 0; }
.dir-filters details { border-top: 1px solid var(--line); padding: 14px 0; }
.dir-filters summary { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.dir-filters summary::-webkit-details-marker { display: none; }
.dir-filters summary::after { content: "–"; color: var(--muted); }
.dir-filters details:not([open]) summary::after { content: "+"; }
.f-list { display: grid; gap: 2px; margin-top: 10px; }
.f-scroll { max-height: 380px; overflow: auto; padding-right: 6px; }
.chk { display: flex; align-items: flex-start; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; cursor: pointer; line-height: 1.35; }
.chk:hover { background: var(--panel); }
.chk input { accent-color: var(--blue-700); width: 16px; height: 16px; margin: 1px 0 0; flex: none; }
.chk span { flex: 1; }
.chk em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--panel); border-radius: 99px; padding: 2px 8px; }
.chk.is-empty { color: #A3AFC0; cursor: default; }
.chk.is-empty:hover { background: none; }
.tgl { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; padding: 6px 0 16px; cursor: pointer; }
.tgl input { position: absolute; opacity: 0; }
.tgl span { width: 40px; height: 22px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.tgl span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tgl input:checked + span { background: var(--blue-700); }
.tgl input:checked + span::after { transform: translateX(18px); }
.tgl input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }

.dir-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; min-height: 32px; }
.dir-info [data-count] { font-weight: 700; font-size: 15px; }
.dir-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dir-chips .chip { display: inline-flex; align-items: center; gap: 6px; background: #E5EFFD; color: var(--blue-700); border-radius: 99px; padding: 5px 8px 5px 12px; font-size: 13px; font-weight: 600; }
.dir-chips .chip button { width: 18px; height: 18px; border-radius: 50%; background: rgba(10,77,176,.12); color: var(--blue-700); display: grid; place-items: center; font-size: 13px; line-height: 1; }

.co-list { display: grid; gap: 12px; }
.co {
  display: grid; grid-template-columns: 150px 1fr 260px; gap: 26px; align-items: center;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: box-shadow .25s, border-color .25s;
}
.co:hover { box-shadow: var(--shadow); border-color: transparent; }
.co[hidden] { display: none; }
.co-logo { height: 96px; border-radius: 12px; background: var(--panel); display: grid; place-items: center; padding: 14px; }
.co-logo img { max-width: 100%; max-height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.co-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.co-sector { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700); }
.co-sponsor { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--yellow); color: var(--navy); border-radius: 99px; padding: 3px 8px; }
.co h3 { font-size: 19px; letter-spacing: -.015em; margin-top: 6px; }
.co h3 a:hover { color: var(--blue-700); }
.co p { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.5; }
.co-loc { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.co-loc svg { width: 14px; height: 14px; color: var(--blue-500); flex: none; }
.co-contact { display: grid; gap: 7px; font-size: 13.5px; border-left: 1px solid var(--line); padding-left: 22px; }
.co-contact a { display: flex; gap: 8px; align-items: center; min-width: 0; }
.co-contact a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-contact a:not(.btn):hover { color: var(--blue-700); }
.co-contact svg { width: 15px; height: 15px; color: var(--blue-700); flex: none; }
.co-btn { height: 40px; justify-content: center; margin-top: 6px; font-size: 14px; }

.dir-empty { text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: var(--r-md); }
.dir-empty > svg { width: 34px; height: 34px; color: var(--muted); }
.dir-empty h3 { font-size: 20px; margin-top: 12px; }
.dir-empty p { color: var(--muted); margin: 6px 0 18px; }
.open-sectors { margin-top: 28px; border-radius: var(--r-md); background: var(--panel); padding: 26px; display: grid; gap: 16px; }
.open-sectors h3 { font-size: 20px; margin-top: 8px; }
.open-sectors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.open-sectors li { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; font-size: 13.5px; font-weight: 600; }
.open-sectors .btn { justify-self: start; }

@media (max-width: 1200px) {
  .co { grid-template-columns: 130px 1fr; }
  .co-contact { grid-column: 2; border-left: 0; padding-left: 0; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
}
@media (max-width: 960px) {
  .dir { padding: 18px; }
  .dir-bar { flex-wrap: wrap; }
  .dir-q { flex: 1 1 100%; }
  .dir-sort { flex: 1; }
  .dir-sort span { display: none; }
  .dir-sort select { width: 100%; height: 50px; }
  .dir-ftoggle { display: inline-flex; height: 50px; }
  .dir-grid { grid-template-columns: 1fr; }
  .dir-filters { display: none; position: static; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
  .dir-filters.is-open { display: block; }
  .co { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .co-logo { height: 80px; justify-self: start; width: 150px; }
  .co-contact { grid-column: auto; grid-template-columns: 1fr; }
}

/* ================= Inner pages ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.sub { font-size: 27px; letter-spacing: -.015em; margin: 44px 0 18px; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.split .h2 { margin-top: 12px; }
.split .lede { max-width: none; }

/* feature cards */
.fx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fx-grid--4 { grid-template-columns: repeat(4, 1fr); }
.fx-grid--5 { grid-template-columns: repeat(5, 1fr); }
.fx { background: var(--panel); border-radius: var(--r-md); padding: 24px; }
.fx-ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--blue-700); margin-bottom: 16px; }
.fx-ic svg { width: 21px; height: 21px; }
.fx h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 8px; }
.fx p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* definition list */
.dl { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.dl li { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.dl b { font-weight: 700; font-size: 15.5px; }
.dl span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.track .dl li, .reach .dl li, .feature-box .dl li { grid-template-columns: 1fr; gap: 4px; }

/* tracks */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.track { background: var(--panel); border-radius: var(--r-lg); padding: 30px; }
.track--alt { background: var(--navy); color: #fff; }
.track.track--alt p, .track--alt .dl span { color: #B9C7DD; }
.track--alt .dl, .track--alt .dl li { border-color: rgba(255,255,255,.12); }
.track-n { display: inline-block; font: 600 12px/1 "IBM Plex Mono", monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-700); background: #fff; padding: 6px 10px; border-radius: 99px; margin-bottom: 16px; }
.track--alt .track-n { background: var(--yellow); color: var(--navy); }
.track h3 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 12px; }
.track p { color: var(--muted); font-size: 15.5px; }
.track .dl { margin-top: 14px; }

.reach { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.reach p { margin-top: 10px; }

/* bio */
.bio { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.bio-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 32px; position: sticky; top: 160px; }
.bio-mono { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 28px; letter-spacing: .02em; margin-bottom: 20px; }
.bio-card h3 { font-size: 22px; }
.bio-card > p { color: #9FB2D0; font-size: 14px; margin-top: 6px; }
.bio-card ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.bio-card li { display: flex; gap: 10px; font-size: 14px; color: #D5E2F5; line-height: 1.45; }
.bio-card li svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }
.bio-card .btn { width: 100%; justify-content: center; }
.prose { max-width: 72ch; }
.prose .h2 { margin: 12px 0 22px; }
.prose p { font-size: 17px; line-height: 1.75; color: #33445C; margin-bottom: 18px; }
.prose h2 { font-size: 32px; letter-spacing: -.02em; margin-bottom: 16px; }
.prose h3 { font-size: 19px; margin: 30px 0 12px; }
.prose a { color: var(--blue-700); text-decoration: underline; }
blockquote { margin: 30px 0 0; padding: 26px 30px; border-left: 4px solid var(--yellow); background: var(--panel); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 19px; line-height: 1.6; font-weight: 500; }

/* long-form document layout */
.doc { display: grid; grid-template-columns: 270px 1fr; gap: 14px; align-items: start; }
.toc { position: sticky; top: 150px; background: #fff; border-radius: var(--r-lg); padding: 24px; }
.toc ol { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 2px; }
.toc a { display: flex; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.toc a span { font: 500 12px/1.6 "IBM Plex Mono", monospace; color: var(--muted); }
.toc a:hover, .toc a.is-current { background: var(--panel); color: var(--blue-700); }
.toc .btn { width: 100%; justify-content: center; }
.doc-body { display: grid; gap: 14px; min-width: 0; }
.doc-sec { scroll-margin-top: 150px; }
.doc-sec .h2 { margin: 12px 0 14px; }
.callout { margin-top: 32px; padding: 24px 28px; border-radius: var(--r-md); background: #FFF8D6; color: #4A3C00; font-size: 15.5px; line-height: 1.65; }
.pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pics figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--panel); }
.pics img { width: 100%; height: 190px; object-fit: cover; }
.pics figcaption { padding: 18px 20px 22px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.pics figcaption b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.feature-box { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px; border-radius: var(--r-lg); background: var(--grad); color: #fff; }
.feature-box h3 { font-size: 36px; letter-spacing: -.025em; margin: 14px 0 12px; }
.feature-box p { color: #D5E2F5; }
.feature-box .dl, .feature-box .dl li { border-color: rgba(255,255,255,.18); }
.feature-box .dl span { color: #D5E2F5; }
.badge { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.mini-grid > div { background: var(--panel); border-radius: var(--r-md); padding: 22px 24px; }
.mini-grid h4 { font-size: 16px; margin: 0 0 12px; letter-spacing: 0; }
.mini-grid ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 14.5px; color: var(--muted); }

/* legal */
.legal { padding: 56px 64px; }
.legal-sec { scroll-margin-top: 150px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); max-width: 860px; }
.legal-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-sec h2 { font-size: 32px; letter-spacing: -.02em; display: flex; gap: 14px; align-items: baseline; margin-bottom: 18px; }
.legal-sec h2 span { font: 500 14px/1 "IBM Plex Mono", monospace; color: var(--blue-700); }
.legal-sec h3 { font-size: 18px; margin: 28px 0 12px; }
.legal-sec p { font-size: 16px; line-height: 1.75; color: #33445C; margin-bottom: 14px; }
.legal-sec a { color: var(--blue-700); text-decoration: underline; }
.draft-note { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 14px 20px; border-radius: var(--r-md); background: #FFF8D6; color: #5B4A00; font-weight: 600; font-size: 14.5px; }
.draft-note svg { width: 20px; height: 20px; flex: none; }

/* sector pages */
.sector-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.side-list { position: sticky; top: 150px; border-left: 1px solid var(--line); padding-left: 28px; }
.side-list ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 1px; max-height: calc(100vh - 220px); overflow: auto; }
.side-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.side-list a:hover { background: var(--panel); color: var(--ink); }
.side-list a[aria-current] { background: var(--navy); color: #fff; font-weight: 600; }
.side-list a i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; }
.sector-empty { text-align: center; padding: 64px 32px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); }
.sector-empty > svg { width: 44px; height: 44px; color: var(--blue-500); }
.sector-empty h2 { font-size: 32px; letter-spacing: -.02em; margin: 16px auto 10px; max-width: 24ch; }
.sector-empty p { color: var(--muted); max-width: 52ch; margin: 0 auto 22px; }
.sponsor-slot { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 28px; border-radius: var(--r-md); background: var(--panel); }
.sponsor-slot h3 { font-size: 19px; margin: 8px 0 6px; }
.sponsor-slot p { color: var(--muted); font-size: 14.5px; }

/* company profile */
.profile-top { margin-top: 18px; }
.profile { padding: 40px 56px 56px; }
.crumbs--dark { color: var(--muted); flex-wrap: wrap; }
.crumbs--dark a:hover { color: var(--blue-700); }
.pf-head { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; margin: 26px 0 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.pf-logo { height: 150px; border-radius: var(--r-lg); background: var(--panel); display: grid; place-items: center; padding: 26px; }
.pf-logo img { max-height: 96px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pf-head h1 { font-size: clamp(34px, 4.2vw, 60px); letter-spacing: -.02em; margin: 10px 0 10px; }
.pf-sum { font-size: 18px; color: var(--muted); max-width: 60ch; }
.pf-head .co-loc { font-size: 14px; }
.pf-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; color: #33445C; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081733' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pf-ad { margin: 0; max-width: 420px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.pf-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 30px; padding: 16px 18px; border-radius: var(--r-md); background: var(--panel); font-size: 14px !important; color: var(--muted) !important; line-height: 1.55 !important; }
.pf-note svg { width: 18px; height: 18px; flex: none; color: var(--blue-700); margin-top: 2px; }
.pf-card { position: sticky; top: 150px; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.pf-card h3 { font-size: 20px; margin-bottom: 14px; }
.pf-person { color: var(--yellow); font-weight: 600; font-size: 14.5px; margin-bottom: 12px; }
.pf-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 13px; }
.pf-card li { display: flex; gap: 11px; font-size: 14.5px; color: #D5E2F5; line-height: 1.45; word-break: break-word; }
.pf-card li svg { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 1px; }
.pf-card a:hover { color: var(--yellow); }
.pf-card .btn { width: 100%; justify-content: center; }

@media (max-width: 1200px) {
  .fx-grid--4, .fx-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, 1fr); }
  .toc .btn { display: none; }
  .sector-layout { grid-template-columns: 1fr; }
  .side-list { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .side-list ul { max-height: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .side-list a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-card { position: static; }
}
@media (max-width: 960px) {
  .split, .reach, .bio, .tracks, .feature-box { grid-template-columns: 1fr; gap: 28px; }
  .bio-card { position: static; }
  .fx-grid, .fx-grid--3, .pics, .mini-grid { grid-template-columns: 1fr; }
  .dl li { grid-template-columns: 1fr; gap: 4px; }
  .legal { padding: 36px 22px; }
  .profile { padding: 26px 20px 36px; }
  .pf-head { grid-template-columns: 1fr; gap: 20px; }
  .pf-logo { width: 220px; height: 120px; }
  .sponsor-slot { flex-direction: column; align-items: flex-start; }
  .toc ol { grid-template-columns: 1fr; }
  .feature-box { padding: 26px 22px; }
}
@media (max-width: 600px) {
  .fx-grid--4, .fx-grid--5 { grid-template-columns: 1fr; }
}

/* contact page */
.contact-page { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.contact-form .h2 { margin: 12px 0 26px; }
.contact-form form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--panel); border-radius: 12px; padding: 13px 15px; font-size: 15px; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.contact-form textarea { resize: vertical; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { accent-color: var(--blue-700); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.consent span { margin: 0 !important; font-weight: 400 !important; font-size: 14px !important; }
.consent a { color: var(--blue-700); text-decoration: underline; }
.contact-form .btn { justify-self: start; }
.contact-form .form-ok { display: none; }
.contact-side { display: grid; gap: 14px; position: sticky; top: 150px; }
.contact-card { position: static; }
.contact-card h3 { font-size: 18px; }
.contact-card .foot-social { margin-top: 0; }
.contact-card .foot-social a { color: #fff; }
.quick { display: grid; gap: 8px; }
.quick a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--panel); transition: background .2s; }
.quick a:hover { background: #E5EFFD; }
.quick svg { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: #fff; color: var(--blue-700); flex: none; }
.quick b { display: block; font-size: 15px; }
.quick span { font-size: 13.5px; color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--blue-700); flex: none; transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 72ch; }
@media (max-width: 1200px) { .contact-page { grid-template-columns: 1fr; } .contact-side { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .field-row, .contact-side { grid-template-columns: 1fr; } }

/* footer CTA strip */
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-cta .eyebrow { color: var(--yellow); }
.foot-cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.025em; margin-top: 10px; max-width: 24ch; }
.foot-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.foot-cta .btn-yellow { box-shadow: none; }
@media (max-width: 960px) { .foot-cta { flex-direction: column; align-items: flex-start; padding: 44px 0; } }

/* market opportunities: country filter */
.cf { margin-top: 14px; background: #fff; border-radius: var(--r-lg); padding: 18px 22px; display: flex; gap: 20px; align-items: center; }
.cf-label { display: flex; gap: 8px; align-items: center; font: 600 12.5px/1 "IBM Plex Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); flex: none; }
.cf-label svg { width: 18px; height: 18px; color: var(--blue-700); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cf-group { font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 2px 0 10px; }
.cf-chip { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: .2s; }
.cf-chip:hover { border-color: var(--blue-500); color: var(--blue-700); }
.cf-chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-c].is-off { display: none !important; }
.cf-none { padding: 18px 22px; border-radius: var(--r-md); background: var(--panel); color: var(--muted); font-size: 15px; margin-top: 24px; }
.snap { background: var(--grad); color: #fff; border-radius: var(--r-xl); padding: 40px 44px; scroll-margin-top: 150px; }
.snap-group { font: 600 12px/1 "IBM Plex Mono", monospace; letter-spacing: .2em; text-transform: uppercase; background: var(--yellow); color: var(--navy); padding: 6px 10px; border-radius: 99px; }
.snap-head h2 { font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -.02em; margin: 16px 0 8px; }
.snap-head p { color: #D5E2F5; }
.snap-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.snap h3 { font-size: 15px; letter-spacing: .02em; margin-bottom: 14px; color: #fff; }
.snap .ticks li { color: #E3ECF8; font-size: 15px; }
.snap-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.snap-tags span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
.snap-cos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.snap-cos a { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 12px; padding: 8px 14px 8px 8px; font-weight: 600; font-size: 14.5px; }
.snap-cos img { width: 64px; height: 36px; object-fit: contain; }
.snap-cos a:hover { color: var(--blue-700); }
.snap .muted { color: #D5E2F5; }
.snap .muted a { color: var(--yellow); text-decoration: underline; }
@media (max-width: 960px) {
  .cf { flex-direction: column; align-items: flex-start; }
  .cf-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; }
  .cf-chip, .cf-group { flex: none; }
  .snap { padding: 28px 22px; }
  .snap-grid { grid-template-columns: 1fr; gap: 28px; }
}


/* market filter dropdowns */
.cf { flex-wrap: wrap; }
.cf-sel { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.cf-sel select {
  height: 46px; min-width: 240px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 40px 0 14px; font-size: 15px; font-weight: 600; color: var(--ink); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6A80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.cf-sel select:focus { outline: none; border-color: var(--blue-500); }
.cf-reset { border: 0; background: none; color: var(--blue-700); font-weight: 700; font-size: 14px; cursor: pointer; }
.cf-count { margin-left: auto; font: 500 13px/1 "IBM Plex Mono", monospace; color: var(--muted); }
.snap-tags button { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; color: #fff; cursor: pointer; }
.snap-tags button:hover, .snap-tags button.is-on { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.sbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 22px 26px; }
.sbar b { font-size: 20px; letter-spacing: -.015em; }
.sbar > span:not(.snap-group) { color: #9FB2D0; font-size: 14px; }
.sbar .btn { margin-left: auto; box-shadow: none; }
.doc-sec h3.sub.is-off { display: none; }
@media (max-width: 960px) { .cf-sel { width: 100%; justify-content: space-between; } .cf-sel select { min-width: 0; flex: 1; } .cf-count { margin-left: 0; } }

/* ===== flat sections: sit on the page background, alternate with rounded white blocks ===== */
.block.flat { background: transparent; border-radius: 0; }
.flat--rule { border-top: 1px solid #D3DCE8; }
.flat .fx, .flat .track:not(.track--alt), .flat .map-stats div, .flat .pics figure, .flat .mini-grid > div,
.flat .sponsor-slot, .flat .quick a, .flat .partners-grid div, .flat .open-sectors li, .flat .prev li,
.flat .pf-logo, .flat .faq details, .flat .reach, .flat .co-logo, .flat .chk em, .flat .sector-empty,
.flat .dir-q input, .flat .dir-sort select, .flat .contact-form input:not([type=checkbox]), .flat .contact-form select, .flat .contact-form textarea,
.flat .pf-note, .flat .callout { background-color: #fff; }
.flat .fx-ic { background: var(--panel); }
.flat .partners-grid div, .flat .prev li, .flat .faq details, .flat .co { border-color: transparent; }
.flat .open-sectors { background: #fff; }
.flat .open-sectors li { background: var(--panel); }
.flat .dl, .flat .dl li, .flat .dir-bar, .flat .pf-head, .flat .legal-sec { border-color: #D3DCE8; }
.flat .chk:hover, .flat .side-list a:hover { background: #fff; }
.flat .dir-empty, .flat .sector-empty { border-color: #C9D3E1; }
.flat .reach { padding: 40px; border-top: 0; border-radius: var(--r-lg); }
.flat .callout { background: #FFF8D6; }
.flat .pf-note { background: #fff; }
.legal.flat { padding-top: 24px; }
.doc-sec.flat { padding-left: 64px; padding-right: 64px; }

/* full-bleed advertise band (used when it is the last section before the footer) */
.cta-full { margin-bottom: 0; }
.cta-full .cta { border-radius: 0; padding: 72px max(var(--gut), calc((100% - var(--wrap)) / 2)); }
.cta-full + * { margin-top: 0; }
@media (max-width: 960px) { .doc-sec.flat { padding-left: 22px; padding-right: 22px; } .cta-full .cta { padding: 48px var(--gut); } .flat .reach { padding: 24px; } }
main:has(> section.cta-full:last-child) + .site-footer { margin-top: 0; }

/* market mega: 23 countries over 4 columns */
.mega--market .mega-in { grid-template-columns: 280px 0.8fr repeat(3, 1fr); gap: 36px; }
.mega--market .mega-card { padding: 26px; }
.mega--market .mega-card h3 { font-size: 24px; }
@media (max-width: 1200px) { .mega--market .mega-in { grid-template-columns: repeat(4, 1fr); } }

/* mobile: hide world map, hero content vertically centred (left-aligned) */
@media (max-width: 768px) {
  .map { display: none; }
  .map-stats { margin-top: 24px; }
  .slide { align-content: center; align-items: center; }
  .slide-tag { flex-wrap: wrap; row-gap: 6px; }
}

/* photo sections: dark navy overlay (same tone as the footer) */
.ph, .cta { background: var(--navy); }
.ph-bg img, .cta-bg img { opacity: .55; mix-blend-mode: normal; filter: grayscale(.35); }
.ph-bg::after, .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,23,51,.94) 0%, rgba(8,23,51,.82) 45%, rgba(8,23,51,.62) 100%); }
.cta-bg::after { background: rgba(8,23,51,.84); }
.slide--sponsor .slide-bg { background: var(--navy); }
.slide--sponsor .slide-bg img { filter: grayscale(.35); }
.slide--sponsor .slide-bg::after { background: linear-gradient(90deg, rgba(8,23,51,.94) 25%, rgba(8,23,51,.7) 60%, rgba(8,23,51,.45)); }
.channels div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.form-card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.cta-copy .eyebrow { color: var(--yellow); }

/* Reliable anchor targets under the sticky header (home #advertise, #directory, etc.) */
:target { scroll-margin-top: 150px; }
#advertise, #directory, section[id] { scroll-margin-top: 150px; }

/* Footer always ends the page: navy behind the page so scrolling past the end (Mac/phone bounce)
   shows footer colour, no bounce on the page itself, and the footer pinned to the bottom on short pages. */
html { background: var(--navy); overscroll-behavior-y: none; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .site-footer { flex-shrink: 0; }
