:root {
  color-scheme: dark;
  --bg: #080b0d;
  --surface: #101619;
  --surface-raised: #161e21;
  --shell: #ffffff06;
  --text: #edf2f1;
  --muted: #97a6aa;
  --accent: #b9ecda;
  --accent-soft: #b9ecda10;
  --button-text: #132721;
  --hairline: #d0e9ed13;
  --highlight: #d9f2f219;
  --header: #11181bd9;
  --glow: #6ac2ac12;
  --font: "Plus Jakarta Sans", sans-serif;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --layer-texture: 1;
  --layer-header: 4;
  --layer-skip: 5;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f4f5;
  --surface: #fafcfc;
  --surface-raised: #e9eff0;
  --shell: #1b434307;
  --text: #162b30;
  --muted: #566a70;
  --accent: #286e60;
  --accent-soft: #286e600c;
  --button-text: #f6fffb;
  --hairline: #1c454315;
  --highlight: #ffffffcf;
  --header: #f8fbfbe6;
  --glow: #60c7ba16;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--layer-texture);
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
button,
input,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.55s var(--spring),
    color 0.4s var(--spring),
    background-color 0.4s var(--spring),
    opacity 0.4s var(--spring);
}
button {
  cursor: pointer;
}
button:active,
.button:active {
  transform: scale(0.98);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--accent);
  color: var(--button-text);
  z-index: var(--layer-skip);
}
.skip-link:focus {
  transform: translateY(0);
}
/* The navigation floats independently of the page canvas. */
.site-header {
  position: fixed;
  top: 24px;
  inset-inline: 0;
  width: min(1080px, calc(100% - 64px));
  margin-inline: auto;
  z-index: var(--layer-header);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: var(--header);
  backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px var(--highlight),
    0 0 0 1px var(--hairline),
    0 16px 60px #102b3212;
}
.nav-shell {
  min-height: 74px;
  padding: 10px 12px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1.2px;
  flex-shrink: 0;
}
.brand img {
  width: 34px;
  height: 30px;
}
.brand-period {
  color: var(--accent);
}
.nav-links {
  position: relative;
  display: flex;
  gap: 27px;
}
.nav-links a {
  font-size: 12px;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--text);
}
.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.language-button,
.theme-button,
.menu-button {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 8px;
}
.language-button {
  font-family: "Cairo", sans-serif;
  font-size: 11px;
}
.theme-button {
  display: grid;
  place-items: center;
}
.theme-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 7px 7px 7px 24px;
  min-height: 54px;
  border: 0;
  border-radius: 100px;
  background: var(--accent);
  color: var(--button-text);
  font-size: 13px;
  font-weight: 600;
  box-shadow:
    inset 0 1px #ffffff36,
    0 4px 24px var(--accent-soft);
}
.button-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #142f2310;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.65s var(--spring);
}
.button:hover {
  transform: translateY(-2px);
}
.button:hover .button-icon {
  transform: translate(2px, -2px) scale(1.06);
}
.button-small {
  min-height: 44px;
  padding: 5px 5px 5px 18px;
  gap: 23px;
  font-size: 11px;
}
.button-small .button-icon {
  width: 34px;
  height: 34px;
  font-size: 18px;
}
.menu-button,
.mobile-contact {
  display: none;
}
/* Centered type opens into a cascade of framed engineering surfaces. */
.hero {
  position: relative;
  padding-top: 154px;
  padding-bottom: 40px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 15%;
  background: radial-gradient(ellipse at 50% 30%, var(--glow), transparent 64%);
  pointer-events: none;
}
.hero-copy {
  text-align: center;
  max-width: 950px;
  margin-inline: auto;
  animation: enter 1s var(--spring) both;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  border-radius: 30px;
  padding: 7px 13px;
  background: var(--shell);
  box-shadow:
    inset 0 1px var(--highlight),
    0 0 0 1px var(--hairline);
}
.eyebrow > span:first-child {
  color: var(--accent);
}
.availability {
  margin-bottom: 27px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px #b9ecda3d;
  flex-shrink: 0;
}
h1 {
  font-size: clamp(58px, 6.2vw, 86px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.09;
}
h1 span {
  color: var(--muted);
}
.hero-description {
  max-width: 580px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 30px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
}
.text-link > span:last-child {
  font-size: 19px;
}
.text-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}
.hero-note {
  color: var(--muted);
  font-size: 10px;
  margin-top: 17px;
  opacity: 0.75;
}
.hero-art {
  direction: ltr;
  position: relative;
  max-width: 1050px;
  margin: 45px auto 30px;
  padding: 12px 90px 52px;
  isolation: isolate;
  animation: enter 1.3s 0.15s var(--spring) both;
}
.visual-halo {
  position: absolute;
  z-index: -1;
  inset: -40% 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, var(--glow), transparent 63%);
}
.visual-orbit {
  position: absolute;
  z-index: -1;
  left: 4%;
  top: -34%;
  width: 92%;
  height: 135%;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--hairline);
  transform: rotate(-12deg);
}
.bezel,
.service-panel,
#contactForm {
  padding: 7px;
  border-radius: 28px;
  background: var(--shell);
  box-shadow:
    0 0 0 1px var(--hairline),
    inset 0 1px var(--highlight);
}
.system-core,
.float-core,
.panel-core,
.form-core {
  background: var(--surface);
  border-radius: 21px;
  box-shadow: inset 0 1px var(--highlight);
}
.system-shell {
  transform: perspective(1400px) rotateX(5deg);
}
.system-core {
  overflow: hidden;
}
.system-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 22px;
  color: var(--muted);
  font: 10px/1.5 monospace;
  box-shadow: 0 1px var(--hairline);
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.35;
}
.system-caption {
  margin-left: auto;
  font: 10px var(--font);
  opacity: 0.7;
}
.system-title {
  padding: 26px 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.micro-label {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.system-title h3 {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 500;
  margin-top: 7px;
}
.system-mark {
  font-size: 27px;
  color: var(--accent);
}
.system-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin: 26px 30px;
  min-height: 155px;
}
.system-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  fill: none;
  stroke: var(--hairline);
  stroke-width: 1;
}
.system-map {
  isolation: isolate;
}
.connection-accent {
  stroke: var(--accent);
  opacity: 0.3;
  stroke-dasharray: 3 5;
}
.map-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow:
    inset 0 1px var(--highlight),
    0 0 0 1px var(--hairline);
}
.map-node strong {
  font-size: 11px;
  font-weight: 500;
  margin-top: 8px;
}
.map-node small {
  font-size: 8px;
  color: var(--muted);
}
.node-icon {
  font-size: 27px;
  line-height: 37px;
  color: var(--muted);
}
.api-node {
  background: var(--accent-soft);
  box-shadow:
    inset 0 1px #b9ecda40,
    0 0 32px var(--glow),
    0 0 0 1px #b9ecda1a;
}
.map-destinations {
  display: grid;
  gap: 14px;
}
.map-destinations > span {
  padding: 9px 11px;
  border-radius: 9px;
  white-space: nowrap;
  background: var(--surface-raised);
  font-size: 8px;
  box-shadow: inset 0 1px var(--highlight);
}
.map-destinations i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  margin-right: 6px;
}
.system-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 25px;
  box-shadow: 0 -1px var(--hairline);
  color: var(--muted);
  font-size: 8px;
}
.system-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.system-bottom > span:last-child {
  font-family: monospace;
  letter-spacing: 0.06em;
}
.code-float {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 290px;
  transform: rotate(-5deg);
}
.float-core {
  padding: 18px;
}
.float-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  color: var(--muted);
}
.float-heading > span:last-child {
  margin-left: auto;
}
.code-symbol {
  color: var(--accent);
  font-size: 15px;
}
.code-float code {
  display: block;
  font: 10px/2 monospace;
  margin-top: 15px;
  color: var(--text);
}
.code-muted {
  color: var(--muted);
}
.code-accent {
  color: var(--accent);
}
.code-foot {
  margin-top: 17px;
  font-size: 8px;
  color: var(--muted);
}
.people-float {
  position: absolute;
  right: -5px;
  bottom: 26px;
  transform: rotate(4deg);
  width: 292px;
}
.people-float .float-core {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
}
.people-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
}
.people-symbol svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}
.people-float p {
  font-size: 10px;
  font-weight: 500;
  margin-top: 4px;
}
.people-plus {
  margin-left: auto;
  color: var(--accent);
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  color: var(--muted);
  font-size: 10px;
}
.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Expertise: uneven proportions, concentric surfaces, generous room. */
.section {
  padding-block: 120px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 52px;
}
.section-heading .eyebrow {
  justify-self: start;
  margin-top: 8px;
}
h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.section-heading p:not(.eyebrow) {
  max-width: 510px;
  color: var(--muted);
  margin-top: 20px;
  font-size: 14px;
}
.service-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 24px;
}
.service-panel {
  position: relative;
}
.panel-core {
  padding: 30px;
  height: 100%;
}
.panel-top {
  display: flex;
  gap: 15px;
  align-items: center;
}
.index {
  font-size: 11px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.service-tag {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.compact-symbol {
  margin-inline-start: auto;
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
}
.architecture-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  margin: 40px auto;
  direction: ltr;
  font: 10px/1.6 monospace;
}
.architecture-node {
  padding: 8px 26px;
  border-radius: 10px;
  background: var(--surface-raised);
  box-shadow: inset 0 1px var(--highlight);
  color: var(--muted);
}
.architecture-line {
  height: 25px;
  width: 1px;
  background: var(--hairline);
}
.node-api {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 12px 28px;
  box-shadow:
    inset 0 1px #b9ecda35,
    0 0 40px var(--glow);
}
.node-api > span {
  margin-right: 25px;
}
.architecture-branches {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 24px;
  position: relative;
  margin-top: 22px;
}
.architecture-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--hairline);
}
.architecture-branches::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  height: 22px;
  width: 1px;
  background: var(--hairline);
}
.architecture-branches span {
  position: relative;
  padding: 5px 12px;
  background: var(--surface-raised);
  border-radius: 8px;
  color: var(--muted);
}
.architecture-branches span::before {
  content: "";
  height: 24px;
  width: 1px;
  background: var(--hairline);
  position: absolute;
  bottom: 100%;
  left: 50%;
}
h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.4;
}
.service-panel p {
  font-size: 13px;
  color: var(--muted);
  max-width: 390px;
  line-height: 1.85;
  margin-top: 13px;
}
.service-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 21px;
}
.service-features li {
  font-size: 9px;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--shell);
  color: var(--muted);
}
.service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  margin-top: 26px;
}
.circle-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-raised);
  font-size: 18px;
  transition:
    transform 0.65s var(--spring),
    background-color 0.4s var(--spring);
}
.service-link:hover {
  color: var(--accent);
}
.service-link:hover .circle-arrow {
  transform: translate(2px, -2px);
  background: var(--accent-soft);
}
.service-side {
  display: grid;
  gap: 24px;
  padding-top: 48px;
}
.service-compact .panel-core {
  display: flex;
  flex-direction: column;
}
.service-compact h3 {
  margin-top: 24px;
}
.service-compact .service-link {
  margin-top: auto;
  padding-top: 23px;
}
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.approach-intro h2 {
  margin-top: 28px;
}
.approach-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  max-width: 380px;
  margin: 25px 0;
}
.approach-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 20px;
  padding: 30px 0;
  box-shadow: 0 1px var(--hairline);
}
.approach-list li:first-child {
  padding-top: 0;
}
.approach-list .index {
  padding-top: 5px;
}
.approach-list h3 {
  font-size: 20px;
}
.approach-list p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 370px;
}
.stack-section {
  padding-block: 96px;
  background: radial-gradient(
    ellipse at 50% 100%,
    var(--glow),
    transparent 75%
  );
}
.stack-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.stack-heading h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.stack-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 35px;
  margin-top: 45px;
  font-size: 24px;
  letter-spacing: -0.05em;
  font-weight: 500;
  direction: ltr;
  color: var(--muted);
}
.stack-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stack-symbol {
  font: 12px monospace;
  border-radius: 8px;
  padding: 6px;
  background: var(--surface-raised);
  color: var(--accent);
}
.stack-detail {
  font-size: 12px;
  letter-spacing: -0.02em;
}
.stack-list svg {
  width: 30px;
  height: 30px;
}
.stack-aws {
  position: relative;
  font-size: 30px;
}
.stack-aws > span {
  position: absolute;
  top: 12px;
  left: 5px;
  font-size: 35px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  padding-block: 140px;
}
.contact h2 {
  font-size: clamp(40px, 4.5vw, 60px);
  margin-top: 29px;
}
.contact h2 span {
  color: var(--accent);
}
.contact-copy > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  max-width: 380px;
  margin-top: 24px;
}
.contact-signoff {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 40px;
}
.form-core {
  padding: 30px;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  font-size: 12px;
  margin-bottom: 12px;
}
.input-shell {
  padding: 4px;
  background: var(--shell);
  border-radius: 17px;
  box-shadow: inset 0 1px var(--highlight);
}
input,
textarea {
  display: block;
  width: 100%;
  border: 0;
  background: var(--surface-raised);
  border-radius: 13px;
  padding: 14px;
  color: var(--text);
  font-size: 13px;
  resize: vertical;
  box-shadow: inset 0 1px var(--highlight);
}
input {
  direction: ltr;
}
textarea {
  min-height: 145px;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.form-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: -7px;
  margin-bottom: 23px;
}
.submit-button {
  width: 100%;
}
.submit-button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}
.form-status {
  font-size: 12px;
  color: var(--accent);
  margin-top: 15px;
  min-height: 22px;
}
.form-status[data-state="error"] {
  color: #e4ad9d;
}
[data-theme="light"] .form-status[data-state="error"] {
  color: #953f2c;
}
.humanity {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-block: 30px;
  box-shadow: 0 -1px var(--hairline);
}
.humanity-mark {
  color: var(--accent);
  font-size: 30px;
}
.humanity h2 {
  font-size: 13px;
  letter-spacing: -0.02em;
}
.humanity p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
  max-width: 550px;
}
.humanity-links {
  display: flex;
  gap: 25px;
  margin-inline-start: auto;
  white-space: nowrap;
  font-size: 11px;
}
.humanity-links a:hover,
.back-top:hover,
.social-links a:hover {
  color: var(--accent);
}
.site-footer {
  padding-top: 65px;
  padding-bottom: 30px;
}
.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-top > p {
  font-size: 12px;
  color: var(--muted);
  margin-inline-end: auto;
}
.back-top {
  font-size: 11px;
}
.footer-bottom {
  margin-top: 35px;
  padding-top: 26px;
  color: var(--muted);
  font-size: 10px;
  box-shadow: 0 -1px var(--hairline);
}
.social-links {
  display: flex;
  gap: 25px;
}
html[lang="ar"] {
  --font: "Cairo", sans-serif;
}
html[lang="ar"] h1 {
  font-size: clamp(52px, 5.5vw, 78px);
  line-height: 1.4;
  letter-spacing: -0.045em;
}
html[lang="ar"] h2,
html[lang="ar"] h3 {
  letter-spacing: -0.02em;
}
html[lang="ar"] .hero-description {
  font-size: 16px;
}
html[lang="ar"] .system-title,
html[lang="ar"] .people-float .float-core {
  direction: rtl;
}
html[lang="ar"] .button {
  padding: 7px 24px 7px 7px;
}
html[lang="ar"] .button-small {
  padding: 5px 18px 5px 5px;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--spring),
    transform 1s var(--spring);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .nav-shell {
    gap: 15px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-actions {
    gap: 8px;
  }
  .hero-art {
    padding-inline: 55px;
  }
  .system-map {
    gap: 35px;
  }
  .code-float {
    width: 250px;
  }
  .people-float {
    width: 260px;
  }
  .contact,
  .approach {
    gap: 60px;
  }
  .stack-list {
    font-size: 21px;
    gap: 25px;
  }
}
@media (max-width: 900px) {
  .visual-orbit {
    transform: none;
  }
  .site-header {
    top: 16px;
    width: calc(100% - 32px);
  }
  .nav-shell {
    min-height: 68px;
    padding-inline: 20px 15px;
  }
  .brand,
  .nav-actions {
    z-index: 1;
  }
  .nav-actions .button-small {
    display: none;
  }
  .menu-button {
    display: flex;
    position: relative;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
  }
  .menu-button span {
    position: absolute;
    width: 19px;
    height: 1px;
    background: var(--text);
    transform: translateY(-3px);
    transition: transform 0.6s var(--spring);
  }
  .menu-button span:last-child {
    transform: translateY(3px);
  }
  .menu-button[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }
  .menu-button[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
  }
  .nav-links {
    position: fixed;
    inset: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 110px 10vw;
    background: var(--header);
    backdrop-filter: blur(32px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.55s var(--spring),
      visibility 0.55s var(--spring);
  }
  .nav-links a {
    font-size: clamp(28px, 6vw, 50px);
    letter-spacing: -0.04em;
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.7s var(--spring),
      transform 0.7s var(--spring);
  }
  .nav-links a:nth-child(2) {
    transition-delay: 0.05s;
  }
  .nav-links a:nth-child(3) {
    transition-delay: 0.1s;
  }
  .nav-links a:nth-child(4) {
    transition-delay: 0.15s;
  }
  .nav-links.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-contact {
    display: block;
  }
  .menu-open {
    overflow: hidden;
  }
  .hero {
    padding-top: 155px;
  }
  .hero-art {
    padding-inline: 20px;
    margin-top: 50px;
  }
  .system-map {
    gap: 25px;
    margin-inline: 22px;
  }
  .people-float {
    right: 0;
  }
  .code-float {
    left: 0;
  }
  .section-heading {
    grid-template-columns: 1fr 2.5fr;
    gap: 25px;
  }
  .panel-core {
    padding: 25px;
  }
  .service-tag {
    font-size: 7px;
  }
  .compact-symbol {
    font-size: 20px;
  }
  .stack-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }
  .contact,
  .approach {
    gap: 40px;
  }
  .form-core {
    padding: 24px;
  }
  .humanity {
    flex-wrap: wrap;
  }
  .humanity > div:not(.humanity-links) {
    flex: 1;
    min-width: 220px;
  }
  .humanity-links {
    width: 100%;
    margin-inline-start: 55px;
  }
}
@media (max-width: 767px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero {
    padding-top: 142px;
    padding-bottom: 20px;
  }
  .hero-copy {
    padding-inline: 8px;
  }
  h1 {
    font-size: clamp(32px, 9.2vw, 60px);
    letter-spacing: -0.05em;
  }
  .hero-description {
    font-size: 14px;
    max-width: 470px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.04em;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-note {
    font-size: 9px;
  }
  .hero-art {
    padding: 0;
    margin: 45px auto 15px;
    max-width: 540px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .visual-orbit {
    display: none;
  }
  .system-shell {
    transform: none;
  }
  .system-toolbar {
    padding: 15px;
    font-size: 8px;
    gap: 9px;
  }
  .system-caption {
    display: none;
  }
  .system-title {
    padding: 24px 20px 0;
  }
  .system-title h3 {
    font-size: 18px;
  }
  .system-map {
    margin: 25px 16px;
    min-height: 130px;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
  }
  .map-destinations {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 5px;
  }
  .map-destinations > span {
    font-size: 7px;
    padding: 8px;
  }
  .system-connections {
    height: 100px;
  }
  .map-node {
    padding-block: 16px;
  }
  .system-bottom {
    padding: 14px 16px;
    gap: 8px;
    font-size: 7px;
  }
  .code-float,
  .people-float {
    position: static;
    width: 100%;
    transform: none;
  }
  .code-float {
    display: none;
  }
  .people-float .float-core {
    padding: 15px 18px;
  }
  .people-float p {
    font-size: 12px;
  }
  .hero-bottom {
    font-size: 8px;
    gap: 20px;
    padding-top: 20px;
  }
  .hero-bottom a {
    gap: 8px;
    white-space: nowrap;
  }
  .section {
    padding-block: 80px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 32px;
  }
  .section-heading .eyebrow {
    margin-top: 0;
  }
  h2 {
    font-size: 34px;
  }
  .section-heading p:not(.eyebrow) {
    font-size: 14px;
  }
  .service-layout,
  .approach,
  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-side {
    padding-top: 0;
  }
  .panel-core {
    padding: 26px;
  }
  .service-tag {
    font-size: 8px;
  }
  .service-panel p {
    font-size: 14px;
  }
  .service-link {
    font-size: 12px;
  }
  .service-features li {
    font-size: 10px;
  }
  .approach {
    gap: 45px;
  }
  .approach-list p {
    font-size: 14px;
  }
  .stack-section {
    padding-block: 55px;
  }
  .stack-heading {
    flex-direction: column;
    align-items: start;
    gap: 23px;
  }
  .stack-heading h2 {
    font-size: 26px;
  }
  .stack-list {
    grid-template-columns: 1fr 1fr;
    font-size: 23px;
    gap: 30px 15px;
  }
  .contact {
    gap: 35px;
  }
  .contact h2 {
    font-size: 44px;
  }
  .contact-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .contact-signoff {
    margin-top: 25px;
  }
  .form-core {
    padding: 24px 20px;
  }
  .humanity {
    gap: 18px;
  }
  .humanity-links {
    margin-inline-start: 48px;
    font-size: 10px;
  }
  .site-footer {
    padding-top: 45px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top > p {
    width: 100%;
    order: 3;
  }
  .back-top {
    margin-inline-start: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: start;
    gap: 22px;
    font-size: 9px;
  }
  .social-links {
    gap: 24px;
  }
  html[lang="ar"] h1 {
    font-size: clamp(40px, 8vw, 59px);
    line-height: 1.4;
  }
  html[lang="ar"] .hero-description {
    font-size: 14px;
  }
  html[lang="ar"] .hero-actions {
    gap: 18px;
  }
  .reveal {
    transform: translateY(20px);
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 29px;
    height: 26px;
  }
  .nav-actions {
    gap: 2px;
  }
  .nav-shell {
    padding-inline: 14px 8px;
    gap: 8px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions .button {
    font-size: 12px;
    gap: 20px;
  }
  .text-link {
    font-size: 11px;
    gap: 8px;
  }
  .system-map {
    margin-inline: 10px;
  }
  .map-destinations > span {
    padding: 6px;
    font-size: 6px;
  }
  .system-bottom > span:last-child {
    font-size: 6px;
  }
  .panel-core {
    padding: 22px;
  }
}
/* Illustrative hero telemetry. */
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 20px;
  padding: 5px 9px;
  background: var(--shell);
  color: var(--muted);
  font: 500 9px/1.5 var(--font);
  white-space: nowrap;
}
.motion-toggle:hover {
  color: var(--text);
  background: var(--accent-soft);
}
.motion-toggle:disabled {
  cursor: default;
}
.motion-symbol {
  font-size: 12px;
  color: var(--accent);
}
.system-toolbar {
  gap: 12px;
}
.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 22px 30px 4px;
  padding-block: 20px;
  box-shadow: 0 -1px var(--hairline);
}
.hero-telemetry > div {
  position: relative;
  min-width: 0;
}
.hero-telemetry > div > span:first-child {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.hero-telemetry strong {
  display: block;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
}
.hero-telemetry small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0;
}
.tiny-spark {
  width: 105px;
  height: 23px;
  display: block;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
}
.telemetry-caption {
  display: block;
  color: var(--muted);
  font-size: 7px;
  margin-top: 6px;
}
.mini-bars {
  display: flex;
  gap: 4px;
  height: 22px;
  align-items: end;
}
.mini-bars i {
  width: 6px;
  height: 75%;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  opacity: 0.6;
  transform-origin: bottom;
  animation: bar-breathe 3.8s var(--spring) infinite alternate;
}
.mini-bars i:nth-child(3n) {
  height: 45%;
  animation-delay: -0.7s;
}
.mini-bars i:nth-child(3n + 1) {
  height: 90%;
  animation-delay: -1.8s;
}
.mini-bars i:nth-child(4n) {
  height: 60%;
  animation-delay: -2.5s;
}
.flow-packet {
  position: absolute;
  top: 49%;
  width: 7px;
  height: 3px;
  background: var(--accent);
  border-radius: 5px;
  box-shadow: 0 0 10px #b9ecda55;
  opacity: 0;
  pointer-events: none;
  animation: packet-travel 3.8s var(--spring) infinite;
}
.packet-one {
  left: 24%;
}
.packet-two {
  left: 58%;
  animation-delay: -1.9s;
}
.code-float {
  animation: float-code 7s var(--spring) infinite alternate;
}
.people-float {
  animation: float-team 8.5s var(--spring) infinite alternate;
}
.visual-halo {
  animation: halo-breathe 7s var(--spring) infinite alternate;
}
.code-cursor {
  animation: cursor-breathe 1.5s var(--spring) infinite alternate;
  color: var(--accent);
}
.code-foot .status-dot {
  margin-right: 6px;
}
.sample-avatars {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.sample-avatars > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  background: var(--surface-raised);
  box-shadow: 0 0 0 2px var(--surface);
  color: var(--accent);
  font: 500 7px var(--font);
}
.sample-avatars > span + span {
  margin-left: -5px;
}
.sample-avatars > span:nth-child(2) {
  background: #34594c;
  color: #d7ece5;
}
.sample-avatars > span:nth-child(3) {
  background: #3f505b;
  color: #dce6eb;
}
.sample-avatars small {
  margin-left: 9px;
  font-size: 7px;
  color: var(--muted);
}
.people-float {
  width: 325px;
}
.people-float .float-core {
  gap: 10px;
}
.people-float .micro-label {
  font-size: 7px;
}
@media (hover: hover) and (pointer: fine) {
  .service-panel {
    transition:
      transform 0.7s var(--spring),
      opacity 1s var(--spring);
  }
  .service-panel.is-visible:hover {
    transform: translateY(-5px);
  }
}
.ambient-motion {
  animation-play-state: paused;
}
html[data-motion="running"] .motion-scene.is-running .ambient-motion {
  animation-play-state: running;
}
html.menu-open .motion-scene .ambient-motion {
  animation-play-state: paused;
}
@keyframes packet-travel {
  0% {
    opacity: 0;
    transform: translateX(0) scaleX(0.5);
  }
  15%,
  65% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateX(75px) scaleX(1.3);
  }
}
@keyframes float-code {
  from {
    transform: translateY(0) rotate(-5deg);
  }
  to {
    transform: translateY(-9px) rotate(-3.5deg);
  }
}
@keyframes float-team {
  from {
    transform: translateY(0) rotate(4deg);
  }
  to {
    transform: translateY(-12px) rotate(2.5deg);
  }
}
@keyframes halo-breathe {
  from {
    opacity: 0.55;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}
@keyframes bar-breathe {
  from {
    transform: scaleY(0.45);
    opacity: 0.35;
  }
  to {
    transform: scaleY(1);
    opacity: 0.8;
  }
}
@keyframes cursor-breathe {
  from {
    opacity: 0.15;
  }
  to {
    opacity: 0.9;
  }
}
@media (max-width: 1100px) {
  .people-float {
    width: 300px;
  }
}
@media (max-width: 767px) {
  .hero-telemetry {
    margin: 20px 16px 4px;
    gap: 12px;
    padding-block: 16px;
  }
  .hero-telemetry strong {
    font-size: 21px;
  }
  .hero-telemetry > div > span:first-child {
    font-size: 8px;
  }
  .hero-telemetry small {
    font-size: 7px;
  }
  .tiny-spark {
    width: 80px;
  }
  .telemetry-caption {
    font-size: 6px;
    max-width: 85px;
  }
  .mini-bars {
    gap: 3px;
  }
  .mini-bars i {
    width: 4px;
  }
  .system-toolbar .motion-toggle {
    margin-left: auto;
    font-size: 7px;
    padding: 4px 6px;
    gap: 5px;
  }
  .people-float {
    width: 100%;
    animation: none;
  }
  .people-float .float-core {
    padding: 16px;
  }
  .sample-avatars small {
    font-size: 8px;
  }
  .flow-packet {
    display: none;
  }
}
@media (max-width: 360px) {
  .system-toolbar {
    flex-wrap: wrap;
  }
  .hero-telemetry {
    gap: 7px;
    margin-inline: 12px;
  }
  .hero-telemetry strong {
    font-size: 18px;
  }
  .hero-telemetry > div > span:first-child {
    font-size: 7px;
  }
  .mini-bars i:nth-child(n + 10) {
    display: none;
  }
}

/* Image-led concept work replaces the retired operational workspace. */
.portfolio {
  padding-top: 40px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}
.project-card {
  min-width: 0;
}
.project-core {
  overflow: hidden;
  border-radius: 21px;
  background: var(--surface);
  box-shadow: inset 0 1px var(--highlight);
}
.project-featured {
  grid-column: 1 / -1;
}
.project-featured .project-core {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.project-image {
  position: relative;
  overflow: hidden;
  background: var(--surface-raised);
}
.project-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 760;
  object-fit: cover;
  transition: transform 1.1s var(--spring);
}
.project-featured .project-image img {
  min-height: 420px;
  height: 100%;
}
.concept-tag {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  padding: 6px 11px;
  border-radius: 30px;
  font-size: 9px;
  background: #132521e6;
  color: #e5f2ec;
  box-shadow: inset 0 1px #edf8f11a;
}
.project-copy {
  padding: 30px;
}
.project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.project-category {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.project-heading h3 {
  font-size: 27px;
  letter-spacing: -0.04em;
}
.project-number {
  color: var(--muted);
  font: 10px monospace;
  opacity: 0.65;
}
.project-copy > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-top: 19px;
  max-width: 50ch;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.project-tags span {
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--shell);
  color: var(--muted);
  font-size: 9px;
}
.project-details {
  margin-top: 26px;
  box-shadow: 0 -1px var(--hairline);
}
.project-details summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--text);
  padding-top: 17px;
  list-style: none;
}
.project-details summary::-webkit-details-marker {
  display: none;
}
.project-details summary > span:last-child {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--surface-raised);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.55s var(--spring);
}
.project-details[open] summary > span:last-child {
  transform: rotate(45deg);
}
.project-details > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin: 17px 0;
}
.project-details .text-link {
  font-size: 11px;
}
.project-details[open] > p,
.project-details[open] > a {
  animation: enter 0.6s var(--spring) both;
}
.portfolio-note {
  color: var(--muted);
  font-size: 10px;
  margin-top: 22px;
}
.credentials {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 90px;
  align-items: start;
  padding-top: 30px;
}
.credentials-intro h2 {
  margin-top: 27px;
}
.credentials-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  max-width: 38ch;
  margin-top: 24px;
}
.credential-disclosure {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 25px;
  max-width: 32ch;
  opacity: 0.85;
}
.credential-list {
  display: grid;
  gap: 22px;
}
.credential-card {
  display: grid;
  grid-template-columns: 170px 1fr 20px;
  gap: 24px;
  align-items: center;
  padding-bottom: 22px;
  box-shadow: 0 1px var(--hairline);
}
.credential-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  border-radius: 13px;
  padding: 5px;
  background: var(--shell);
  box-shadow:
    0 0 0 1px var(--hairline),
    inset 0 1px var(--highlight);
}
.credential-type {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.04em;
}
.credential-card h3 {
  font-size: 18px;
  margin-top: 7px;
}
.credential-card p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.credential-code {
  display: block;
  font: 8px monospace;
  color: var(--muted);
  margin-top: 10px;
  opacity: 0.7;
}
.credential-index {
  font: 10px monospace;
  color: var(--muted);
  align-self: start;
  padding-top: 8px;
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-image img {
    transform: scale(1.025);
  }
}
@media (max-width: 1100px) {
  .project-copy {
    padding: 25px;
  }
  .project-featured .project-core {
    grid-template-columns: 1.2fr 1fr;
  }
  .credentials {
    gap: 50px;
  }
  .credential-card {
    grid-template-columns: 135px 1fr 15px;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .project-featured .project-core {
    grid-template-columns: 1fr;
  }
  .project-featured .project-image img {
    min-height: 0;
    height: auto;
  }
  .credentials {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .credentials-intro > p:not(.eyebrow) {
    max-width: 55ch;
  }
  .credential-disclosure {
    max-width: none;
  }
  .credential-card {
    grid-template-columns: 170px 1fr 20px;
  }
}
@media (max-width: 767px) {
  .portfolio {
    padding-top: 25px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-featured {
    grid-column: auto;
  }
  .project-copy {
    padding: 24px;
  }
  .project-heading h3 {
    font-size: 25px;
  }
  .project-copy > p {
    font-size: 14px;
  }
  .project-details summary {
    font-size: 12px;
  }
  .project-details > p {
    font-size: 13px;
  }
  .concept-tag {
    top: 12px;
    inset-inline-start: 12px;
    font-size: 8px;
    padding: 5px 8px;
  }
  .credentials {
    padding-top: 15px;
  }
  .credential-card {
    grid-template-columns: 110px 1fr;
    gap: 18px;
  }
  .credential-card h3 {
    font-size: 17px;
  }
  .credential-index {
    display: none;
  }
  .credential-type {
    font-size: 8px;
  }
  .credential-card p {
    font-size: 10px;
  }
  .credential-code {
    font-size: 7px;
  }
}
@media (max-width: 360px) {
  .credential-card {
    grid-template-columns: 90px 1fr;
    gap: 13px;
  }
  .credential-card h3 {
    font-size: 15px;
  }
  .credential-card p {
    font-size: 9px;
  }
  .project-copy {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
