/* Robot Valley · robot-valley.com. The lab's profile as a website: a deep night lit by the logo's
   green, cyan and blue, glass with glowing edges, and a 3D neural brain on the landing. */

@font-face { font-family: "Sora"; src: url("../fonts/sora-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-arabic.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Noto Sans Arabic"; src: url("../fonts/noto-sans-arabic-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  color-scheme: dark;
  --night: #020a1a;
  --night-2: #04112b;
  --navy: #0b1e42;
  --green: #3aaa48;
  --lime: #5fd46b;
  --cyan: #2ed8f0;
  --azure: #3d7bff;
  --accent: #7fe3f7;
  --text: rgba(255, 255, 255, .78);
  --muted: rgba(255, 255, 255, .58);
  --faint: rgba(255, 255, 255, .42);
  --line: rgba(255, 255, 255, .12);
  --glass-fill: linear-gradient(135deg, rgba(14, 34, 70, .77), rgba(6, 19, 48, .88));
  --glass-edge: linear-gradient(135deg, rgba(46, 216, 240, .34), rgba(255, 255, 255, .06) 50%, rgba(61, 123, 255, .24));
  --glass-edge-lit: linear-gradient(135deg, rgba(46, 216, 240, .8), rgba(255, 255, 255, .08) 50%, rgba(61, 123, 255, .6));
  --spectrum: linear-gradient(90deg, var(--green), var(--cyan), var(--azure));
  --button: linear-gradient(90deg, #1fb3d8, #3d7bff);
  --head: "Sora", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Open Sans", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 3.4vw, 48px);
  --top: 96px;
  --lh: 1.65;
  --dir: 1;
}
[dir="rtl"] { --dir: -1; }
:root:lang(ar) { --lh: 1.85; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); overscroll-behavior-x: none; }
body { margin: 0; min-height: 100vh; font: 400 16px/var(--lh) var(--body); color: var(--text); background: var(--night); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.15; color: #fff; text-wrap: balance; }
:lang(ar) :is(h1, h2, h3, h4) { line-height: 1.45; }
p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: rgba(46, 216, 240, .32); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
main { position: relative; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; inset-inline-start: 16px; z-index: 100; padding: 10px 18px; font-weight: 700; color: var(--night); background: var(--accent); border-radius: 999px; }
.skip:focus { top: 14px; }
.wrap { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--read { max-width: calc(880px + 2 * var(--gutter)); }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
.icon--back { transform: scaleX(-1); }
[dir="rtl"] .icon--back { transform: none; }

/* The night behind every page: two glows and, drawn by scene.js, ribbons of light and specks. */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 20%, rgba(42, 91, 255, .25), transparent 70%),
    radial-gradient(55% 60% at 0% 100%, rgba(58, 170, 72, .16), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night) 55%, #01050f); }
[dir="rtl"] .sky { background:
    radial-gradient(60% 55% at 22% 20%, rgba(42, 91, 255, .25), transparent 70%),
    radial-gradient(55% 60% at 100% 100%, rgba(58, 170, 72, .16), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night) 55%, #01050f); }
.sky__canvas { width: 100%; height: 100%; display: block; }

/* Glass: a deep navy panel with a thin edge in the logo's light and a soft glow under it. */
.glass, .panel { position: relative; border: 1.2px solid transparent; background: var(--glass-fill) padding-box, var(--glass-edge) border-box; border-radius: 24px; box-shadow: 0 10px 22px -4px rgba(46, 216, 240, .08); }
.glass--lit { background: var(--glass-fill) padding-box, var(--glass-edge-lit) border-box; box-shadow: 0 10px 30px -4px rgba(46, 216, 240, .24); }
.panel { border-radius: 32px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 20px 28px rgba(0, 0, 0, .18); }
.panel--hero { background: linear-gradient(135deg, rgba(0, 0, 0, .48), rgba(11, 30, 66, .86)) padding-box, var(--glass-edge) border-box; }
.panel--news { background: linear-gradient(135deg, rgba(17, 24, 39, .8), rgba(31, 60, 136, .78)) padding-box, var(--glass-edge) border-box; }
.panel--about { background: linear-gradient(135deg, rgba(0, 0, 0, .55), rgba(6, 32, 74, .82)) padding-box, var(--glass-edge) border-box; }
.panel--stark { background: linear-gradient(135deg, rgba(0, 0, 0, .5), rgba(10, 27, 56, .84)) padding-box, var(--glass-edge) border-box; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; transition: background-color .3s, backdrop-filter .3s; }
.top::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: linear-gradient(90deg, transparent, var(--green) 20%, var(--cyan) 50%, var(--azure) 80%, transparent); opacity: .85; }
.top.is-scrolled { background: rgba(2, 10, 26, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.top__bar { display: flex; align-items: center; gap: 24px; height: var(--top); padding-inline: clamp(14px, 2.4vw, 40px); }
.top__logo { display: inline-flex; flex: none; border-radius: 12px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: auto; height: 52px; filter: drop-shadow(0 0 7px rgba(46, 216, 240, .55)); }
.logo__names { position: relative; display: flex; flex-direction: column; align-items: center; padding-bottom: 6px; line-height: 1; }
.logo__names::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.6px; background: linear-gradient(90deg, transparent, var(--green), var(--cyan), var(--azure), transparent); box-shadow: 0 0 6px rgba(46, 216, 240, .5); }
.logo__ar { font: 700 22px/1.3 "Cairo", sans-serif; color: #fff; white-space: nowrap; }
.logo__en { margin-top: 4px; font: 600 9.5px/1 "Sora", sans-serif; letter-spacing: .42em; padding-inline-start: .42em; color: rgba(255, 255, 255, .9); white-space: nowrap; }
.nav { display: flex; flex: 1; justify-content: center; align-self: stretch; gap: 6px; }
.nav__link { position: relative; display: flex; align-items: center; padding-inline: 10px; font: 600 13.5px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .62); transition: color .2s; }
:lang(ar) .nav__link { font-size: 15px; letter-spacing: 0; }
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 4px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--cyan); box-shadow: 0 0 12px rgba(46, 216, 240, .8); }
.top__end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; font: 600 14px/1 var(--head); color: rgba(255, 255, 255, .9); background: rgba(2, 10, 26, .4); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.chip-link:hover { border-color: rgba(46, 216, 240, .7); background: rgba(46, 216, 240, .1); box-shadow: 0 0 18px rgba(46, 216, 240, .25); }
.chip-link .icon { color: var(--accent); }
.menu-button { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: rgba(2, 10, 26, .45); border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; transition: border-color .2s, box-shadow .2s; }
.menu-button:hover { border-color: rgba(46, 216, 240, .7); box-shadow: 0 0 18px rgba(46, 216, 240, .3); }
.menu-button .icon { width: 22px; height: 22px; }

/* The menu */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__veil { position: absolute; inset: 0; background: rgba(1, 5, 15, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .25s ease-out; }
.drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(400px, 88vw); overflow-y: auto; background: linear-gradient(180deg, #071533, #041026); border-inline-start: 1px solid rgba(46, 216, 240, .25); box-shadow: -20px 0 60px rgba(0, 0, 0, .5); animation: slide-in .3s cubic-bezier(.2, .8, .2, 1); }
[dir="rtl"] .drawer__panel { box-shadow: 20px 0 60px rgba(0, 0, 0, .5); animation-name: slide-in-rtl; }
.drawer__head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 20px; }
.drawer__head::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--spectrum); }
.drawer__nav { display: flex; flex-direction: column; padding: 8px 0; }
.drawer__link, .drawer__group summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; font: 600 16px/1.3 var(--head); letter-spacing: .05em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
:lang(ar) :is(.drawer__link, .drawer__group summary) { letter-spacing: 0; font-size: 17px; }
.drawer__link[aria-current="page"] { color: var(--accent); }
.drawer__link:hover, .drawer__group summary:hover { background: rgba(46, 216, 240, .06); }
.drawer__group summary { cursor: pointer; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .icon { transform: rotate(180deg); }
.drawer__group a { display: block; padding: 11px 24px 11px 40px; padding-inline: 40px 24px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.drawer__group a:hover { color: #fff; }
.drawer__group[open] { padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 24px 32px; }
.drawer__mail { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .72); }
body.menu-open { overflow: hidden; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px; font: 600 12px/1.3 var(--head); letter-spacing: .16em; text-transform: uppercase; color: #bfefff; background: rgba(2, 10, 26, .45); border: 1px solid rgba(46, 216, 240, .28); border-radius: 999px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(95, 212, 107, .85); }
:lang(ar) .eyebrow { font-size: 13.5px; letter-spacing: 0; }
.display, .hero__title, .title { background: linear-gradient(135deg, #fff, #e8f8ff 55%, #9ee9ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.display { font-size: clamp(32px, 4.2vw, 54px); font-weight: 700; letter-spacing: -.022em; }
:lang(ar) .display { letter-spacing: 0; font-size: clamp(30px, 3.6vw, 48px); }
.display--xl { font-size: clamp(40px, 5.2vw, 66px); }
.display--md { font-size: clamp(28px, 3.4vw, 44px); }
.display--read { font-size: clamp(30px, 3.6vw, 46px); }
.display em, .title em { font-style: normal; background: linear-gradient(90deg, var(--accent), #5fb4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.title { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.018em; }
:lang(ar) .title { letter-spacing: 0; }
.title--small { font-size: clamp(22px, 2.2vw, 30px); }
.lead { max-width: 64ch; margin-top: 18px; font-size: clamp(16px, 1.2vw, 18px); color: rgba(255, 255, 255, .76); }
.lead--small { margin-top: 12px; font-size: 16px; }
.fine { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--faint); }
.note { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .64); }
.text-link { color: var(--accent); font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }

/* Buttons and small parts */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; font: 700 15px/1.2 var(--head); color: #fff; background: var(--button); border-radius: 999px; box-shadow: 0 6px 16px rgba(46, 216, 240, .22); transition: box-shadow .22s, transform .22s, filter .22s; }
.button:hover { filter: brightness(1.12); box-shadow: 0 8px 26px rgba(46, 216, 240, .45); transform: translateY(-1px); }
.button .icon { transition: transform .22s; }
.button:hover .icon--dir { transform: translateX(4px); }
[dir="rtl"] .button:hover .icon--dir { transform: scaleX(-1) translateX(4px); }
.button--ghost { background: rgba(2, 10, 26, .4); border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; }
.button--ghost:hover { border-color: rgba(46, 216, 240, .7); background: rgba(46, 216, 240, .1); }
.button--small { min-height: 45px; padding: 0 22px; font-size: 12px; letter-spacing: .1em; }
.button--block { width: 100%; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; color: rgba(255, 255, 255, .9); background: rgba(2, 10, 26, .5); border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.round:hover { border-color: rgba(46, 216, 240, .7); background: rgba(46, 216, 240, .16); box-shadow: 0 0 18px rgba(46, 216, 240, .35); }
.round:disabled { opacity: .35; pointer-events: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; font: 600 12.5px/1.25 var(--head); color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .13); border-radius: 999px; }
.tag--lit { color: #fff; background: rgba(46, 216, 240, .13); border-color: rgba(46, 216, 240, .55); box-shadow: 0 0 14px rgba(46, 216, 240, .18); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 15px; font: 600 13px/1.25 var(--head); color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .13); border-radius: 999px; transition: all .25s; }
.chip:hover { color: #fff; border-color: rgba(46, 216, 240, .45); }
.chip.is-active { color: #fff; background: rgba(46, 216, 240, .13); border-color: rgba(46, 216, 240, .6); box-shadow: 0 0 14px rgba(46, 216, 240, .2); }
.badge { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; font: 700 13px/1 var(--head); color: #fff; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--cyan), var(--azure)); box-shadow: 0 0 14px rgba(46, 216, 240, .4); }
.orb { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; color: #fff; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--azure)); box-shadow: 0 6px 16px rgba(28, 117, 188, .45); }
.orb .icon { width: 24px; height: 24px; }
.checks { display: grid; gap: 10px; margin-top: 18px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .86); }
.checks .icon { margin-top: .18em; color: #6fd07c; }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font: 600 14.5px/1.2 var(--head); letter-spacing: .06em; color: rgba(255, 255, 255, .85); }
:lang(ar) .arrow-link { letter-spacing: 0; font-size: 15px; }
.arrow-link > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--button); box-shadow: 0 0 12px rgba(46, 216, 240, .35); transition: transform .2s; }
.arrow-link > span .icon { width: 15px; height: 15px; }
.arrow-link:hover { color: #fff; }
.arrow-link:hover > span { transform: translateX(calc(3px * var(--dir))); }
.pill-link { display: inline-flex; align-items: center; min-height: 35px; padding: 0 14px; font: 600 12px/1 var(--head); letter-spacing: .08em; color: #fff; background: rgba(46, 216, 240, .08); border: 1.4px solid rgba(46, 216, 240, .7); border-radius: 999px; }
.pill-link:hover { background: rgba(46, 216, 240, .2); }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; min-height: 42px; min-width: 250px; padding: 0 44px 0 18px; padding-inline: 18px 44px; font: 600 14px/1 var(--head); background: rgba(2, 10, 26, .5); border: 1px solid rgba(46, 216, 240, .4); border-radius: 999px; cursor: pointer; }
.select select option { color: #fff; background: #071533; }
.select > .icon { position: absolute; inset-inline-end: 16px; pointer-events: none; color: #fff; }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 48px); }
.split--center { align-items: center; }
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-top { padding-top: clamp(24px, 4vw, 44px); }
.band { margin-top: clamp(48px, 6vw, 80px); }
.band--last { margin-bottom: clamp(48px, 7vw, 96px); }
.head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-bottom: 24px; }

/* Landing */
.hero { position: relative; min-height: calc(100vh - var(--top)); display: flex; flex-direction: column; }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr); align-items: center; gap: 24px; min-height: 470px; }
.hero__text { max-width: 600px; padding-block: 32px; }
.hero__title { font-size: clamp(36px, 4vw, 58px); font-weight: 700; line-height: 1.1; letter-spacing: -.024em; }
:lang(ar) .hero__title { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.42; letter-spacing: 0; }
.hero__bar { display: block; width: 84px; height: 4px; margin-top: 24px; border-radius: 4px; background: var(--spectrum); box-shadow: 0 0 12px rgba(46, 216, 240, .6); }
.hero__lead { margin-top: 24px; font-size: clamp(16.5px, 1.3vw, 18.5px); color: rgba(255, 255, 255, .74); }
.hero__scene { position: relative; align-self: stretch; min-height: 420px; }
.brain { position: absolute; inset: 0 -10% -12% -10%; width: 120%; height: 112%; display: block; }

.rail { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 8px clamp(8px, 2vw, 32px) 40px; }
.rail__track { flex: 1; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 14px 4px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); cursor: grab; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.card { --accent-c: var(--accent); position: relative; flex: none; display: flex; flex-direction: column; width: 300px; min-height: 236px; padding: 20px 22px 18px; overflow: hidden; scroll-snap-align: start; border: 1.2px solid transparent; border-radius: 22px; background: linear-gradient(135deg, rgba(16, 36, 72, .91), rgba(7, 20, 48, .95)) padding-box, linear-gradient(135deg, color-mix(in srgb, var(--accent-c) 50%, transparent), rgba(255, 255, 255, .08), color-mix(in srgb, var(--accent-c) 20%, transparent)) border-box; box-shadow: 0 8px 18px -2px color-mix(in srgb, var(--accent-c) 10%, transparent); transition: transform .26s cubic-bezier(.2, .8, .2, 1), box-shadow .26s, background .26s; }
.card:hover, .card:focus-visible { transform: translateY(-6px); background: linear-gradient(135deg, rgba(16, 36, 72, .91), rgba(7, 20, 48, .95)) padding-box, linear-gradient(135deg, color-mix(in srgb, var(--accent-c) 90%, transparent), rgba(255, 255, 255, .08), color-mix(in srgb, var(--accent-c) 50%, transparent)) border-box; box-shadow: 0 12px 30px -2px color-mix(in srgb, var(--accent-c) 32%, transparent); }
.card--news { --accent-c: var(--lime); }
.card--product { --accent-c: var(--cyan); }
.card--service { --accent-c: var(--azure); }
.card--project { --accent-c: #2bd4a7; }
.card--article { --accent-c: #7c93ff; }
.card__head { display: flex; align-items: center; gap: 12px; }
.card__sign { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--accent-c) 95%, transparent), color-mix(in srgb, var(--accent-c) 35%, transparent)); box-shadow: 0 0 16px color-mix(in srgb, var(--accent-c) 45%, transparent); }
.card__sign .icon { width: 21px; height: 21px; }
.card__kind { flex: 1; font: 600 11.5px/1.3 var(--head); letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--accent-c) 55%, #fff); }
:lang(ar) .card__kind { font-size: 13px; letter-spacing: 0; }
.card__go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); transition: all .26s; }
.card__go .icon { width: 16px; height: 16px; }
.card:hover .card__go { background: var(--accent-c); border-color: var(--accent-c); }
.card__title { display: -webkit-box; margin-top: 20px; font: 600 18px/1.35 var(--head); color: #fff; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__text { display: -webkit-box; margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .66); -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__wave { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 64px; pointer-events: none; fill: none; stroke: var(--accent-c); stroke-width: 1; opacity: .5; }
.card__wave path:nth-child(2) { opacity: .7; }
.card__wave path:nth-child(3) { opacity: .45; stroke: var(--azure); }
.rail__arrow { position: relative; z-index: 2; }

.trust { padding: 10px 0 clamp(48px, 6vw, 80px); text-align: center; }
.trust__label { margin-bottom: 18px; font: 600 12.5px/1.4 var(--head); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
:lang(ar) .trust__label { font-size: 14px; letter-spacing: 0; }
.trust__window { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.trust__track { display: flex; gap: 18px; width: max-content; animation: marquee calc(var(--n, 8) * 5s) linear infinite; }
[dir="rtl"] .trust__track { animation-name: marquee-rtl; }
.trust__window:hover .trust__track { animation-play-state: paused; }
.trust__track li { width: 192px; height: 96px; overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(46, 216, 240, .25), 0 8px 24px rgba(0, 0, 0, .35); }
.trust__track img, .client__logo img, .org__logo img { width: 100%; height: 100%; object-fit: contain; }

/* Products: the sideways row */
.gallery { position: relative; height: max(600px, calc(100vh - var(--top))); }
/* Each product brings its own scene: the photo fills the night and settles in as it appears. */
.gallery__photos img { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); filter: brightness(.5) saturate(.95); transition: opacity .7s, transform 1.8s cubic-bezier(.2, .7, .2, 1); -webkit-mask-image: radial-gradient(125% 115% at 60% 45%, #000 35%, rgba(0, 0, 0, .55) 65%, transparent 95%); mask-image: radial-gradient(125% 115% at 60% 45%, #000 35%, rgba(0, 0, 0, .55) 65%, transparent 95%); }
.gallery__photos img.is-shown { opacity: 1; transform: none; }
/* Daylight photos stay light; Stark shows its own dashboard. */
.gallery__photos img[data-photo="logistics"] { filter: brightness(.6); }
.gallery__photos img[data-photo="stark"] { filter: brightness(.36) saturate(1.2) contrast(1.15); object-position: left top; }
.gallery__track :is(h1, h2, h3, p) { text-shadow: 0 1px 14px rgba(5, 11, 28, .6); }
.gallery__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__intro { flex: none; width: max(60vw, 738px); display: flex; flex-direction: column; justify-content: center; padding: 24px 100px; }
.gallery__title { display: flex; flex-direction: column; gap: 12px; font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; line-height: 1.15; color: #fff; letter-spacing: -.01em; }
:lang(ar) .gallery__title { line-height: 1.5; letter-spacing: 0; }
.wave span { display: inline-block; }
.wave span span { animation: wave 2.6s ease-in-out infinite; animation-delay: calc(var(--k) * .09s); }
.sweep { background: linear-gradient(90deg, #fff 0 38%, var(--accent) 50%, #fff 62% 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sweep 3s linear infinite; }
.gallery__lead { max-width: 500px; margin-top: 25px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .8); }
.gallery__tools { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px; }
.pcol { position: relative; flex: none; width: 440px; height: 100%; outline: none; }
.pcol::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(46, 216, 240, .55), rgba(61, 123, 255, .4), transparent); }
.pcol::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(180deg, rgba(46, 216, 240, .1), rgba(11, 30, 66, .55) 55%, transparent); transition: opacity .35s; }
.pcol__inner { height: 100%; overflow-y: auto; scrollbar-width: none; padding: max(40px, 30vh) 26px 96px; transition: padding-top .35s cubic-bezier(.2, .8, .2, 1); }
.pcol__inner::-webkit-scrollbar { display: none; }
.pcol__demo { display: flex; justify-content: flex-end; height: 0; overflow: hidden; opacity: 0; transition: opacity .25s, height .25s, margin .25s; }
.pcol__kicker { font: 500 15.5px/1.5 var(--head); color: rgba(46, 216, 240, .85); }
.pcol__title { margin-top: 8px; font-size: 42px; font-weight: 600; line-height: 1.12; color: #fff; transition: color .3s; }
:lang(ar) .pcol__title { font-size: 36px; line-height: 1.45; }
.pcol__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.pcol__more > div { overflow: hidden; }
.pcol__text { margin-top: 20px; font-size: 17px; color: rgba(255, 255, 255, .78); }
.pcol .tag { margin-top: 16px; }
.pcol__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; }
.pcol.is-open::after { opacity: 1; }
.pcol.is-open .pcol__inner { padding-top: 28px; }
.pcol.is-open .pcol__demo { height: 35px; margin-bottom: 24px; opacity: 1; }
.pcol.is-open .pcol__title { background: linear-gradient(90deg, #fff, #9ee9ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pcol.is-open .pcol__more { grid-template-rows: 1fr; opacity: 1; }
.pcol[hidden] { display: none; }
.gallery__hint { position: fixed; top: 0; left: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 15px; font-size: 17px; color: rgba(255, 255, 255, .38); pointer-events: none; opacity: 0; transition: opacity .25s, transform .2s ease-out; }
.gallery__hint.is-shown { opacity: 1; }
/* The dial shows the two sideways directions; it reads the same in Arabic. */
.gallery__hint { white-space: nowrap; }
.gallery__hint-dial { direction: ltr; display: flex; align-items: center; justify-content: space-between; width: 110px; }
.gallery__hint-dial .icon { width: 25px; height: 25px; }
.gallery__hint-dial i { width: 40px; height: 40px; border-radius: 30px; background: rgba(255, 255, 255, .38); border: 2px solid rgba(255, 255, 255, .6); }
.gallery__nav { position: absolute; bottom: 28px; inset-inline-end: 32px; display: flex; gap: 10px; }

/* Services: the tablet */
.svc { display: grid; grid-template-columns: 360px minmax(0, 1fr) 270px; align-items: center; gap: 40px; min-height: max(640px, calc(100vh - var(--top))); padding-block: 24px; max-width: 1488px; }
.svc__copy { display: grid; padding: 28px; border-radius: 28px; }
.svc__panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translate(0, 0); transition: opacity .45s, transform .45s, visibility 0s .45s; }
.svc__panel.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .45s, transform .45s; }
.svc__area { font: 700 13px/1.4 var(--head); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .68); }
:lang(ar) .svc__area { font-size: 14px; letter-spacing: 0; }
.svc__title { margin-top: 16px; font-size: 36px; font-weight: 600; line-height: 1.08; }
:lang(ar) .svc__title { line-height: 1.5; font-size: 32px; }
.svc__text { margin: 18px 0 28px; font: 500 15px/1.7 var(--head); color: rgba(255, 255, 255, .75); }
:lang(ar) .svc__text { font-family: var(--body); line-height: 1.9; }
.svc__stage { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tablet { position: relative; width: min(100%, calc((100vh - var(--top) - 190px) * 1.418)); aspect-ratio: 1400 / 987; animation: float 6s ease-in-out infinite; }
.tablet__halo { position: absolute; inset: 6%; border-radius: 40px; box-shadow: 0 0 70px 4px rgba(46, 216, 240, .18), 0 0 120px 10px rgba(61, 123, 255, .14); }
.tablet::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -26px; height: 18px; border-radius: 40px; box-shadow: 0 0 24px 2px rgba(0, 0, 0, .45); }
.tablet__frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.tablet__screen { position: absolute; left: 8.15%; right: 8.35%; top: 5.46%; bottom: 5.46%; overflow: hidden; border-radius: 3px; background: #fff; }
.screen { position: absolute; inset: 0; opacity: 0; }
.screen.is-active { opacity: 1; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(12px, 3%, 24px) clamp(14px, 4%, 28px); background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .78)); }
.screen figcaption span { font: 700 12.5px/1.4 var(--head); letter-spacing: .1em; color: rgba(255, 255, 255, .75); }
:lang(ar) .screen figcaption span { letter-spacing: 0; }
.screen figcaption strong { margin-top: 4px; font: 600 clamp(17px, 2vw, 28px)/1.25 var(--head); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc__items { display: flex; align-items: center; gap: 8px; margin-top: 34px; }
.dots { display: none; align-items: center; }
.dots.is-active { display: flex; }
.dot { width: 9px; height: 9px; margin: 12px 5px; border-radius: 9px; background: rgba(255, 255, 255, .3); transition: all .3s; }
.dot.is-active { width: 28px; background: linear-gradient(90deg, var(--cyan), var(--azure)); box-shadow: 0 0 10px rgba(46, 216, 240, .5); }
.svc__hint { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 10px; font: 500 12.5px/1.4 var(--head); color: rgba(255, 255, 255, .55); }
.svc__hint span { display: inline-flex; align-items: center; gap: 6px; }
.svc__areas-title { margin-bottom: 14px; font: 700 14px/1.4 var(--head); letter-spacing: .1em; color: rgba(255, 255, 255, .68); }
:lang(ar) .svc__areas-title { letter-spacing: 0; }
.svc__area-list { display: grid; gap: 12px; }
.area { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 18px; font: 600 15px/1.35 var(--head); text-align: start; color: rgba(255, 255, 255, .68); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; transition: all .22s; }
.area span { font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.area:hover { color: #fff; border-color: rgba(46, 216, 240, .35); }
.area.is-active { color: #fff; background: rgba(46, 216, 240, .12); border-color: rgba(46, 216, 240, .55); box-shadow: 0 0 18px rgba(46, 216, 240, .18); }
.area.is-active span { color: rgba(255, 255, 255, .9); }
.svc__stepper { display: flex; align-items: center; gap: 12px; margin-top: 28px; font: 600 14px/1 var(--head); letter-spacing: .1em; color: rgba(255, 255, 255, .7); }

/* Experiences */
.places { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.places li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font: 600 13px/1.25 var(--head); color: rgba(255, 255, 255, .86); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; }
.places .icon { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { min-height: 112px; padding: 22px; }
.stat__value, .metric b { font: 700 40px/1.1 "Sora", var(--head); color: #fff; background: linear-gradient(135deg, #fff, #9ee9ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { margin-top: 6px; font: 500 14px/1.4 var(--head); color: rgba(255, 255, 255, .72); }
.case { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; }
.case__stats { display: grid; gap: 14px; align-content: center; }
.case__stat { display: flex; align-items: baseline; gap: 14px; padding: 18px 20px; background: rgba(2, 10, 26, .35); border: 1px solid rgba(46, 216, 240, .22); border-radius: 18px; }
.case__value { display: inline-flex; align-items: baseline; gap: 4px; }
.case__value b { font: 700 44px/1 "Sora", sans-serif; background: linear-gradient(135deg, var(--lime), var(--cyan), var(--azure)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case__value small { font: 700 18px/1 var(--head); color: var(--accent); }
.case__stat > span:last-child { font: 500 15px/1.4 var(--head); color: rgba(255, 255, 255, .8); }
.edge { padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; scroll-margin-top: 100px; }
.edge .checks { margin-top: 0; }
.edge__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.edge__stats p { display: grid; align-content: start; gap: 8px; padding: 18px 20px; border-top: 2px solid var(--accent); background: rgba(2, 10, 26, .35); border-radius: 0 0 18px 18px; }
.edge__stats b { font: 700 40px/1 "Sora", sans-serif; background: linear-gradient(135deg, var(--lime), var(--cyan), var(--azure)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.edge__stats span { font: 500 14px/1.4 var(--head); color: rgba(255, 255, 255, .78); }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 22px; padding: 18px 24px; border: 1px dashed rgba(46, 216, 240, .3); border-radius: 22px; }
.platforms__label { display: flex; align-items: center; gap: 10px; font: 600 13px/1.4 var(--head); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
:lang(ar) .platforms__label { letter-spacing: 0; font-size: 14px; }
.platforms__label .icon { color: var(--accent); width: 22px; height: 22px; }
.platforms__stat { display: flex; align-items: baseline; gap: 8px; color: rgba(255, 255, 255, .74); }
.platforms__stat b { font: 700 26px/1 "Sora", var(--head); color: #fff; }
.platforms__stat small { font-size: 13px; color: var(--muted); }
.serve { display: flex; align-items: center; gap: 16px; padding: 20px; }
.serve strong { font: 700 15.5px/1.4 var(--head); color: #fff; }
.client { display: flex; flex-direction: column; padding: 24px; transition: transform .25s, opacity .3s; }
.client:hover { transform: translateY(-3px); }
.client[hidden] { display: none; }
.client__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.client__logo { width: 120px; height: 60px; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(46, 216, 240, .3); }
.client h3 { margin-top: 18px; font-size: 21px; font-weight: 700; }
.client__place { display: flex; align-items: center; gap: 6px; margin-top: 6px; font: 500 13px/1.4 var(--head); color: rgba(255, 255, 255, .6); }
.client__text { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .74); }
.client__areas { display: grid; justify-items: start; gap: 6px; margin-top: auto; padding-top: 16px; }
.client__areas a { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/1.4 var(--head); color: #8fb8ff; }
.client__areas a:hover { color: #fff; }
.client__areas .icon { width: 14px; height: 14px; }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.org { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; transition: transform .25s; }
.org:hover { transform: translateY(-3px); }
.org__logo { width: 120px; height: 60px; flex: none; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(46, 216, 240, .3); }
.org__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.org__body strong { font: 700 15.5px/1.35 var(--head); color: #fff; }
.org__body small { display: inline-flex; align-items: center; gap: 5px; font: 500 12.5px/1.3 var(--head); color: rgba(255, 255, 255, .58); }
.org__body small .icon { width: 13px; height: 13px; color: var(--accent); }
.org__body > span { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.domains { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 24px; }
.domains__list { display: grid; gap: 10px; }
.domain-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; font: 600 15px/1.35 var(--head); text-align: start; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; transition: all .22s; }
.domain-tab span { flex: 1; }
.domain-tab small { font-size: 12px; color: rgba(255, 255, 255, .35); }
.domain-tab .icon { width: 20px; height: 20px; color: rgba(255, 255, 255, .5); }
.domain-tab:hover { color: #fff; border-color: rgba(46, 216, 240, .35); }
.domain-tab.is-active { color: #fff; background: rgba(46, 216, 240, .12); border-color: rgba(46, 216, 240, .55); box-shadow: 0 0 18px rgba(46, 216, 240, .18); }
.domain-tab.is-active .icon { color: var(--accent); }
.domain { display: none; overflow: hidden; border-radius: 28px; }
.domain.is-active { display: block; animation: rise .4s ease-out; }
.domain__visual { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: radial-gradient(120% 120% at 40% 35%, #1c4f8c, #0c2a56 50%, #071427); }
.domain__visual img { width: 100%; height: 100%; object-fit: cover; }
.domain__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .8)); }
.domain__visual h3 { position: absolute; z-index: 1; inset-inline: 24px; bottom: 18px; font-size: clamp(22px, 2.2vw, 30px); }
.domain__orb { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 104px; height: 104px; margin: -62px 0 0 -52px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--green), var(--azure)); box-shadow: 0 0 40px 4px rgba(28, 117, 188, .55), 0 0 0 24px rgba(255, 255, 255, .03), 0 0 0 25px rgba(255, 255, 255, .08); }
.domain__orb .icon { width: 48px; height: 48px; }
.domain__body { padding: clamp(22px, 2.4vw, 28px); }
.domain__related { margin-top: 18px; font: 700 13px/1.4 var(--head); letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 24px; }
.step { display: flex; gap: 16px; padding: 22px; }
.step + .step::before { content: "→"; position: absolute; inset-inline-start: -27px; top: 50%; transform: translateY(-50%) scaleX(var(--dir)); font: 400 20px/1 sans-serif; color: rgba(255, 255, 255, .4); }
.step h3 { font-size: 17px; }
.step p { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(24px, 3.4vw, 40px); border-radius: 32px; background: linear-gradient(135deg, rgba(11, 35, 80, .88), rgba(16, 46, 110, .88)) padding-box, var(--glass-edge-lit) border-box; }
.callout .actions { margin-top: 0; }

/* Articles */
.news { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 22px; margin-top: 26px; }
.news__feature { display: grid; align-self: start; position: sticky; top: calc(var(--top) + 16px); }
.feature { grid-area: 1 / 1; padding: clamp(22px, 2.4vw, 30px); border-radius: 28px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s; }
.feature.is-active { visibility: visible; opacity: 1; transition: opacity .4s; }
.feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 500 13px/1.4 var(--head); color: rgba(255, 255, 255, .65); }
.feature h2 { margin-top: 18px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; }
.feature h2 a:hover { color: var(--accent); }
.news__list { display: grid; gap: 12px; align-content: start; }
.story { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px; border-radius: 22px; transition: transform .22s, box-shadow .22s; }
.story:hover { transform: translateY(-2px); }
.story.is-current { background: var(--glass-fill) padding-box, var(--glass-edge-lit) border-box; }
.story__topic { font: 700 12px/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
:lang(ar) .story__topic { letter-spacing: 0; font-size: 13px; }
.story__title { font: 700 16px/1.45 var(--head); color: #fff; }
.story__time { display: flex; align-items: center; gap: 6px; margin-top: auto; font-size: 12.5px; color: var(--faint); }
.read__head { margin-top: 20px; }
.read__head .tag { margin-bottom: 16px; }
.read__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font: 500 13.5px/1.4 var(--head); color: rgba(255, 255, 255, .62); }
.read__meta span { display: inline-flex; align-items: center; gap: 6px; }
.back { display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px/1.3 var(--head); color: #8fb8ff; }
.back:hover { color: #fff; }
.prose { margin-top: 28px; padding: clamp(22px, 3.4vw, 44px); font-size: 17.5px; line-height: 1.8; color: rgba(255, 255, 255, .84); }
:lang(ar) .prose { font-size: 18px; line-height: 1.95; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.8em; font-size: 26px; }
.prose h3 { margin-top: 1.5em; font-size: 21px; }
.prose :is(h2, h3) + * { margin-top: .6em; }
.prose > h2:first-child { margin-top: 0; }
.prose strong { color: #fff; }
.prose a { color: #8fb8ff; text-decoration: underline; text-underline-offset: .2em; }
.prose a:hover { color: #fff; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: -1.1em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(46, 216, 240, .7); }
.prose ol { list-style: decimal; }
.prose ol li::marker { color: #8fb8ff; font-weight: 700; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-inline: 0; padding-inline-start: 18px; color: #fff; border-inline-start: 3px solid var(--cyan); }
.prose hr { height: 1px; border: 0; background: var(--line); }
.table-scroll { overflow-x: auto; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.prose th, .prose td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.prose th { font: 700 13px/1.4 var(--head); color: #fff; background: rgba(255, 255, 255, .06); }
.prose td:first-child { font-weight: 700; color: #fff; }
.prose tr:last-child td { border-bottom: 0; }
.read .callout { margin-top: 28px; }

/* About */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.metric { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 20px; }
.metric b { font-size: 30px; }
.metric span { font: 500 13px/1.4 var(--head); color: rgba(255, 255, 255, .7); }
.facts { display: grid; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.facts dt { font: 600 12.5px/1.4 var(--head); color: var(--faint); }
.facts dd { margin-top: 2px; font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.facts a { color: var(--accent); }
.timeline { position: relative; display: grid; margin-top: 6px; }
.milestone { position: relative; padding-inline-start: 38px; }
.milestone::before { content: ""; position: absolute; inset-inline-start: 10px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .16); }
.milestone:first-child::before { top: 24px; }
.milestone:last-child::before { bottom: calc(100% - 24px); }
.milestone::after { content: ""; position: absolute; inset-inline-start: 5px; top: 19px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: var(--night); transition: all .25s; }
.milestone.is-open::after { inset-inline-start: 4px; top: 18px; width: 14px; height: 14px; border-color: #fff; background: var(--azure); box-shadow: 0 0 12px rgba(61, 123, 255, .8); }
.milestone button { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; width: 100%; padding: 10px 0; text-align: start; }
.milestone strong { font: 600 19px/1.35 var(--head); color: rgba(255, 255, 255, .72); transition: color .2s; }
.milestone button:hover strong, .milestone.is-open strong { color: #fff; }
.milestone.is-open strong { font-size: 22px; }
.milestone p { display: none; padding-bottom: 12px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.milestone.is-open p { display: block; animation: rise .35s ease-out; }
.belief { margin-top: 18px; padding: 22px; border-radius: 22px; }
.belief h2 { font-size: 17px; }
.belief p { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* Stark Assistant */
.twin { display: grid; gap: 12px; }
.twin__layer { display: flex; flex-direction: column; gap: 2px; margin-inline-start: calc(var(--l) * 26px); padding: 16px 20px 16px 36px; padding-inline: 36px 20px; border-radius: 20px; }
.twin__layer::before { content: ""; position: absolute; inset-inline-start: 18px; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: #59a9ee; box-shadow: 0 0 10px #59a9ee; }
.twin__layer:nth-child(2)::before { background: #62d07d; box-shadow: 0 0 10px #62d07d; }
.twin__layer span { font: 700 11.5px/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #8fb4d9; }
:lang(ar) .twin__layer span { letter-spacing: 0; font-size: 13px; }
.twin__layer strong { font: 700 22px/1.3 var(--head); color: #fff; }
.sheet { margin-top: 32px; }
.sheet__panel { display: none; margin-top: 22px; }
.sheet__panel.is-active { display: block; animation: rise .35s ease-out; }
.sheet__panel .grid { margin-top: 20px; }
.mini { padding: 22px; border-radius: 22px; }
.mini h2, .mini h3 { font-size: 17px; }
.mini p { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.mini__sign { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; color: var(--accent); background: rgba(46, 216, 240, .1); border: 1px solid rgba(46, 216, 240, .3); }
.mini--wide { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; }
.mini--wide .mini__sign { margin: 0; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.flow li { position: relative; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 18px; inset-inline-start: 46px; inset-inline-end: 0; height: 2px; background: linear-gradient(90deg, rgba(46, 216, 240, .5), rgba(255, 255, 255, .12)); }
.flow h3 { margin-top: 14px; font-size: 17px; }
.flow p { margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 28px; margin-top: 28px; align-items: start; }
.contact__info { display: grid; gap: 16px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; padding: 28px; border-radius: 26px; }
.field { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.field--wide { grid-column: 1 / -1; }
.field > span:first-child { font: 600 13.5px/1.3 var(--head); color: rgba(255, 255, 255, .7); }
.field input, .field textarea, .select--field select { width: 100%; min-height: 44px; padding: 8px 2px; font-size: 16px; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field :is(input, textarea, select):focus { outline: none; border-bottom-color: var(--cyan); box-shadow: 0 1px 0 var(--cyan); }
.select--field { display: flex; }
.select--field select { min-width: 0; padding-inline: 2px 32px; font: 400 16px var(--body); }
.field.is-invalid :is(input, textarea, select) { border-bottom-color: #ff9a9a; }
.field__error { min-height: 1.2em; font: 500 12.5px/1.3 var(--head); color: #ff9a9a; }
.form .fine { margin-top: 4px; }
.form .button { margin-top: 10px; }
.form .button[disabled] { opacity: .65; pointer-events: none; }
.form__result { padding: 14px 16px; font-size: 15px; color: #fff; border-radius: 14px; }
/* A field people never see; bots fill it. */
.form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__captcha:empty { display: none; }
.form__result.is-sent { background: rgba(30, 122, 60, .55); }
.form__result.is-failed { background: rgba(138, 42, 42, .55); }

/* 404 */
.lost { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.lost__code { font: 800 clamp(90px, 16vw, 180px)/.9 "Sora", sans-serif; letter-spacing: -.06em; background: linear-gradient(135deg, var(--green), var(--cyan), var(--azure)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 24px rgba(46, 216, 240, .35)); }

/* Footer */
.foot { position: relative; margin-top: 0; padding-top: clamp(40px, 5vw, 56px); background: linear-gradient(180deg, rgba(2, 10, 26, .55), rgba(4, 16, 38, .95)); }
.foot::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1.5px; background: linear-gradient(90deg, transparent, var(--green) 20%, var(--cyan) 50%, var(--azure) 80%, transparent); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: 32px; }
.foot__brand p { max-width: 380px; margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.foot__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.chip-link--mail { font-family: var(--head); }
.foot__group { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot__group h2 { position: relative; margin-bottom: 14px; padding-bottom: 12px; font: 700 12.5px/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
:lang(ar) .foot__group h2 { font-size: 14px; letter-spacing: 0; }
.foot__group h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 28px; height: 2px; background: var(--spectrum); }
.foot__group a { display: inline-flex; align-items: center; gap: 8px; font: 500 15.5px/1.3 var(--head); color: rgba(255, 255, 255, .75); transition: color .18s; }
.foot__group a .icon { width: 15px; height: 15px; color: #8fb8ff; opacity: 0; transition: opacity .18s; }
.foot__group a:hover { color: #fff; }
.foot__group a:hover .icon { opacity: 1; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: clamp(28px, 4vw, 40px); padding: clamp(22px, 3vw, 30px) 0 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot__rights { flex: 1; font: 600 13.5px/1.4 var(--head); color: rgba(255, 255, 255, .85); }
.foot__top { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--head); color: rgba(255, 255, 255, .75); }
.foot__top span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.foot__top:hover { color: #fff; }
.foot__top:hover span { border-color: var(--cyan); box-shadow: 0 0 12px rgba(46, 216, 240, .4); }

@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-rtl { from { transform: translateX(-100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes wave { 0%, 40%, 100% { transform: none; } 20% { transform: translateY(-.2em); } }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@keyframes float { 50% { transform: translateY(-7px); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
@keyframes marquee-rtl { to { transform: translateX(calc(50% + 9px)); } }

/* Every client together on the same white tiles: the logo, or the name where there is none. */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; margin-top: 24px; }
.logo-wall li { display: grid; place-items: center; aspect-ratio: 2 / 1; overflow: hidden; padding: 0 8px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(46, 216, 240, .3); }
.logo-wall img { width: 100%; height: 100%; object-fit: contain; }
.logo-wall bdi { font: 600 13px/1.25 var(--head); color: #0b1630; text-align: center; }

/* A brand's own page: its photo and colours (--b1, --b2 from site.json) behind its logo and promise. */
.brand-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(100vh, 920px); margin-top: calc(var(--top) * -1); padding: calc(var(--top) + clamp(48px, 8vw, 120px)) 0 clamp(48px, 6vw, 84px); overflow: hidden; }
.brand-hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(.52) saturate(.9); }
.brand-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 12% 88%, color-mix(in srgb, var(--b1) 42%, transparent), transparent 70%), radial-gradient(50% 60% at 92% 8%, color-mix(in srgb, var(--b2) 30%, transparent), transparent 70%), linear-gradient(180deg, rgba(2, 10, 26, .55), rgba(2, 10, 26, .25) 40%, var(--night)); }
.brand-hero__inner { width: 100%; }
.brand-hero__name { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 0; }
.brand-hero__name small { padding-inline-start: 22px; font: 600 20px/1.2 var(--head); color: rgba(255, 255, 255, .72); border-inline-start: 1px solid rgba(255, 255, 255, .28); }
.brand-logo { display: inline-flex; align-items: center; gap: .32em; }
.brand-logo img { width: auto; height: 76px; }
.brand-logo b { font: 700 58px/1 var(--head); letter-spacing: -.01em; color: #fff; }
.brand-logo--small img { height: 34px; }
.brand-logo--small b { font-size: 24px; }
.brand-hero__tagline { max-width: 20ch; margin-top: 26px; font: 700 clamp(34px, 5.2vw, 68px)/1.08 var(--head); background: linear-gradient(120deg, #fff 35%, color-mix(in srgb, var(--b2) 75%, #fff)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-wrap: balance; }
.brand-hero .lead { max-width: 64ch; margin-top: 18px; }
.brand-button { background: linear-gradient(120deg, var(--b1), var(--b2)); box-shadow: 0 8px 26px color-mix(in srgb, var(--b1) 45%, transparent); }
.brand-button:hover { box-shadow: 0 10px 32px color-mix(in srgb, var(--b2) 55%, transparent); }
.brand-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.brand-feature { display: grid; align-content: start; gap: 12px; padding: 26px 24px; border-radius: 22px; }
.brand-feature__icon { display: grid; place-items: center; width: 50px; height: 50px; color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); border-radius: 15px; box-shadow: 0 8px 20px color-mix(in srgb, var(--b1) 35%, transparent); }
.brand-feature__icon .icon { width: 24px; height: 24px; }
.brand-feature strong { font: 700 18px/1.3 var(--head); color: #fff; }
.brand-feature > span:last-child { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .74); }
.brand-principle { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 52px); border-radius: 28px; }
.brand-principle__quote { font: 700 clamp(28px, 3.6vw, 48px)/1.15 var(--head); background: linear-gradient(120deg, color-mix(in srgb, var(--b2) 85%, #fff), #fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-wrap: balance; }
.brand-facts { display: grid; gap: 22px; margin: 0; }
.brand-facts dt { display: flex; align-items: center; font: 600 12px/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.brand-facts dd { margin: 10px 0 0; color: rgba(255, 255, 255, .86); }
.brand-facts .tags { margin-top: 0; }
.brand-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.brand-other { position: relative; display: grid; align-content: start; gap: 14px; height: 100%; padding: 22px; border-radius: 20px; transition: transform .22s, box-shadow .22s; }
.brand-other:hover, .brand-other:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--b2) 60%, transparent), 0 16px 36px rgba(0, 0, 0, .4); }
.brand-other > span:nth-child(2) { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.brand-other__go { position: absolute; top: 22px; inset-inline-end: 20px; color: color-mix(in srgb, var(--b2) 80%, #fff); }

@media (max-width: 1180px) {
  .nav { display: none; }
  .svc { grid-template-columns: 320px minmax(0, 1fr) 240px; gap: 28px; }
}

@media (max-width: 1100px) {
  .svc { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 18px; padding-block: 16px 48px; }
  .svc__areas { order: -1; }
  .svc__area-list { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .area { width: auto; flex: none; padding: 10px 16px; font-size: 13.5px; }
  .svc__areas-title, .svc__stepper, .svc__hint span:first-child { display: none; }
  .tablet { width: min(100%, 720px); }
  .svc__copy { order: 2; }
}

@media (max-width: 1000px) {
  :root { --top: 84px; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); text-align: center; min-height: 0; }
  .hero__scene { order: -1; height: clamp(320px, 56vw, 460px); min-height: 0; }
  .brain { inset: 0; width: 100%; height: 100%; }
  .hero__text { max-width: 640px; margin-inline: auto; padding-top: 8px; }
  .hero__bar { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .rail { padding-top: 24px; }
  .split, .case, .news, .contact, .domains, .brand-principle { grid-template-columns: minmax(0, 1fr); }
  .brand-features, .brand-others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news__feature { position: static; }
  .grid--3, .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step + .step::before { display: none; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flow li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
  .flow li .badge { grid-row: 1 / span 2; }
  .flow h3 { margin-top: 6px; }
  .flow li:not(:last-child)::after { top: 42px; bottom: -14px; inset-inline-start: 17px; inset-inline-end: auto; width: 2px; height: auto; }
  .domains__list { display: flex; flex-wrap: wrap; gap: 8px; }
  .domain-tab { width: auto; padding: 9px 14px; font-size: 13px; }
  .domain-tab .icon, .domain-tab small { display: none; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --top: 76px; }
  .logo__mark { height: 40px; }
  .logo__ar { font-size: 17px; }
  .logo__en { font-size: 8px; }
  .top__bar { gap: 10px; }
  .top__end .chip-link { padding: 0 12px; min-height: 38px; font-size: 13px; }
  .top__end .chip-link .icon { display: none; }
  .menu-button { width: 40px; height: 40px; }
  .rail__arrow { display: none; }
  .rail { padding-inline: 0; }
  .card { width: 272px; }
  .grid--3, .stats, .wall, .edge__stats, .brand-features, .brand-others { grid-template-columns: minmax(0, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .logo-wall li { border-radius: 10px; padding: 0 4px; }
  .logo-wall bdi { font-size: 11px; }
  .brand-logo img { height: 56px; }
  .brand-logo b { font-size: 42px; }
  .stats, .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat__value { font-size: 32px; }
  .gallery__intro { width: calc(100vw - 24px); padding: 24px 20px; }
  .pcol { width: min(440px, 86vw); }
  .pcol__title { font-size: 34px; }
  .gallery__nav { bottom: 14px; inset-inline-end: 14px; }
  .form { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .trust__track li { width: 156px; height: 78px; }
  .domain__visual { aspect-ratio: 4 / 3; }
}

@media (hover: none) {
  .gallery__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .trust__track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .trust__track li[aria-hidden] { display: none; }
}
