/* LOCKED: approved Hero, About, navbar, and transition. See LOCKED_BASELINE.md. */

:root {
  --navy: #071526;
  --deep: #04101d;
  --ink: #0b1d31;
  --teal: #13b8b5;
  --cyan: #21d4d1;
  --blue: #3158c9;
  --paper: #f6f7f4;
  --white: #f7fafc;
  --muted: rgba(247, 250, 252, .68);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: var(--white);
  font-synthesis: none;
  background: var(--navy);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0px;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
  cursor: pointer;
  color: inherit;
  border: 0px;
}

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

button:focus-visible,
a:focus-visible {
  outline-offset: 6px;
  outline: 2px solid var(--cyan);
}

p,
h1,
h2,
h3 {
  margin: 0px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 100;
  color: var(--ink);
  padding: 12px;
  transform: translateY(-160%);
  background: var(--paper);
}

.skip-link:focus {
  transform: none;
}

.navbar {
  position: fixed;
  inset: 0px 0px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.067);
  height: 80px;
  padding: 0px 5vw;
  gap: 48px;
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.067);
  border-right-color: rgba(255, 255, 255, 0.067);
  border-left-color: rgba(255, 255, 255, 0.067);
  transition: none;
  color: rgb(247, 250, 252);
}

.navbar.light {
  color: var(--ink);
  background: rgba(246, 247, 244, 0.94);
  border-color: rgba(11, 29, 49, 0.1);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: clamp(25px, 3vw, 48px);
}

.nav-link {
  position: relative;
  background: none;
  padding: 10px 0px;
  white-space: nowrap;
  opacity: 0.72;
  transition: opacity 0.25s;
  font-size: 14px;
  font-weight: 400;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  height: 2px;
  width: 15px;
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: var(--teal);
}

.primary {
  color: white;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 16px;
}

.hero-cta-arrow {
  width: 20px;
  height: 12px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary::before {
  content: "";
  position: absolute;
  inset: 0px;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.17), transparent);
  transform: translateX(-170%) skewX(-15deg);
  transition: transform 0.55s;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: rgba(19, 184, 181, 0.15) 0px 10px 30px;
}

.primary:hover::before {
  transform: translateX(380%) skewX(-15deg);
}

.stage-shell {
  position: relative;
  direction: rtl;
}

.horizontal-stage {
  position: relative;
  direction: ltr;
}

.scene {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}

.hero {
  background: var(--navy);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0px;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background-image: linear-gradient(90deg, rgba(4, 16, 29, 0.97) 0%, rgba(7, 21, 38, 0.89) 27%, rgba(7, 21, 38, 0.6) 43%, rgba(7, 21, 38, 0.08) 65%, rgba(7, 21, 38, 0.05) 88%, rgb(7, 21, 38) 100%), linear-gradient(0deg, rgba(4, 16, 29, 0.7), transparent 24%);
  background-color: initial;
}

.hero-content {
  position: absolute;
  top: 50%;
  text-align: right;
  width: 40vw;
  max-width: 640px;
  left: 6.5vw;
  transform: translateY(-47%);
}

.eyebrow {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.eyebrow-rule {
  display: inline-block;
  width: 29px;
  height: 1px;
  background: var(--teal);
}

h1>span {
  display: block;
  white-space: nowrap;
}

.hero-description {
  color: rgba(247, 250, 252, 0.76);
  margin-right: 0px;
  margin-left: auto;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 29px;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 39px;
  gap: 32px;
}

.text-link {
  position: relative;
  background: transparent;
  padding: 12px 0px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  color: rgba(247, 250, 252, 0.72);
}

.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 24px;
  height: 1px;
  background: var(--teal);
  opacity: 0.72;
  transform: scaleX(0.45);
  transform-origin: right center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.text-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero-bottom {
  position: absolute;
  left: 6.5vw;
  right: 4.2vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
  bottom: 35px;
}

.discover {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: rgba(247, 250, 252, 0.6);
  gap: 18px;
  direction: rtl;
}

.travel-line {
  width: 83px;
  height: 1px;
  background: rgba(247, 250, 252, 0.25);
  position: relative;
  overflow: hidden;
}

.travel-line i {
  position: absolute;
  inset: 0px;
  width: 24px;
  animation: 3s ease-in-out 0s infinite normal none running travel-rtl;
  background: var(--cyan);
}

.video-control {
  padding: 6px;
  display: flex;
  gap: 0px;
  align-items: center;
  direction: rtl;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0px;
  color: rgba(247, 250, 252, 0.6);
  background: transparent;
  width: 36px;
  height: 36px;
  justify-content: center;
  transition: color 0.25s, background-color 0.25s;
}

.about {
  color: var(--ink);
  direction: rtl;
  background: var(--paper);
}

.architectural-grid {
  position: absolute;
  inset: 90px 0px 0px;
  background-image: linear-gradient(rgba(11, 29, 49, 0.024) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 29, 49, 0.024) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(90deg, transparent 25%, rgb(0, 0, 0));
  pointer-events: none;
}

.about-copy {
  position: absolute;
  z-index: 3;
  left: 6.5vw;
  top: 17%;
  width: 36vw;
  max-width: 550px;
}

.about .eyebrow {
  color: rgb(54, 129, 127);
  margin-bottom: 19px;
}

h2 {
  font-size: clamp(40px, 3.55vw, 64px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.6px;
}

.intro {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(11, 29, 49, 0.65);
  margin-top: 20px;
  max-width: 460px;
}

.analysis-list {
  margin-top: 27px;
}

.analysis-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 13px 0px;
  border-top: 1px solid rgba(11, 29, 49, 0.1);
  position: relative;
}

.step-number {
  font-size: 12px;
  font-weight: 500;
  direction: ltr;
  line-height: 33px;
  color: rgb(57, 136, 132);
}

.analysis-item h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
}

.analysis-item p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(11, 29, 49, 0.65);
}

.analysis-item.is-active::before {
  content: "";
  width: 2px;
  position: absolute;
  right: -15px;
  top: 18px;
  bottom: 18px;
  background: var(--teal);
}

.about-result {
  margin-top: 20px;
}

.result-rule {
  display: block;
  width: 38px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--teal);
}

.about-result h3 {
  font-size: 27px;
  font-weight: 500;
}

.about-result p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(11, 29, 49, 0.65);
  margin-top: 10px;
}

.blueprint-wrap {
  position: absolute;
  width: 64vw;
  right: -2.5vw;
  top: 50%;
  transform: translateY(-44%);
  z-index: 2;
}

.blueprint-plane {
  position: relative;
  mix-blend-mode: multiply;
}

.blueprint-plane img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.technical-overlay {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: var(--teal);
  stroke-width: 1.8;
}

.node {
  fill: var(--cyan);
  stroke: var(--paper);
  stroke-width: 3;
}

.node-halo {
  fill: rgba(33, 212, 209, 0.07);
  stroke: var(--teal);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center center;
}

.callout.is-active {
  pointer-events: all;
}

.callout.is-active:hover .node-halo {
  animation: 1.6s ease-in-out 0s infinite normal none running pulse;
}

.callout.is-active:hover {
  stroke: rgb(4, 159, 157);
  stroke-width: 2.5;
}

@keyframes pulse {
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

.zone {
  fill: rgba(33, 212, 209, 0.08);
  stroke-dasharray: 5, 6;
}

.visual-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  color: rgba(11, 29, 49, 0.46);
  font-size: 11px;
  margin-top: 8px;
}

.visual-caption [dir="ltr"] {
  font-family: Arial, sans-serif;
  letter-spacing: 1.5px;
  font-size: 10px;
}

.caption-line {
  width: 55px;
  height: 1px;
  background: rgba(11, 29, 49, 0.2);
}

.about-bottom {
  position: absolute;
  bottom: 35px;
  left: 6.5vw;
  right: 6.5vw;
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 12px;
  color: rgba(11, 29, 49, 0.5);
}

.chapter-line {
  height: 1px;
  flex: 1 1 0%;
  background: rgba(11, 29, 49, 0.12);
  overflow: hidden;
  direction: ltr;
}

.chapter-line i {
  display: block;
  width: 100%;
  height: 1px;
  transform-origin: left center;
  background: var(--teal);
}

.motion-enabled .scene {
  flex: 0 0 100vw;
  position: absolute;
  top: 0px;
  width: 100vw;
  height: 100svh;
  min-height: 100svh;
  background: transparent;
}

.motion-enabled .analysis-item,
.motion-enabled .about-result {
  opacity: 0;
}

.motion-enabled .about-result {
  position: absolute;
  top: calc(100% + 18px);
  margin: 0px;
}

.prototype-notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  padding: 15px 23px;
  border: 1px solid rgba(33, 212, 209, 0.3);
  border-radius: 8px;
  font-size: 14px;
  z-index: 40;
  text-align: center;
  box-shadow: rgba(4, 16, 29, 0.2) 0px 8px 30px;
  background: var(--ink);
}

.noscript-note {
  position: fixed;
  bottom: 8px;
  left: 12px;
  color: var(--ink);
  font-size: 12px;
  padding: 5px;
  z-index: 30;
  background: var(--paper);
}

body:not(.motion-enabled) .about {
  min-height: 1100px;
}

body:not(.motion-enabled) .about-copy {
  top: 140px;
}

body:not(.motion-enabled) .technical-overlay {
  display: none;
}

body:not(.motion-enabled) .navbar.light {
  background: var(--paper);
}

@media (min-width: 1800px) {
  .about-copy {
    top: 21%;
  }
}

@media (max-height: 780px) and (min-width: 1000px) {
  .about-copy {
    top: 15%;
  }

  h2 {
    font-size: 42px;
  }

  .about .eyebrow {
    margin-bottom: 10px;
  }

  .intro {
    margin-top: 12px;
    font-size: 16px;
  }

  .analysis-list {
    margin-top: 18px;
  }

  .analysis-item {
    padding: 9px 0px;
  }

  .about-result h3 {
    font-size: 25px;
  }
}

@media (max-width: 1000px) {
  .about-copy {
    left: 5vw;
    width: 43vw;
  }

  .blueprint-wrap {
    width: 60vw;
    right: -7vw;
  }

  h2 {
    font-size: 38px;
  }
}

@media (max-width: 760px) {
  .navbar nav {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(4, 16, 29, 0.95), rgba(4, 16, 29, 0.58));
  }

  .about-copy {
    position: relative;
    left: auto;
    padding: 120px 7vw 35px;
    width: 100%;
    max-width: none;
    top: auto !important;
  }

  .blueprint-wrap {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    padding-bottom: 90px;
  }

  .about {
    height: auto;
    min-height: 100vh;
  }

  .about-bottom {
    bottom: 25px;
  }

  .hero-bottom {
    left: 7vw;
    right: 7vw;
  }

  .primary {
    padding: 0px 20px;
    gap: 16px;
  }

  .visual-caption {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  ::before,
  ::after {
    animation: auto ease 0s 1 normal none running none !important;
    transition: none !important;
  }

  .primary:hover {
    transform: none;
  }
}

.nav-contact {
  background: none;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 0px;
  opacity: 0.78;
  min-width: 100px;
  text-align: left;
}

.nav-contact:hover {
  opacity: 1;
}

.brand-logo {
  position: relative;
  display: block;
  flex: 0 0 100px;
  width: 100px;
  height: 68px;
}

.brand-logo img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
}

.logo-white {
  opacity: 1;
}

.logo-color {
  opacity: 0;
}

body:not(.motion-enabled) .navbar {
  background: rgba(7, 21, 38, 0.82);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}

body:not(.motion-enabled) .brand-logo img {
  transition: opacity 0.4s;
}

body:not(.motion-enabled) .navbar.light .logo-white {
  opacity: 0;
}

body:not(.motion-enabled) .navbar.light .logo-color {
  opacity: 1;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 400;
  color: rgba(247, 250, 252, 0.62);
  margin-bottom: 29px;
}

.hero-eyebrow .eyebrow-rule {
  width: 19px;
}

#hero-title {
  font-size: clamp(48px, 4.4vw, 68px);
  line-height: 1.18;
  letter-spacing: -0.6px;
  font-weight: 600;
}

#hero-title em {
  background: none text;
  -webkit-text-fill-color: var(--teal);
  color: var(--teal);
  font-style: normal;
}

.hero-actions .primary {
  height: 52px;
  padding: 0px 27px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgb(19, 184, 181), rgb(49, 88, 201));
  box-shadow: rgba(19, 184, 181, 0.055) 0px 4px 16px;
}

@keyframes travel-rtl {
  0% {
    transform: translateX(85px);
  }

  100% {
    transform: translateX(-24px);
  }
}

.hero-mouse-light {
  position: absolute;
  inset: 0px;
  pointer-events: none;
  background: radial-gradient(34% 45% at 35% 56%, rgba(33, 212, 209, 0.024), transparent 75%);
}

.mask-definitions {
  position: absolute;
  pointer-events: none;
}

.light-environment,
.deconstruction-lines {
  display: none;
}

.motion-enabled .stage-shell {
  height: 100svh;
  overflow: hidden;
  background: rgb(4, 16, 29);
  isolation: isolate;
}

.motion-enabled .horizontal-stage {
  position: relative;
  display: block;
  direction: rtl;
  width: 100vw;
  height: 100svh;
  z-index: 2;
  will-change: transform;
}

.motion-enabled .hero {
  left: 0px;
}

.motion-enabled .about {
  left: -100vw;
  margin-left: 0px;
}

.motion-enabled .hero-media {
  clip-path: url("#hero-slices");
}

.motion-enabled .light-environment {
  display: block;
  position: absolute;
  inset: 0px;
  z-index: 1;
  background: rgb(246, 247, 244);
  clip-path: polygon(0px 0px, 0px 0px, 0px 100%, 0px 100%);
  pointer-events: none;
}

.motion-enabled .deconstruction-lines {
  display: block;
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
  stroke: rgb(33, 212, 209);
  stroke-width: 1;
}

.scan-geometry {
  opacity: 0;
}

.scan-geometry path {
  vector-effect: non-scaling-stroke;
  stroke-width: 1;
}

.continuity-path {
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

@media (min-width: 1800px) {
  .hero-content {
    left: 8vw;
  }
}

@media (max-height: 780px) and (min-width: 1000px) {
  .hero-eyebrow {
    margin-bottom: 23px;
  }

  .hero-description {
    margin-top: 25px;
  }

  .hero-actions {
    margin-top: 31px;
  }
}

@media (max-width: 1000px) {
  .navbar {
    gap: 25px;
  }

  .navbar nav {
    gap: 19px;
  }

  .nav-link {
    font-size: 14px;
  }

  .brand-logo {
    flex-basis: 92px;
    width: 92px;
    height: 65px;
  }

  .hero-content {
    width: 42vw;
  }

  .nav-contact {
    min-width: 80px;
  }
}

@media (max-width: 760px) {
  .navbar {
    height: 78px;
  }

  .hero-content {
    width: 86vw;
    left: 7vw;
  }

  #hero-title {
    font-size: clamp(32px, 6.8vw, 50px);
  }

  .hero-actions {
    gap: 24px;
  }
}

.video-control span {
  font-size: 12px;
}

.video-control:hover,
.video-control:focus-visible {
  color: rgba(247, 250, 252, 0.94);
  background: rgba(4, 16, 29, 0.4);
}

/* Mobile responsive pass only: desktop >=1000px remains locked. */
@media (max-width: 999px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #f7f5ef;
    color: #0b293d;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .stage-shell,
  .horizontal-stage {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  .horizontal-stage {
    display: flex;
    flex-direction: column;
  }

  .scene,
  body:not(.motion-enabled) .scene,
  body:not(.motion-enabled) .about,
  body:not(.motion-enabled) .vision-scene,
  body:not(.motion-enabled) .principles-scene,
  body:not(.motion-enabled) .ceo-scene,
  body:not(.motion-enabled) .services,
  body:not(.motion-enabled) .ending-scene,
  body:not(.motion-enabled) .evidence-scene {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  .navbar {
    height: 72px;
    padding: 0 20px;
    color: #f7fafc;
    background: rgba(7, 21, 38, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
  }

  .navbar nav,
  .nav-contact {
    display: none !important;
  }

  .brand-logo {
    flex-basis: 82px;
    width: 82px;
    height: 58px;
    margin-inline-start: auto;
  }

  .mobile-menu-trigger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    margin-inline-start: 0;
    color: currentColor;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .18);
    cursor: pointer;
  }

  .mobile-menu-trigger span {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transform-origin: center;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
  }

  .mobile-menu-trigger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-trigger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-trigger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav-panel {
    position: fixed;
    z-index: 9998;
    inset: 72px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: stretch;
    padding: 34px 24px;
    background: rgba(7, 21, 38, .97);
    color: #f7fafc;
  }

  .mobile-nav-panel[hidden] {
    display: none !important;
  }

  .mobile-nav-panel nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .mobile-nav-panel a {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    color: inherit;
    text-decoration: none;
    font-size: clamp(21px, 6vw, 32px);
    line-height: 1.35;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .mobile-nav-panel a::before {
    content: '';
    width: 28px;
    height: 1px;
    margin-top: .75em;
    background: #18c6c3;
    transform: scaleX(.45);
    transform-origin: left center;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-nav-panel a:is(:hover, :focus-visible)::before {
    transform: scaleX(1);
  }

  .hero {
    min-height: 100svh !important;
    height: 100svh !important;
    overflow: hidden !important;
  }

  .hero-media,
  .hero-media video,
  .hero-media img,
  .hero-shade,
  .hero-mouse-light {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .hero-media video,
  .hero-media img {
    object-fit: cover;
    object-position: 60% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(4, 16, 29, .94), rgba(4, 16, 29, .72) 48%, rgba(4, 16, 29, .34));
  }

  .hero-content {
    position: absolute !important;
    top: 50% !important;
    left: 22px !important;
    right: 22px !important;
    width: auto !important;
    transform: translateY(-42%) !important;
    z-index: 4;
  }

  #hero-title {
    max-width: 9.5em;
    font-size: clamp(38px, 10vw, 56px);
    line-height: 1.22;
  }

  #hero-title>span {
    white-space: normal;
  }

  .hero-eyebrow,
  .hero-description {
    max-width: 31em;
  }

  .hero-description {
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.9;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
  }

  .primary {
    min-width: 188px;
  }

  .discover,
  .video-control {
    display: none !important;
  }

  .about,
  .vision-scene,
  .principles-scene,
  .ceo-scene,
  .services,
  .instant-scene,
  .process-intro,
  .evidence-zone,
  .contact-scene {
    padding: 64px 24px !important;
  }

  .about {
    background: #f7f5ef;
  }

  .about-intro,
  .about-copy,
  .analysis-list,
  .about-result,
  .vision-copy,
  .principles-copy,
  .ceo-copy,
  .services-copy,
  .instant-copy,
  .contact-copy {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    text-align: right;
  }

  .about-copy h2,
  .vision-copy h2,
  .principles-copy h2,
  .ceo-copy h2,
  .services-copy h2,
  .instant-copy h2,
  .contact-copy h2,
  .process-intro-copy h2,
  .methods-heading h2 {
    font-size: clamp(32px, 8.7vw, 48px) !important;
    line-height: 1.32 !important;
  }

  .blueprint-wrap,
  .vision-art,
  .principles-visual,
  .ceo-portrait,
  .instant-plan {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 32px 0 0 !important;
    transform: none !important;
  }

  .blueprint-wrap {
    aspect-ratio: 4 / 3;
    opacity: .9;
    overflow: hidden;
  }

  .blueprint-plane {
    width: 118%;
    transform: translateX(7%);
  }

  .analysis-list {
    display: grid;
    gap: 18px;
    margin-top: 30px;
  }

  .analysis-item,
  .method-entry,
  .service-entry,
  .process-stage {
    max-width: none;
  }

  .about-bottom,
  .visual-caption,
  .chapter-line {
    display: none !important;
  }

  .vision-scene,
  .principles-scene,
  .ceo-scene,
  .services,
  .process-intro,
  .instant-scene {
    min-height: 0 !important;
  }

  .ceo-scene {
    display: flex !important;
    flex-direction: column;
    gap: 28px;
  }

  .ceo-portrait {
    order: -1;
    aspect-ratio: 4 / 5;
    max-height: 420px;
    overflow: hidden;
  }

  .ceo-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .services {
    display: block !important;
    background: #071526;
    color: #f7fafc;
  }

  .services-film,
  .services-bridge {
    display: none !important;
  }

  .services-property {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: min(86vw, 540px) !important;
    height: auto !important;
    max-height: 40vh !important;
    aspect-ratio: 4 / 3;
    margin: 34px auto 36px !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: hidden;
    border: 1px solid rgba(24, 198, 195, .22);
  }

  .services-property img,
  .services-property video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 56% 50%;
  }

  .service-content {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    transform: none !important;
  }

  .service-phase,
  .service-entry {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .service-phase {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(24, 198, 195, .22);
  }

  .service-entry {
    padding: 0 0 12px;
  }

  .services-closing {
    position: relative !important;
    inset: auto !important;
    margin: 28px 0 0 !important;
    transform: none !important;
  }

  .valuation-methods {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 64px 0 0 !important;
    padding: 56px 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
    transform: none !important;
  }

  .methods-heading,
  .methods-copy {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .methods-copy {
    display: grid;
    gap: 22px;
    margin-top: 28px;
  }

  .process-intro {
    background: #071526;
    color: #f7fafc;
  }

  .process-route,
  .process-drawing,
  .process-rail,
  .process-complete {
    display: none !important;
  }

  .process-intro-copy,
  .process-timeline-window,
  .process-stages {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .process-stages {
    display: grid;
    gap: 22px;
    margin-top: 34px;
  }

  .process-stage {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    padding: 0 54px 22px 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .process-stage::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 16px;
    bottom: -22px;
    width: 1px;
    background: rgba(24, 198, 195, .28);
  }

  .process-stage:last-child::before {
    display: none;
  }

  .process-number {
    position: absolute !important;
    top: 0;
    right: 0;
    color: #18c6c3;
  }

  .instant-scene {
    background: #f7f5ef;
    color: #0b293d;
  }

  .instant-plan {
    max-height: 300px;
    opacity: .28;
  }

  .instant-cta,
  .contact-request {
    width: 100% !important;
    justify-content: center;
  }

  .evidence-scene {
    background: #f7f5ef;
    color: #0b293d;
  }

  .evidence-track {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .evidence-zone {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }

  .achievement-composition,
  .achievement-grid,
  .evidence-achievement-showcase {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 34px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
  }

  .achievement-proof,
  .achievement-with-image {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    text-align: right;
  }

  .achievement-proof:first-of-type {
    order: 1;
  }

  .achievement-proof:nth-of-type(2) {
    order: 2;
  }

  .achievement-proof:nth-of-type(3) {
    order: 3;
  }

  .achievement-image-frame {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    max-height: 270px;
    overflow: hidden;
  }

  .achievement-image-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .achievement-proof h3 {
    font-size: clamp(24px, 6.3vw, 34px) !important;
  }

  .achievement-project-action {
    margin-top: 10px !important;
  }

  .achievement-datum,
  .achievement-corner-line,
  .achievement-image-label {
    display: none !important;
  }

  .evidence-document,
  .evidence-registration,
  .evidence-partners {
    text-align: right;
  }

  .evidence-spread,
  .registration-layout,
  .partners-grid,
  .partners-list {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .evidence-item,
  .registration-card,
  .partner-item {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .evidence-media,
  .registration-media {
    max-height: 58vh;
    overflow: hidden;
  }

  .evidence-media img,
  .registration-media img {
    width: 100% !important;
    height: auto !important;
    max-height: 58vh;
    object-fit: contain;
  }

  .contact-scene {
    background: #f7f5ef;
    color: #0b293d;
    overflow: hidden !important;
  }

  .contact-copy h2 {
    margin-top: 0 !important;
  }

  .contact-intro {
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.9;
  }

  .contact-annotations {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 30px 0 24px !important;
  }

  .contact-annotations a {
    width: 100%;
  }

  .contact-art {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    margin: 36px 0 0 !important;
    clip-path: none !important;
    transform: none !important;
    opacity: .9;
  }

  .contact-art img,
  .contact-route {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .contact-footer {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(11, 41, 61, .12);
    transform: none !important;
  }

  .request-panel,
  .achievement-project-modal {
    width: min(94vw, 720px) !important;
    max-width: 94vw !important;
    max-height: 92svh !important;
    margin: auto;
  }

  .request-panel {
    padding: 30px 20px !important;
  }

  .req-form .ff-grid,
  .ff-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .chips {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }

  .achievement-project-sheet {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-height: 92svh !important;
    padding: 34px 20px 24px !important;
  }

  .achievement-project-media,
  .achievement-project-media img,
  .achievement-project-placeholder {
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 430px) {

  .about,
  .vision-scene,
  .principles-scene,
  .ceo-scene,
  .services,
  .instant-scene,
  .process-intro,
  .evidence-zone,
  .contact-scene {
    padding-inline: 20px !important;
  }

  #hero-title {
    font-size: clamp(36px, 10.2vw, 48px);
  }

  .hero-content {
    left: 20px !important;
    right: 20px !important;
  }

  .primary {
    width: 100%;
  }

  .hero-actions .text-link {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {

  .mobile-menu-trigger span,
  .mobile-nav-panel a::before {
    transition: none !important;
  }
}

/* Mobile overflow cleanup for inherited desktop decorative extents. */
@media (max-width: 999px) {

  .about,
  .blueprint-wrap,
  .evidence-zone,
  .evidence-wall,
  .contact-scene,
  .instant-scene {
    overflow: hidden !important;
  }

  .blueprint-plane {
    width: 100% !important;
    transform: none !important;
  }

  .evidence-trust-word {
    left: auto !important;
    right: 0 !important;
    bottom: -6vh !important;
    max-width: 100% !important;
    font-size: clamp(150px, 42vw, 320px) !important;
    opacity: .025 !important;
    transform: none !important;
  }

  .evidence-opening {
    align-items: flex-start !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .evidence-opening strong {
    font-size: clamp(70px, 22vw, 150px) !important;
    max-width: 100% !important;
  }
}

@media (max-width: 430px) {
  .evidence-opening {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

/* Mobile Hero: content-led composition. Desktop Hero and its GSAP story remain untouched. */
@media (max-width:999px) {
  .horizontal-stage>.hero.scene {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 88px 24px 56px !important;
    overflow: hidden !important;
    background: #071526;
  }

  .hero-media {
    position: relative !important;
    inset: auto !important;
    order: 1;
    width: 100% !important;
    height: 32svh !important;
    min-height: 270px;
    max-height: 360px;
    overflow: hidden;
  }

  .hero-media video {
    position: static !important;
    inset: auto !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 58% 52% !important;
  }

  .hero-shade,
  .hero-mouse-light,
  .hero-bottom,
  .deconstruction-lines {
    display: none !important;
  }

  .hero-content {
    position: relative !important;
    inset: auto !important;
    order: 2;
    width: 100% !important;
    max-width: none !important;
    margin: 28px 0 0 !important;
    transform: none !important;
    text-align: right !important;
  }

  .hero-eyebrow {
    margin: 0 0 16px !important;
  }

  .hero h1 {
    margin: 0 !important;
  }

  #hero-title {
    font-size: clamp(36px, 9.2vw, 46px) !important;
    line-height: 1.24 !important;
  }

  #hero-title>span {
    white-space: normal !important;
  }

  .hero-description {
    margin: 18px 0 0 !important;
    max-width: 34rem;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 24px 0 0 !important;
  }

  .hero-actions .primary {
    width: 100%;
    min-height: 54px;
  }

  .hero-actions .text-link {
    align-self: flex-start;
    margin: 0 !important;
  }
}

@media (max-width:430px) {
  .horizontal-stage>.hero.scene {
    padding-inline: 20px !important;
  }
}

@media (max-width:999px) {
  .hero #hero-title {
    color: #f7fafc !important;
  }
}

/* Mobile header controls occupy opposite viewport edges. */
@media (max-width:999px) {
  .navbar {
    direction: rtl;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    box-sizing: border-box;
    gap: 0 !important;
    padding-inline: 20px !important;
  }

  .brand-logo {
    flex: 0 0 82px !important;
    margin-inline: 0 !important;
  }

  .mobile-menu-trigger {
    flex: 0 0 42px;
    margin: 0 !important;
  }
}

@media (max-width:430px) {
  .navbar {
    padding-inline: 16px !important;
  }
}

/* Guard generated mobile navigation: it must never render at desktop widths. */
.mobile-menu-trigger,
.mobile-nav-panel {
  display: none !important;
}

@media (max-width:999px) {
  .mobile-menu-trigger {
    display: inline-flex !important;
  }

  .mobile-nav-panel:not([hidden]) {
    display: flex !important;
  }

  .mobile-nav-panel[hidden] {
    display: none !important;
  }
}

/* RTL mobile navigation labels stay anchored to the right edge. */
@media (max-width:999px) {
  .mobile-nav-panel nav>a:not(.mobile-menu-cta) {
    direction: rtl;
    text-align: right;
    justify-content: space-between;
  }

  .mobile-nav-panel nav>a:not(.mobile-menu-cta)::before {
    flex: 0 0 auto;
  }
}

/* The text node must lead visually in RTL; keep the turquoise datum on the opposite side. */
@media (max-width:999px) {
  .mobile-nav-panel nav>a:not(.mobile-menu-cta) {
    flex-direction: row-reverse;
  }
}

/* Shared bilingual chapter identifier. */
.section-micro-label {
  margin: 0 0 12px;
  direction: ltr;
  unicode-bidi: isolate;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.1;
  color: #168e90;
  text-transform: uppercase;
}

.credential-type {
  display: none !important;
}

@media(max-width:999px) {
  .section-micro-label {
    font-size: 10px;
    letter-spacing: .16em;
    margin-bottom: 10px;
  }
}

/* Keep bilingual identifiers and their Arabic headings as one composition unit. */
.section-heading-unit {
  display: block;
  direction: rtl;
  text-align: right;
}

.section-heading-unit>.section-micro-label {
  display: block;
  text-align: right;
}

/* About bilingual heading: one anchored unit above the editorial headline. */
.about-intro .section-heading-group {
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  direction: rtl;
  text-align: right;
}

.about-intro .section-heading-group .section-heading-en {
  text-align: right;
  margin-bottom: 8px;
}

.about-intro .section-heading-group .section-heading-ar {
  margin-top: 0;
}

/* Unified major-section heading typography. Editorial content headlines retain their own scale. */
.section-heading-unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  direction: rtl;
  text-align: right;
}

.section-heading-unit>.section-micro-label {
  align-self: flex-start;
}

.section-heading-unit>:not(.section-micro-label) {
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
  font-size: clamp(24px, 1.9vw, 30px);
  font-weight: 600;
  line-height: 1.35 ;
  letter-spacing: -.015em !important;
  font-style: normal;
}
.architectural-line-motif{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden;opacity:.28}
.architectural-line-motif::before,.architectural-line-motif::after{content:"";position:absolute;pointer-events:none;border:1px solid rgba(22,142,144,.18);border-radius:50%;width:58vw;height:42vw;left:-24vw;bottom:-25vw;transform:rotate(-12deg)}
.architectural-line-motif::after{width:34vw;height:24vw;left:auto;right:-12vw;top:-15vw;border-radius:0;border-style:dashed;transform:rotate(18deg);background:linear-gradient(90deg,transparent 49.7%,rgba(22,142,144,.16) 50%,transparent 50.3%),linear-gradient(0deg,transparent 49.7%,rgba(22,142,144,.16) 50%,transparent 50.3%);background-size:64px 64px}
.architectural-line-motif span{position:absolute;width:7px;height:7px;border:1px solid rgba(22,142,144,.3);border-radius:50%;background:#f7f5ef;left:28%;bottom:22%}
.architectural-line-motif span::after{content:"";position:absolute;width:18vw;border-top:1px dashed rgba(22,142,144,.16);left:7px;top:3px;transform:rotate(-18deg);transform-origin:left center}
.evidence-zone>.architectural-line-motif{z-index:-1}
