:root {
  --night: #07122A;
  --navy: #0B1A33;
  --deep: #122A52;
  --brand: #37587F;
  --sky: #5FB4FF;
  --ice: #B9E2FF;
  --ink: #EAF3FF;
  --muted: #9DB3D1;
  --line: rgba(185, 226, 255, .18);
  --font: 'Jost', system-ui, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Jost', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; overflow: hidden; background: var(--night); color: var(--ink); font-family: var(--font); font-weight: 300; -webkit-font-smoothing: antialiased; }
[dir="rtl"], [lang="ar"] { font-family: var(--font-ar); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--ice); text-decoration: none; }
img { display: block; }
#space { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* ---------- Welcome gate ---------- */
.gate { position: fixed; inset: 0; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; background: radial-gradient(ellipse at 50% 50%, rgba(18,42,82,.0) 0, rgba(7,18,42,.55) 75%); transition: opacity 1.1s ease, transform 1.4s cubic-bezier(.2,.7,.1,1), filter 1.1s ease; }
.gate.leaving { opacity: 0; transform: scale(1.12); filter: blur(6px); pointer-events: none; }
.gate-side { position: relative; display: flex; align-items: center; padding: 0 8vw; text-align: start; transition: opacity .6s ease; width: 100%; height: 100%; }
.gate-side:focus-visible { outline: none; }
.gate-inner > span { display: block; }
.gate-side::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.gate-en::before { background: radial-gradient(ellipse at 20% 50%, rgba(95,180,255,.10), transparent 60%); }
.gate-ar::before { background: radial-gradient(ellipse at 80% 50%, rgba(95,180,255,.10), transparent 60%); }
.gate-side:hover::before, .gate-side:focus-within::before { opacity: 1; }
.gate:has(.gate-en:hover) .gate-ar, .gate:has(.gate-ar:hover) .gate-en { opacity: .45; }
.gate-en { justify-content: flex-start; }
.gate-ar { justify-content: flex-start; text-align: right; }
.gate-inner { position: relative; max-width: 420px; }
.gate-title { font-size: clamp(48px, 7vw, 104px); font-weight: 200; letter-spacing: -.02em; line-height: 1; margin: 18px 0; }
.gate-ar .gate-title { letter-spacing: 0; font-weight: 300; }
.gate-body { color: var(--muted); font-size: 17px; line-height: 1.7; }
.gate-arrow { display: inline-block !important; margin-top: 30px; font-size: 26px; color: var(--sky); transition: transform .5s cubic-bezier(.2,.7,.1,1), color .3s; }
.gate-en:hover .gate-arrow, .gate-en:focus-visible .gate-arrow { transform: translateX(12px); color: var(--ice); }
.gate-ar:hover .gate-arrow, .gate-ar:focus-visible .gate-arrow { transform: translateX(-12px); color: var(--ice); }
.gate-side:focus-visible .gate-title { text-shadow: 0 0 30px rgba(95,180,255,.6); }
.gate-link { margin-top: 28px; color: var(--sky); font-size: 15px; letter-spacing: .04em; border-bottom: 1px solid transparent; padding-bottom: 4px; transition: border-color .3s, color .3s; }
.gate-link:hover, .gate-link:focus-visible { color: var(--ice); border-color: var(--sky); outline: none; }
.gate-side { cursor: pointer; }
.gate-core { position: absolute; left: 50%; top: 50%; width: min(44vw, 520px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: none; }
#nucleus { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gate-core img { position: relative; width: 26%; filter: drop-shadow(0 0 22px rgba(95,180,255,.7)); opacity: 0; animation: fadeIn 1.4s ease 1.6s forwards; }
.gate-meaning { position: absolute; left: 0; right: 0; bottom: 6vh; text-align: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(157,179,209,.7); pointer-events: none; opacity: 0; animation: fadeIn 1.4s ease 2.4s forwards; }
.gate-meaning span[lang="ar"] { letter-spacing: 0; font-size: 14px; }
@keyframes fadeIn { to { opacity: 1; } }

/* water wake */
#wake { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.gate { z-index: 5; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); box-shadow: 0 0 90px rgba(95,180,255,.35), inset 0 0 40px rgba(95,180,255,.2); } }

/* ---------- Site frame ---------- */
.site { position: fixed; inset: 0; z-index: 2; opacity: 0; transition: opacity 1s ease .3s; }
.site.shown { opacity: 1; }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding: 26px 5vw; }
.brand img { height: 26px; opacity: .95; }
.top-actions { display: flex; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 11px 22px; font-size: 14px; letter-spacing: .02em; color: var(--ink); background: rgba(11,26,51,.35); backdrop-filter: blur(6px); transition: border-color .3s, background .3s, transform .3s; }
.pill:hover, .pill:focus-visible { border-color: var(--sky); background: rgba(95,180,255,.12); outline: none; transform: translateY(-1px); }
.pill-solid { background: var(--sky); color: var(--night); border-color: var(--sky); font-weight: 500; }
.pill-solid:hover { background: var(--ice); }

.track { position: absolute; inset: 0; display: flex; transition: transform 1.1s cubic-bezier(.65,0,.15,1); will-change: transform; }
.chapter { flex: 0 0 100vw; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 4vw; padding: 110px 6vw 130px; }
.ch-text { max-width: 560px; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--sky); }
[dir="rtl"] .eyebrow { letter-spacing: .05em; font-size: 13px; }
.display { font-size: clamp(40px, 5.4vw, 84px); font-weight: 200; line-height: 1.06; letter-spacing: -.02em; margin: 20px 0 26px; }
[dir="rtl"] .display { letter-spacing: 0; font-weight: 300; line-height: 1.25; }
.display em { font-style: normal; color: var(--sky); text-shadow: 0 0 30px rgba(95,180,255,.45); }
.lead { color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.85; }
.row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.ch-art { position: relative; height: 100%; min-height: 0; display: grid; place-items: center; }
.chapter .ch-text > * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.chapter.active .ch-text > * { opacity: 1; transform: none; }
.chapter.active .ch-text > *:nth-child(2) { transition-delay: .12s; }
.chapter.active .ch-text > *:nth-child(3) { transition-delay: .24s; }
.chapter.active .ch-text > *:nth-child(4) { transition-delay: .36s; }

.orb { width: min(56vw, 780px); height: min(56vw, 780px); max-height: calc(100vh - 160px); }
.mark-glow { width: min(38vw, 520px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(55,88,127,.55), rgba(11,26,51,0) 68%); border: 1px solid var(--line); box-shadow: 0 0 120px rgba(95,180,255,.18) inset; }
.mark-glow img { width: 62%; filter: drop-shadow(0 0 24px rgba(95,180,255,.6)); }

/* universe */
.uni-art { width: 100%; height: 100%; }
#uniDust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (min-width: 861px) {
  .chapter-universe { grid-template-columns: minmax(0, .72fr) minmax(0, 1.6fr); }
  .chapter-universe .uni-art { height: calc(100% + 240px); margin: -110px 0 -130px; margin-inline-end: -6vw; width: calc(100% + 6vw); }
  .chapter-universe .uni-text { position: relative; z-index: 2; }
}
#universe { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
#universe.hovering { cursor: pointer; }
.tip { position: absolute; pointer-events: none; padding: 8px 14px; border-radius: 999px; background: rgba(7,18,42,.85); border: 1px solid var(--sky); font-size: 13px; white-space: nowrap; opacity: 0; transform: translate(-50%, -150%); transition: opacity .2s; }
.tip.on { opacity: 1; }
.legend { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .3s; }
.legend li:hover, .legend li.on { color: var(--ink); }
.legend i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.sr-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* path */
.path { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; width: 100%; position: relative; counter-reset: s; }
.path::before { content: ''; position: absolute; top: 26px; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--sky), transparent); box-shadow: 0 0 12px var(--sky); }
.path li { position: relative; padding-top: 70px; }
.path li::before { counter-increment: s; content: '0' counter(s); position: absolute; top: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--sky); background: var(--navy); color: var(--sky); font-size: 14px; box-shadow: 0 0 24px rgba(95,180,255,.35); }
.path h4 { font-weight: 400; font-size: 22px; margin-bottom: 10px; }
.path p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* constellation */
.constellation { list-style: none; position: relative; width: min(46vw, 620px); aspect-ratio: 1.2; }
.constellation li { position: absolute; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11,26,51,.6); backdrop-filter: blur(4px); font-size: 15px; white-space: nowrap; animation: float 7s ease-in-out infinite; box-shadow: 0 0 30px rgba(95,180,255,.08); }
.constellation li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); margin-inline-end: 10px; vertical-align: middle; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* venture: ACCUEIA, in its own colours (maroon #5C061E, ivory #FFF7EF) */
.venture-wrap { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.venture-wrap::before { content: ""; position: absolute; width: min(42vw, 560px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,247,239,.22), rgba(92,6,30,.55) 45%, rgba(92,6,30,0) 72%); filter: blur(2px); animation: warm 9s ease-in-out infinite; }
.venture-wrap::after { content: ""; position: absolute; width: min(52vw, 700px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,247,239,.10); }
@keyframes warm { 50% { transform: scale(1.05); } }
.venture { position: relative; max-width: 500px; padding: 48px 46px 42px; border-radius: 26px; background: #FFF7EF; color: #5C061E; box-shadow: 0 40px 120px rgba(0,0,0,.45), 0 0 0 1px rgba(255,247,239,.4), 0 0 90px rgba(92,6,30,.35); }
.venture-kicker { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(92,6,30,.65); }
[dir="rtl"] .venture-kicker { letter-spacing: .04em; font-size: 13px; }
.venture-name { font-family: 'Fraunces', Georgia, serif; font-size: 52px; font-weight: 300; letter-spacing: .14em; color: #5C061E; margin: 14px 0 4px; line-height: 1; }
.venture-tag { margin: 8px 0 20px; color: #5C061E; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 20px; }
[dir="rtl"] .venture-tag { font-family: var(--font-ar); font-style: normal; }
.venture-rule { width: 54px; height: 1px; background: rgba(92,6,30,.35); margin-bottom: 20px; }
.venture-body { color: #4A2A31; line-height: 1.85; margin-bottom: 30px; font-size: 15.5px; }
.venture .pill { background: #5C061E; color: #FFF7EF; border-color: #5C061E; }
.venture .pill:hover, .venture .pill:focus-visible { background: #7A0A28; border-color: #7A0A28; }

/* contact */
.contact { font-style: normal; display: grid; gap: 10px; color: var(--muted); line-height: 1.8; font-size: 14px; margin-top: 8px; }
.contact a { color: var(--ice); }
.form { width: min(46vw, 580px); display: grid; gap: 14px; padding: 34px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(18,42,82,.7), rgba(7,18,42,.7)); backdrop-filter: blur(8px); box-shadow: 0 0 90px rgba(95,180,255,.12); }
.f-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; color: var(--ink); background: rgba(7,18,42,.6); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(95,180,255,.15); }
.form select option { background: var(--navy); }
.f-consent { display: flex !important; align-items: flex-start; gap: 10px; font-size: 13px !important; letter-spacing: 0 !important; line-height: 1.6; }
.f-consent input { margin-top: 3px; accent-color: var(--sky); }
.f-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-actions button[disabled] { opacity: .6; cursor: wait; }
.f-status { font-size: 13px; color: var(--muted); }
.f-status.good { color: #8FE3B0; } .f-status.err { color: #FFB4A8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* chapter nav */
/* horizon timeline (chapter navigation) */
.horizon { position: fixed; left: 5vw; right: 5vw; bottom: 30px; z-index: 4; display: flex; align-items: center; gap: 18px; }
.horizon ol { flex: 1; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.horizon ol::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: linear-gradient(90deg, rgba(185,226,255,0), rgba(185,226,255,.28) 8%, rgba(185,226,255,.28) 92%, rgba(185,226,255,0)); }
.horizon li { display: flex; justify-content: center; }
.horizon ol button { position: relative; padding: 20px 6px 4px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(157,179,209,.55); white-space: nowrap; transition: color .5s; }
[dir="rtl"] .horizon ol button { letter-spacing: 0; font-size: 12.5px; }
.horizon ol button::before { content: ""; position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--night); border: 1px solid rgba(185,226,255,.45); transition: all .5s; }
.horizon ol button b { font-weight: 400; color: var(--sky); margin-inline-end: 8px; opacity: .7; }
.horizon ol button:hover { color: var(--ink); }
.horizon ol button.on { color: var(--ink); }
.horizon ol button.on::before { background: var(--sky); border-color: var(--ice); box-shadow: 0 0 0 5px rgba(95,180,255,.15), 0 0 18px var(--sky); }
.hz-arrow { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ice); opacity: .7; transition: opacity .3s; }
.hz-arrow:hover { opacity: 1; }
.hz-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
[dir="rtl"] .hz-arrow svg { transform: scaleX(-1); }

/* observatory frame */
.frame { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
.fc { position: absolute; width: 22px; height: 22px; border-color: rgba(185,226,255,.35); border-style: solid; border-width: 0; }
.fc.tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
.fc.tr { top: 16px; right: 16px; border-top-width: 1px; border-right-width: 1px; }
.fc.bl { bottom: 16px; left: 16px; border-bottom-width: 1px; border-left-width: 1px; }
.fc.br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }
.f-coord { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .32em; color: rgba(157,179,209,.55); white-space: nowrap; }
.f-side { position: absolute; top: 50%; font-size: 10px; letter-spacing: .34em; color: rgba(157,179,209,.4); white-space: nowrap; }
.f-left { left: 22px; transform: translate(-50%, -50%) rotate(-90deg) translateY(50%); transform-origin: center; left: 26px; }
.f-right { right: 26px; transform: translate(50%, -50%) rotate(90deg) translateY(50%); }

/* large outlined chapter numerals */
.chapter { position: relative; }
.chapter::after { content: attr(data-num); position: absolute; bottom: 6vh; inset-inline-end: 4vw; font-size: clamp(160px, 26vw, 420px); font-weight: 200; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(185,226,255,.07); pointer-events: none; z-index: -1; font-family: var(--font); }
.chapter-universe::after { inset-inline-end: auto; inset-inline-start: 4vw; }

/* service panel */
.panel { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(4,10,24,.55); backdrop-filter: blur(10px); animation: fade .4s ease; }
.panel-card { position: relative; width: min(680px, 92vw); max-height: 86vh; overflow: auto; padding: 48px; border-radius: 28px; border: 1px solid rgba(95,180,255,.35); background: linear-gradient(160deg, rgba(18,42,82,.96), rgba(7,18,42,.96)); box-shadow: 0 0 120px rgba(95,180,255,.2); animation: rise .5s cubic-bezier(.2,.7,.1,1); }
.panel-card h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 300; margin: 12px 0 8px; }
.panel-tag { color: var(--sky); font-size: 18px; margin-bottom: 18px; }
.panel-body { color: var(--muted); line-height: 1.85; margin-bottom: 28px; }
.panel-close { position: absolute; top: 20px; inset-inline-end: 22px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; }
.panel-close:hover { color: var(--ink); border-color: var(--sky); }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; counter-reset: st; }
.steps li { counter-increment: st; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(95,180,255,.06); font-size: 14px; }
.steps li::before { content: counter(st) ' '; color: var(--sky); margin-inline-end: 6px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .gate { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .gate-side { padding: 0 28px; }
  .gate-core { width: 62vw; }
  .gate-meaning { bottom: 3vh; font-size: 10px; }
  .gate-side:hover::before { opacity: 0; }
  .gate-title { margin: 10px 0; }
  .top { padding: 18px 20px; }
  .brand img { height: 20px; }
  .pill { padding: 9px 14px; font-size: 13px; }
  .chapter { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding: 86px 22px 120px; gap: 18px; align-content: start; }
  .display { margin: 12px 0 14px; }
  .lead { font-size: 15px; line-height: 1.7; }
  .orb, .constellation, .form { width: 100%; }
  .f-row { grid-template-columns: 1fr; }
  .form { padding: 22px; gap: 10px; }
  .chapter[data-i="7"], .chapter-why { overflow-y: auto; }
  .orb { height: auto; aspect-ratio: 1; max-height: 42vh; }
  .mark-glow { width: 70vw; }
  .chapter-universe .uni-text .lead { display: none; }
  .legend { margin-top: 10px; grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .path::before { display: none; }
  .path li { padding-top: 62px; }
  .constellation { aspect-ratio: auto; display: flex; flex-wrap: wrap; gap: 10px; }
  .constellation li { position: static; }
  .venture { padding: 30px 26px; }
  .venture-name { font-size: 36px; }
  .venture-wrap::before, .venture-wrap::after { width: 80vw; }
  .horizon { bottom: 16px; left: 12px; right: 12px; gap: 4px; }
  .horizon ol button { font-size: 0; padding: 14px 4px 0; }
  .horizon ol button b { font-size: 10px; margin: 0; }
  .f-side, .f-coord { display: none; }
  .chapter::after { font-size: 46vw; bottom: 14vh; }
  .panel-card { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* text version for visitors without JavaScript and for crawlers */
.noscript { position: relative; z-index: 3; max-width: 820px; margin: 0 auto; padding: 40px 24px; line-height: 1.7; overflow: auto; }
.noscript ul { list-style: none; } .noscript h3 { margin-top: 18px; font-weight: 500; }

/* hero: light streams flowing to Nawat */
.hero-flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.chapter-hero .ch-text { position: relative; z-index: 1; }

/* who we are: advise / operate / optimise + roots visual */
.chapter-who .display { margin-bottom: 18px; }
.chapter-who .lead { max-width: 520px; }
.trio { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.trio li { position: relative; padding: 18px 16px 16px; border-radius: 16px; border: 1px solid rgba(185,226,255,.14); background: linear-gradient(160deg, rgba(18,42,82,.55), rgba(7,18,42,.35)); backdrop-filter: blur(4px); transition: border-color .4s, transform .4s, background .4s; }
.trio li:hover { border-color: rgba(95,180,255,.6); transform: translateY(-3px); background: linear-gradient(160deg, rgba(30,64,120,.6), rgba(7,18,42,.4)); }
.trio li::before { content: ""; position: absolute; top: -1px; inset-inline-start: 16px; width: 28px; height: 2px; border-radius: 2px; background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.trio b { display: block; font-weight: 400; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.trio span { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); }
.values { margin-top: 18px; font-size: 13px; letter-spacing: .04em; color: rgba(157,179,209,.85); }
.values em { font-style: normal; color: var(--ice); }
#roots { position: absolute; inset: 0; width: 100%; height: 100%; }
.roots-label { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); font-size: 10px; letter-spacing: .32em; color: rgba(157,179,209,.6); white-space: nowrap; direction: ltr; }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .trio li { padding: 12px 14px; } .trio span { font-size: 12.5px; }
  .chapter-who { overflow-y: auto; }
  .chapter-who .ch-art { min-height: 220px; }
}

/* who we are: larger visual + facts */
@media (min-width: 861px) {
  .chapter-who { grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); }
  .chapter-who .ch-art { height: calc(100% + 240px); margin: -110px 0 -130px; margin-inline-end: -6vw; width: calc(100% + 6vw); }
  .chapter-who .ch-text { position: relative; z-index: 2; max-width: 600px; }
}
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(185,226,255,.12); }
.facts b { display: block; font-size: 30px; font-weight: 200; color: var(--ice); line-height: 1; text-shadow: 0 0 20px rgba(95,180,255,.5); }
.facts span { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.roots-label { bottom: 16%; }

/* why nawat: six principles */
.principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 760px; counter-reset: pr; }
.principles li { position: relative; padding: 24px 20px 20px; border-radius: 18px; border: 1px solid rgba(185,226,255,.14); background: linear-gradient(165deg, rgba(18,42,82,.6), rgba(7,18,42,.3)); overflow: hidden; opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease, border-color .4s, background .4s; }
.chapter.active .principles li { opacity: 1; transform: none; }
.principles li:nth-child(2) { transition-delay: .08s; } .principles li:nth-child(3) { transition-delay: .16s; } .principles li:nth-child(4) { transition-delay: .24s; } .principles li:nth-child(5) { transition-delay: .32s; } .principles li:nth-child(6) { transition-delay: .4s; }
.principles li::after { content: ""; position: absolute; width: 140px; height: 140px; inset-inline-end: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(95,180,255,.22), transparent 70%); transition: transform .6s; }
.principles li:hover { border-color: rgba(95,180,255,.6); background: linear-gradient(165deg, rgba(30,64,120,.65), rgba(7,18,42,.35)); }
.principles li:hover::after { transform: scale(1.5); }
.principles i { display: block; font-style: normal; font-size: 12px; letter-spacing: .2em; color: var(--sky); margin-bottom: 14px; }
.principles b { display: block; font-weight: 400; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.principles span { display: block; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .principles li { padding: 14px; } .principles b { font-size: 15px; } .principles span { font-size: 12px; }
}

.chapter-why .display { font-size: clamp(36px, 4.3vw, 66px); }

/* WhatsApp: company number */
.wa-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--ice); }
.wa-link svg { width: 18px; height: 18px; fill: currentColor; }
/* contact lines */
.c-lines { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.c-lines li { display: grid; grid-template-columns: 92px auto; align-items: center; gap: 12px; }
.c-k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(157,179,209,.7); }
[dir="rtl"] .c-k { letter-spacing: 0; font-size: 13px; }
.wa-link { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; }

/* what changes: results as spheres */
.res-art { position: relative; width: 100%; height: 100%; }
#results { position: absolute; inset: 0; width: 100%; height: 100%; cursor: default; touch-action: manipulation; }
#results.hovering { cursor: pointer; }
.res-card { position: absolute; left: 50%; bottom: 4%; transform: translate(-50%, 10px); width: min(420px, 90%); text-align: center; padding: 16px 22px; border-radius: 16px; border: 1px solid rgba(95,180,255,.45); background: rgba(7,18,42,.82); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s, transform .35s; pointer-events: none; }
.res-card.on { opacity: 1; transform: translate(-50%, 0); }
.res-card b { display: block; font-weight: 400; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.res-card span { display: block; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
@media (min-width: 861px) {
  .chapter[data-i="5"] { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); }
  .chapter[data-i="5"] .res-art { height: calc(100% + 240px); margin: -110px 0 -130px; margin-inline-end: -6vw; width: calc(100% + 6vw); }
  .chapter[data-i="5"] .res-card { bottom: 150px; }
}
@media (max-width: 860px) { .res-art { min-height: 360px; } }
.c-lines li > a { justify-self: start; }
.c-lines li { grid-template-columns: 92px max-content; }
@media (max-width: 860px) { [dir="rtl"] .horizon ol button { font-size: 0; } .chapter { overflow-y: auto; } }

/* form fields always fit their column (Arabic font is wider) */
.form label { min-width: 0; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; max-width: 100%; }
/* bottom page names: on narrower desktop windows show the numbers, and the name of the current page only */
@media (max-width: 1360px) and (min-width: 861px) {
  .horizon ol button { font-size: 0; letter-spacing: 0; }
  .horizon ol button b { font-size: 10.5px; margin: 0; }
  .horizon ol button.on { font-size: 10.5px; letter-spacing: .18em; }
  [dir="rtl"] .horizon ol button.on { font-size: 12.5px; letter-spacing: 0; }
  .horizon ol button.on b { margin-inline-end: 8px; }
}
