:root {
  --ink: #181433;
  --muted: #6f6b7d;
  --line: #ebe8f2;
  --purple: #392289;
  --purple-2: #6c32d9;
  --violet: #b56bff;
  --panel: #ffffff;
  --soft: #f6f5f8;
  --page-bg:
    radial-gradient(circle at 18% 4%, rgba(112, 92, 224, 0.28), transparent 26rem),
    radial-gradient(circle at 77% 90%, rgba(188, 109, 255, 0.2), transparent 28rem),
    #fbfbfd;
  --nav-bg: rgba(218, 214, 224, 0.9);
  --hero-overlay: linear-gradient(90deg, rgba(20, 13, 43, 0.84), rgba(20, 13, 43, 0.94) 45%, rgba(20, 13, 43, 0.97));
  --hero-image: url("./assets/hero-reference.png");
  --card-bg: linear-gradient(180deg, #fff, #fbfbfc);
  --shadow: 0 28px 65px rgba(30, 23, 63, 0.18);
}

body[data-theme="dark"] {
  --ink: #f8f5ff;
  --muted: #b8b0c8;
  --line: rgba(255, 255, 255, 0.11);
  --purple: #6f43ff;
  --purple-2: #8b5cff;
  --violet: #d17cff;
  --panel: #0c071c;
  --soft: #120b26;
  --page-bg:
    radial-gradient(circle at 24% 2%, rgba(116, 105, 184, 0.42), transparent 24rem),
    radial-gradient(circle at 50% 86%, rgba(127, 36, 178, 0.35), transparent 26rem),
    #120d24;
  --nav-bg: rgba(17, 11, 31, 0.92);
  --hero-overlay: linear-gradient(90deg, rgba(11, 7, 24, 0.62), rgba(11, 7, 24, 0.78) 48%, rgba(11, 7, 24, 0.94));
  --hero-image: url("./assets/dark-hero-reference.png");
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page-bg);
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(1020px, calc(100% - 28px));
  margin: 18px auto 0;
}

.nav-shell {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 18px;
  border-radius: 9px;
  background: var(--nav-bg);
  box-shadow: 0 14px 28px rgba(34, 24, 64, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  margin-inline-start: auto;
}

.brand img {
  width: 96px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.82;
}

.nav-links a:hover {
  color: var(--purple);
  opacity: 1;
}

.controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  font-size: 12px;
  font-weight: 800;
}

.control-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.flag {
  width: 16px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(#168a2d 0 50%, #fff 50% 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--purple);
  font-size: 20px;
}

.section-panel,
.section-pad {
  width: min(1020px, calc(100% - 28px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 525px;
  margin-top: -28px;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-radius: 0 0 24px 24px;
  background: #160f33;
  box-shadow: var(--shadow);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay), var(--hero-image) center / cover no-repeat;
  filter: saturate(1.18);
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 86px 52px 112px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  color: #fff;
  text-align: right;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.65;
  font-weight: 500;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #7166ff, #4323c7);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(75, 48, 205, 0.28);
}

.logo-ribbon {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 20px;
  padding: 18px 64px;
  color: #fff;
  background: linear-gradient(180deg, rgba(27, 18, 62, 0.45), rgba(18, 13, 43, 0.96));
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.section-pad {
  padding: 78px 52px;
  background: var(--panel);
}

.about {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: center;
  direction: ltr;
}

.about-card,
.about-copy {
  direction: rtl;
}

.about-card {
  overflow: hidden;
  border-radius: 11px;
  background: #130c36;
  box-shadow: 0 18px 35px rgba(31, 22, 70, 0.15);
}

.about-card img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #7c748b;
  background: var(--panel);
  font-size: 13px;
  font-weight: 800;
}

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

.about-copy h2,
.section-title h2,
.success h2,
.contact h2,
.systems h2 {
  margin: 16px 0 18px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 900;
}

.about-copy p,
.section-title p,
.vision-band p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.vision-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  background: var(--soft);
}

.vision-band article {
  min-height: 178px;
  padding: 28px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(34, 24, 64, 0.04);
}

.vision-band h3 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-title.compact {
  margin-bottom: 26px;
}

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

.stats-grid article {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-bg);
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.95;
  font-weight: 900;
}

.stats-grid span {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.systems {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 40%, rgba(222, 120, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 68% 70%, rgba(113, 111, 255, 0.16), transparent 21rem),
    var(--panel);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.tab {
  min-width: 132px;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: var(--soft);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 12px 26px rgba(57, 34, 137, 0.23);
}

.system-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 26px;
  align-items: stretch;
}

.system-feature {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(18, 11, 45, 0.82), rgba(18, 11, 45, 0.95)),
    url("./assets/hero-reference.png") center / cover no-repeat;
}

.system-number {
  display: block;
  margin-bottom: 14px;
  color: #d072ff;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
}

.system-feature h3 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
}

.system-feature p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

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

.system-cards article {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 28px rgba(32, 22, 66, 0.04);
}

.partners {
  padding-top: 0;
  padding-bottom: 42px;
}

.metric-strip {
  min-height: 210px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 24px;
  border-radius: 0 0 11px 11px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 11, 39, 0.52), rgba(16, 11, 39, 0.92)),
    url("./assets/hero-reference.png") center / cover no-repeat;
}

.metric-strip article {
  display: grid;
  place-items: center;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.metric-strip strong {
  color: #dc7aff;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
  font-weight: 900;
}

.metric-strip span {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
}

.success {
  background: var(--soft);
}

.success h2 {
  text-align: right;
}

.success img {
  width: 100%;
  margin-top: 28px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(34, 24, 64, 0.04);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 0 0 24px 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

body.site-rebuild .contact { display: block; padding: 100px 5.2% 150px; background: var(--panel); border-radius: 0; box-shadow: none; scroll-margin-top: 120px; }
body.site-rebuild .contact h2 { margin: 20px 0 48px; font-size: 36px; color: var(--ink); }
.contact-layout { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.28fr 1fr; gap: 24px; padding: 44px 48px 0; align-items: start; }
.contact-layout::before { content: ""; position: absolute; z-index: -1; inset: 0 0 88px; border: 1px solid var(--line); border-radius: 22px; pointer-events: none; }
.contact-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.contact-details article { padding: 24px; border: 1px solid var(--line); border-radius: 14px; min-height: 144px; }
.contact-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; background: #48318b; border-radius: 7px; }
.contact-details .contact-icon img { display: block; width: 17px; height: 17px; padding: 0; background: none; border-radius: 0; filter: brightness(0) invert(1); }
.contact-details h3 { font-size: 16px; margin: 10px 0 8px; font-weight: 500; }
.contact-details a, body.site-rebuild .contact-details p { font-size: 15px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; margin: 0; }
.contact-form { display: grid; gap: 22px; padding: 30px 24px 24px; background: var(--soft); border-radius: 14px; box-shadow: 0 12px 30px rgb(24 20 51 / 7%); }
.contact-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 14px 16px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-align: start; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); opacity: 1; }
.contact-form textarea { min-height: 164px; }
.contact-form input[type="tel"] { direction: inherit; text-align: start; }
.contact-details p { white-space: pre-line; }
.contact-status:empty { display: none; }
.contact-form textarea { resize: vertical; }
.contact-form .primary-button { justify-self: start; border: 0; cursor: pointer; margin-top: 8px; font: inherit; }
body.site-rebuild .contact-status { font-size: 13px; margin: 0; }
.site-footer { background: #100319; color: #a89aad; display: block; padding: 0 5.2%; font-size: 13px; }
.footer-brand { display: flex; justify-content: center; align-items: center; height: 205px; }
.footer-brand img { display: block; width: 150px; height: 90px; object-fit: contain; filter: none; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 32px; border-top: 1px solid #422c4c; padding: 32px 0 20px; }
.footer-bottom > p { order: 2; text-align: center; }
.site-footer p { margin: 0; }
.site-footer a { color: #e8dfec; }
.footer-registration { display: inline-flex; align-items: center; flex-shrink: 0; }
.footer-registration img { display: block; width: 180px; max-width: 100%; height: auto; object-fit: contain; }
@media (max-width: 760px) {
  body.site-rebuild .contact { padding: 60px 24px; }
  body.site-rebuild .contact h2 { font-size: 28px; }
  .contact-layout { grid-template-columns: 1fr; padding: 16px; }
  .contact-layout::before { inset: 0; }
  .contact-details article { padding: 16px; }
  .contact-form { padding: 16px; }
  .site-footer { flex-direction: column; text-align: center; padding-bottom: 0; }
  .footer-bottom { gap: 48px; padding-top: 40px; padding-bottom: 20px; }
}

.nav-shell [data-action]:focus { outline: none; }
.nav-shell [data-action]:focus-visible { box-shadow: 0 2px 0 currentColor; }
.quick-contact { position: fixed; right: 28px; bottom: 94px; z-index: 26; display: grid; gap: 10px; width: 54px; animation: quickContactIn .18s ease-out; }
.quick-contact[hidden] { display: none; }
.quick-contact a { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: white; box-shadow: 0 4px 14px rgb(0 0 0 / 14%); transition: transform .18s; }
.quick-contact a:hover { transform: translateY(-2px); }
.quick-whatsapp { background: #25d366; }
.quick-phone { background: #00cf89; }
.quick-email { background: #ff4165; }
.quick-map { background: #6545c1; }
.quick-contact img, body[data-theme="dark"] .quick-contact img { width: 27px; height: 27px; filter: brightness(0) invert(1); }
.quick-tooltip { position: absolute; right: 66px; white-space: nowrap; background: #20162c; color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 13px; opacity: 0; pointer-events: none; }
.quick-contact a:hover .quick-tooltip, .quick-contact a:focus-visible .quick-tooltip { opacity: 1; }
.chat-button[aria-expanded="true"] { background: #080808; }
.chat-button[aria-expanded="true"] img { content: url('./assets/x.svg'); }
@keyframes quickContactIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .quick-contact { animation: none; } }
.chat-button img { display: block; width: 25px; height: 25px; filter: brightness(0) invert(1); }
.chat-button {
  border: 0;
  cursor: pointer;
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 25;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #8f2ac6, #5421a1);
  box-shadow: 0 18px 34px rgba(88, 28, 135, 0.34);
  font-size: 25px;
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    top: 10px;
  }

  .nav-shell {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    order: 3;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 4;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 0 6px;
  }

  .nav-shell.open .nav-links {
    display: grid;
  }

  .hero-content {
    padding: 86px 26px 126px;
  }

  .logo-ribbon {
    grid-template-columns: repeat(3, 1fr);
    padding: 14px 20px;
    gap: 12px;
    font-size: 13px;
  }

  .section-pad {
    padding: 58px 22px;
  }

  .about,
  .vision-band,
  .system-layout,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .system-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .section-panel,
  .section-pad,
  .site-header {
    width: calc(100% - 18px);
  }

  .hero {
    min-height: 620px;
  }

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

  .hero p {
    font-size: 17px;
  }

  .logo-ribbon,
  .stats-grid,
  .system-cards {
    grid-template-columns: 1fr;
  }

  .logo-ribbon {
    position: relative;
    margin-top: auto;
  }

  .tabs {
    flex-direction: column;
  }

  .tab {
    width: 100%;
  }

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

/* Pixel-match pass: recreate the single rounded website window shown in the videos. */
.site-frame {
  position: relative;
  width: min(960px, calc(100% - 32px));
  height: min(640px, calc(100vh - 72px));
  margin: 64px auto 42px;
  overflow: auto;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow), 0 0 95px rgba(118, 92, 255, 0.22);
  scrollbar-width: thin;
  scrollbar-color: rgba(90, 79, 122, 0.7) transparent;
}

body[data-theme="dark"] .site-frame {
  box-shadow: var(--shadow), 0 0 120px rgba(124, 72, 255, 0.38);
}

.site-frame::-webkit-scrollbar {
  width: 8px;
}

.site-frame::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: rgba(90, 79, 122, 0.7);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  height: 0;
  margin: 0;
}

.nav-shell {
  min-height: 58px;
  margin: 14px 34px 0;
  padding: 8px 22px;
  border-radius: 9px;
  box-shadow: 0 14px 32px rgba(20, 13, 43, 0.08);
}

.brand {
  min-width: 104px;
  display: inline-flex;
  align-items: center;
  margin-inline-start: 0;
}

.brand img {
  width: 104px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  gap: 18px;
  font-size: 11px;
  line-height: 1;
}

.controls {
  min-width: 116px;
  justify-content: flex-end;
}

.nav-links a,
.brand,
.control-button {
  white-space: nowrap;
}

.control-button {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 10px;
}

.section-panel,
.section-pad {
  width: 100%;
}

.hero {
  min-height: 390px;
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-media {
  transform: none;
  filter: saturate(1.05) brightness(0.52);
}

.hero-content {
  max-width: 650px;
  padding: 58px 34px 92px;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(31px, 5vw, 48px);
  line-height: 1.18;
}

.hero p {
  max-width: 610px;
  font-size: 15px;
  line-height: 1.6;
}

.primary-button {
  min-height: 34px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 12px;
}

.logo-ribbon {
  min-height: 74px;
  display: block;
  overflow: hidden;
  padding: 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  width: max-content;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  animation: logoSlide 24s linear infinite;
}

.logo-track img {
  width: 730px;
  height: 85px;
  max-width: none;
  object-fit: cover;
  opacity: 0.98;
}

html[dir="ltr"] .logo-track {
  animation-name: logoSlideLtr;
}

.section-pad {
  padding: 66px 50px;
}

.about {
  grid-template-columns: 355px 1fr;
  gap: 62px;
}

html[dir="ltr"] .about {
  grid-template-columns: 1fr 310px;
  direction: ltr;
}

html[dir="ltr"] .about-card {
  order: 2;
}

html[dir="ltr"] .about-copy {
  direction: ltr;
}

.about-card {
  min-height: 345px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 45%, rgba(111, 67, 255, 0.28), transparent 9rem),
    #180f45;
}

.orbit-logo {
  position: relative;
  width: 265px;
  height: 265px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}

.orbit-logo::before,
.orbit-logo::after {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}

.orbit-logo::after {
  inset: 62px;
  animation-direction: reverse;
  opacity: 0.45;
}

.mark-bulb {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  z-index: 2;
  margin-bottom: 58px;
}

.mark-bulb svg {
  width: 96px;
  height: 96px;
  fill: #fff;
}

.mark-bulb path:nth-of-type(2),
.mark-bulb path:nth-of-type(3) {
  fill: none;
  stroke: var(--violet);
  stroke-width: 5;
  stroke-linecap: round;
}

.mark-bulb path:nth-of-type(3) {
  stroke: #fff;
}

.orbit-logo strong {
  position: absolute;
  bottom: 42px;
  z-index: 2;
  font-size: 26px;
  font-weight: 900;
}

.orbit-dot {
  position: absolute;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 18px;
  animation: floatIcon 3.6s ease-in-out infinite;
}

.dot-1 { top: 38px; left: 54px; }
.dot-2 { top: 24px; right: 92px; animation-delay: -0.4s; }
.dot-3 { top: 70px; right: 38px; animation-delay: -0.8s; }
.dot-4 { bottom: 86px; right: 30px; animation-delay: -1.2s; }
.dot-5 { bottom: 74px; left: 32px; animation-delay: -1.6s; }
.dot-6 { top: 112px; left: 22px; animation-delay: -2s; }

.about-copy h2,
.section-title h2,
.success h2,
.contact h2,
.systems h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.about-copy p,
.section-title p,
.vision-band p,
.contact p {
  font-size: 15px;
  line-height: 1.72;
}

.vision-band {
  padding-top: 58px;
  padding-bottom: 58px;
}

.vision-band article {
  min-height: 148px;
}

.stats-grid article {
  min-height: 132px;
}

.stats-grid strong {
  font-size: clamp(38px, 5vw, 54px);
}

.stats-grid span {
  font-size: 14px;
}

.system-layout {
  grid-template-columns: 280px 1fr;
}

.system-feature {
  min-height: 285px;
  animation: cardGlow 4s ease-in-out infinite;
}

.system-cards article {
  position: relative;
  min-height: 106px;
  border-color: rgba(119, 103, 164, 0.16);
  animation: floatCard 4.8s ease-in-out infinite;
}

.system-cards article:nth-child(2n) {
  animation-delay: -1s;
}

.system-cards article:nth-child(3n) {
  animation-delay: -1.8s;
}

.partners {
  padding-top: 0;
}

.success {
  overflow: hidden;
}

.partners-marquee {
  width: 100%;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.38);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.partners-track {
  width: max-content;
  display: flex;
  gap: 12px;
  padding: 0 0 6px;
  animation: partnerSlide 28s linear infinite;
}

.partners-track img {
  width: 724px;
  max-width: none;
  border-radius: 10px;
}

html[dir="ltr"] .hero-content,
html[dir="ltr"] .about-copy,
html[dir="ltr"] .section-title,
html[dir="ltr"] .success h2 {
  text-align: left;
}

html[dir="ltr"] .hero-content {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

html[dir="ltr"] .brand {
  flex-direction: row;
}

@keyframes logoSlide {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

@keyframes logoSlideLtr {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes partnerSlide {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

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

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes cardGlow {
  0%, 100% { box-shadow: inset 0 0 0 rgba(181, 107, 255, 0), 0 18px 32px rgba(31, 22, 70, 0.06); }
  50% { box-shadow: inset 0 0 50px rgba(181, 107, 255, 0.18), 0 18px 32px rgba(31, 22, 70, 0.16); }
}

@media (max-width: 880px) {
  .site-frame {
    width: min(720px, calc(100% - 18px));
    height: calc(100vh - 36px);
    margin: 18px auto;
  }

  .nav-shell {
    padding: 8px 18px;
  }

  .brand {
    min-width: auto;
  }

  .hero {
    min-height: 500px;
  }

  .section-pad {
    padding: 48px 24px;
  }

  .about,
  html[dir="ltr"] .about,
  .system-layout {
    grid-template-columns: 1fr;
  }

  html[dir="ltr"] .about-card {
    order: 0;
  }

  .about-card {
    min-height: 320px;
  }
}

@media (min-width: 641px) {
  .nav-shell {
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-wrap: nowrap;
  }
}

@media (max-width: 760px) and (min-width: 641px) {
  .nav-shell {
    gap: 10px;
    padding: 7px 18px;
  }

  .brand {
    min-width: 116px;
  }

  .brand-logo,
  .brand-logo svg {
    width: 28px;
    height: 28px;
  }

  .brand-text b {
    font-size: 9px;
  }

  .brand-text small {
    font-size: 7px;
  }

  .nav-links {
    gap: 8px;
    font-size: 8.5px;
  }

  .controls {
    min-width: 92px;
    gap: 5px;
  }

  .control-button {
    min-height: 22px;
    padding: 0 6px;
    font-size: 9px;
  }
}

@media (max-width: 880px) and (min-width: 641px) {
  .section-pad {
    padding: 48px 32px;
  }

  .about {
    grid-template-columns: 300px 1fr;
    gap: 34px;
  }

  html[dir="ltr"] .about {
    grid-template-columns: 1fr 280px;
  }

  html[dir="ltr"] .about-card {
    order: 2;
  }

  .about-card {
    min-height: 300px;
  }

  .orbit-logo {
    transform: scale(0.86);
  }

  .vision-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .system-layout {
    grid-template-columns: 245px 1fr;
    gap: 18px;
  }

  .system-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .system-cards article {
    min-height: 96px;
    padding: 14px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    display: none;
  }
}

/* Hero review mode: only the first slider is being refined for approval. */
body.review-hero-only main > section:not(.hero) {
  display: none;
}

body.review-hero-only .site-frame {
  height: min(620px, calc(100vh - 72px));
  background: #fff;
}

body.review-hero-only .hero {
  min-height: 560px;
  overflow: hidden;
  border-radius: 18px;
  background: #110a28;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background:
    radial-gradient(circle at 69% 52%, rgba(94, 55, 183, 0.24), transparent 18rem),
    linear-gradient(90deg, rgba(23, 13, 50, 0.48), rgba(31, 17, 65, 0.67) 45%, rgba(15, 8, 38, 0.83)),
    var(--slide-image, url("./assets/hero-clean-generated.png")) center / cover no-repeat;
  filter: saturate(1.04) brightness(0.88) blur(0.15px);
}

.hero-slide.active {
  opacity: 1;
  animation: heroKenBurns 14s ease-in-out infinite alternate;
}

body.review-hero-only .hero-media {
  display: none;
}

body.review-hero-only .hero-content {
  width: min(720px, 72%);
  max-width: 720px;
  padding: 184px 60px 92px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  text-align: right;
}

body.review-hero-only .hero h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.4vw, 62px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

body.review-hero-only .hero p {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.72;
  font-weight: 700;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

body.review-hero-only .primary-button {
  min-height: 42px;
  margin-top: 4px;
  padding: 0 24px;
  border-radius: 5px;
  background: #5b4df0;
  box-shadow: 0 16px 30px rgba(82, 63, 219, 0.34);
}

body.review-hero-only .logo-ribbon {
  min-height: 78px;
  background: linear-gradient(180deg, rgba(22, 13, 55, 0.18), rgba(20, 12, 49, 0.96));
}

.hero-dots {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dots button.active {
  width: 28px;
  background: #6547ff;
  animation: activeDotPulse 1.8s ease-in-out infinite;
}

@keyframes heroKenBurns {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.035) translate3d(-0.4%, 0.25%, 0); }
}

body.review-hero-only .site-header {
  height: 0;
}

body.review-hero-only .nav-shell {
  margin: 22px 72px 0;
  min-height: 48px;
  padding: 7px 18px;
  border-radius: 8px;
  background: rgba(21, 12, 48, 0.34);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

body.review-hero-only .nav-links {
  gap: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
}

body.review-hero-only .control-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
}

body.review-hero-only .brand img {
  width: 92px;
  opacity: 0.92;
}

body.review-hero-only .flag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@keyframes activeDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(101, 71, 255, 0); }
  50% { opacity: 0.78; box-shadow: 0 0 18px rgba(101, 71, 255, 0.7); }
}

/* Fresh hero rebuild: match the reference banner, keep only logos moving. */
body.review-hero-only {
  background:
    radial-gradient(circle at 46% 8%, rgba(95, 78, 205, 0.18), transparent 26rem),
    radial-gradient(circle at 54% 92%, rgba(113, 68, 197, 0.16), transparent 22rem),
    #fbfbfd;
}

body.review-hero-only .site-frame {
  width: min(1010px, calc(100% - 36px));
  height: auto;
  min-height: 0;
  margin-top: 64px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.review-hero-only .hero {
  min-height: 560px;
  overflow: hidden;
  border-radius: 18px;
  background: #140b31;
  box-shadow: 0 30px 62px rgba(28, 20, 56, 0.24), 0 0 90px rgba(83, 56, 178, 0.16);
}

body.review-hero-only .hero-slide {
  background:
    linear-gradient(90deg, rgba(23, 12, 50, 0.44) 0%, rgba(28, 14, 64, 0.64) 38%, rgba(20, 10, 49, 0.82) 100%),
    var(--slide-image, url("./assets/hero-villa-generated.png")) center / cover no-repeat;
  filter: saturate(1.03) brightness(0.86);
  transform-origin: center;
}

body.review-hero-only .site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 30;
  height: 0;
}

body.review-hero-only .nav-shell {
  width: calc(100% - 120px);
  min-height: 52px;
  margin: 20px auto 0;
  padding: 8px 18px;
  border-radius: 9px;
  background: rgba(20, 12, 44, 0.34);
  color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

body.review-hero-only .nav-links {
  gap: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

body.review-hero-only .brand img {
  width: 96px;
  opacity: 0.9;
}

body.review-hero-only .hero-content {
  position: relative;
  z-index: 5;
  width: min(650px, 66%);
  max-width: 650px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  padding: 176px 52px 118px;
  color: #fff;
  text-align: right;
}

body.review-hero-only .hero h1 {
  max-width: 630px;
  margin: 0 0 20px;
  font-size: clamp(42px, 5.1vw, 61px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

body.review-hero-only .hero p {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.72;
  font-weight: 700;
}

body.review-hero-only .primary-button {
  min-height: 40px;
  padding: 0 24px;
  border-radius: 5px;
  background: #5b51f2;
  box-shadow: 0 18px 36px rgba(70, 55, 214, 0.32);
}

body.review-hero-only .hero-dots {
  display: none;
}

body.review-hero-only .logo-ribbon {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  min-height: 82px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 9, 42, 0.12), rgba(18, 9, 42, 0.98));
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

body.review-hero-only .logo-track {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: heroLogoMarquee 18s linear infinite;
}

body.review-hero-only .logo-track img {
  width: 730px;
  height: 85px;
  max-width: none;
  object-fit: cover;
  opacity: 0.95;
}

body.review-hero-only .chat-button {
  right: max(28px, calc((100vw - 1010px) / 2 + 18px));
}

@keyframes heroLogoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--logo-step, 408px))); }
}

@keyframes heroLogoMarqueeFromLeft {
  from { transform: translateX(calc(-1 * var(--logo-step, 408px))); }
  to { transform: translateX(0); }
}

.mobile-menu:not([open]) { display: none; }
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(90vw, 430px); max-width: 100%; height: 100dvh; max-height: 100dvh;
  padding: 64px 26px 30px; border: 0; border-radius: 0;
  background: #fff; color: #181433; overflow-y: auto;
  overscroll-behavior: contain; text-align: start;
}
.mobile-menu[open] { animation: mobileMenuEnter 220ms ease-out; }
.mobile-menu::backdrop { background: rgba(15, 10, 30, .48); }
.mobile-menu-close {
  position: absolute; left: 16px; top: 14px; width: 36px; height: 36px;
  display: grid; place-items: center; background: #392575; border: 0; border-radius: 5px; cursor: pointer;
}
.mobile-menu-close img { width: 25px; height: 25px; filter: brightness(0) invert(1); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 5px; }
.mobile-menu-links a { display: flex; align-items: center; min-height: 43px; color: inherit; font-size: 20px; font-weight: 800; text-decoration: none; }
.mobile-menu-contact { margin-top: 26px; padding-top: 24px; border-top: 1px solid #695591; display: grid; gap: 22px; }
.mobile-menu-contact a { display: flex; gap: 14px; align-items: center; color: #69666f; text-decoration: none; font-size: 15px; line-height: 1.6; }
.mobile-menu-contact a > span:last-child { min-width: 0; }
.mobile-menu-contact strong, .mobile-menu-contact a > span > span { display: block; overflow-wrap: anywhere; }
.mobile-contact-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #e9e7ed; border-radius: 50%; }
.mobile-contact-icon img { width: 22px; height: 22px; opacity: .65; filter: brightness(0); }
body.menu-open { overflow: hidden; }
body[data-theme="dark"] .mobile-menu { background: #140e25; color: #fff; }
body[data-theme="dark"] .mobile-menu-contact a { color: #d6d1df; }
body[data-theme="dark"] .mobile-contact-icon img { filter: brightness(0) invert(1); }
@keyframes mobileMenuEnter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .mobile-menu[open] { animation: none; } }

/* Rebuild flow: hero + second white section from the supplied reference. */
body.site-rebuild main > section:not(.hero):not(.intro-section):not(.about):not(.vision-band):not(.why):not(.partners):not(.systems):not(.success):not(.contact) {
  display: none;
}

body.site-rebuild {
  margin: 0;
  background: #140b31;
}

body.site-rebuild .site-frame {
  width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.site-rebuild .site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 30;
  height: 0;
}

body.site-rebuild .nav-shell {
  width: min(1120px, calc(100% - 92px));
  min-height: 54px;
  margin: 30px auto 0;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(19, 10, 41, 0.42);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 200ms ease, color 200ms ease;
}

body.site-rebuild .site-header.is-scrolled .nav-shell {
  color: var(--ink);
  background: rgba(19, 10, 41, 0.42);
}

body[data-theme="light"].site-rebuild .site-header.is-scrolled .nav-shell {
  background: rgba(218, 214, 224, 0.55);
}

body[data-theme="light"].site-rebuild .site-header.is-scrolled .nav-links a,
body[data-theme="light"].site-rebuild .site-header.is-scrolled .controls button,
body[data-theme="light"].site-rebuild .site-header.is-scrolled .theme-icon::before {
  color: #181433;
}

body[data-theme="light"].site-rebuild .site-header.is-scrolled .brand img {
  filter: brightness(0) saturate(100%);
}

body.site-rebuild .nav-links {
  order: 2;
  flex: 1 1 auto;
  gap: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
}

body.site-rebuild .nav-links a {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 0;
  color: inherit;
  opacity: 0.96;
  text-shadow: none;
}

body.site-rebuild .nav-links a.active {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  opacity: 0.96;
}

body.site-rebuild .brand {
  order: 1;
  width: 104px;
  flex: 0 0 104px;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

body.site-rebuild .controls {
  order: 3;
  flex: 0 0 auto;
  gap: 5px;
  min-height: 18px;
  align-items: center;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  transform: translateY(2px);
}

body.site-rebuild .controls::before,
body.site-rebuild .controls::after {
  content: "";
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.34);
}

body.site-rebuild .controls::before {
  order: 2;
  display: none;
}

body.site-rebuild .controls::after {
  display: none;
}

body.site-rebuild .brand img {
  width: 104px;
  height: 44px;
  object-fit: contain;
  opacity: 0.96;
}

body.site-rebuild .control-button {
  color: #fff;
  min-height: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

body.site-rebuild .theme-icon {
  order: 1;
  width: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0;
  font-size: 0;
  line-height: 1;
  transform: translateY(1px);
}

body.site-rebuild .theme-icon::before {
  content: "☼";
  font-size: 15px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

body[data-theme="dark"].site-rebuild .theme-icon::before {
  content: "☾";
}

body.site-rebuild .flag {
  order: 2;
  position: relative;
  display: inline-flex;
  width: 16px;
  height: 10px;
  align-items: center;
  justify-content: center;
  align-self: center;
  border-radius: 1px;
  background: #168a2d;
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.04), 0 0 0 0.5px rgba(255, 255, 255, 0.25);
}

body.site-rebuild .controls .flag {
  display: none !important;
}

body.site-rebuild .flag::before {
  content: "لا إله إلا الله";
  display: block;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 2.55px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-1px);
}

body.site-rebuild .flag::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 7px;
  height: 1px;
  background: #fff;
}

html[dir="ltr"] body.site-rebuild .flag {
  background:
    linear-gradient(#3c3b6e 0 54%, transparent 54%),
    repeating-linear-gradient(
      to bottom,
      #b22234 0 1.15px,
      #fff 1.15px 2.3px
    );
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.28);
}

html[dir="ltr"] body.site-rebuild .flag::before {
  content: "";
  position: absolute;
  inset: 1px auto auto 1px;
  width: 6px;
  height: 5px;
  background: radial-gradient(circle, #fff 0 0.45px, transparent 0.55px) 0 0 / 2px 2px;
  transform: none;
}

html[dir="ltr"] body.site-rebuild .flag::after {
  display: none;
}

body.site-rebuild [data-action="lang"] {
  order: 1;
  display: inline-flex;
  min-width: 36px;
}

body.site-rebuild [data-action="lang"]::after {
  content: "";
  margin-inline-start: 3px;
  font-size: 8px;
  opacity: 0.9;
}

body.site-rebuild .hero {
  min-height: 100vh;
  overflow: hidden;
  border-radius: 0;
  background: #140b31;
  box-shadow: none;
}

body.site-rebuild .hero-slide {
  background:
    linear-gradient(90deg, rgba(23, 12, 50, 0.44) 0%, rgba(28, 14, 64, 0.64) 38%, rgba(20, 10, 49, 0.82) 100%),
    var(--slide-image, url("./assets/hero-villa-generated.png")) center / cover no-repeat;
  filter: saturate(1.03) brightness(0.86);
}

body.site-rebuild .hero-content {
  position: relative;
  z-index: 5;
  width: min(650px, 66%);
  max-width: 650px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  padding: 26vh max(52px, 7vw) 138px;
  color: #fff;
  text-align: right;
}

body.site-rebuild .hero h1 {
  max-width: 630px;
  margin: 0 0 20px;
  font-size: clamp(42px, 5.1vw, 61px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

body.site-rebuild .hero p {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.72;
  font-weight: 700;
}

body.site-rebuild .primary-button {
  min-height: 40px;
  padding: 0 24px;
  border-radius: 5px;
  background: #5b51f2;
  box-shadow: 0 18px 36px rgba(70, 55, 214, 0.32);
}

body.site-rebuild .hero-dots {
  display: none;
}

body.site-rebuild .logo-ribbon {
  direction: ltr;
  min-height: 92px;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 6;
  overflow: hidden;
  background: transparent;
  mask-image: none;
}

body.site-rebuild .logo-track {
  margin: 0;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  width: max-content;
  padding-inline: 0;
  animation: heroLogoMarquee 30s linear infinite;
}

html[dir="ltr"] body.site-rebuild .logo-track {
  animation-name: heroLogoMarqueeFromLeft;
}

body.site-rebuild .logo-set {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

body.site-rebuild .logo-item {
  width: 92px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
}

body.site-rebuild .logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.96;
  filter: grayscale(1) brightness(0) invert(1);
}

body.site-rebuild .logo-modon img {
  transform: none;
}

body.site-rebuild .logo-almajdiah img,
body.site-rebuild .logo-sabic img,
body.site-rebuild .logo-rega img {
  transform: none;
}

body.site-rebuild .about {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 8%;
  padding: 0 max(28px, 6.5%) 80px;
  background: linear-gradient(to bottom, var(--panel) 60px, var(--soft) 60px);
  scroll-margin-top: 100px;
}

html[dir="ltr"] body.site-rebuild .about {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
}

body.site-rebuild .about-copy {
  padding-block: 85px 20px;
  text-align: start;
}

body.site-rebuild .about-copy h2 {
  font-size: 36px;
  line-height: 1.35;
  margin: 24px 0;
  letter-spacing: 0;
}

body.site-rebuild .about-copy p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  color: var(--muted);
}

body.site-rebuild .about-copy .eyebrow {
  color: var(--muted);
  background: transparent;
  font-weight: 500;
}

body.site-rebuild .about-diagram {
  width: 100%;
  aspect-ratio: 282 / 339;
  min-height: 0;
  border-radius: 8px;
  background: #1b1442;
  box-shadow: none;
}

.system-diagram {
  position: relative;
  width: 86%;
  aspect-ratio: 1;
  direction: ltr;
}

body.site-rebuild .about-diagram .diagram-brand {
  position: absolute;
  width: 54%;
  height: 54%;
  min-height: 0;
  left: 23%;
  top: 36%;
  object-fit: contain;
}

.diagram-node {
  position: absolute;
  width: 15%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #332b55;
  z-index: 1;
}

body.site-rebuild .diagram-node img {
  width: 56%;
  height: 56%;
  min-height: 0;
  filter: invert(1);
  opacity: 0.85;
  object-fit: contain;
}

.node-camera { left: 15%; top: 10%; }
.node-light { left: 43%; top: 8%; }
.node-clock { left: 70%; top: 7%; }
.node-temperature { left: 6%; top: 34%; }
.node-phone { left: 82%; top: 33%; }
.node-air { left: 10%; top: 59%; }
.node-monitor { left: 79%; top: 56%; }
.diagram-wire { position: absolute; border-color: #9890b0; border-style: dotted; border-width: 0; opacity: 0.7; }
.wire-camera { left: 25%; top: 18%; width: 13%; height: 23%; border-top-width: 2px; border-right-width: 2px; }
.wire-light { left: 50%; top: 23%; height: 15%; border-left-width: 2px; }
.wire-clock { left: 63%; top: 21%; width: 15%; height: 20%; border-right-width: 2px; border-bottom-width: 2px; }
.wire-temperature { left: 20%; top: 42%; width: 17%; border-top-width: 2px; }
.wire-phone { left: 64%; top: 41%; width: 20%; border-top-width: 2px; }
.wire-air { left: 18%; top: 53%; width: 20%; height: 10%; border-left-width: 2px; border-top-width: 2px; }
.wire-monitor { left: 65%; top: 51%; width: 21%; height: 9%; border-right-width: 2px; border-top-width: 2px; }

@media (max-width: 760px) {
  body.site-rebuild .about,
  html[dir="ltr"] body.site-rebuild .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 0 24px 64px;
  }
  body.site-rebuild .about-diagram,
  html[dir="ltr"] body.site-rebuild .about-diagram {
    width: min(100%, 360px);
    margin-inline: auto;
    order: 0;
  }
  body.site-rebuild .about-copy { padding: 0; text-align: center; }
  body.site-rebuild .about-copy h2 { font-size: 28px; }
  body.site-rebuild .about-copy p { font-size: 16px; }
}

body.site-rebuild .vision-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 48px max(28px, 6.5%) 80px;
  background: var(--soft);
  scroll-margin-top: 100px;
}

body.site-rebuild .vision-band article {
  background: #fff;
  color: #181433;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  min-height: 235px;
  padding: 32px;
  border-radius: 8px;
  box-shadow: none;
  text-align: start;
}

body.site-rebuild .vision-band article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, #5046e5, #5030c5);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 400ms ease;
}

body[data-theme="dark"].site-rebuild .vision-band article {
  background: #100c26;
  color: #f8f5ff;
}

body[data-theme="dark"].site-rebuild .vision-band article p {
  color: #c5bed5;
}

body[data-theme="dark"].site-rebuild .vision-band article[aria-pressed="true"] p {
  color: #fff;
}

@media (hover: hover) {
  body[data-theme="dark"].site-rebuild .vision-band article:hover p {
    color: #fff;
  }
}

body.site-rebuild .vision-band article[aria-pressed="true"]::before {
  transform: scaleY(1);
}

body.site-rebuild .vision-band article:focus-visible {
  outline: 3px solid #a99bff;
  outline-offset: 4px;
}

@media (hover: hover) {
  body.site-rebuild .vision-band article:hover::before {
    transform: scaleY(1);
  }
  body.site-rebuild .vision-band article:hover h3,
  body.site-rebuild .vision-band article:hover p {
    color: #fff;
  }
  body.site-rebuild .vision-band article:hover .purpose-icon {
    filter: brightness(0) invert(1);
  }
}

.purpose-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
}

.vision-band .purpose-icon {
  filter: none;
  transition: filter 250ms ease;
}


body.site-rebuild .vision-band h3 {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  text-align: start;
  letter-spacing: 0;
}

body.site-rebuild .vision-band p {
  text-wrap: pretty;
  margin: 0;
  color: #6f6b7d;
  font-size: 17px;
  line-height: 1.85;
}

body.site-rebuild .vision-band h3,
body.site-rebuild .vision-band p { transition: color 250ms ease; }

body.site-rebuild .vision-band article[aria-pressed="true"] h3,
body.site-rebuild .vision-band article[aria-pressed="true"] p { color: #fff; }

body.site-rebuild .vision-band article[aria-pressed="true"] .purpose-icon { filter: brightness(0) invert(1); }

@media (prefers-reduced-motion: reduce) {
  body.site-rebuild .vision-band article::before,
  body.site-rebuild .vision-band h3,
  body.site-rebuild .vision-band p,
  body.site-rebuild .vision-band .purpose-icon { transition: none; }
}

@media (max-width: 760px) {
  body.site-rebuild .vision-band {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 24px 64px;
    gap: 20px;
  }
  body.site-rebuild .vision-band article { min-height: 0; padding: 28px; }
  body.site-rebuild .vision-band p { font-size: 16px; }
}

body.site-rebuild .why {
  display: block;
  padding: 90px max(28px, 6.5%);
  background: var(--panel);
  scroll-margin-top: 100px;
}

body.site-rebuild .why .section-title {
  max-width: 1200px;
  margin: 0 auto;
  text-align: start;
}

body.site-rebuild .why .eyebrow { display: none; }

.leadership-quote {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 4%;
  margin: 64px 0 0;
  padding: 56px 0 72px;
  border: 0;
  background: none;
}

.leadership-quote::before {
  content: "";
  position: absolute;
  inset: 0 -7%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(251, 215, 248, 0.10) 5%, rgba(243, 205, 250, 0.32) 40%, rgba(219, 206, 250, 0.32) 67%, rgba(227, 219, 252, 0.10) 90%);
  mask-image: linear-gradient(transparent 12%, rgba(0, 0, 0, 0.25) 40%, #000 78%, transparent 100%);
}

.leadership-portrait {
  position: relative;
  align-self: center;
  isolation: isolate;
}

.leadership-portrait img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  mask-image: linear-gradient(to bottom, #000 48%, rgba(0, 0, 0, 0.94) 59%, rgba(0, 0, 0, 0.45) 73%, transparent 94%), linear-gradient(to right, transparent, #000 13%, #000 82%, transparent);
  mask-composite: intersect;
}

.portrait-quote {
  position: absolute;
  top: 6%;
  inset-inline-start: 0;
  width: 25%;
  height: 42%;
  background: #5944b6;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 65% 100%, 28% 100%, 56% 60%, 0 60%);
  z-index: -1;
}

.portrait-quote-front {
  position: absolute;
  inset-inline-end: 0;
  bottom: -2%;
  width: 38%;
  height: 38%;
  z-index: 2;
  filter: blur(6px);
  mask-image: linear-gradient(transparent, #000 25%, #000 65%, transparent);
}

.portrait-quote-front::before,
.portrait-quote-front::after,
.quote-mark::before,
.quote-mark::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 43%;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 65% 100%, 28% 100%, 56% 60%, 0 60%);
}
.portrait-quote-front::before, .quote-mark::before { left: 0; }
.portrait-quote-front::after, .quote-mark::after { right: 0; }
.portrait-quote-front { color: #6247bc; }

.leadership-quote figcaption { text-align: start; padding-inline-end: 5%; }
.quote-mark { display: block; position: relative; width: 38px; height: 28px; margin-bottom: 22px; }
.leadership-quote blockquote {
  margin: 16px 0 32px;
  font-size: 40px;
  line-height: 1.5;
  font-weight: 800;
  text-wrap: balance;
}
.leadership-quote figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

body.site-rebuild .why .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
  background: linear-gradient(125deg, rgba(237, 193, 241, 0.10), rgba(208, 192, 247, 0.07) 45%, transparent 80%);
}

body.site-rebuild .why .stats-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 28px 20px;
  min-height: 190px;
  cursor: pointer;
  transition: border-color 260ms ease, background-color 260ms ease;
}

body.site-rebuild .why .stats-grid article[aria-pressed="true"],
body.site-rebuild .why .stats-grid article:focus-visible {
  border-color: #81768e;
  background-color: rgba(160, 129, 198, 0.10);
}

body.site-rebuild .why .stats-grid article:focus-visible {
  outline: 2px solid #9b81be;
  outline-offset: 3px;
}

@media (hover: hover) {
  body.site-rebuild .why .stats-grid article:hover {
    border-color: #81768e;
    background-color: rgba(160, 129, 198, 0.10);
  }
}

body[data-theme="dark"].site-rebuild .why .stats-grid article {
  background-color: rgba(255, 255, 255, 0.015);
}

body[data-theme="dark"].site-rebuild .why .stats-grid article:is(:hover, :focus-visible, [aria-pressed="true"]) {
  border-color: #b4a0cb;
  background-color: rgba(160, 129, 198, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  body.site-rebuild .why .stats-grid article { transition: none; }
}

body.site-rebuild .why .stats-grid strong {
  font-size: 48px;
  line-height: 1.2;
  direction: ltr;
}

body.site-rebuild .why .stats-grid span {
  display: block;
  max-width: 270px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  text-wrap: balance;
}

@media (max-width: 760px) {
  .leadership-quote { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0; margin-top: 40px; }
  .leadership-portrait { width: min(100%, 380px); margin-inline: auto; }
  .portrait-quote { top: 6%; }
  .leadership-quote figcaption { text-align: center; padding-inline-end: 0; }
  .quote-mark { margin-inline: auto; }
  .leadership-quote blockquote { font-size: 30px; }
  body.site-rebuild .why .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
  body.site-rebuild .why .stats-grid article { padding: 20px 12px; min-height: 190px; }
  body.site-rebuild .why .stats-grid strong { font-size: 38px; }
  body.site-rebuild .why .stats-grid span { font-size: 14px; }
}

[data-count] { font-variant-numeric: tabular-nums; }

body.site-rebuild .why h2 {
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 0 28px;
}

body.site-rebuild .why .section-title p {
  max-width: 1100px;
  margin: 0;
  font-size: 18px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

@media (max-width: 760px) {
  body.site-rebuild .why { padding: 64px 24px; }
  body.site-rebuild .why .section-title { text-align: center; }
  body.site-rebuild .why h2 { font-size: 28px; }
  body.site-rebuild .why .section-title p { font-size: 16px; }
}

body.site-rebuild .partners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 170px max(28px, 6.5%) 76px;
  scroll-margin-top: 110px;
  color: #fff;
  background: linear-gradient(rgba(19, 10, 41, 0.72), rgba(19, 10, 41, 0.86)), url("./assets/hero-villa-generated.png") center / cover;
}

body.site-rebuild .partners::before {
  content: "";
  position: absolute;
  top: -28px;
  left: -5%;
  width: 102%;
  height: 270px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg, #fa98f1 4%, #ed9bf5 26%, #ae91fa 49%, rgba(139, 119, 224, 0.60) 68%, transparent 91%);
  transform: skewY(-8deg);
  transform-origin: left center;
  filter: blur(30px);
  mask-image: linear-gradient(to bottom, #000 12%, #000 32%, rgba(0, 0, 0, 0.55) 61%, transparent 100%);
}

body.site-rebuild .projects-kicker {
  display: table;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  line-height: 1.5;
}

body.site-rebuild .partners h2 {
  margin: 0 0 36px;
  font-size: 34px;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: start;
}

body.site-rebuild .metric-strip {
  background: none;
  padding: 0;
  min-height: 0;
  gap: 24px;
}

body.site-rebuild .metric-strip article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border-radius: 8px;
  text-align: start;
  background: rgba(255, 255, 255, 0.14);
}

.metric-icon {
  display: block;
  width: 32px;
  height: 32px;
  padding: 6px;
  background: #fff;
  border-radius: 6px;
  filter: none;
  margin-bottom: 16px;
  object-fit: contain;
}
body.site-rebuild .metric-strip strong { font-size: 48px; direction: ltr; color: #d093f4; }
body.site-rebuild .metric-strip span { font-size: 16px; font-weight: 500; line-height: 1.7; }

@media (max-width: 760px) {
  body.site-rebuild .partners { padding: 140px 24px 64px; }
  body.site-rebuild .partners::before { top: -28px; height: 195px; width: 120%; filter: blur(18px); }
  body.site-rebuild .projects-kicker { margin-inline: auto; }
  body.site-rebuild .partners h2 { font-size: 28px; text-align: center; }
  body.site-rebuild .metric-strip { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.site-rebuild .metric-strip article { align-items: center; text-align: center; }
}

body.site-rebuild .systems {
  display: block;
  padding: 88px max(28px, 6.5%) 84px;
  scroll-margin-top: 110px;
  background: linear-gradient(to bottom, var(--panel), transparent 27%, transparent 72%, var(--panel)), linear-gradient(105deg, rgba(217, 178, 223, .34) 2%, transparent 24%, rgba(188, 193, 252, .48) 42%, rgba(218, 177, 223, .48) 65%, transparent 84%), var(--panel);
}
body.site-rebuild .systems .section-title { text-align: center; margin-bottom: 32px; }
body.site-rebuild .systems h2 { font-size: 36px; letter-spacing: 0; margin: 18px 0 0; }
body.site-rebuild .systems .eyebrow { display: inline-block; padding: 6px 14px; border-radius: 20px; background: var(--soft); font-size: 13px; }
body.site-rebuild .systems .tabs { gap: 12px; margin-bottom: 38px; }
body.site-rebuild .systems .tab { min-width: 0; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 500; background: var(--panel); color: var(--ink); box-shadow: none; }
body.site-rebuild .systems .tab.active { background: #43268d; color: #fff; }
body.site-rebuild .systems .tab:focus-visible { outline: 2px solid #9574df; outline-offset: 3px; }
body.site-rebuild .system-layout { grid-template-columns: minmax(220px, 0.95fr) minmax(0, 2.25fr); gap: 18px; }
body.site-rebuild .system-feature { min-height: 400px; padding: 28px 28px 150px; border-radius: 8px; justify-content: flex-start; animation: none; background: linear-gradient(to bottom, rgba(25,16,57,.28), rgba(25,16,57,.1) 55%, transparent 75%), var(--system-photo, url('./assets/system-smart.jpg')) center bottom / cover #191039; }
body.site-rebuild .system-feature[data-system="solar"] { --system-photo: url('./assets/system-solar-v2.jpg'); }
body.site-rebuild .system-feature[data-system="intercom"] { --system-photo: url('./assets/system-intercom.jpg'); }
body.site-rebuild .system-number { font-size: 46px; color: #c996eb; direction: ltr; text-align: end; margin-bottom: 22px; }
html[dir="ltr"] body.site-rebuild .system-number { text-align: start; }
body.site-rebuild .system-feature h3 { font-size: 25px; margin: 0 0 16px; }
body.site-rebuild .system-feature p { font-size: 15px; line-height: 1.65; margin: 0; }
body.site-rebuild .system-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: start; }
body.site-rebuild .system-cards article { min-height: 108px; padding: 24px 18px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; text-align: start; border: 1px solid var(--line); border-radius: 8px; background: transparent; box-shadow: none; font-size: 15px; font-weight: 500; animation: none; transition: background-color 220ms ease, box-shadow 220ms ease; }
body.site-rebuild .system-cards article:hover { background: rgba(255,255,255,.28); box-shadow: 0 10px 24px rgba(43,24,74,.12); }
body.site-rebuild .system-icon { width: 26px; height: 26px; flex: 0 0 26px; padding: 5px; border-radius: 6px; background: #201740; color: #fff; }
body.site-rebuild .system-icon img { display: block; width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
body[data-theme="dark"].site-rebuild .system-icon { background: #fff; color: #201740; }
body[data-theme="dark"].site-rebuild .system-icon img { filter: none; }
body[data-theme="dark"].site-rebuild .system-cards article:hover { background: rgba(133,91,213,.14); }
@media (max-width: 760px) {
  body.site-rebuild .systems { padding: 64px 24px; }
  body.site-rebuild .systems h2 { font-size: 28px; }
  body.site-rebuild .systems .tabs { gap: 6px; }
  body.site-rebuild .systems .tab { flex: 1; padding: 10px 5px; font-size: 13px; }
  body.site-rebuild .system-layout { grid-template-columns: minmax(0, 1fr); }
  body.site-rebuild .system-feature { min-height: 400px; }
  body.site-rebuild .system-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

body.site-rebuild .success {
  display: block;
  padding: 76px max(28px, 6.5%) 90px;
  background: var(--soft);
  scroll-margin-top: 110px;
}
body.site-rebuild .success .eyebrow { display: inline-block; font-size: 13px; font-weight: 500; color: var(--muted); }
body.site-rebuild .success h2 { margin: 18px 0 38px; font-size: 36px; line-height: 1.4; text-align: start; letter-spacing: 0; }
body.site-rebuild .success-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); direction: ltr; }
body.site-rebuild .success-logo { display: grid; place-items: center; height: 112px; padding: 18px; background: #fff; border: 1px solid #eeedf0; border-radius: 8px; }
body.site-rebuild .success-logo img { display: block; width: 100%; height: 76px; object-fit: contain; margin: 0; border-radius: 0; box-shadow: none; filter: none; }
body.site-rebuild .success-logo-second-row { grid-column: 1; }
@media (max-width: 760px) {
  body.site-rebuild .success { padding: 60px 24px; }
  body.site-rebuild .success h2 { font-size: 28px; }
  body.site-rebuild .success-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.site-rebuild .success-logo-second-row { grid-column: auto; }
}

body.site-rebuild .intro-section {
  display: block;
}

html[dir="ltr"] body.site-rebuild .hero-content {
  width: min(820px, 72%);
  max-width: 820px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  padding: 28vh 0 138px max(84px, 11vw);
  text-align: left;
}

html[dir="ltr"] body.site-rebuild .hero h1 {
  max-width: 790px;
  margin: 0 0 22px;
  font-size: clamp(42px, 4.9vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

html[dir="ltr"] body.site-rebuild .hero p {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(14px, 1.28vw, 18px);
  line-height: 1.62;
  font-weight: 800;
}

html[dir="ltr"] body.site-rebuild .primary-button {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.intro-section {
  position: relative;
  width: 100%;
  min-height: 330px;
  padding: 100px max(28px, 6.5%) 90px;
  scroll-margin-top: 100px;
  background: var(--panel);
}

.intro-copy {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  text-align: start;
}

.intro-copy h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0;
}

.intro-copy p {
  max-width: 1000px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
  font-weight: 500;
}

.intro-card {
  position: absolute;
  left: 54px;
  bottom: -84px;
  width: 310px;
  height: 210px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #170f43;
  box-shadow: 0 22px 46px rgba(30, 18, 68, 0.2);
}

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

@media (max-width: 760px) {
  body.site-rebuild .site-frame {
    width: 100%;
    margin: 0;
  }

  body.site-rebuild .nav-shell {
    width: calc(100% - 32px);
    direction: ltr;
    display: grid;
    grid-template-columns: 32px auto 1fr;
    gap: 6px;
    padding: 10px 12px;
    margin-top: 14px;
  }

  body.site-rebuild .nav-shell > .brand { grid-column: 3; grid-row: 1; justify-self: end; width: 88px; }
  html[dir="ltr"] body.site-rebuild .nav-shell { grid-template-columns: 1fr auto 32px; }
  html[dir="ltr"] body.site-rebuild .nav-shell > .brand { grid-column: 1; justify-self: start; }
  html[dir="ltr"] body.site-rebuild .nav-shell > .menu-toggle { grid-column: 3; }
  body.site-rebuild .brand img { width: 88px; height: 44px; }
  body.site-rebuild .nav-shell > .menu-toggle { grid-column: 1; grid-row: 1; display: grid; width: 32px; height: 40px; padding: 0; background: transparent; color: inherit; border: 0; font-size: 27px; box-shadow: none; }
  body.site-rebuild .nav-shell > .controls { grid-column: 2; grid-row: 1; min-width: 0; gap: 6px; transform: none; }
  html[dir="ltr"] body.site-rebuild .nav-shell > .controls { flex-direction: row-reverse; }
  body.site-rebuild .controls [data-action="lang"] { order: 2; font-size: 0; height: 44px; min-height: 44px; }
  body.site-rebuild .controls [data-action="lang"]::before { content: attr(data-current-language); font-size: 16px; font-weight: 700; line-height: 1; transform: translateY(3px); }
  body.site-rebuild .controls .theme-icon { order: 1; width: 32px; height: 44px; min-height: 44px; background: transparent; position: relative; }
  body.site-rebuild .controls .theme-icon::before,
  body[data-theme="dark"].site-rebuild .controls .theme-icon::before { content: ""; position: static; display: block; width: 21px; height: 21px; background: url('./assets/sun-reference.svg') center / contain no-repeat; filter: brightness(0) invert(1); }
  body[data-theme="light"].site-rebuild .site-header.is-scrolled .controls .theme-icon::before { filter: brightness(0); }
  body.site-rebuild .controls .theme-icon::after { display: none; }
  body.site-rebuild .nav-shell .nav-links { display: none; }

  html[dir="rtl"] body.site-rebuild .nav-links {
    direction: rtl;
  }

  html[dir="rtl"] body.site-rebuild .hero-content,
  html[dir="ltr"] body.site-rebuild .hero-content {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding: 150px 28px 118px;
    text-align: center;
  }

  html[dir="rtl"] body.site-rebuild .hero h1,
  html[dir="rtl"] body.site-rebuild .hero p,
  html[dir="ltr"] body.site-rebuild .hero h1,
  html[dir="ltr"] body.site-rebuild .hero p {
    margin-inline: auto;
    text-align: center;
  }

  html[dir="rtl"] body.site-rebuild .hero h1,
  html[dir="ltr"] body.site-rebuild .hero h1 {
    max-width: 560px;
    font-size: 40px;
  }

  html[dir="rtl"] body.site-rebuild .hero p,
  html[dir="ltr"] body.site-rebuild .hero p {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.75;
  }

  html[dir="rtl"] body.site-rebuild .primary-button,
  html[dir="ltr"] body.site-rebuild .primary-button {
    margin-inline: auto;
  }

  html[dir="rtl"] body.site-rebuild .logo-track {
    animation-name: heroLogoMarqueeFromLeft;
  }

  .intro-section {
    min-height: 0;
    padding: 64px 24px;
  }

  .intro-copy {
    text-align: center;
  }

  .intro-copy h2 {
    font-size: 28px;
  }

  .intro-copy p {
    font-size: 16px;
  }

  .intro-card {
    left: 28px;
    width: 260px;
  }
}
