@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./assets/fonts/ibm-plex-arabic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./assets/fonts/ibm-plex-arabic-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./assets/fonts/ibm-plex-arabic-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./assets/fonts/ibm-plex-arabic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/fonts/plus-jakarta-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --arabic-font: "IBM Plex Sans Arabic", "SF Arabic", "Geeza Pro", Arial, sans-serif;
  --arabic-display: "IBM Plex Sans Arabic", "SF Arabic", "Geeza Pro", Arial, sans-serif;
  --latin-font: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
}

:root {
  --brand: #373255;
  --brand-2: #5f587b;
  --brand-3: #b29f91;
  --brand-dark: #221d39;
  --ink: #373255;
  --muted: #746c67;
  --soft-text: #8f8177;
  --line: #e7ded6;
  --paper: #fbf8f2;
  --paper-2: #f4eee4;
  --paper-3: #ebe0d1;
  --white: #ffffff;
  --gold: #b29f91;
  --brand-soft: #d8cbc2;
  --brand-faint: #eee7e2;
  --shadow: 0 24px 70px rgba(56, 48, 88, 0.13);
  --soft-shadow: 0 18px 42px rgba(99, 84, 66, 0.1);
  --radius: 8px;
  --type-caption: 16px;
  --type-body: 14px;
  --type-lead: 16px;
  --type-card-title: 18px;
  --type-section-title: clamp(36px, 3.5vw, 48px);
  --type-hero-title: clamp(44px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--arabic-font);
  font-size: var(--type-body);
  line-height: 1.65;
  text-rendering: geometricPrecision;
  overflow-x: clip;
}

body[dir="ltr"] {
  font-family: var(--latin-font);
  font-size: var(--type-body);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 100;
  background: var(--brand);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(56, 48, 88, 0.1);
  background: #e0dcd7;
  backdrop-filter: blur(16px);
}

.nav-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 150px;
  height: auto;
  aspect-ratio: 1567 / 731;
  border-radius: 0;
  object-fit: contain;
}

.brand span,
.footer-home span {
  display: none;
}

.site-menu {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-2);
  transform: translateX(-50%);
}

.site-menu.open-static {
  display: flex;
}

.site-menu a:not(.nav-cta):hover {
  color: var(--brand);
}

.language-toggle,
.menu-toggle {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.language-toggle {
  background: transparent;
  color: var(--brand);
  font-weight: 700;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.search-toggle,
.search-close {
  display: inline-grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(55, 50, 85, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--brand);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.search-toggle:hover,
.search-toggle:focus-visible,
.search-close:hover,
.search-close:focus-visible {
  border-color: rgba(55, 50, 85, 0.3);
  background: var(--white);
  color: var(--brand-dark);
}

.search-toggle svg,
.search-close svg,
.search-field-icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.site-search {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(680px, calc(100% - 32px));
  z-index: 55;
  transform: translateX(-50%);
}

.site-search[hidden] {
  display: none;
}

.site-search-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-field-icon {
  color: var(--brand-2);
}

.site-search-input {
  width: 100%;
  min-height: 42px;
  padding: 7px 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.site-search-input::placeholder {
  color: var(--soft-text);
}

.search-results {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: min(420px, 58vh);
  padding-top: 12px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--paper);
}

.search-result:hover,
.search-result:focus-visible {
  background: var(--paper-2);
}

.search-result span {
  grid-column: 1;
  color: var(--soft-text);
  font-size: 11px;
}

.search-result strong {
  grid-column: 1;
  color: var(--brand);
  font-size: 13px;
}

.search-result svg {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 16px;
  height: 16px;
  color: var(--brand-3);
}

.search-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.nav-cta,
.button.primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(56, 48, 88, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand);
  border: 1px solid var(--line);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(56, 48, 88, 0.2);
}

.button.compact {
  min-height: 42px;
  padding-inline: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--brand);
}

.section-band {
  padding: 92px 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - 76px));
  overflow: hidden;
  place-items: center;
  padding: clamp(68px, 10vw, 112px) 0;
  background:
    linear-gradient(135deg, #171229 0%, #282142 42%, #373255 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 18, 41, 0.9) 0%, rgba(23, 18, 41, 0.66) 42%, rgba(23, 18, 41, 0.76) 100%),
    linear-gradient(180deg, rgba(23, 18, 41, 0.06), rgba(23, 18, 41, 0.38));
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.72;
}

.hero-visual::before {
  background:
    radial-gradient(ellipse at 72% 28%, rgba(95, 140, 255, 0.24), transparent 32%),
    radial-gradient(ellipse at 22% 72%, rgba(178, 159, 145, 0.2), transparent 30%);
  animation: techGlow 12s ease-in-out infinite alternate;
}

.hero-visual::after {
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(57, 213, 255, 0.14) 48%, transparent 58%),
    linear-gradient(300deg, transparent 0 48%, rgba(178, 159, 145, 0.12) 54%, transparent 64%);
  transform: translateX(-18%);
  animation: scanSweep 9s linear infinite;
}

.tech-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.55;
  animation: gridDrift 18s linear infinite;
}

.signal-field {
  position: absolute;
  inset: 0;
}

.signal-line {
  position: absolute;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(57, 213, 255, 0.74), rgba(255, 255, 255, 0.56), transparent);
  opacity: 0.7;
  transform-origin: center;
  animation: signalPulse 5.8s ease-in-out infinite;
}

.signal-line-1 {
  top: 24%;
  inset-inline-start: 8%;
  width: 42%;
  transform: rotate(-10deg);
}

.signal-line-2 {
  top: 39%;
  inset-inline-end: 4%;
  width: 34%;
  animation-delay: -1.6s;
  transform: rotate(12deg);
}

.signal-line-3 {
  bottom: 29%;
  inset-inline-start: 18%;
  width: 36%;
  animation-delay: -3.1s;
  transform: rotate(8deg);
}

.signal-line-4 {
  bottom: 18%;
  inset-inline-end: 12%;
  width: 28%;
  animation-delay: -4.4s;
  transform: rotate(-14deg);
}

.tech-node,
.tech-core,
.tech-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(4, 2, 16, 0.26);
  backdrop-filter: blur(14px);
}

.tech-node {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #39d5ff;
  box-shadow: 0 0 0 8px rgba(57, 213, 255, 0.1), 0 0 26px rgba(57, 213, 255, 0.46);
  animation: nodePulse 3.8s ease-in-out infinite;
}

.node-1 {
  top: 21%;
  inset-inline-start: 16%;
}

.node-2 {
  top: 31%;
  inset-inline-end: 21%;
  animation-delay: -1.2s;
}

.node-3 {
  bottom: 26%;
  inset-inline-start: 27%;
  animation-delay: -2.4s;
}

.node-4 {
  bottom: 18%;
  inset-inline-end: 28%;
  animation-delay: -3s;
}

.tech-panel {
  width: clamp(150px, 18vw, 245px);
  min-height: 112px;
  border-radius: var(--radius);
  padding: 18px;
  animation: panelFloat 8s ease-in-out infinite;
}

.tech-panel span {
  display: block;
  height: 9px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(57, 213, 255, 0.34), transparent);
}

.tech-panel span:nth-child(2) {
  width: 72%;
}

.tech-panel span:nth-child(3) {
  width: 48%;
}

.panel-1 {
  top: 17%;
  inset-inline-end: 9%;
}

.panel-2 {
  bottom: 16%;
  inset-inline-start: 8%;
  width: clamp(132px, 15vw, 205px);
  min-height: 86px;
  animation-delay: -3.5s;
}

.tech-core {
  top: 50%;
  inset-inline-end: 22%;
  width: clamp(130px, 16vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  animation: coreFloat 10s ease-in-out infinite;
}

.tech-core::before,
.tech-core::after,
.tech-core span {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(57, 213, 255, 0.28);
}

.tech-core::before {
  inset: 16%;
  animation: coreSpin 14s linear infinite;
}

.tech-core::after {
  inset: 31%;
  background: rgba(57, 213, 255, 0.12);
  box-shadow: inset 0 0 24px rgba(57, 213, 255, 0.16);
}

.tech-core span:nth-child(1) {
  inset: 6%;
  border-style: dashed;
  border-color: rgba(178, 159, 145, 0.34);
  animation: coreSpin 22s linear infinite reverse;
}

.tech-core span:nth-child(2) {
  width: 10px;
  height: 10px;
  top: 18%;
  inset-inline-end: 24%;
  border: 0;
  background: #39d5ff;
  box-shadow: 0 0 24px rgba(57, 213, 255, 0.62);
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 58px 58px;
  }
}

@keyframes scanSweep {
  from {
    transform: translateX(-28%);
  }

  to {
    transform: translateX(28%);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 0.18;
    filter: saturate(0.8);
  }

  45% {
    opacity: 0.86;
    filter: saturate(1.4);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.68;
  }

  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes coreFloat {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(calc(-50% - 16px)) scale(1.04);
  }
}

@keyframes coreSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes techGlow {
  from {
    transform: translate3d(-2%, 1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, -1%, 0) scale(1.04);
  }
}

.hero {
  background:
    radial-gradient(circle at 50% 42%, rgba(57, 213, 255, 0.1), transparent 24%),
    linear-gradient(135deg, #120e22 0%, #241d3f 46%, #373255 100%);
}

.hero::before {
  z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(18, 14, 34, 0.04) 0%, rgba(18, 14, 34, 0.24) 50%, rgba(18, 14, 34, 0.68) 100%),
    linear-gradient(180deg, rgba(18, 14, 34, 0.08), rgba(18, 14, 34, 0.28));
}

.hero-visual {
  perspective: 1100px;
  transform-style: preserve-3d;
}

.hero-network-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.96;
  mix-blend-mode: screen;
}

.hero-aurora {
  z-index: 1;
}

.mesh-grid,
.neural-lines {
  z-index: 3;
}

.holo-core {
  z-index: 4;
}

.interface-card {
  z-index: 5;
}

.hero-aurora {
  position: absolute;
  width: 52vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(62px);
  opacity: 0.52;
  mix-blend-mode: screen;
  animation: auroraFlow 14s ease-in-out infinite alternate;
}

.aurora-1 {
  top: -18%;
  inset-inline-end: 8%;
  background: rgba(57, 213, 255, 0.34);
}

.aurora-2 {
  bottom: -24%;
  inset-inline-start: 2%;
  background: rgba(178, 159, 145, 0.32);
  animation-delay: -6s;
}

.mesh-grid {
  position: absolute;
  inset: -12%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(57, 213, 255, 0.24) 0 1px, transparent 1.5px);
  background-size: 64px 64px, 64px 64px, 128px 128px;
  mask-image: radial-gradient(ellipse at center, #000 0 54%, transparent 78%);
  opacity: 0.78;
  transform: rotateX(58deg) translateY(5%);
  transform-origin: center;
  animation: meshDrift 22s linear infinite;
}

.neural-lines {
  position: absolute;
  inset: 0;
}

.neural-line {
  position: absolute;
  height: 1px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transform-origin: center;
}

.neural-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(57, 213, 255, 0.9), rgba(255, 255, 255, 0.72), transparent);
  transform: translateX(-100%);
  animation: dataBeam 4.8s ease-in-out infinite;
}

.line-1 {
  top: 26%;
  inset-inline-start: 7%;
  width: 52%;
  transform: rotate(9deg);
}

.line-2 {
  top: 36%;
  inset-inline-end: 7%;
  width: 39%;
  transform: rotate(-13deg);
}

.line-3 {
  bottom: 27%;
  inset-inline-start: 18%;
  width: 46%;
  transform: rotate(-8deg);
}

.line-4 {
  bottom: 18%;
  inset-inline-end: 16%;
  width: 36%;
  transform: rotate(11deg);
}

.line-2::after {
  animation-delay: -1.2s;
}

.line-3::after {
  animation-delay: -2.4s;
}

.line-4::after {
  animation-delay: -3.3s;
}

.neural-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #39d5ff;
  box-shadow: 0 0 0 7px rgba(57, 213, 255, 0.08), 0 0 30px rgba(57, 213, 255, 0.6);
  animation: dotPulse 3.4s ease-in-out infinite;
}

.dot-1 {
  top: 24%;
  inset-inline-start: 18%;
}

.dot-2 {
  top: 34%;
  inset-inline-end: 20%;
  animation-delay: -0.9s;
}

.dot-3 {
  bottom: 27%;
  inset-inline-start: 28%;
  animation-delay: -1.9s;
}

.dot-4 {
  bottom: 19%;
  inset-inline-end: 28%;
  animation-delay: -2.7s;
}

.holo-core {
  position: absolute;
  top: 48%;
  left: 50%;
  width: clamp(470px, 52vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotateZ(-8deg);
  transform-style: preserve-3d;
  opacity: 0.9;
  mix-blend-mode: screen;
}

html[dir="rtl"] .holo-core {
  transform: translate(-50%, -50%) rotateZ(8deg);
}

.holo-core::before,
.holo-core::after,
.holo-core .orbit {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(57, 213, 255, 0.36);
}

.holo-core::before {
  background:
    conic-gradient(from 80deg, transparent 0 16%, rgba(57, 213, 255, 0.35) 18%, transparent 23% 48%, rgba(178, 159, 145, 0.28) 52%, transparent 59% 100%);
  mask-image: radial-gradient(circle, transparent 0 64%, #000 65% 67%, transparent 68%);
  box-shadow: inset 0 0 70px rgba(57, 213, 255, 0.1), 0 0 110px rgba(57, 213, 255, 0.14);
  animation: orbitSpin 18s linear infinite;
}

.holo-core::after {
  inset: 18%;
  border-color: rgba(178, 159, 145, 0.4);
  box-shadow: 0 0 80px rgba(178, 159, 145, 0.12);
  animation: orbitSpin 24s linear infinite reverse;
}

.holo-core .orbit-1 {
  inset: 9%;
  border-style: dashed;
  border-color: rgba(57, 213, 255, 0.28);
  animation: orbitSpin 32s linear infinite;
}

.holo-core .orbit-2 {
  inset: 29%;
  border-color: rgba(255, 255, 255, 0.26);
  animation: orbitSpin 15s linear infinite reverse;
}

.holo-core .orbit-3 {
  inset: 42%;
  background: radial-gradient(circle, rgba(57, 213, 255, 0.34), rgba(57, 213, 255, 0.08) 46%, transparent 68%);
  border: 0;
  animation: coreBreathe 4.4s ease-in-out infinite;
}

.holo-core i {
  position: absolute;
  top: 8%;
  inset-inline-start: 48%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #39d5ff;
  box-shadow: 0 0 24px rgba(57, 213, 255, 0.74);
  animation: satelliteBlink 2.8s ease-in-out infinite;
}

.interface-card {
  position: absolute;
  width: clamp(150px, 15vw, 230px);
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(22, 17, 38, 0.42);
  box-shadow: 0 28px 90px rgba(4, 2, 16, 0.28);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  animation: cardHover 8s ease-in-out infinite;
}

.interface-card span {
  display: block;
  height: 8px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(57, 213, 255, 0.46), transparent);
}

.interface-card span:nth-child(2) {
  width: 68%;
}

.interface-card span:nth-child(3) {
  width: 44%;
}

.card-1 {
  top: 18%;
  inset-inline-start: 10%;
}

.card-2 {
  top: 19%;
  inset-inline-end: 11%;
  width: clamp(128px, 12vw, 190px);
  min-height: 74px;
  animation-delay: -2.4s;
}

.card-3 {
  bottom: 15%;
  inset-inline-end: 14%;
  animation-delay: -4.8s;
}

.hero-copy h1 {
  text-shadow: 0 14px 44px rgba(5, 3, 16, 0.58), 0 0 34px rgba(136, 155, 170, 0.14);
}

.hero-copy .hero-text {
  text-shadow: 0 10px 28px rgba(5, 3, 16, 0.56);
}

@keyframes auroraFlow {
  from {
    transform: translate3d(-4%, 2%, 0) scale(1);
  }

  to {
    transform: translate3d(5%, -3%, 0) scale(1.12);
  }
}

@keyframes meshDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 64px 64px, 64px 64px, 128px 128px;
  }
}

@keyframes dataBeam {
  0%,
  12% {
    transform: translateX(-110%);
    opacity: 0;
  }

  45% {
    opacity: 1;
  }

  86%,
  100% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(0.84);
    opacity: 0.62;
  }

  50% {
    transform: scale(1.26);
    opacity: 1;
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes coreBreathe {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.56;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes satelliteBlink {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@keyframes cardHover {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }

  50% {
    transform: translate3d(0, -18px, 30px) rotateX(2deg);
  }
}

.hero {
  background:
    radial-gradient(circle at 50% 42%, rgba(136, 155, 170, 0.12), transparent 28%),
    linear-gradient(135deg, #171229 0%, #211b3a 48%, #302a52 100%);
}

.hero::before {
  background:
    radial-gradient(ellipse at center, rgba(23, 18, 41, 0.16) 0%, rgba(23, 18, 41, 0.42) 58%, rgba(23, 18, 41, 0.76) 100%),
    linear-gradient(180deg, rgba(23, 18, 41, 0.08), rgba(23, 18, 41, 0.28));
}

.flow-glow,
.flow-grid,
.data-flow,
.flow-nodes,
.flow-panel {
  position: absolute;
  inset: 0;
}

.flow-glow {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(136, 155, 170, 0.2), transparent 38%),
    radial-gradient(ellipse at 24% 72%, rgba(194, 172, 155, 0.14), transparent 32%),
    radial-gradient(ellipse at 82% 24%, rgba(100, 110, 135, 0.18), transparent 30%);
  filter: blur(2px);
  animation: flowGlow 10s ease-in-out infinite alternate;
}

.flow-grid {
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 0 45%, transparent 76%);
  opacity: 0.42;
  animation: flowGrid 28s linear infinite;
}

.flow-line {
  position: absolute;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(239, 235, 230, 0.2), rgba(136, 155, 170, 0.38), transparent);
  overflow: hidden;
}

.flow-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(136, 155, 170, 0.9), rgba(239, 235, 230, 0.8), transparent);
  transform: translateX(-100%);
  animation: flowSweep 6.8s ease-in-out infinite;
}

.flow-line i {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(136, 155, 170, 0.94);
  box-shadow: 0 0 22px rgba(136, 155, 170, 0.72);
  transform: translate(-50%, -50%);
  animation: flowPacket 6.8s ease-in-out infinite;
}

.flow-line-1 {
  top: 29%;
  inset-inline-start: 9%;
  width: 34%;
  transform: rotate(8deg);
}

.flow-line-2 {
  top: 37%;
  inset-inline-end: 8%;
  width: 31%;
  transform: rotate(-10deg);
}

.flow-line-3 {
  bottom: 31%;
  inset-inline-start: 16%;
  width: 37%;
  transform: rotate(-7deg);
}

.flow-line-4 {
  bottom: 22%;
  inset-inline-end: 15%;
  width: 28%;
  transform: rotate(8deg);
}

.flow-line-2::before,
.flow-line-2 i {
  animation-delay: -1.7s;
}

.flow-line-3::before,
.flow-line-3 i {
  animation-delay: -3.1s;
}

.flow-line-4::before,
.flow-line-4 i {
  animation-delay: -4.4s;
}

.flow-line-2 i,
.flow-line-4 i {
  background: rgba(194, 172, 155, 0.94);
  box-shadow: 0 0 22px rgba(194, 172, 155, 0.66);
}

.flow-line-3 i {
  background: rgba(100, 110, 135, 0.96);
  box-shadow: 0 0 22px rgba(100, 110, 135, 0.7);
}

.flow-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(136, 155, 170, 0.9);
  box-shadow: 0 0 0 7px rgba(136, 155, 170, 0.08), 0 0 24px rgba(136, 155, 170, 0.52);
  animation: flowNode 4.8s ease-in-out infinite;
}

.flow-node-1 {
  top: 27%;
  inset-inline-start: 24%;
}

.flow-node-2 {
  top: 36%;
  inset-inline-end: 22%;
  background: rgba(194, 172, 155, 0.92);
  box-shadow: 0 0 0 7px rgba(194, 172, 155, 0.08), 0 0 24px rgba(194, 172, 155, 0.5);
  animation-delay: -1.6s;
}

.flow-node-3 {
  bottom: 26%;
  inset-inline-start: 62%;
  background: rgba(100, 110, 135, 0.95);
  box-shadow: 0 0 0 7px rgba(100, 110, 135, 0.1), 0 0 24px rgba(100, 110, 135, 0.55);
  animation-delay: -3s;
}

.flow-panel {
  inset: auto 0 15% auto;
  width: clamp(150px, 16vw, 230px);
  min-height: 82px;
  margin-inline-end: 9%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 22px 70px rgba(5, 3, 16, 0.18);
  backdrop-filter: blur(14px);
  opacity: 0.62;
  animation: flowPanel 9s ease-in-out infinite;
}

.flow-panel span {
  display: block;
  height: 7px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 235, 230, 0.66), rgba(136, 155, 170, 0.34), transparent);
}

.flow-panel span:nth-child(2) {
  width: 64%;
}

.hero .flow-panel {
  display: none;
}

@keyframes flowGlow {
  from {
    transform: translate3d(-1%, 1%, 0) scale(1);
    opacity: 0.78;
  }

  to {
    transform: translate3d(1%, -1%, 0) scale(1.04);
    opacity: 1;
  }
}

@keyframes flowGrid {
  to {
    background-position: 72px 72px;
  }
}

@keyframes flowSweep {
  0%,
  18% {
    transform: translateX(-110%);
    opacity: 0;
  }

  48% {
    opacity: 1;
  }

  82%,
  100% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@keyframes flowPacket {
  0%,
  15% {
    inset-inline-start: 0%;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  85%,
  100% {
    inset-inline-start: 100%;
    opacity: 0;
  }
}

@keyframes flowNode {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.52;
  }

  50% {
    transform: scale(1.18);
    opacity: 0.95;
  }
}

@keyframes flowPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-grid,
.about-grid,
.contact-panel,
.service-layout,
.section-heading,
.process-line,
.work-grid,
.values-grid {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  position: relative;
  z-index: 3;
  place-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: var(--type-caption);
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0;
}

.about .eyebrow,
.work .eyebrow,
.contact-panel .eyebrow {
  color: var(--ink);
  font-family: var(--arabic-display);
  font-size: var(--type-section-title);
  line-height: 1.2;
  font-weight: 800;
}

.about .eyebrow {
  font-size: 34px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--arabic-display);
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: var(--type-hero-title);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  font-family: var(--arabic-display);
  margin-bottom: 16px;
  color: var(--ink);
  font-size: var(--type-section-title);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: var(--type-card-title);
  line-height: 1.35;
  font-weight: 800;
}

.hero-text,
.section-heading > p:not(.eyebrow),
.about-copy,
.contact-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.75;
}

.hero-text {
  max-width: 760px;
  margin-inline: auto;
  color: var(--brand-faint);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.8;
}

.hero-copy {
  width: min(900px, 100%);
  margin-inline: auto;
  text-align: center;
}

.hero-copy h1 {
  max-width: 900px;
  margin-inline: auto;
  color: var(--white);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px 0 0;
}

.hero-actions .button.primary {
  min-width: 180px;
  background: var(--brand-3);
  color: var(--brand-dark);
  box-shadow: 0 18px 44px rgba(13, 10, 25, 0.32);
}

.authority-band {
  padding: 72px 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(178, 159, 145, 0.15), transparent 28%),
    linear-gradient(135deg, var(--brand-dark), #332b4d);
  color: var(--white);
}

.authority-grid {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 36px;
  align-items: start;
}

.authority-band .eyebrow {
  color: var(--gold);
}

.authority-band h2,
.authority-band h3 {
  color: var(--white);
}

.authority-band h2 {
  font-size: clamp(32px, 4.2vw, 56px);
}

.authority-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.authority-cards article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.authority-cards article:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(178, 159, 145, 0.34);
}

.authority-cards span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: rgba(178, 159, 145, 0.16);
  color: var(--gold);
  font-weight: 900;
}

.authority-cards p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
  text-align: center;
}

.services .section-heading {
  max-width: 820px;
}

.services-main-title {
  margin-bottom: 12px;
}

.services .section-heading > .services-tagline {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  font-weight: 700;
}

.services .services-description {
  max-width: 720px;
  margin: 0 auto;
}

.section-heading h2,
.about-grid h2,
.work .section-heading h2,
.process .section-heading h2,
.decision-copy h2,
.contact-panel h2,
.authority-band h2 {
  font-size: var(--type-section-title);
  line-height: 1.2;
}

.section-heading > p:not(.eyebrow),
.about-copy p,
.decision-copy p,
.contact-panel p:not(.eyebrow),
.authority-cards p,
.process-line p,
.values-grid p,
.work-grid p {
  font-size: var(--type-body);
  line-height: 1.7;
}

.service-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: stretch;
}

.service-tabs {
  display: grid;
  gap: 10px;
}

.service-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: inherit;
  box-shadow: 0 10px 24px rgba(99, 84, 66, 0.055);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.service-tab:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 48, 88, 0.26);
  box-shadow: var(--soft-shadow);
}

.service-tab-icon,
.value-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--brand);
  padding: 0;
  stroke-width: 1.65;
}

.service-tab strong {
  font-size: 16px;
}

.service-tab.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--white);
  border-color: var(--brand);
  box-shadow: 0 22px 50px rgba(56, 48, 88, 0.2);
}

.service-tab.active .service-tab-icon {
  color: var(--gold);
}

.service-detail {
  min-height: 420px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 18%, rgba(178, 159, 145, 0.18), transparent 24%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.service-media-link {
  display: block;
  overflow: hidden;
  margin-bottom: 26px;
  border-radius: var(--radius);
  aspect-ratio: 16 / 8;
  background: var(--paper-2);
  box-shadow: 0 18px 44px rgba(99, 84, 66, 0.12);
}

.service-media-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-media-link:hover img {
  transform: scale(1.035);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-detail.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.service-detail h3 {
  max-width: 760px;
  font-size: 20px;
}

.service-detail p,
.service-detail li {
  color: var(--muted);
}

.service-detail ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding-inline-start: 28px;
}

.service-detail li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.3em;
  width: 3px;
  height: 1.4em;
  background: var(--brand-3);
  border-radius: 1px;
}

.about {
  background: linear-gradient(180deg, var(--white), var(--paper));
  padding-top: 76px;
  padding-bottom: 76px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.about-grid h2 {
  max-width: 500px;
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.5;
}

.about-copy {
  max-width: 650px;
  padding-block: 8px;
  padding-inline-start: 34px;
  border-inline-start: 1px solid var(--line);
}

.about-copy p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--brand-3);
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--brand-2);
}

.values {
  background: var(--paper-2);
}

.values .section-heading {
  margin-bottom: 32px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.values-grid article,
.work-grid article,
.process-line article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 30px rgba(99, 84, 66, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.values-grid article:hover,
.work-grid article:hover,
.process-line article:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 48, 88, 0.22);
  box-shadow: var(--soft-shadow);
}

.value-icon {
  margin-bottom: 20px;
  width: 36px;
  height: 36px;
  color: var(--brand);
  stroke-width: 1.55;
}

.process-line span,
.work-grid span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
}

.values-grid p,
.work-grid p,
.process-line p {
  margin-bottom: 0;
  color: var(--muted);
}

.values-grid h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.testimonials {
  background: var(--paper);
}

.testimonials-heading,
.testimonials-grid {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.testimonials-heading {
  max-width: 760px;
  margin-bottom: 34px;
  text-align: center;
}

.testimonials-heading .eyebrow {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 30px;
}

.testimonials-heading h2 {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.testimonial-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(99, 84, 66, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(55, 50, 85, 0.24);
  box-shadow: var(--soft-shadow);
}

.testimonial-quote {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--brand-3);
  stroke-width: 1.6;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.85;
}

.testimonial-card footer {
  display: grid;
  gap: 3px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-card footer strong {
  color: var(--brand);
  font-size: 14px;
}

.testimonial-card footer span {
  color: var(--soft-text);
  font-size: 12px;
}

.featured-testimonial {
  border-color: rgba(178, 159, 145, 0.42);
  background: var(--brand);
}

.featured-testimonial blockquote,
.featured-testimonial footer strong {
  color: var(--brand-faint);
}

.featured-testimonial footer {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.featured-testimonial footer span {
  color: var(--brand-soft);
}

.work {
  background:
    radial-gradient(circle at 20% 20%, rgba(178, 159, 145, 0.12), transparent 28%),
    linear-gradient(145deg, var(--brand-dark), #302849);
  color: var(--white);
}

.work .eyebrow,
.work-grid span {
  color: var(--brand-3);
}

.work .section-heading h2,
.work-grid h3 {
  color: var(--brand-3);
}

.work .section-heading h2 {
  font-size: 30px;
}

.work .section-heading > p:not(.eyebrow),
.work-grid p {
  color: var(--brand-soft);
}

.compact-heading {
  text-align: start;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-grid article {
  min-height: 0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.project-preview {
  position: relative;
  min-height: 126px;
  margin: -8px -8px 22px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(178, 159, 145, 0.34);
  border-radius: 6px;
  background: var(--brand-3);
  color: var(--brand-dark);
}

.project-preview::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  inset: -30px auto auto -22px;
  border: 18px solid rgba(55, 50, 85, 0.15);
  transform: rotate(45deg);
}

.project-preview b {
  font-family: var(--latin-font);
  font-size: 56px;
  line-height: 0.85;
}

.project-preview small {
  font-family: var(--latin-font);
  font-size: 12px;
  font-weight: 800;
}

.featured-project {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.featured-project:hover,
.featured-project:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(178, 159, 145, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.featured-project figure {
  aspect-ratio: 25 / 18;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.featured-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.featured-project:hover img {
  transform: scale(1.035);
}

.featured-project > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.featured-project span {
  margin-bottom: 10px;
  font-family: var(--latin-font);
  font-size: 12px;
  letter-spacing: 0;
}

.featured-project h3 {
  margin: 0 0 10px;
  font-family: var(--latin-font);
  font-size: 24px;
}

.featured-project p {
  flex: 1;
  margin: 0 0 20px;
  font-size: 14px;
}

.featured-project strong {
  color: var(--brand-3);
  font-size: 13px;
  font-weight: 800;
}

.work-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.work-all-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(178, 159, 145, 0.58);
  border-radius: 6px;
  color: var(--brand-3);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.work-all-link:hover,
.work-all-link:focus-visible {
  background: var(--brand-3);
  color: var(--brand-dark);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.decision {
  background:
    radial-gradient(circle at 12% 10%, rgba(178, 159, 145, 0.22), transparent 26%),
    linear-gradient(180deg, var(--paper), var(--white));
}

.decision-grid {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.decision-copy {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 12%, rgba(125, 115, 155, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.decision-copy p {
  color: var(--muted);
}

.decision-list {
  display: grid;
  gap: 12px;
}

.decision-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(99, 84, 66, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.decision-list article:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 48, 88, 0.24);
  box-shadow: var(--soft-shadow);
}

.decision-list strong {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--brand);
}

.decision-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  padding-bottom: 54px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
}

.contact-panel h2 {
  color: var(--brand-3);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: var(--brand-soft);
}

.contact-cta {
  margin-top: 8px;
  background: var(--brand-3);
  color: var(--brand-dark);
  box-shadow: 0 14px 34px rgba(18, 14, 35, 0.2);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: var(--brand-faint);
  border-radius: var(--radius);
  color: var(--ink);
}

.lead-form label:nth-of-type(n + 3),
.form-submit {
  grid-column: 1 / -1;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fffdf9;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--brand-3);
  box-shadow: 0 0 0 4px rgba(125, 115, 155, 0.12);
}

.form-submit {
  width: 100%;
  border-color: transparent;
  background: var(--brand-3);
  color: var(--brand-dark);
}

.site-footer {
  border-top: 1px solid rgba(55, 50, 85, 0.1);
  background: #e0dcd7;
  color: #6f665f;
}

.footer-container {
  width: min(1024px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 20px;
}

.footer-brandline {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.6fr);
  gap: 38px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(55, 50, 85, 0.12);
}

.footer-home {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  color: var(--brand);
  font-family: var(--latin-font);
  font-size: 18px;
  font-weight: 800;
}

.footer-home img {
  width: 220px;
  height: auto;
  aspect-ratio: 1567 / 731;
  border-radius: 0;
  object-fit: contain;
}

.footer-brandline p {
  max-width: 650px;
  margin: 1px 0 0;
  color: #756b64;
  font-size: 16px;
  line-height: 1.75;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
  padding: 24px 0 26px;
}

.footer-group {
  min-width: 0;
}

.footer-group + .footer-group {
  padding-inline-start: clamp(24px, 4vw, 48px);
  border-inline-start: 1px solid rgba(55, 50, 85, 0.12);
}

.footer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  text-align: start;
  pointer-events: none;
}

.footer-heading i {
  display: none;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.footer-links[hidden] {
  display: none !important;
}

.footer-links a {
  width: fit-content;
  margin: 0;
  color: #716761;
  font-size: 13px;
  line-height: 1.55;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 3px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.footer-socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-bottom {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(55, 50, 85, 0.12);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: #756b64;
  font-size: 11px;
  line-height: 1.5;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  transition: color 0.18s ease, transform 0.18s ease;
}

.back-to-top-icon {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.back-to-top-icon i {
  display: block;
  width: 0;
  height: 0;
  border-inline-start: 6px solid transparent;
  border-inline-end: 6px solid transparent;
  border-bottom: 10px solid currentColor;
  color: var(--brand);
  opacity: 1;
  transform: translateY(3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.back-to-top-icon i:nth-child(2) {
  color: var(--brand-2);
  opacity: 1;
  transform: translateY(0);
}

.back-to-top-icon i:nth-child(3) {
  color: var(--brand-3);
  opacity: 1;
  transform: translateY(-3px);
}

.back-to-top-label {
  white-space: nowrap;
}

.footer-bottom a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-to-top:hover {
  background: transparent;
  text-decoration: none;
  transform: translateY(-1px);
}

.back-to-top:hover i {
  opacity: 1;
  transform: translateY(-3px);
}

.contact-panel .eyebrow {
  font-size: 30px;
}

.contact-panel h2 {
  font-size: 25px;
  line-height: 1.35;
}

.contact-panel p:not(.eyebrow) {
  color: var(--brand-faint);
  font-size: 17px;
}

.site-footer {
  border-top: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(230px, 0.95fr) minmax(0, 1.8fr);
  gap: clamp(28px, 5vw, 64px);
}

.footer-brandline {
  display: block;
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-brandline p {
  margin-top: 14px;
}

.footer-directory {
  padding: 0;
}

.footer-group + .footer-group {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 0;
}

.about .eyebrow,
.work .eyebrow,
.contact-panel .eyebrow {
  font-size: 30px;
}

.values .section-heading h2 {
  font-size: var(--type-section-title);
}

.about-grid h2 {
  font-size: 25px;
}

.values .section-heading {
  text-align: center;
}

.values-grid h3 {
  font-size: 20px;
}

.work .section-heading h2,
.contact-panel h2 {
  font-size: 25px;
}

.contact-panel p:not(.eyebrow) {
  font-size: 18px;
}

.service-page-hero {
  padding: 52px 0 82px;
  background: var(--paper);
}

.service-page-grid,
.service-content-grid,
.related-services {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.service-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand-2);
  font-weight: 800;
}

.service-page-hero p {
  color: var(--muted);
  font-size: 18px;
}

.service-page-hero h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.06;
}

.maintenance-hero {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: clamp(72px, 9vw, 118px) 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
}

.maintenance-intro {
  position: sticky;
  top: 118px;
}

.maintenance-icon {
  width: 42px;
  height: 42px;
  margin: 28px 0 22px;
  color: var(--brand-2);
  stroke-width: 1.5;
}

.maintenance-intro h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.18;
}

.maintenance-intro > p {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.maintenance-highlights {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maintenance-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.maintenance-highlights svg {
  width: 20px;
  height: 20px;
  color: #646e87;
}

.maintenance-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.maintenance-form-heading,
.maintenance-form .form-wide {
  grid-column: 1 / -1;
}

.maintenance-form-heading {
  margin-bottom: 6px;
}

.maintenance-form-heading span {
  color: var(--brand-3);
  font-weight: 800;
}

.maintenance-form-heading h2 {
  margin: 4px 0 0;
  font-size: 30px;
}

.maintenance-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.maintenance-form input,
.maintenance-form select,
.maintenance-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

.maintenance-form textarea {
  min-height: 138px;
  resize: vertical;
}

.maintenance-form input:focus,
.maintenance-form select:focus,
.maintenance-form textarea:focus {
  outline: none;
  border-color: #889baa;
  box-shadow: 0 0 0 4px rgba(136, 155, 170, 0.16);
}

.maintenance-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  cursor: pointer;
}

.maintenance-submit svg {
  width: 19px;
  height: 19px;
}

.maintenance-related {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
}

.service-hero-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 78px 0;
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.service-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.service-story,
.service-side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.service-story {
  padding: clamp(26px, 4vw, 48px);
}

.service-story p,
.service-story li {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 16px 18px;
  padding-inline-start: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 16px;
  top: 16px;
  color: var(--brand);
  font-weight: 900;
}

.service-side-card {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.service-side-card h2 {
  font-size: 30px;
}

.related-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.related-services a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-services a:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.whatsapp-float {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: #25d366;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  background: #1ebe5d;
  box-shadow: 0 22px 48px rgba(37, 211, 102, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-hero {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--brand-dark);
  color: var(--white);
}

.blog-hero-inner,
.blog-directory,
.blog-cta {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.blog-hero-inner {
  max-width: 860px;
  margin-inline-start: max(20px, calc((100% - 1180px) / 2));
  margin-inline-end: auto;
}

.blog-hero .eyebrow {
  color: var(--brand-3);
  font-size: 20px;
}

.blog-hero h1 {
  max-width: 820px;
  margin: 8px 0 18px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.15;
}

.blog-hero-inner > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--brand-soft);
  font-size: 18px;
}

.blog-directory {
  padding: clamp(64px, 8vw, 96px) 0;
}

.blog-section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.blog-section-heading h2 {
  margin: 0;
  font-size: 30px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.blog-card summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.blog-card summary::-webkit-details-marker {
  display: none;
}

.blog-card figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card summary:hover img {
  transform: scale(1.025);
}

.blog-card-copy {
  display: grid;
  gap: 10px;
  min-height: 280px;
  padding: 22px;
}

.blog-card-copy span {
  color: var(--brand-3);
  font-size: 12px;
  font-weight: 800;
}

.blog-card-copy h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

.blog-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.blog-card-copy strong {
  align-self: end;
  color: var(--brand);
  font-size: 13px;
}

.blog-card-copy strong::after {
  content: " +";
  color: var(--brand-3);
}

.blog-card[open] .blog-card-copy strong::after {
  content: " -";
}

.blog-article-body {
  padding: 0 22px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.blog-article-body p {
  margin: 18px 0 0;
}

.blog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(64px, 8vw, 96px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
}

.blog-cta .eyebrow {
  margin-bottom: 8px;
  color: var(--brand-3);
}

.blog-cta h2 {
  max-width: 700px;
  margin: 0;
  color: var(--brand-faint);
  font-size: clamp(25px, 3vw, 38px);
}

.blog-cta .button {
  flex: 0 0 auto;
  background: var(--brand-3);
  color: var(--brand-dark);
}

.projects-hero {
  padding: clamp(68px, 9vw, 112px) 0 clamp(48px, 7vw, 76px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.projects-hero-inner,
.projects-directory,
.project-detail-hero,
.project-detail-body,
.next-project a {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.projects-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.projects-hero h1 {
  max-width: 900px;
  margin: 10px 0 20px;
  font-size: clamp(46px, 6.4vw, 76px);
  line-height: 1.13;
}

.projects-hero-inner > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.projects-count {
  min-width: 132px;
  margin: 0;
  padding-inline-start: 24px;
  border-inline-start: 1px solid var(--line);
}

.projects-count strong,
.projects-count span {
  display: block;
}

.projects-count strong {
  color: var(--brand);
  font-family: var(--latin-font);
  font-size: 54px;
  line-height: 1;
}

.projects-count span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.projects-directory {
  padding: 34px 0 96px;
}

.projects-toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.project-filters {
  display: inline-flex;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-2);
  scrollbar-width: none;
}

.project-filters::-webkit-scrollbar {
  display: none;
}

.project-filters button {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.project-filters button.active {
  background: var(--brand);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(55, 50, 85, 0.28);
  box-shadow: 0 18px 44px rgba(55, 50, 85, 0.1);
}

.portfolio-card a {
  display: block;
  height: 100%;
  color: inherit;
}

.portfolio-card figure {
  aspect-ratio: 25 / 18;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-card:hover img {
  transform: scale(1.035);
}

.portfolio-card-copy {
  padding: 20px;
}

.portfolio-card-copy p {
  margin: 0 0 8px;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 800;
}

.portfolio-card-copy h2 {
  margin: 0 0 22px;
  color: var(--brand);
  font-family: var(--latin-font);
  font-size: 22px;
  line-height: 1.28;
}

.portfolio-card-copy span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.portfolio-card-copy svg,
.project-back svg,
.next-project svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[dir="rtl"] .portfolio-card-copy svg,
[dir="rtl"] .next-project svg {
  transform: scaleX(-1);
}

.projects-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(48px, 7vw, 78px) max(20px, calc((100% - 1180px) / 2));
  background: var(--brand-dark);
  color: var(--white);
}

.projects-cta h2 {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--brand-3);
  font-size: var(--type-section-title);
}

.projects-cta .eyebrow {
  color: var(--brand-3);
}

.project-detail-page {
  background: var(--paper);
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(58px, 8vw, 96px);
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 46px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

[dir="ltr"] .project-back svg {
  transform: scaleX(-1);
}

.project-detail-intro h1 {
  margin: 10px 0 22px;
  font-family: var(--latin-font);
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: 1.03;
}

.project-summary {
  max-width: 610px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.project-cover {
  aspect-ratio: 25 / 18;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: start;
  padding-top: clamp(62px, 8vw, 104px);
  padding-bottom: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.project-deliverables {
  position: sticky;
  top: 108px;
}

.project-deliverables h2 {
  margin: 8px 0 28px;
  font-size: 34px;
}

.project-deliverables ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: deliverable;
}

.project-deliverables li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  counter-increment: deliverable;
}

.project-deliverables li::before {
  content: "0" counter(deliverable);
  color: var(--brand-2);
  font-family: var(--latin-font);
  font-size: 12px;
  font-weight: 800;
}

.project-visual {
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.project-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.project-visual.is-cover-only {
  display: grid;
  min-height: 560px;
  place-items: center;
  padding: clamp(40px, 8vw, 100px);
  background: var(--brand-dark);
}

.project-visual.is-cover-only img {
  width: min(540px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.next-project {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--brand-dark);
}

.next-project a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 124px;
  color: var(--brand-3);
}

.next-project span {
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 800;
}

.next-project strong {
  font-family: var(--latin-font);
  font-size: clamp(26px, 4vw, 42px);
}

.next-project svg {
  width: 28px;
  height: 28px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  :root {
    --type-section-title: clamp(34px, 5vw, 44px);
    --type-hero-title: clamp(42px, 7vw, 56px);
  }

  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: none;
  }

  .site-menu.open {
    display: flex;
  }

  .site-menu.open-static {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
    transform: none;
  }

  .header-tools {
    gap: 6px;
  }

  .hero-grid,
  .service-layout,
  .about-grid,
  .contact-panel,
  .authority-grid,
  .decision-grid,
  .maintenance-hero,
  .service-page-grid,
  .service-content-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-intro {
    position: static;
  }

  .hero-grid {
    gap: 40px;
  }

  .tech-core {
    inset-inline-end: 6%;
    opacity: 0.55;
  }

  .panel-1 {
    inset-inline-end: -48px;
  }

  .panel-2 {
    inset-inline-start: -42px;
  }

  h1 {
    max-width: 720px;
    font-size: var(--type-hero-title);
  }

  .service-page-hero h1 {
    font-size: 30px;
    line-height: 1.35;
  }

  .hero-copy {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  .about-copy {
    padding-top: 0;
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-tab:last-child {
    grid-column: auto;
  }

  .values-grid,
  .work-grid,
  .process-line,
  .authority-cards,
  .related-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card:last-child {
    grid-column: 1 / -1;
  }

  .projects-hero-inner,
  .project-detail-hero,
  .project-detail-body {
    grid-template-columns: 1fr;
  }

  .projects-hero-inner {
    gap: 28px;
  }

  .projects-count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .projects-count strong {
    font-size: 42px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
  }

  .projects-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-detail-hero {
    gap: 42px;
  }

  .project-detail-intro {
    max-width: 720px;
  }

  .project-deliverables {
    position: static;
  }

  .service-side-card {
    position: static;
  }
}

@media (min-width: 700px) and (max-width: 980px) {
  .about {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .about-grid {
    grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
    gap: 34px;
    align-items: center;
  }

  .about .eyebrow {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .about-grid h2 {
    font-size: 25px;
    line-height: 1.5;
  }

  .about-copy {
    padding-block: 6px;
    padding-inline-start: 28px;
    border-inline-start: 1px solid var(--line);
  }

  .about-copy p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.9;
  }
}

@media (max-width: 820px) {
  .footer-container {
    width: min(100% - 32px, 1024px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0 16px;
    text-align: center;
  }

  .footer-brandline {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .footer-home {
    margin-inline: auto;
  }

  .footer-home img {
    width: 190px;
    height: auto;
  }

  .footer-brandline p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.55;
  }

  .footer-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    padding: 0;
  }

  .footer-group {
    padding: 10px 0;
    border-top: 0;
  }

  .footer-group + .footer-group {
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .footer-group:last-child {
    grid-column: 1 / -1;
    padding-top: 16px;
    border-top: 1px solid rgba(55, 50, 85, 0.1);
  }

  .footer-heading {
    padding: 0;
    justify-content: center;
    font-size: 16px;
    cursor: default;
    pointer-events: none;
  }

  .footer-heading i {
    display: none;
  }

  .footer-heading i::before,
  .footer-heading i::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: currentColor;
    transform: translateY(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .footer-heading i::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .footer-heading[aria-expanded="true"] i::after {
    opacity: 0;
    transform: translateY(-50%) rotate(0);
  }

  .footer-links {
    justify-items: center;
    gap: 5px;
    margin: 7px 0 0;
    padding: 0;
  }

  .footer-links a {
    width: auto;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(55, 50, 85, 0.1);
  }

}

@media (max-width: 620px) {
  :root {
    --type-section-title: clamp(30px, 8vw, 36px);
    --type-hero-title: clamp(38px, 10vw, 44px);
  }

  .section-band {
    padding: 64px 0;
  }

  .language-toggle {
    padding: 0 4px;
    font-size: 12px;
  }

  .search-toggle,
  .search-close {
    width: 38px;
    height: 38px;
  }

  .site-search {
    top: calc(100% + 6px);
    width: calc(100% - 24px);
  }

  .site-search-inner {
    gap: 9px;
    padding: 11px;
  }

  .search-results {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    padding: 64px 0;
  }

  .testimonials-heading,
  .testimonials-grid {
    width: min(100% - 32px, 1180px);
  }

  .testimonials-heading .eyebrow {
    font-size: 30px;
  }

  .testimonials-heading h2 {
    font-size: 18px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card,
  .testimonial-card:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .blog-hero-inner,
  .blog-directory,
  .blog-cta {
    width: min(100% - 32px, 1180px);
  }

  .blog-hero-inner {
    margin-inline: auto;
    padding-inline: 4px;
    text-align: center;
  }

  .blog-hero h1 {
    font-size: 38px;
  }

  .blog-hero-inner > p:last-child {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .blog-card-copy {
    min-height: 0;
  }

  .blog-cta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .hero {
    min-height: min(700px, calc(100svh - 76px));
    padding: 56px 0;
  }

  .hero::before {
    background:
      radial-gradient(ellipse at center, rgba(18, 14, 34, 0.1), rgba(18, 14, 34, 0.62) 76%),
      linear-gradient(180deg, rgba(18, 14, 34, 0.16), rgba(18, 14, 34, 0.42));
  }

  .hero-aurora {
    width: 120vw;
    opacity: 0.48;
    filter: blur(54px);
  }

  .aurora-1 {
    top: 4%;
    inset-inline-end: -36%;
  }

  .aurora-2 {
    bottom: -12%;
    inset-inline-start: -42%;
  }

  .mesh-grid {
    inset: -20%;
    background-size: 44px 44px, 44px 44px, 88px 88px;
    opacity: 0.5;
    transform: rotateX(62deg) translateY(12%);
  }

  .holo-core {
    top: 43%;
    left: 50%;
    width: 460px;
    opacity: 0.7;
  }

  .interface-card {
    width: 132px;
    min-height: 70px;
    padding: 13px;
    opacity: 0.66;
  }

  .interface-card span {
    height: 6px;
    margin-bottom: 10px;
  }

  .card-1 {
    top: 17%;
    inset-inline-start: -40px;
  }

  .card-2 {
    top: 20%;
    inset-inline-end: -34px;
  }

  .card-3 {
    bottom: 10%;
    inset-inline-end: -48px;
  }

  .neural-line {
    opacity: 0.78;
  }

  .line-1,
  .line-3 {
    width: 74%;
  }

  .dot-1 {
    top: 26%;
    inset-inline-start: 8%;
  }

  .dot-3 {
    bottom: 29%;
    inset-inline-start: 18%;
  }

  .tech-grid {
    background-size: 42px 42px;
  }

  .tech-core {
    width: 168px;
    top: 35%;
    inset-inline-end: -38px;
    opacity: 0.38;
  }

  .tech-panel {
    width: 142px;
    min-height: 78px;
    padding: 14px;
    opacity: 0.5;
  }

  .panel-1 {
    top: 12%;
    inset-inline-end: -68px;
  }

  .panel-2 {
    bottom: 10%;
    inset-inline-start: -60px;
  }

  .signal-line-1,
  .signal-line-3 {
    width: 66%;
  }

  .signal-line-2,
  .signal-line-4,
  .node-2,
  .node-4 {
    display: none;
  }

  .brand span {
    display: none;
  }

  .flow-grid {
    background-size: 52px 52px;
    opacity: 0.34;
  }

  .flow-line-1 {
    top: 27%;
    inset-inline-start: 4%;
    width: 48%;
  }

  .flow-line-2 {
    top: 36%;
    inset-inline-end: 3%;
    width: 42%;
  }

  .flow-line-3 {
    bottom: 28%;
    inset-inline-start: 8%;
    width: 50%;
  }

  .flow-line-4 {
    display: none;
  }

  .flow-node-1 {
    inset-inline-start: 12%;
  }

  .flow-node-2 {
    inset-inline-end: 12%;
  }

  .flow-node-3 {
    inset-inline-start: 72%;
  }

  .flow-panel {
    width: 132px;
    min-height: 66px;
    padding: 14px;
    margin-inline-end: -44px;
    bottom: 9%;
    opacity: 0.42;
  }

  h1 {
    font-size: var(--type-hero-title);
    line-height: 1.15;
  }

  .service-page-hero h1 {
    font-size: 30px;
    line-height: 1.35;
  }

  h2 {
    font-size: var(--type-section-title);
  }

  .hero-text,
  .section-heading > p:not(.eyebrow),
  .about-copy,
  .contact-panel p:not(.eyebrow) {
    font-size: var(--type-body);
  }

  .hero .hero-text {
    font-size: 17px;
    line-height: 1.75;
  }

  .contact-panel .eyebrow {
    font-size: 30px;
  }

  .contact-panel h2 {
    font-size: 25px;
  }

  .contact-panel p:not(.eyebrow) {
    color: var(--brand-faint);
    font-size: 18px;
  }

  .about .eyebrow,
  .work .eyebrow,
  .contact-panel .eyebrow {
    font-size: 30px;
  }

  .values .section-heading h2 {
    font-size: var(--type-section-title);
  }

  .about-grid h2,
  .work .section-heading h2,
  .contact-panel h2 {
    font-size: 25px;
  }

  .values .section-heading {
    text-align: center;
  }

  .values-grid h3 {
    font-size: 20px;
  }

  .services .section-heading > .services-tagline {
    font-size: 18px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .projects-hero-inner,
  .projects-directory,
  .project-detail-hero,
  .project-detail-body,
  .next-project a {
    width: min(100% - 32px, 1180px);
  }

  .projects-hero h1,
  .project-detail-intro h1 {
    font-size: clamp(38px, 11vw, 46px);
  }

  .projects-hero-inner > div > p:last-child,
  .project-summary {
    font-size: 15px;
  }

  .projects-toolbar {
    justify-content: flex-start;
    margin-bottom: 24px;
  }

  .project-filters {
    width: 100%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card-copy h2 {
    font-size: 21px;
  }

  .project-back {
    margin-bottom: 32px;
  }

  .project-cover {
    aspect-ratio: 25 / 18;
  }

  .project-visual.is-cover-only {
    min-height: 340px;
    padding: 32px;
  }

  .next-project a {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 116px;
  }

  .next-project span {
    grid-column: 1 / -1;
  }

  .next-project strong {
    font-size: 26px;
  }

  .service-tabs,
  .values-grid,
  .work-grid,
  .process-line,
  .authority-cards,
  .related-services {
    grid-template-columns: 1fr;
  }

  .maintenance-hero {
    width: min(100% - 24px, 1180px);
    padding: 48px 0 36px;
    gap: 30px;
  }

  .maintenance-intro h1 {
    font-size: 34px;
  }

  .maintenance-form {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .maintenance-form label,
  .maintenance-form-heading,
  .maintenance-form .form-wide {
    grid-column: 1;
  }

  .service-tab:last-child {
    grid-column: auto;
  }

  .service-detail {
    min-height: auto;
    padding: 24px;
  }

  .service-media-link {
    aspect-ratio: 4 / 3;
  }

  .contact-panel {
    padding: 24px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form label,
  .form-submit {
    grid-column: auto;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    inset-inline-end: 16px;
    bottom: 16px;
  }
}
/* Search-friendly standalone article pages */
.article-page {
  background: var(--paper);
  padding: clamp(32px, 6vw, 80px) 24px;
}

.article-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.article-header {
  margin-bottom: 32px;
}

.article-header h1 {
  max-width: 800px;
  margin: 18px 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.15;
}

.article-header p,
.article-body {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.9;
}

.article-cover {
  margin: 0 0 36px;
  overflow: hidden;
  border-radius: 8px;
}

.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-body {
  max-width: 760px;
}

.article-body p + p {
  margin-top: 20px;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 28px;
  background: var(--brand);
  color: var(--paper);
  border-radius: 8px;
}

.article-cta h2 {
  margin: 0;
  font-size: 24px;
}

.blog-full-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 640px) {
  .article-page {
    padding-inline: 18px;
  }

  .article-header h1 {
    font-size: 32px;
  }

  .article-header p,
  .article-body {
    font-size: 18px;
  }

  .article-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Defer rendering of content outside the first viewport. */
main > section:not(.hero):not(.services):not(.service-page-hero):not(.article-page),
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

@media (max-width: 760px) {
  .flow-glow,
  .flow-grid {
    animation: none;
    filter: none;
  }

  .flow-panel {
    display: none;
  }

  .flow-line::before,
  .flow-line i {
    animation-duration: 10s;
  }
}
