@charset "utf-8";
/* NEXUS - the ShamashCyber design system, applied to one event page.
   Tokens, typography, button, navbar and sheet anatomy are taken from
   shamashcyber.com so this page reads as part of the same site. Monochrome
   only: depth and emphasis come from borders, opacity and inversion, never
   from hue. Nothing here needs a library. */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: "Shamash Ar Display";
  src: url("/assets/fonts/shamash-ar-display.woff2") format("woff2");
  font-weight: 500 800; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "Shamash Ar Text";
  src: url("/assets/fonts/shamash-ar-text-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "Shamash Ar Text";
  src: url("/assets/fonts/shamash-ar-text-600.woff2") format("woff2");
  font-weight: 500 800; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}

/* ----------------------------------------------------------------- tokens */
:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --card: #101014;
  --card-2: #16161b;
  --fg: #fafafa;
  --fg-2: #d4d4d8;
  --muted-fg: #8b8b93;
  --faint-fg: #7f7f88;
  --border: rgba(250, 250, 250, 0.10);
  --border-2: rgba(250, 250, 250, 0.20);
  --border-3: rgba(250, 250, 250, 0.38);
  --ring: rgba(250, 250, 250, 0.65);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;

  --r: 10px;
  --r-sm: 6px;
  --r-lg: 16px;
  --gut: 20px;
  --wrap: 1200px;
  --nav: 60px;
  --tap: 46px;
  --sect: 76px;
  --ease: cubic-bezier(0.22, 0.75, 0.25, 1);
}
@media (min-width: 640px) { :root { --gut: 26px; --sect: 96px; } }
@media (min-width: 900px) { :root { --nav: 68px; --sect: 104px; } }
@media (min-width: 1180px) { :root { --gut: 36px; --sect: 116px; } }

html[lang="ar"] { --sans: "Shamash Ar Text", ui-sans-serif, system-ui, "Segoe UI", Tahoma, sans-serif; }

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: #08080a;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
/* Layout rules below use display, so hidden has to win outright. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: #fafafa; color: #08080a; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 3px; }

.u-skip {
  position: absolute; inset-inline-start: var(--gut); top: 8px; z-index: 300;
  padding: 10px 14px; background: var(--fg); color: var(--bg);
  border-radius: var(--r-sm); font-size: 13px; transform: translateY(-200%);
}
.u-skip:focus { transform: none; }
.u-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Latin runs that must not be reordered by the bidi algorithm in Arabic. */
.u-ltr { direction: ltr; unicode-bidi: isolate; }

/* --------------------------------------------------------------- typography */
.t-display { font-size: clamp(36px, 8.6vw, 78px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 600; text-wrap: balance; }
.t-h2 { font-size: clamp(27px, 4.8vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.t-h3 { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.22; letter-spacing: -0.02em; font-weight: 580; }
.t-lede { font-size: clamp(16.5px, 2.1vw, 19px); line-height: 1.65; color: var(--muted-fg); max-width: 62ch; }
.t-body { color: var(--muted-fg); max-width: 66ch; }
code { font-family: var(--mono); }

html[lang="ar"] .t-display, html[lang="ar"] .t-h2, html[lang="ar"] .t-h3 {
  font-family: "Shamash Ar Display", var(--sans); letter-spacing: 0; font-weight: 700;
}
html[lang="ar"] .t-display { font-size: clamp(31px, 7.4vw, 64px); line-height: 1.22; }
html[lang="ar"] .t-h2 { font-size: clamp(24px, 4.3vw, 40px); line-height: 1.3; }
html[lang="ar"] .t-h3 { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; }
html[lang="ar"] body, html[lang="ar"] .t-lede, html[lang="ar"] .t-body { line-height: 1.85; }

/* -------------------------------------------------------------- primitives */
.u-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.u-sect { padding-block: var(--sect); position: relative; }
.rule-top { border-top: 1px solid var(--border); }
.u-above { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint-fg);
}
.eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--border-3); flex: 0 0 auto; }
html[lang="ar"] .eyebrow { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 13px; }

/* The dot field behind the hero, masked so it fades into the page. */
.dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 22px 22px;
  color: rgba(250, 250, 250, 0.16);
  -webkit-mask-image: radial-gradient(75% 60% at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(75% 60% at 50% 30%, #000 0%, transparent 78%);
}

/* ------------------------------------------------------------------ button */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: var(--tap); padding: 11px 20px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 15px; font-weight: 550; line-height: 1.25; text-align: center;
  cursor: pointer; overflow-wrap: anywhere;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--fg-2); }
.btn--ghost { border-color: var(--border-2); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--border-3); background: var(--card); }
.btn__arrow { flex: 0 0 auto; width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
html[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(3px); }

/* The moving border on the one primary call to action, as on the main site. */
.mb { position: relative; padding: 1px; border-radius: calc(var(--r) + 1px); overflow: hidden; isolation: isolate; display: inline-flex; max-width: 100%; }
.mb::before {
  content: ""; position: absolute; z-index: -2; left: 50%; top: 50%;
  width: 180%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0turn, transparent 0.62turn, var(--fg) 0.78turn, transparent 0.9turn);
  animation: mb-orbit 4s linear infinite;
}
.mb::after { content: ""; position: absolute; z-index: -1; inset: 1px; border-radius: var(--r); background: var(--bg); }
.mb > .btn { flex: 1 1 auto; }
@keyframes mb-orbit { to { rotate: 1turn; } }

.btn-row { display: grid; gap: 10px; }
.btn-row > * { min-width: 0; }
@media (min-width: 560px) { .btn-row { grid-auto-flow: column; justify-content: start; gap: 12px; align-items: center; } }

/* ------------------------------------------------------------------ navbar */
.nav { position: sticky; top: 0; z-index: 120; background: var(--bg); }
.nav__in {
  display: flex; align-items: center; gap: 14px; min-height: var(--nav);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s var(--ease);
}
@media (min-width: 900px) {
  .nav { top: 12px; padding-top: 6px; background: transparent; }
  .nav__in {
    max-width: calc(var(--wrap) + 24px); margin-inline: auto; padding-inline: 16px;
    border: 1px solid transparent; border-radius: 999px;
    background: transparent;
    transition: max-width 0.45s var(--ease), background-color 0.35s var(--ease),
                border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  }
  .nav[data-shrunk="true"] .nav__in {
    max-width: 940px;
    border-color: var(--border-2);
    background: color-mix(in srgb, var(--bg) 76%, transparent);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  }
}
.brand { display: inline-flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.brand__mark { width: 26px; height: 26px; flex: 0 0 auto; }
.brand__name { font-size: 16px; font-weight: 620; letter-spacing: -0.02em; }
.brand__sub { display: none; font-family: var(--mono); font-size: 11px; color: var(--faint-fg); letter-spacing: 0.06em; }
@media (min-width: 520px) { .brand__sub { display: inline; } }

.nav__links { display: none; }
.nav__side { display: flex; align-items: center; gap: 8px; }
.nav__lang {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 13px;
  background: transparent; cursor: pointer;
  transition: border-color 0.18s var(--ease);
}
.nav__lang:hover { border-color: var(--border-3); }
.nav__cta { display: none; }
.nav__burger {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: transparent; cursor: pointer;
}
.nav__burger svg { width: 17px; height: 17px; }

@media (min-width: 900px) {
  .nav__burger { display: none; }
  .nav__cta { display: inline-flex; }
  .nav__links { display: flex; align-items: center; gap: 2px; margin-inline-end: 10px; }
  .nav__links a {
    position: relative; padding: 8px 13px; font-size: 14.5px; color: var(--muted-fg);
    border-radius: 999px; transition: color 0.18s var(--ease);
  }
  .nav__links a::before {
    content: ""; position: absolute; inset: 0; border-radius: 999px;
    background: var(--card-2); opacity: 0; transition: opacity 0.18s var(--ease);
  }
  .nav__links a > span { position: relative; }
  .nav__links a:hover { color: var(--fg); }
  .nav__links a:hover::before { opacity: 1; }
}

/* ------------------------------------------------------- sheet, phone only */
.sheet {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--bg); visibility: hidden; opacity: 0;
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease);
}
.sheet[data-open="true"] { visibility: visible; opacity: 1; }
.sheet__top { display: flex; align-items: center; min-height: var(--nav); border-bottom: 1px solid var(--border); }
.sheet__close {
  margin-inline-start: auto; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--r-sm); background: transparent; cursor: pointer;
}
.sheet__close svg { width: 15px; height: 15px; }
.sheet__nav { align-self: start; padding-block: 8px; overflow-y: auto; }
.sheet__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 62px; padding-block: 6px; border-bottom: 1px solid var(--border);
  font-size: 25px; font-weight: 580; letter-spacing: -0.02em;
}
html[lang="ar"] .sheet__nav a { font-family: "Shamash Ar Display", var(--sans); letter-spacing: 0; }
/* Only the anchor hint is mono; the label keeps the sheet type scale. */
.sheet__nav a .u-ltr { font-family: var(--mono); font-size: 11px; color: var(--faint-fg); letter-spacing: 0; font-weight: 400; }
.sheet__foot { padding-bottom: 26px; display: grid; gap: 10px; }
.sheet__foot .btn { width: 100%; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; padding-block: 40px var(--sect); overflow: hidden; }
@media (min-width: 900px) { .hero { padding-block: 64px var(--sect); } }
.hero__copy { position: relative; z-index: 2; }
.hero__h1 { margin-top: 20px; }
.hero__h1 .sub { display: block; color: var(--muted-fg); font-weight: 400; font-size: 0.44em; line-height: 1.3; margin-top: 0.5em; letter-spacing: -0.01em; }
html[lang="ar"] .hero__h1 .sub { font-size: 0.42em; line-height: 1.6; }
.hero__lede { margin-top: 22px; }
.hero__cta { margin-top: 28px; }
.hero__facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint-fg); }
.hero__facts i { width: 4px; height: 4px; border-radius: 50%; background: var(--border-3); flex: 0 0 auto; }
@media (min-width: 1000px) {
  .hero__copy { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: end; }
  .hero__aside { padding-bottom: 6px; }
  .hero__lede { margin-top: 0; }
}

/* ------------------------------------------------------------ section head */
.shead { display: grid; gap: 14px; }
.shead__h { max-width: 24ch; margin-top: 14px; }
.shead__p { color: var(--muted-fg); max-width: 62ch; }
@media (min-width: 900px) {
  .shead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .shead__p { padding-top: 10px; }
}
.u-sect > .u-wrap > .shead + * { margin-top: 42px; }
.sect__p + .sect__p { margin-top: 14px; }
.sect__cta { margin-top: 30px; }

/* -------------------------------------------------------- category cards */
.cards { display: grid; gap: 12px; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  height: 100%; padding: 22px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--card);
  transition: border-color 0.25s var(--ease);
}
.card:hover { border-color: var(--border-2); }
.card__tok { display: block; font-family: var(--mono); font-size: 12px; color: var(--faint-fg); }
.card__h { margin-top: 14px; }

/* ------------------------------------------------------------------ stages */
.stages { display: grid; gap: 14px; }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.stage {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card);
}
@media (min-width: 640px) { .stage { padding: 30px; } }
.stage__n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--faint-fg); }
.stage__h { margin-top: 14px; }
.stage__sub { margin-top: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--muted-fg); }
/* The stage sub-label carries the English term under the Arabic heading.
   In English it would only repeat the heading, so it is dropped there. */
html[lang="en"] .stage .stage__sub { display: none; }
.stage__p { margin-top: 14px; color: var(--muted-fg); font-size: 15px; }

/* ------------------------------------------------------------------- steps */
.steps { counter-reset: step; border-top: 1px solid var(--border); }
.steps > li {
  counter-increment: step;
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px;
  padding-block: 18px; border-bottom: 1px solid var(--border);
  color: var(--muted-fg);
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: 11.5px; color: var(--faint-fg);
  padding-top: 4px; direction: ltr;
}
.steps > li > span { max-width: 62ch; color: var(--fg-2); }
@media (min-width: 900px) {
  .steps > li { grid-template-columns: 54px minmax(0, 1fr); gap: 24px; padding-block: 22px; }
}
.callout {
  margin-top: 24px; padding: 16px 18px;
  border: 1px dashed var(--border-2); border-radius: var(--r-sm);
  font-size: 15px; color: var(--muted-fg); max-width: 72ch;
}

/* ---------------------------------------------------------------- projects */
.panel {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card);
}
@media (min-width: 640px) { .panel { padding: 30px; } }
.panel__p { margin-top: 14px; color: var(--muted-fg); max-width: 62ch; }
.panel__cta { margin-top: 24px; }
.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 12px; border: 1px solid var(--border-2); border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-2);
}
html[lang="ar"] .status { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 13px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-3); flex: 0 0 auto; }

/* --------------------------------------------------------------- updates */
.end { padding-block: var(--sect); position: relative; overflow: hidden; }
.end__mark { display: flex; justify-content: center; margin-bottom: 30px; color: var(--fg); }
.end__mark svg { width: clamp(64px, 14vw, 104px); height: auto; }
.end__in { text-align: center; display: grid; justify-items: center; }
.end__h { max-width: 20ch; }
.end__p { margin-top: 16px; color: var(--muted-fg); max-width: 58ch; }
.end__cta { margin-top: 30px; }
.end .btn-row { justify-content: center; }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--border); padding-block: 42px 30px; }
.foot__grid { display: grid; gap: 32px; }
.foot__note { margin-top: 14px; font-size: 14px; color: var(--muted-fg); max-width: 44ch; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.foot h2 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint-fg); font-weight: 400; }
html[lang="ar"] .foot h2 { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 12px; }
.foot ul { margin-top: 12px; display: grid; gap: 9px; }
.foot ul a { font-size: 14.5px; color: var(--muted-fg); }
.foot ul a:hover { color: var(--fg); }
.foot__base { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 8px; font-size: 13px; color: var(--faint-fg); }
@media (min-width: 700px) {
  .foot__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 56px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__base { grid-auto-flow: column; justify-content: space-between; }
}

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .mb::before { animation: none; }
}
@media print {
  .nav, .sheet, .btn, .mb, .dots { display: none !important; }
  body { background: #fff; color: #000; }
}
