:root {
  --bg: #edf4fb;
  --bg-gradient:
    radial-gradient(circle at top left, rgba(0, 120, 212, 0.08), transparent 20rem),
    radial-gradient(circle at 84% 10%, rgba(125, 180, 248, 0.14), transparent 17rem),
    linear-gradient(180deg, #edf4fb 0%, #f6f9fc 46%, #fdfefe 100%);
  --paper: #ffffff;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-soft: rgba(248, 250, 253, 0.98);
  --panel-gradient: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 251, 254, 0.98));
  --panel-gradient-strong: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(243, 248, 253, 0.98));
  --panel-dark: #121921;
  --panel-dark-alt: #1b2631;
  --line: rgba(11, 32, 66, 0.1);
  --line-strong: rgba(11, 32, 66, 0.18);
  --ink: #101827;
  --ink-strong: #0a1220;
  --muted: #56657d;
  --accent: #0f6cbd;
  --accent-strong: #0b4f8c;
  --accent-soft: #617896;
  --accent-warm: #0078d4;
  --accent-kicker: #0f5ea8;
  --accent-warm-soft: #dbeeff;
  --header-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 253, 0.96));
  --header-border: rgba(11, 32, 66, 0.08);
  --section-alt-bg: linear-gradient(180deg, rgba(236, 244, 253, 0.98), rgba(228, 237, 249, 0.98));
  --section-alt-border: rgba(11, 32, 66, 0.07);
  --input-bg: rgba(255, 255, 255, 0.94);
  --input-border: rgba(11, 32, 66, 0.12);
  --input-focus: rgba(0, 120, 212, 0.2);
  --shadow: 0 28px 64px rgba(17, 40, 80, 0.08);
  --shadow-soft: 0 14px 28px rgba(17, 40, 80, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --surface-accent: linear-gradient(160deg, #15202b 0%, #1d2934 58%, #293643 100%);
  --content-width: 1180px;
  --header-height: 82px;
  --font-latin: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-arabic: "Segoe UI Variable Text", "Segoe UI", "Alexandria", sans-serif;
  --hero-title-size: clamp(1.72rem, 2.72vw, 2.82rem);
  --hero-title-size-ar: clamp(1.68rem, 2.56vw, 2.58rem);
  --section-title-size: clamp(1.52rem, 2.25vw, 2.1rem);
  --surface-padding: 1.5rem;
  --text-label: 0.88rem;
  --text-body-lg: clamp(1rem, 1.05vw, 1.06rem);
  --text-body: clamp(0.98rem, 0.98vw, 1rem);
  --text-body-sm: 0.9rem;
  --text-card-title: clamp(1.02rem, 1.52vw, 1.14rem);
  --text-panel-title: clamp(1.2rem, 1.84vw, 1.52rem);
  --text-stat: clamp(1.08rem, 1.9vw, 1.2rem);
  --accent-gradient: linear-gradient(180deg, #0078d4 0%, #106ebe 100%);
  --gold-gradient: linear-gradient(180deg, #0f6cbd 0%, #2b88d8 100%);
}

html[data-theme="dark"] {
  --bg: #0d1116;
  --bg-gradient:
    radial-gradient(circle at top left, rgba(66, 104, 154, 0.16), transparent 30rem),
    radial-gradient(circle at right 12%, rgba(120, 180, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #0b1015 0%, #10161d 55%, #151c24 100%);
  --paper: #eef4fc;
  --panel: rgba(20, 26, 33, 0.84);
  --panel-soft: rgba(14, 19, 25, 0.9);
  --panel-gradient: linear-gradient(180deg, rgba(20, 26, 33, 0.94), rgba(13, 18, 24, 0.9));
  --panel-gradient-strong: linear-gradient(180deg, rgba(22, 28, 36, 0.96), rgba(14, 19, 25, 0.92));
  --line: rgba(210, 223, 242, 0.09);
  --line-strong: rgba(210, 223, 242, 0.16);
  --ink: #e8f0fb;
  --ink-strong: #ffffff;
  --muted: #96a5b9;
  --accent: #b9cbe2;
  --accent-strong: #edf4fd;
  --accent-soft: #97a9c1;
  --accent-warm: #84acd9;
  --accent-kicker: #84acd9;
  --accent-warm-soft: #dcecff;
  --header-bg: linear-gradient(180deg, rgba(16, 22, 28, 0.9), rgba(11, 16, 21, 0.82));
  --header-border: rgba(210, 223, 242, 0.08);
  --section-alt-bg: linear-gradient(180deg, rgba(18, 24, 31, 0.64), rgba(13, 18, 24, 0.8));
  --section-alt-border: rgba(210, 223, 242, 0.07);
  --input-bg: rgba(11, 16, 21, 0.78);
  --input-border: rgba(210, 223, 242, 0.14);
  --input-focus: rgba(120, 180, 255, 0.28);
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.52);
  --shadow-soft: 0 16px 30px rgba(0, 0, 0, 0.34);
  --surface-accent: linear-gradient(160deg, #121820 0%, #1a222b 58%, #242f3a 100%);
  --accent-gradient: linear-gradient(135deg, #2f4f79 0%, #466e9f 100%);
  --gold-gradient: linear-gradient(135deg, #6f97c9 0%, #9fc0e8 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font-latin);
  color: var(--ink);
  background: var(--bg-gradient);
  line-height: 1.55;
  transition: background 320ms ease, color 320ms ease;
}

body,
button,
a,
input,
textarea {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 16%, rgba(84, 158, 255, 0.1), transparent 16rem),
    radial-gradient(circle at 14% 20%, rgba(0, 120, 212, 0.06), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 22rem);
}

html[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(120, 180, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24rem);
}

html[data-theme="dark"] .page-bg {
  background-image:
    linear-gradient(rgba(152, 183, 223, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(152, 183, 223, 0.03) 1px, transparent 1px);
}

html[lang="ar"] body {
  font-family: var(--font-arabic);
}

a,
button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 120, 212, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 120, 212, 0.018) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 0.7), transparent 76%);
}

.top-atmosphere {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 18rem;
  z-index: 0;
  pointer-events: none;
  overflow: clip;
}

.top-atmosphere::before,
.top-atmosphere::after {
  content: "";
  position: absolute;
  inset: -1rem -8% auto;
  height: 15rem;
  background: url("assets/top-wave.svg") center top / cover no-repeat;
  opacity: 0.9;
  filter: saturate(112%);
  transform-origin: center;
}

.top-atmosphere::before {
  animation: wave-sweep-primary 22s ease-in-out infinite alternate;
}

.top-atmosphere::after {
  top: 2.1rem;
  opacity: 0.56;
  transform: scaleX(-1) scaleY(0.92);
  animation: wave-sweep-secondary 26s ease-in-out infinite alternate;
}

.top-atmosphere-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(239, 245, 252, 0.02) 0%, rgba(241, 247, 253, 0.18) 32%, rgba(245, 249, 253, 0.68) 58%, rgba(245, 249, 253, 0.94) 78%, var(--bg) 100%);
}

html[data-theme="dark"] .top-atmosphere {
  display: none;
}

html[data-theme="dark"] .page-bg::before,
html[data-theme="dark"] .page-bg::after {
  content: none;
}

@keyframes wave-sweep-primary {
  0% {
    transform: translate3d(-2%, 0, 0) scaleX(1.03);
  }

  100% {
    transform: translate3d(2.5%, 0.45rem, 0) scaleX(1.09);
  }
}

@keyframes wave-sweep-secondary {
  0% {
    transform: scaleX(-1) scaleY(0.92) translate3d(1%, 0, 0);
  }

  100% {
    transform: scaleX(-1) scaleY(0.92) translate3d(-2%, 0.4rem, 0);
  }
}


@keyframes hero-flow-trace {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.42;
  }

  50% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -180;
    opacity: 0.52;
  }
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  overflow: clip;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10rem;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.08), transparent 70%);
  pointer-events: none;
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 0.9rem 1.15rem;
  margin-top: 0;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 18px 42px rgba(10, 15, 28, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: background 320ms ease, border-color 320ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  direction: ltr;
}

.brand-lockup {
  display: block;
  width: auto;
  height: 2.8rem;
  max-width: 100%;
}

.brand-lockup-dark {
  display: none;
}

html[data-theme="dark"] .brand-lockup-light {
  display: none;
}

html[data-theme="dark"] .brand-lockup-dark {
  display: block;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-bottom: 0.35rem;
  transition: color 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 4px;
  background: var(--accent-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.lang-picker {
  position: relative;
  min-width: 12.75rem;
}

.lang-picker[open] {
  z-index: 30;
}

.lang-picker-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  gap: 0.75rem;
  min-width: 100%;
  min-height: 2.6rem;
  padding: 0.38rem 0.45rem 0.38rem 0.48rem;
  border-radius: 14px;
  background: rgba(20, 39, 71, 0.04);
  border: 1px solid rgba(20, 39, 71, 0.08);
  color: var(--ink);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.lang-picker-toggle::-webkit-details-marker {
  display: none;
}

.lang-picker-toggle::marker {
  content: "";
}

.lang-picker-toggle:hover,
.lang-picker-toggle:focus-visible,
.lang-picker[open] .lang-picker-toggle {
  background: rgba(79, 134, 198, 0.08);
  border-color: rgba(79, 134, 198, 0.16);
  transform: translateY(-1px);
}

.lang-picker-current {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.lang-picker-label,
.lang-option-label {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
  unicode-bidi: plaintext;
}

.lang-picker-label {
  white-space: nowrap;
}

.lang-picker-caret {
  flex: none;
  color: var(--muted);
  transition: transform 180ms ease, color 180ms ease;
}

.lang-picker[open] .lang-picker-caret {
  transform: rotate(180deg);
  color: var(--ink);
}

.lang-picker-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 40;
  direction: ltr;
  display: none;
  gap: 0.35rem;
  min-width: 100%;
  padding: 0.45rem;
  border-radius: 18px;
  background: var(--panel-gradient-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  pointer-events: auto;
}

.lang-picker[open] .lang-picker-menu {
  display: grid;
}

.lang-option {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.72rem 0.78rem;
  display: inline-flex;
  align-items: center;
  direction: ltr;
  gap: 0.72rem;
  text-align: left;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(20, 39, 71, 0.055);
  border-color: rgba(20, 39, 71, 0.08);
  transform: translateY(-1px);
}

.lang-option.is-active {
  color: #fff;
  background: var(--accent-gradient);
  box-shadow:
    0 10px 18px rgba(10, 15, 28, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.flag-icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 71, 0.08);
  box-shadow:
    0 5px 12px rgba(10, 15, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.flag-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-areas:
    "copy panel"
    "rail rail";
  gap: clamp(2.6rem, 4vw, 4.3rem);
  align-items: center;
  padding: clamp(2.8rem, 4.8vw, 4.7rem) clamp(1.9rem, 4vw, 3.4rem) clamp(2rem, 3.4vw, 3rem);
  border-radius: calc(var(--radius-xl) + 8px);
  border: 1px solid rgba(11, 32, 66, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(243, 248, 255, 0.92)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.08), transparent 22rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  box-shadow:
    0 34px 78px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -4rem -6rem auto -6rem;
  height: 23rem;
  background:
    url("assets/top-wave.svg") center top / 128% 100% no-repeat,
    radial-gradient(circle at 10% 18%, rgba(0, 120, 212, 0.1), transparent 19rem),
    radial-gradient(circle at 88% 12%, rgba(84, 158, 255, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 78%);
  pointer-events: none;
  opacity: 0.96;
  animation: hero-orb-drift 22s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -10rem;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(138, 189, 246, 0.2), rgba(0, 120, 212, 0.04) 46%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  animation: hero-orb-drift 20s ease-in-out infinite alternate-reverse;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  isolation: isolate;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: 0.4rem 0 0.2rem;
  min-width: 0;
}

.hero-copy::before {
  content: none;
}

.hero-copy::after {
  content: none;
}

.hero-intro {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  max-width: 100%;
  padding: 0;
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
}

.hero-copy .eyebrow {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.15rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent-gradient);
  opacity: 0.9;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  line-height: 1.2;
}

h1 {
  max-width: 13.4ch;
  font-size: var(--hero-title-size);
  line-height: 0.98;
  text-wrap: pretty;
}

html[lang="ar"] h1 {
  max-width: 15.8ch;
  font-size: var(--hero-title-size-ar);
  line-height: 1.15;
}

.hero-text,
.section-heading p:last-child {
  max-width: 42rem;
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.68;
  font-weight: 400;
}

.hero-text {
  max-width: 31.5rem;
  margin: 0;
  font-size: clamp(1rem, 1.02vw, 1.08rem);
  line-height: 1.74;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.44rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.2);
  color: var(--ink-strong);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding-inline: 1.2rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--accent-gradient);
  box-shadow:
    0 14px 26px rgba(0, 120, 212, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 253, 0.97));
  border-color: rgba(15, 108, 189, 0.18);
  box-shadow:
    0 8px 18px rgba(10, 15, 28, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html[data-theme="dark"] .btn-secondary {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(28, 34, 41, 0.94), rgba(18, 23, 29, 0.92));
  border-color: rgba(152, 183, 223, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-panel,
.contact-shell {
  display: grid;
  gap: 1rem;
}

.hero-panel {
  grid-area: panel;
  align-content: stretch;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-stage {
  position: relative;
  min-height: 35.5rem;
  padding: 1.65rem;
  border-radius: 34px;
  border: 1px solid rgba(15, 108, 189, 0.11);
  background:
    linear-gradient(152deg, rgba(239, 247, 255, 0.76), rgba(248, 251, 255, 0.46) 42%, rgba(228, 240, 253, 0.8)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.1), transparent 20rem);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
  isolation: isolate;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.4), transparent 34%, rgba(74, 155, 248, 0.06) 56%, transparent 74%),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.92), transparent 17rem),
    radial-gradient(circle at 84% 22%, rgba(0, 120, 212, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 48%);
  pointer-events: none;
  animation: hero-orb-drift 16s ease-in-out infinite alternate;
}

.hero-stage::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(125, 180, 248, 0.22), rgba(125, 180, 248, 0.04) 56%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  animation: hero-orb-drift 18s ease-in-out infinite alternate-reverse;
}

.hero-stage > * {
  position: relative;
  z-index: 1;
}

.hero-stage-header {
  position: absolute;
  top: 1.55rem;
  left: 1.65rem;
  z-index: 3;
  display: grid;
  gap: 0.62rem;
  width: min(100%, 17.5rem);
}

html[dir="rtl"] .hero-stage-header {
  left: auto;
  right: 1.65rem;
  text-align: right;
}

.hero-wave-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-wave-orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(157, 206, 255, 0.34), rgba(157, 206, 255, 0.02) 62%, transparent 76%);
  filter: blur(18px);
  opacity: 0.52;
  animation: hero-orb-drift 14s ease-in-out infinite alternate;
}

.hero-wave-orb-one {
  top: 8%;
  left: 28%;
  width: 13rem;
  height: 13rem;
}

.hero-wave-orb-two {
  top: 34%;
  right: 20%;
  width: 17rem;
  height: 17rem;
  animation-delay: -6s;
}

.hero-wave-orb-three {
  bottom: 10%;
  left: 20%;
  width: 16rem;
  height: 16rem;
  opacity: 0.42;
  animation-delay: -10s;
}

.hero-system-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-architecture-lines {
  position: absolute;
  inset: 3rem 1rem 3rem;
  width: calc(100% - 2rem);
  height: calc(100% - 6rem);
}

.hero-flow-band {
  fill: none;
  opacity: 0.34;
  filter: drop-shadow(0 0 14px rgba(78, 155, 248, 0.1));
  transform-origin: center;
  animation: hero-band-breathe 9s ease-in-out infinite alternate;
}

.hero-flow-band-in-two,
.hero-flow-band-out-one {
  animation-delay: -2s;
}

.hero-flow-band-out-two {
  animation-delay: -4s;
}

.hero-route {
  fill: none;
  stroke-dasharray: 12 18;
  animation: hero-flow-trace 18s linear infinite;
  opacity: 0.22;
}

.hero-route-in-one {
  animation-duration: 17s;
}

.hero-route-in-two {
  animation-duration: 19s;
  animation-direction: reverse;
}

.hero-route-out-one {
  animation-duration: 16s;
}

.hero-route-out-two {
  animation-duration: 20s;
  animation-direction: reverse;
}


@keyframes hero-core-sweep {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(140%);
  }
}

@keyframes hero-band-breathe {
  0% {
    opacity: 0.28;
  }

  100% {
    opacity: 0.54;
  }
}

@keyframes hero-orb-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(0.96);
  }

  100% {
    transform: translate3d(3%, 2%, 0) scale(1.06);
  }
}

@keyframes hero-card-float {
  0% {
    transform: translate3d(0, 0, 0);
  }

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

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

@keyframes hero-core-pulse {
  0% {
    opacity: 0.26;
    transform: scale(0.92);
  }

  100% {
    opacity: 0.58;
    transform: scale(1.08);
  }
}

.hero-route-packet {
  fill: rgba(255, 255, 255, 0.98);
  filter: drop-shadow(0 0 10px rgba(93, 164, 255, 0.42));
}


.hero-node-card {
  position: absolute;
  width: 7.1rem;
  padding: 0.78rem 0.84rem 0.74rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at top right, rgba(78, 155, 248, 0.14), transparent 62%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  z-index: 2;
  display: grid;
  gap: 0.34rem;
  opacity: 0.66;
  transition:
    opacity 320ms ease,
    transform 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease,
    background 320ms ease;
}

.hero-node-card-one {
  top: 7.2rem;
  left: 1.4rem;
}

.hero-node-card-two {
  left: 2rem;
  bottom: 7rem;
  animation-delay: -3.2s;
}

.hero-node-card-three {
  top: 8.1rem;
  right: 1.6rem;
  animation-delay: -1.6s;
}

.hero-node-card-four {
  right: 2rem;
  bottom: 6.8rem;
  animation-delay: -4.8s;
}

.hero-node-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 32%, #ffffff, rgba(78, 155, 248, 0.86) 68%);
  box-shadow: 0 0 0 5px rgba(78, 155, 248, 0.12);
}

.hero-node-label {
  color: var(--ink-strong);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-core-assembly {
  position: absolute;
  top: 52%;
  left: 54%;
  width: 16rem;
  height: 10rem;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-core-aura {
  position: absolute;
  inset: 0.4rem 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(130, 193, 255, 0.34), rgba(130, 193, 255, 0.06) 58%, transparent 76%);
  filter: blur(18px);
  animation: hero-core-pulse 5.8s ease-in-out infinite alternate;
}

.hero-system-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-system-title {
  color: var(--ink-strong);
  max-width: 16ch;
  font-size: clamp(1.08rem, 1.58vw, 1.34rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-core-stack {
  position: absolute;
  inset: 1rem 0 0;
}

.hero-core-plane {
  position: absolute;
  left: 50%;
  height: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(78, 155, 248, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(222, 240, 255, 0.28)),
    radial-gradient(circle at top right, rgba(78, 155, 248, 0.14), transparent 66%);
  box-shadow:
    0 18px 30px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transform: translateX(-50%) skewX(-18deg);
  overflow: hidden;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.hero-core-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.72) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: hero-core-sweep 7s linear infinite;
  opacity: 0.54;
}

.hero-core-plane-one {
  top: 0.6rem;
  width: 8.7rem;
}

.hero-core-plane-two {
  top: 3rem;
  width: 10.6rem;
  animation-delay: -0.8s;
}

.hero-core-plane-three {
  top: 5.5rem;
  width: 12.6rem;
  animation-delay: -1.6s;
}

.hero-system-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-system-stage {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0 0 0.16rem;
  border: 0;
  border-bottom: 1.5px solid transparent;
  background: none;
  color: rgba(86, 101, 125, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stage[data-hero-state="connect"] .hero-core-assembly {
  transform: translate(-50%, -50%) scale(1.04);
}

.hero-stage[data-hero-state="design"] .hero-core-plane-one,
.hero-stage[data-hero-state="connect"] .hero-core-plane-two,
.hero-stage[data-hero-state="operate"] .hero-core-plane-three {
  border-color: rgba(78, 155, 248, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(214, 234, 255, 0.36)),
    radial-gradient(circle at top right, rgba(78, 155, 248, 0.24), transparent 68%);
  box-shadow:
    0 14px 26px rgba(15, 23, 42, 0.1),
    0 0 16px rgba(78, 155, 248, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.hero-stage[data-hero-state="design"] .hero-node-card-in,
.hero-stage[data-hero-state="operate"] .hero-node-card-out,
.hero-stage[data-hero-state="connect"] .hero-node-card {
  opacity: 1;
  transform: translateY(-4px);
  border-color: rgba(78, 155, 248, 0.24);
  box-shadow:
    0 22px 40px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.hero-stage[data-hero-state="design"] .hero-system-stage-one,
.hero-stage[data-hero-state="connect"] .hero-system-stage-two,
.hero-stage[data-hero-state="operate"] .hero-system-stage-three {
  color: var(--ink-strong);
  border-bottom-color: rgba(78, 155, 248, 0.52);
}

.hero-stage[data-hero-state="design"] .hero-flow-band-in,
.hero-stage[data-hero-state="design"] .hero-route-in,
.hero-stage[data-hero-state="operate"] .hero-flow-band-out,
.hero-stage[data-hero-state="operate"] .hero-route-out {
  opacity: 1;
}

.hero-stage[data-hero-state="connect"] .hero-flow-band,
.hero-stage[data-hero-state="connect"] .hero-route {
  opacity: 1;
}



.hero-stage-badges {
  position: absolute;
  left: 1.65rem;
  right: 1.65rem;
  bottom: 1.35rem;
  z-index: 3;
  gap: 1.25rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

html[dir="rtl"] .hero-stage-badges {
  direction: rtl;
}

.hero-stage-badges li {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(86, 101, 125, 0.9);
  font-size: 0.77rem;
  font-weight: 600;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-stage-badges li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(78, 155, 248, 0.28);
  box-shadow: 0 0 0 4px rgba(78, 155, 248, 0.08);
  transition: background 260ms ease, box-shadow 260ms ease;
}

.hero-stage[data-hero-state="design"] .hero-stage-badges li:nth-child(1),
.hero-stage[data-hero-state="design"] .hero-stage-badges li:nth-child(3),
.hero-stage[data-hero-state="connect"] .hero-stage-badges li:nth-child(2),
.hero-stage[data-hero-state="operate"] .hero-stage-badges li:nth-child(4) {
  color: var(--ink-strong);
}

.hero-stage[data-hero-state="design"] .hero-stage-badges li:nth-child(1)::before,
.hero-stage[data-hero-state="design"] .hero-stage-badges li:nth-child(3)::before,
.hero-stage[data-hero-state="connect"] .hero-stage-badges li:nth-child(2)::before,
.hero-stage[data-hero-state="operate"] .hero-stage-badges li:nth-child(4)::before {
  background: rgba(78, 155, 248, 0.9);
  box-shadow: 0 0 0 5px rgba(78, 155, 248, 0.12);
}

/* Anchor glow dots at route endpoints */
.hero-anchor {
  fill: rgba(78, 155, 248, 0.6);
  opacity: 0.5;
  transition: opacity 400ms ease;
}

.hero-stage[data-hero-state="design"] .hero-anchor-in,
.hero-stage[data-hero-state="operate"] .hero-anchor-out {
  opacity: 1;
  fill: rgba(120, 190, 255, 0.9);
}

.hero-stage[data-hero-state="connect"] .hero-anchor {
  opacity: 1;
  fill: rgba(120, 190, 255, 0.9);
}

/* State transition pulse */
.hero-core-assembly,
.hero-node-card,
.hero-system-stage {
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms ease,
    background 420ms ease,
    box-shadow 420ms ease,
    color 420ms ease;
}

.hero-route {
  transition: opacity 420ms ease;
}

.hero-rail {
  grid-area: rail;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 0.2rem;
}

.hero-float {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.2rem;
  padding: 1.2rem 1.15rem 1.25rem;
  border-radius: 22px;
}

.hero-float::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(79, 134, 198, 0.12), rgba(79, 134, 198, 0.04) 42%, transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 30%);
}

.hero-float > * {
  position: relative;
  z-index: 1;
}

.panel-card,
.service-card,
.highlight-card,
.sector-card,
.timeline-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-gradient);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transition:
    transform 180ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 320ms ease;
}

.panel-card:hover,
.service-card:hover,
.highlight-card:hover,
.sector-card:hover,
.timeline-step:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow:
    0 18px 34px rgba(5, 10, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.panel-card {
  position: relative;
  overflow: hidden;
  padding: var(--surface-padding);
}

.panel-card-wide {
  position: relative;
  overflow: hidden;
  background: var(--surface-accent);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  box-shadow: 0 30px 68px rgba(4, 8, 16, 0.24);
}

.panel-card-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 24%),
    radial-gradient(circle at bottom left, rgba(120, 180, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    linear-gradient(145deg, rgba(84, 158, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.panel-card-wide > * {
  position: relative;
  z-index: 1;
}

.panel-head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.panel-kicker,
.contact-label {
  color: var(--accent-kicker);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.panel-card-wide .panel-kicker,
.contact-card .panel-kicker,
.contact-card .contact-label {
  color: var(--accent-warm-soft);
}

.panel-card-wide h2,
.panel-card-wide h3,
.contact-card h3 {
  color: var(--paper);
}

.panel-card-wide h2 {
  font-size: var(--text-panel-title);
  letter-spacing: -0.035em;
  max-width: 13.5ch;
}

.feature-list,
.value-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.feature-list li,
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-list li::before,
.value-list li::before {
  content: "";
  width: 0.78rem;
  height: 0.78rem;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ecf6ff, var(--accent-warm) 68%);
  box-shadow: 0 0 0 5px rgba(120, 180, 255, 0.12);
}

.panel-card-wide .feature-list li span,
.contact-card .value-list li span {
  color: rgba(245, 241, 232, 0.88);
  font-size: var(--text-body-sm);
}

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

.metric-card {
  position: relative;
  min-height: 8rem;
  padding: 1rem 1rem 1.1rem;
  background: var(--panel-gradient-strong);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.metric-label {
  display: block;
  color: var(--accent-kicker);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.metrics-grid .metric-card:last-child {
  grid-column: 1 / -1;
  min-height: 0;
}

.metric-value {
  display: block;
  margin-top: 0.6rem;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.section-capabilities {
  padding-top: 1rem;
}

.capabilities-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(1.5rem, 3vw, 2.9rem);
  align-items: start;
}

.capabilities-heading {
  margin-bottom: 0;
  max-width: 34rem;
}

.capabilities-panel {
  position: relative;
  padding: 1.35rem 1.55rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 254, 0.96)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.05), transparent 16rem);
  box-shadow:
    0 20px 42px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.capabilities-panel::before {
  content: "";
  position: absolute;
  inset: -4rem -10% auto;
  height: 11rem;
  background: url("assets/top-wave.svg") center top / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.capabilities-panel .feature-list {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.35rem;
}

.capabilities-panel .feature-list li {
  padding: 1rem 0 0.95rem;
  border-top: 1px solid rgba(11, 32, 66, 0.08);
}

.capabilities-panel .feature-list li span {
  color: var(--muted);
  font-size: var(--text-body-sm);
  line-height: 1.68;
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: 3rem 4.15rem;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: var(--section-alt-bg);
  border: 1px solid var(--section-alt-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 36px rgba(10, 15, 28, 0.03);
}

.section-alt::after {
  content: none;
}

html[data-theme="light"] .site-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 253, 0.95));
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .lang-picker-toggle,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .motion-toggle {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(20, 31, 47, 0.08);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .lang-picker-menu {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 247, 252, 0.97));
  border-color: rgba(20, 31, 47, 0.08);
  box-shadow:
    0 18px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .lang-option:hover,
html[data-theme="light"] .lang-option:focus-visible {
  background: rgba(54, 74, 108, 0.05);
  border-color: rgba(20, 31, 47, 0.08);
}

html[data-theme="light"] .lang-picker-toggle:hover,
html[data-theme="light"] .lang-picker-toggle:focus-visible,
html[data-theme="light"] .lang-picker[open] .lang-picker-toggle,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible,
html[data-theme="light"] .motion-toggle:hover,
html[data-theme="light"] .motion-toggle:focus-visible {
  background: rgba(79, 134, 198, 0.08);
  border-color: rgba(79, 134, 198, 0.16);
}

html[data-theme="light"] .hero-copy::before {
  content: none;
}

html[data-theme="light"] .hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 249, 255, 0.92)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.08), transparent 22rem);
  border-color: rgba(15, 108, 189, 0.08);
  box-shadow:
    0 32px 72px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .hero::before {
  background:
    url("assets/top-wave.svg") center -0.5rem / 130% 11rem no-repeat,
    radial-gradient(circle at 10% 16%, rgba(0, 120, 212, 0.1), transparent 19rem),
    radial-gradient(circle at 90% 12%, rgba(84, 158, 255, 0.14), transparent 21rem),
    radial-gradient(circle at 72% 88%, rgba(0, 120, 212, 0.08), transparent 19rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26rem);
}

html[data-theme="light"] .hero-stage {
  background:
    linear-gradient(155deg, rgba(238, 247, 255, 0.82), rgba(249, 252, 255, 0.56) 42%, rgba(228, 240, 253, 0.84)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.1), transparent 18rem);
  border-color: rgba(15, 108, 189, 0.11);
  box-shadow:
    0 30px 72px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .hero-node-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at top right, rgba(78, 155, 248, 0.12), transparent 62%);
}

html[data-theme="light"] .hero-core-aura {
  background:
    radial-gradient(circle at 50% 50%, rgba(140, 200, 255, 0.32), rgba(140, 200, 255, 0.05) 58%, transparent 76%);
}

html[data-theme="light"] .hero-float {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 253, 0.97)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.06), transparent 14rem);
  border-color: rgba(15, 108, 189, 0.1);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .capabilities-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 254, 0.97)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.05), transparent 18rem);
  border-color: rgba(11, 32, 66, 0.08);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .btn-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 253, 0.98));
  border-color: rgba(11, 32, 66, 0.12);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn-secondary:focus-visible {
  border-color: rgba(0, 120, 212, 0.24);
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .panel-card:not(.panel-card-wide):not(.contact-card),
html[data-theme="light"] .service-card,
html[data-theme="light"] .highlight-card,
html[data-theme="light"] .sector-card,
html[data-theme="light"] .timeline-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(246, 249, 252, 0.98));
  border-color: rgba(20, 31, 47, 0.08);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .panel-card:not(.panel-card-wide):not(.contact-card):hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .highlight-card:hover,
html[data-theme="light"] .sector-card:hover,
html[data-theme="light"] .timeline-step:hover {
  border-color: rgba(0, 120, 212, 0.22);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .metric-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(241, 246, 252, 0.99));
}

html[data-theme="light"] .section {
  padding-inline: 1.45rem;
}

html[data-theme="light"] .section-alt {
  padding-inline: 1.45rem;
}

html[data-theme="light"] .section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 251, 254, 0.99)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.05), transparent 22rem);
  border: 1px solid rgba(11, 32, 66, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 42px rgba(15, 23, 42, 0.045);
}

html[data-theme="light"] .section-alt::before {
  background:
    linear-gradient(180deg, rgba(236, 244, 253, 0.99), rgba(228, 237, 249, 1)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.1), transparent 20rem);
  border-color: rgba(15, 108, 189, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 42px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .card-index {
  border-color: rgba(15, 108, 189, 0.16);
  background: linear-gradient(180deg, rgba(240, 247, 255, 1), rgba(222, 238, 255, 0.78));
  box-shadow:
    0 8px 16px rgba(10, 15, 28, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .card-icon {
  border-color: rgba(20, 31, 47, 0.08);
  background: linear-gradient(160deg, rgba(0, 120, 212, 0.1), rgba(124, 185, 255, 0.18));
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .panel-card-wide,
html[data-theme="light"] .contact-card {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.99), rgba(239, 246, 253, 0.98)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.08), transparent 18rem);
  border-color: rgba(15, 108, 189, 0.1);
  color: var(--ink);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .panel-card-wide::before,
html[data-theme="light"] .contact-card::before {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.58), transparent 24%),
    radial-gradient(circle at bottom left, rgba(0, 120, 212, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 30%);
}

html[data-theme="light"] .panel-card-wide .panel-kicker,
html[data-theme="light"] .contact-card .panel-kicker,
html[data-theme="light"] .contact-card .contact-label {
  color: var(--accent-kicker);
}

html[data-theme="light"] .panel-card-wide h2,
html[data-theme="light"] .panel-card-wide h3,
html[data-theme="light"] .contact-card h3,
html[data-theme="light"] .contact-card .contact-meta strong {
  color: var(--ink-strong);
}

html[data-theme="light"] .panel-card-wide .feature-list li span,
html[data-theme="light"] .contact-card .value-list li span {
  color: var(--muted);
}

html[data-theme="light"] .panel-card-wide .feature-list li::before,
html[data-theme="light"] .contact-card .value-list li::before {
  background: radial-gradient(circle at 32% 32%, #eef7ff, var(--accent-warm) 68%);
  box-shadow: 0 0 0 5px rgba(79, 134, 198, 0.12);
}

html[data-theme="light"] .contact-card .contact-meta {
  border-bottom-color: rgba(15, 108, 189, 0.14);
}

html[data-theme="light"] .contact-direct-list a {
  border-bottom-color: rgba(79, 134, 198, 0.34);
}

html[data-theme="light"] .timeline::before {
  background: linear-gradient(90deg, rgba(79, 134, 198, 0.08), rgba(79, 134, 198, 0.42) 20%, rgba(79, 134, 198, 0.42) 80%, rgba(79, 134, 198, 0.08));
}

html[data-theme="light"][dir="rtl"] .timeline::before {
  background: linear-gradient(270deg, rgba(79, 134, 198, 0.08), rgba(79, 134, 198, 0.42) 20%, rgba(79, 134, 198, 0.42) 80%, rgba(79, 134, 198, 0.08));
}

html[data-theme="light"] .timeline-step::before {
  box-shadow:
    0 10px 22px rgba(10, 15, 28, 0.24),
    0 0 0 4px rgba(79, 134, 198, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  max-width: 46rem;
  margin-bottom: 2.35rem;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: var(--section-title-size);
  line-height: 1.12;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.service-card,
.highlight-card,
.sector-card,
.timeline-step {
  position: relative;
  padding: var(--surface-padding);
  overflow: hidden;
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.service-card strong,
.highlight-card strong,
.sector-card strong,
.timeline-step strong {
  display: block;
  margin: 0;
  padding-top: 0.08rem;
  font-size: var(--text-card-title);
  letter-spacing: -0.03em;
  line-height: 1.32;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid rgba(20, 39, 71, 0.1);
  background:
    linear-gradient(180deg, rgba(79, 134, 198, 0.14), rgba(79, 134, 198, 0.05));
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.service-card p,
.highlight-card p,
.sector-card p,
.timeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-body-sm);
  line-height: 1.65;
}

.highlight-card .card-icon {
  background: linear-gradient(160deg, rgba(29, 77, 134, 0.07), rgba(120, 180, 255, 0.16));
}

.contact-section {
  padding-bottom: 3.5rem;
}

.contact-shell {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: stretch;
}

.contact-card {
  display: grid;
  gap: 1.4rem;
  background: var(--surface-accent);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  box-shadow: 0 36px 78px rgba(6, 12, 24, 0.24);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-meta strong {
  display: block;
  margin-top: 0.45rem;
  font-size: var(--text-card-title);
  letter-spacing: -0.02em;
}

.site-footer {
  padding: 1.25rem 0 3rem;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  color: var(--muted);
  font-size: var(--text-body-sm);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .panel-kicker,
html[lang="ar"] .contact-label,
html[lang="ar"] .metric-label {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .main-nav,
html[dir="rtl"] .feature-list li,
html[dir="rtl"] .value-list li {
  direction: rtl;
}

html[dir="rtl"] .hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-areas:
    "panel copy"
    "rail rail";
}

html[dir="rtl"] .brand {
  direction: ltr;
}

html[dir="rtl"] .main-nav a::after {
  transform-origin: right;
}

html[dir="rtl"] .eyebrow {
  flex-direction: row;
}

html[dir="rtl"] .section-heading {
  max-width: 46rem;
}

html[dir="rtl"] .hero-stage-badges {
  justify-content: flex-end;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: top 180ms ease;
}

.skip-link:focus-visible {
  top: 1rem;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle,
.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  background: rgba(20, 39, 71, 0.04);
  border: 1px solid rgba(20, 39, 71, 0.08);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.motion-toggle:hover,
.motion-toggle:focus-visible {
  background: rgba(79, 134, 198, 0.1);
  border-color: rgba(79, 134, 198, 0.18);
  transform: translateY(-1px);
}

.theme-icon {
  display: block;
}

.theme-icon-moon {
  display: none;
}

.motion-icon {
  display: block;
}

.motion-icon-play {
  display: none;
}

html[data-motion="paused"] .motion-icon-pause {
  display: none;
}

html[data-motion="paused"] .motion-icon-play {
  display: block;
}

html[data-theme="dark"] .lang-picker-toggle {
  background: rgba(132, 172, 217, 0.08);
  border-color: rgba(210, 223, 242, 0.14);
  color: var(--ink);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .lang-picker-menu {
  background: linear-gradient(180deg, rgba(24, 31, 39, 0.98), rgba(16, 21, 27, 0.96));
  border-color: rgba(210, 223, 242, 0.1);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .lang-picker-caret {
  color: var(--accent-warm-soft);
}

html[data-theme="dark"] .lang-option:hover,
html[data-theme="dark"] .lang-option:focus-visible {
  background: rgba(200, 215, 240, 0.06);
  border-color: rgba(200, 215, 240, 0.12);
}

html[data-theme="dark"] .flag-icon {
  border-color: rgba(200, 215, 240, 0.12);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .motion-toggle {
  background: rgba(132, 172, 217, 0.08);
  border-color: rgba(132, 172, 217, 0.14);
  color: var(--accent-warm-soft);
}

html[data-theme="dark"] .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: block;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(29, 77, 134, 0.08), rgba(120, 180, 255, 0.14));
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] .card-icon {
  color: var(--accent-warm-soft);
  background: linear-gradient(160deg, rgba(58, 89, 127, 0.18), rgba(132, 172, 217, 0.12));
  border-color: rgba(152, 183, 223, 0.12);
}

html[data-theme="dark"] .hero-badges li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(210, 223, 242, 0.12);
  color: var(--ink);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .hero {
  background:
    linear-gradient(180deg, rgba(17, 23, 30, 0.82), rgba(12, 18, 24, 0.9)),
    radial-gradient(circle at top right, rgba(58, 104, 164, 0.14), transparent 20rem);
  border-color: rgba(210, 223, 242, 0.08);
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .hero-stage {
  background:
    linear-gradient(155deg, rgba(20, 27, 35, 0.9), rgba(14, 20, 27, 0.95) 48%, rgba(17, 24, 33, 0.98)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.14), transparent 18rem);
  border-color: rgba(210, 223, 242, 0.08);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .hero-stage::before {
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.04) 0 42%, rgba(58, 104, 164, 0.12) 42%, rgba(84, 158, 255, 0.14) 60%, rgba(255, 255, 255, 0.03) 67%, transparent 82%),
    radial-gradient(circle at 14% 16%, rgba(152, 183, 223, 0.08), transparent 15rem),
    radial-gradient(circle at 18% 84%, rgba(58, 104, 164, 0.1), transparent 18rem);
}

html[data-theme="dark"] .hero-stage::after {
  background: radial-gradient(circle, rgba(152, 183, 223, 0.1), rgba(152, 183, 223, 0));
}

html[data-theme="dark"] .hero-node-card {
  border-color: rgba(210, 223, 242, 0.12);
  background:
    linear-gradient(180deg, rgba(22, 29, 37, 0.64), rgba(13, 19, 25, 0.42)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.16), transparent 62%);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .hero-node-line {
  background: linear-gradient(90deg, rgba(232, 240, 251, 0.84), rgba(152, 183, 223, 0.28));
}

html[data-theme="dark"] .hero-core-aura {
  background:
    radial-gradient(circle at 50% 50%, rgba(120, 170, 240, 0.22), rgba(120, 170, 240, 0.04) 58%, transparent 76%);
}

html[data-theme="dark"] .hero-system-kicker {
  color: var(--accent-warm-soft);
}

html[data-theme="dark"] .hero-system-title {
  color: var(--ink);
}

html[data-theme="dark"] .hero-system-stage {
  color: var(--accent-soft);
  border-bottom-color: transparent;
}

html[data-theme="dark"] .hero-stage[data-hero-state="design"] .hero-system-stage-one,
html[data-theme="dark"] .hero-stage[data-hero-state="connect"] .hero-system-stage-two,
html[data-theme="dark"] .hero-stage[data-hero-state="operate"] .hero-system-stage-three {
  color: #fff;
  border-bottom-color: rgba(120, 170, 240, 0.44);
  box-shadow: none;
}

html[data-theme="dark"] .hero-stage-badges li {
  color: rgba(150, 165, 185, 0.92);
}

html[data-theme="dark"] .hero-stage-badges li::before {
  background: rgba(120, 170, 240, 0.28);
  box-shadow: 0 0 0 4px rgba(120, 170, 240, 0.08);
}

html[data-theme="dark"] .hero-stage[data-hero-state="design"] .hero-stage-badges li:nth-child(1),
html[data-theme="dark"] .hero-stage[data-hero-state="design"] .hero-stage-badges li:nth-child(2),
html[data-theme="dark"] .hero-stage[data-hero-state="connect"] .hero-stage-badges li:nth-child(3),
html[data-theme="dark"] .hero-stage[data-hero-state="operate"] .hero-stage-badges li:nth-child(4) {
  color: #fff;
}

html[data-theme="dark"] .hero-stage[data-hero-state="design"] .hero-stage-badges li:nth-child(1)::before,
html[data-theme="dark"] .hero-stage[data-hero-state="design"] .hero-stage-badges li:nth-child(2)::before,
html[data-theme="dark"] .hero-stage[data-hero-state="connect"] .hero-stage-badges li:nth-child(3)::before,
html[data-theme="dark"] .hero-stage[data-hero-state="operate"] .hero-stage-badges li:nth-child(4)::before {
  background: rgba(120, 170, 240, 0.92);
  box-shadow: 0 0 0 5px rgba(120, 170, 240, 0.1);
}

html[data-theme="dark"] .hero-float {
  background:
    linear-gradient(180deg, rgba(19, 26, 34, 0.96), rgba(14, 20, 27, 0.98)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.08), transparent 12rem);
  border-color: rgba(210, 223, 242, 0.1);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .capabilities-panel {
  background:
    linear-gradient(180deg, rgba(18, 24, 31, 0.86), rgba(13, 18, 24, 0.92)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.08), transparent 18rem);
  border-color: rgba(210, 223, 242, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .capabilities-panel .feature-list li {
  border-top-color: rgba(210, 223, 242, 0.08);
}

.card-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  counter-reset: step;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(79, 134, 198, 0.08), rgba(79, 134, 198, 0.48) 20%, rgba(79, 134, 198, 0.48) 80%, rgba(79, 134, 198, 0.08));
  border-radius: 999px;
  pointer-events: none;
}

html[dir="rtl"] .timeline::before {
  background: linear-gradient(270deg, rgba(79, 134, 198, 0.08), rgba(79, 134, 198, 0.48) 20%, rgba(79, 134, 198, 0.48) 80%, rgba(79, 134, 198, 0.08));
}

.timeline-step {
  counter-increment: step;
  position: relative;
  padding: 3.2rem 1.2rem 1.35rem;
  display: grid;
  gap: 0.55rem;
  text-align: center;
  min-height: auto;
  align-content: start;
}

.timeline-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow:
    0 10px 22px rgba(10, 15, 28, 0.24),
    0 0 0 4px rgba(79, 134, 198, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.timeline-step strong {
  text-align: center;
}

.timeline-step p {
  text-align: center;
}

.contact-direct {
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.contact-direct-label {
  margin: 0 0 0.6rem;
  color: var(--accent-kicker);
  font-size: var(--text-label);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[lang="ar"] .contact-direct-label {
  letter-spacing: 0;
  text-transform: none;
}

.contact-direct-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.contact-direct-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-direct-key {
  color: var(--muted);
  font-size: var(--text-body-sm);
  font-weight: 600;
  min-width: 4.5rem;
}

.contact-direct-value,
.contact-direct-list a {
  color: var(--accent);
  font-weight: 700;
}

.contact-direct-value {
  user-select: all;
}

.contact-direct-list a {
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 134, 198, 0.42);
  padding-bottom: 1px;
}

.contact-direct-list a:hover,
.contact-direct-list a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--accent-warm);
}

html[data-theme="dark"] .contact-direct-list a {
  color: var(--accent-warm-soft);
}

html[data-theme="dark"] .contact-direct-value {
  color: var(--accent-warm-soft);
}

html[data-theme="dark"] .contact-direct-list a:hover,
html[data-theme="dark"] .contact-direct-list a:focus-visible {
  color: #fff;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "panel"
      "rail";
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .capabilities-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    padding: 1.8rem;
  }

  .hero-copy {
    padding: 0.1rem 0 0;
  }

  .hero-stage {
    min-height: 31rem;
    padding: 1.25rem;
  }

  .hero-stage-header {
    top: 1.3rem;
    left: 1.3rem;
    width: min(100%, 16.25rem);
  }

  html[dir="rtl"] .hero-stage-header {
    right: 1.3rem;
  }

  .hero-node-card {
    width: 6.35rem;
  }

  .hero-node-card-one {
    left: 1rem;
  }

  .hero-node-card-two {
    left: 1.5rem;
  }

  .hero-node-card-three {
    right: 1.2rem;
  }

  .hero-node-card-four {
    right: 1.5rem;
  }

  .hero-core-assembly {
    width: 14.6rem;
    height: 9.2rem;
  }

  .hero-stage-badges {
    left: 1.3rem;
    right: 1.3rem;
    bottom: 1.1rem;
    gap: 1rem;
  }

  .hero-rail {
    margin-top: 0;
  }

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

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

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

  .timeline::before {
    display: none;
  }
}

@media (max-width: 840px) {
  .site-header {
    position: static;
    display: grid;
    justify-items: start;
    border-radius: 22px;
    min-height: auto;
    padding: 0.95rem 1rem;
  }

  .header-actions {
    position: relative;
    z-index: 30;
    overflow: visible;
    isolation: isolate;
    width: 100%;
    justify-content: space-between;
  }

  .brand-lockup {
    height: 2.45rem;
  }

  .main-nav {
    gap: 0.9rem 1rem;
  }

  .hero-copy .eyebrow {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.65rem;
  }

  .hero {
    gap: 1.45rem;
    padding: 1.15rem;
  }

  .hero-copy {
    padding: 0.1rem 0;
  }

  .hero-stage {
    min-height: 25.25rem;
    padding: 1rem;
  }

  .hero-stage-header {
    top: 1rem;
    left: 1rem;
    width: min(100%, 14rem);
    gap: 0.52rem;
  }

  html[dir="rtl"] .hero-stage-header {
    right: 1rem;
  }

  .hero-architecture-lines {
    inset: 3.3rem 0.8rem 2.8rem;
    width: calc(100% - 1.6rem);
    height: calc(100% - 6.1rem);
  }

  .hero-node-card {
    width: 5.25rem;
    padding: 0.62rem 0.68rem 0.58rem;
    border-radius: 16px;
  }

  .hero-node-card-two,
  .hero-node-card-four {
    display: none;
  }

  .hero-node-card-one {
    top: 6.1rem;
    left: 0.8rem;
  }

  .hero-node-card-three {
    top: 6.5rem;
    right: 0.9rem;
  }

  .hero-core-assembly {
    width: 12.6rem;
    height: 8rem;
  }

  .hero-core-plane-one {
    width: 7.2rem;
    top: 0.5rem;
  }

  .hero-core-plane-two {
    top: 2.35rem;
    width: 8.9rem;
  }

  .hero-core-plane-three {
    top: 4.45rem;
    width: 10.5rem;
  }

  .hero-system-stages {
    gap: 0.62rem;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

  .hero-stage-badges {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    gap: 0.8rem 0.9rem;
  }

  .hero-stage-badges li {
    font-size: 0.72rem;
  }

  .capabilities-panel .feature-list {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .why-grid,
  .sectors-grid,
  .timeline,
  .metrics-grid,
  .contact-meta {
    grid-template-columns: 1fr;
  }

  .section-alt::after {
    content: none;
  }

  html[data-theme="light"] .section {
    padding-inline: 1rem;
  }
}

@media (max-width: 840px) {
  html[dir="rtl"] .hero-copy .eyebrow {
    grid-template-columns: auto minmax(0, 1fr);
  }

  html[dir="rtl"] .hero-copy .eyebrow::before {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 72px;
    --hero-title-size: clamp(1.74rem, 6.8vw, 2.25rem);
    --hero-title-size-ar: clamp(1.68rem, 6.6vw, 2.12rem);
    --section-title-size: clamp(1.34rem, 5.8vw, 1.72rem);
    --surface-padding: 1.15rem;
    --text-label: 0.82rem;
    --text-body-lg: 0.98rem;
    --text-body: 0.96rem;
    --text-body-sm: 0.88rem;
    --text-card-title: 1rem;
    --text-panel-title: 1.16rem;
    --text-stat: 1.06rem;
  }

  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  .site-header {
    gap: 0.8rem;
    border-radius: 18px;
  }

  .brand-lockup {
    height: 2.15rem;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.7rem 0.95rem;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .lang-picker {
    flex: 1 1 auto;
    min-width: 0;
    position: static;
  }

  .lang-picker-toggle {
    width: 100%;
  }

  .lang-picker-menu {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  h1,
  .section-heading h2 {
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 0.35rem;
    gap: 0.65rem;
  }

  .eyebrow::before {
    width: 1.8rem;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-badges {
    gap: 0.55rem;
  }

  .hero-stage {
    min-height: 21.75rem;
    padding: 0.9rem;
  }

  .hero-stage-header {
    top: 0.9rem;
    left: 0.9rem;
    width: min(100%, 12.75rem);
    gap: 0.44rem;
  }

  html[dir="rtl"] .hero-stage-header {
    right: 0.9rem;
  }

  .hero-architecture-lines {
    inset: 3.1rem 0.5rem 2.35rem;
    width: calc(100% - 1rem);
    height: calc(100% - 5.45rem);
  }

  .hero-node-card {
    display: none;
  }

  .hero-system-kicker {
    font-size: 0.72rem;
  }

  .hero-system-title {
    font-size: 0.96rem;
    max-width: 14ch;
  }

  .hero-core-assembly {
    width: 10.6rem;
    height: 6.9rem;
  }

  .hero-core-plane {
    height: 1.04rem;
    border-radius: 14px;
  }

  .hero-core-plane-one {
    top: 0.45rem;
    width: 5.8rem;
  }

  .hero-core-plane-two {
    top: 1.95rem;
    width: 7.1rem;
  }

  .hero-core-plane-three {
    top: 3.6rem;
    width: 8.4rem;
  }

  .hero-system-stage {
    min-height: auto;
    padding: 0 0 0.1rem;
    font-size: 0.69rem;
  }

  .hero-stage-badges {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.85rem;
    gap: 0.68rem 0.78rem;
  }

  .hero-stage-badges li {
    font-size: 0.66rem;
  }

  .btn {
    width: 100%;
  }

  .hero-badges li {
    font-size: 0.78rem;
    padding: 0.4rem 0.78rem;
  }

  .capabilities-panel {
    padding: 1.15rem 1.05rem;
  }

  .section {
    padding-block: 1.6rem 2.2rem;
  }

  html[data-theme="light"] .section {
    padding-inline: 0.9rem;
  }

}

@media (max-width: 400px) {
  :root {
    --hero-title-size: clamp(1.52rem, 8vw, 1.9rem);
    --hero-title-size-ar: clamp(1.48rem, 7.8vw, 1.86rem);
    --section-title-size: clamp(1.26rem, 6.8vw, 1.56rem);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-core-assembly,
  .hero-node-card,
  .hero-architecture-lines,
  .hero-stage-badges,
  .hero-wave-orb {
    opacity: 1;
    transform: none;
  }
}


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

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.3rem;
}

.contact-actions .btn {
  flex: 1 1 15rem;
}

.contact-direct-list li[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .focus-grid,
  .services-grid,
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions .btn {
    width: 100%;
  }
}


/* --- Startup-focused hero video and structured first-engagement overrides --- */
.hero-note {
  margin: 0;
  color: var(--accent-kicker);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
  max-width: 32rem;
}

.hero-stage-video {
  min-height: 35.5rem;
  padding: 0;
  border-color: rgba(15, 108, 189, 0.12);
  background: #0f1622;
  overflow: hidden;
}

.hero-stage-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 10, 20, 0.62) 0%, rgba(5, 10, 20, 0.12) 45%, rgba(5, 10, 20, 0.46) 100%),
    linear-gradient(180deg, rgba(10, 15, 28, 0.08), rgba(10, 15, 28, 0.6));
  z-index: 1;
  pointer-events: none;
  animation: none;
}

.hero-stage-video::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10rem;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0), rgba(8, 12, 20, 0.72));
  z-index: 1;
  pointer-events: none;
  animation: none;
}

.hero-video-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(120, 180, 255, 0.16), transparent 20rem),
    linear-gradient(180deg, #101926, #0c131d);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-copy {
  top: 1.65rem;
  left: 1.65rem;
  width: min(100%, 20rem);
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(10, 16, 26, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-stage-video .hero-system-kicker,
.hero-stage-video .hero-system-title,
.hero-stage-video .hero-stage-badges li {
  color: #f4f8fd;
}

.hero-stage-video .hero-system-kicker {
  opacity: 0.9;
}

.hero-stage-video .hero-system-title {
  max-width: 14ch;
}

.hero-stage-video .hero-stage-badges {
  left: 1.65rem;
  right: 1.65rem;
  bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-stage-video .hero-stage-badges li {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 16, 26, 0.32);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

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

.starter-card .card-header {
  align-items: center;
}

.starter-card strong {
  font-size: clamp(1.04rem, 1.44vw, 1.16rem);
}

html[data-theme="light"] .hero-note {
  color: var(--accent-kicker);
}

html[data-theme="dark"] .hero-note {
  color: var(--accent-warm-soft);
}

html[data-theme="light"] .hero-video-copy {
  background: rgba(17, 24, 39, 0.24);
}

html[data-theme="dark"] .hero-stage-video {
  border-color: rgba(210, 223, 242, 0.1);
}

html[data-theme="dark"] .hero-video-copy {
  background: rgba(8, 12, 20, 0.46);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1120px) {
  .hero-stage-video {
    min-height: 31rem;
  }
}

@media (max-width: 840px) {
  .hero-video-copy {
    top: 1rem;
    left: 1rem;
    width: min(100%, 16rem);
    padding: 0.82rem 0.9rem;
  }

  html[dir="rtl"] .hero-video-copy {
    right: 1rem;
    left: auto;
  }

  .hero-stage-video .hero-stage-badges {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 760px) {
  .starter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-stage-video {
    min-height: 21.5rem;
  }

  .hero-video-copy {
    width: min(100%, 13.5rem);
  }

  .hero-stage-video .hero-stage-badges li {
    font-size: 0.68rem;
    padding: 0.44rem 0.68rem;
  }
}


/* --- merged full-width hero composition --- */
.hero {
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "rail";
  gap: clamp(1.5rem, 2.8vw, 2.25rem);
  align-items: end;
  min-height: 42rem;
}

.hero-panel {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.hero-copy,
.hero-rail {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: min(43rem, 56%);
  padding-top: 0.4rem;
}

.hero-intro,
.hero-text,
.hero-note {
  max-width: 38rem;
}

.hero-stage.hero-stage-video {
  position: absolute;
  inset: 0;
  min-height: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.hero-stage.hero-stage-video::before {
  background:
    linear-gradient(90deg, rgba(249, 252, 255, 0.98) 0%, rgba(249, 252, 255, 0.95) 24%, rgba(245, 249, 254, 0.84) 36%, rgba(241, 247, 253, 0.48) 49%, rgba(12, 18, 28, 0.08) 66%, rgba(8, 12, 20, 0.26) 100%),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.96), transparent 26rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(12, 18, 28, 0.16));
  z-index: 1;
}

.hero-stage.hero-stage-video::after {
  height: 11rem;
  background: linear-gradient(180deg, rgba(245, 249, 253, 0), rgba(245, 249, 253, 0.8) 58%, rgba(245, 249, 253, 0.96));
}

.hero-video-shell {
  inset: 0;
  border-radius: inherit;
}

.hero-video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(116, 181, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 66% 72%, rgba(116, 181, 255, 0.12), transparent 20rem);
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  object-position: center right;
  filter: saturate(1.04) contrast(1.02);
}

.hero-video-copy {
  top: clamp(1.4rem, 3vw, 2rem);
  right: clamp(1.4rem, 3vw, 2.2rem);
  left: auto;
  width: min(22rem, 34vw);
  z-index: 2;
}

html[dir="rtl"] .hero-video-copy {
  right: auto;
  left: clamp(1.4rem, 3vw, 2.2rem);
}

.hero-stage-video .hero-stage-badges {
  left: auto;
  right: clamp(1.4rem, 3vw, 2.2rem);
  bottom: clamp(1.2rem, 2.8vw, 1.8rem);
  max-width: min(31rem, 42%);
  justify-content: flex-end;
  z-index: 2;
}

html[dir="rtl"] .hero-stage-video .hero-stage-badges {
  right: auto;
  left: clamp(1.4rem, 3vw, 2.2rem);
  justify-content: flex-start;
}

.hero-rail {
  margin-top: 0.4rem;
}

.hero-float {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 248, 253, 0.82)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.04), transparent 14rem);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .hero {
  background:
    linear-gradient(180deg, rgba(17, 23, 30, 0.88), rgba(12, 18, 24, 0.92)),
    radial-gradient(circle at top right, rgba(58, 104, 164, 0.14), transparent 20rem);
}

html[data-theme="dark"] .hero-stage.hero-stage-video::before {
  background:
    linear-gradient(90deg, rgba(8, 12, 20, 0.9) 0%, rgba(8, 12, 20, 0.84) 26%, rgba(8, 12, 20, 0.6) 42%, rgba(8, 12, 20, 0.2) 60%, rgba(8, 12, 20, 0.36) 100%),
    radial-gradient(circle at 14% 18%, rgba(98, 141, 196, 0.22), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(8, 12, 20, 0.28));
}

html[data-theme="dark"] .hero-stage.hero-stage-video::after {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0), rgba(8, 12, 20, 0.72) 52%, rgba(8, 12, 20, 0.94));
}

html[data-theme="dark"] .hero-video-shell::before {
  background:
    radial-gradient(circle at 78% 28%, rgba(116, 181, 255, 0.14), transparent 18rem),
    radial-gradient(circle at 66% 72%, rgba(116, 181, 255, 0.1), transparent 20rem);
}

html[data-theme="dark"] .hero-float {
  background:
    linear-gradient(180deg, rgba(19, 26, 34, 0.9), rgba(14, 20, 27, 0.82)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.08), transparent 12rem);
}

@media (max-width: 1120px) {
  .hero {
    min-height: 38rem;
  }

  .hero-copy {
    max-width: min(40rem, 62%);
  }

  .hero-stage-video .hero-stage-badges {
    max-width: min(28rem, 46%);
  }
}

@media (max-width: 840px) {
  .hero {
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
    padding-top: 0;
  }

  .hero-stage.hero-stage-video::before {
    background:
      linear-gradient(180deg, rgba(249, 252, 255, 0.9) 0%, rgba(249, 252, 255, 0.8) 26%, rgba(245, 249, 254, 0.34) 52%, rgba(12, 18, 28, 0.22) 100%),
      linear-gradient(90deg, rgba(249, 252, 255, 0.88) 0%, rgba(249, 252, 255, 0.18) 62%, rgba(12, 18, 28, 0.16) 100%);
  }

  html[data-theme="dark"] .hero-stage.hero-stage-video::before {
    background:
      linear-gradient(180deg, rgba(8, 12, 20, 0.88) 0%, rgba(8, 12, 20, 0.7) 28%, rgba(8, 12, 20, 0.18) 56%, rgba(8, 12, 20, 0.48) 100%),
      linear-gradient(90deg, rgba(8, 12, 20, 0.82) 0%, rgba(8, 12, 20, 0.2) 62%, rgba(8, 12, 20, 0.26) 100%);
  }

  .hero-video-copy {
    display: none;
  }

  .hero-stage-video .hero-stage-badges {
    left: 1rem;
    right: 1rem;
    max-width: none;
    justify-content: flex-start;
  }

  html[dir="rtl"] .hero-stage-video .hero-stage-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-stage-video .hero-stage-badges {
    bottom: 0.9rem;
  }

  .hero-stage.hero-stage-video::after {
    height: 8rem;
  }
}


/* --- Hero video blend refinement: soft transparency effect --- */
.hero-video-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(237, 244, 251, 0.94) 10%, rgba(237, 244, 251, 0.72) 18%, rgba(237, 244, 251, 0.12) 34%, rgba(237, 244, 251, 0) 48%),
    radial-gradient(circle at 88% 50%, rgba(237, 244, 251, 0) 48%, rgba(237, 244, 251, 0.18) 66%, rgba(237, 244, 251, 0.58) 82%, rgba(237, 244, 251, 0.94) 100%),
    linear-gradient(180deg, rgba(237, 244, 251, 0.36) 0%, rgba(237, 244, 251, 0.04) 24%, rgba(237, 244, 251, 0) 52%, rgba(237, 244, 251, 0.46) 100%);
}

.hero-video {
  opacity: 0.82;
  filter: saturate(1.02) contrast(1) brightness(0.98);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 12%, rgba(0, 0, 0, 0.88) 28%, rgba(0, 0, 0, 1) 44%, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0.22) 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 12%, rgba(0, 0, 0, 1) 28%, rgba(0, 0, 0, 1) 76%, rgba(0, 0, 0, 0.62) 90%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 12%, rgba(0, 0, 0, 0.88) 28%, rgba(0, 0, 0, 1) 44%, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0.22) 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 12%, rgba(0, 0, 0, 1) 28%, rgba(0, 0, 0, 1) 76%, rgba(0, 0, 0, 0.62) 90%, transparent 100%);
}

html[data-theme="dark"] .hero-video-shell::after {
  background:
    linear-gradient(90deg, rgba(13, 17, 22, 1) 0%, rgba(13, 17, 22, 0.92) 10%, rgba(13, 17, 22, 0.68) 18%, rgba(13, 17, 22, 0.14) 34%, rgba(13, 17, 22, 0) 48%),
    radial-gradient(circle at 88% 50%, rgba(13, 17, 22, 0) 48%, rgba(13, 17, 22, 0.16) 66%, rgba(13, 17, 22, 0.5) 82%, rgba(13, 17, 22, 0.9) 100%),
    linear-gradient(180deg, rgba(13, 17, 22, 0.28) 0%, rgba(13, 17, 22, 0.04) 24%, rgba(13, 17, 22, 0) 52%, rgba(13, 17, 22, 0.44) 100%);
}

html[data-theme="dark"] .hero-video {
  opacity: 0.76;
  filter: saturate(0.98) contrast(1.02) brightness(0.82);
}

@media (max-width: 840px) {
  .hero-video {
    opacity: 0.72;
  }

  .hero-video-shell::after {
    background:
      linear-gradient(180deg, rgba(237, 244, 251, 0.56) 0%, rgba(237, 244, 251, 0.18) 24%, rgba(237, 244, 251, 0.02) 48%, rgba(237, 244, 251, 0.56) 100%),
      linear-gradient(90deg, rgba(237, 244, 251, 0.78) 0%, rgba(237, 244, 251, 0.18) 36%, rgba(237, 244, 251, 0) 62%, rgba(237, 244, 251, 0.2) 100%);
  }

  html[data-theme="dark"] .hero-video-shell::after {
    background:
      linear-gradient(180deg, rgba(13, 17, 22, 0.44) 0%, rgba(13, 17, 22, 0.12) 24%, rgba(13, 17, 22, 0.02) 48%, rgba(13, 17, 22, 0.48) 100%),
      linear-gradient(90deg, rgba(13, 17, 22, 0.76) 0%, rgba(13, 17, 22, 0.18) 36%, rgba(13, 17, 22, 0) 62%, rgba(13, 17, 22, 0.18) 100%);
  }
}

/* Light theme continuity refinements */
html[data-theme="light"] .page-bg {
  mask-image: none;
  opacity: 0.82;
}

html[data-theme="light"] .section,
html[data-theme="light"] .section-alt {
  padding-inline: 0;
}

html[data-theme="light"] .section::before {
  content: none;
}

html[data-theme="light"] .section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(234, 243, 252, 0.9), rgba(238, 246, 253, 0.72));
}

html[data-theme="light"] .section + .section {
  margin-top: 0;
}

html[data-theme="light"] .site-footer {
  border-top-color: rgba(16, 24, 40, 0.06);
}

@media (max-width: 840px) {
  html[data-theme="light"] .section,
  html[data-theme="light"] .section-alt {
    padding-inline: 0;
  }
}

@media (max-width: 560px) {
  html[data-theme="light"] .section,
  html[data-theme="light"] .section-alt {
    padding-inline: 0;
  }
}

/* --- Light theme header + hero framing cleanup --- */
html[data-theme="light"] .site-header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    0.95rem
    max(1.25rem, calc((100vw - var(--content-width)) / 2 + 0.4rem));
  min-height: calc(var(--header-height) + 0.15rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.28));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

html[data-theme="light"] .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 108, 189, 0), rgba(15, 108, 189, 0.14) 18%, rgba(15, 108, 189, 0.14) 82%, rgba(15, 108, 189, 0));
  pointer-events: none;
}

html[data-theme="light"] .site-header .brand,
html[data-theme="light"] .site-header .main-nav,
html[data-theme="light"] .site-header .header-actions {
  position: relative;
  z-index: 1;
}

html[data-theme="light"] .hero {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 44rem;
  padding:
    clamp(3.4rem, 7vw, 5.6rem)
    max(1.35rem, calc((100vw - var(--content-width)) / 2 + 1.2rem))
    clamp(2.5rem, 4vw, 3.4rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(84, 158, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 14%, rgba(0, 120, 212, 0.06), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 52%, rgba(255, 255, 255, 0));
}

html[data-theme="light"] .hero::before {
  inset: -2.5rem 0 auto;
  height: 18rem;
  opacity: 0.72;
  background:
    url("assets/top-wave.svg") center top / 118% 10rem no-repeat,
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.82), transparent 14rem),
    radial-gradient(circle at 84% 10%, rgba(84, 158, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 80%);
}

html[data-theme="light"] .hero::after {
  right: -10rem;
  bottom: -12rem;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(138, 189, 246, 0.16), rgba(0, 120, 212, 0.03) 48%, transparent 74%);
  filter: blur(18px);
}

html[data-theme="light"] .hero-copy {
  max-width: min(43rem, 54%);
  padding-top: 0.2rem;
}

html[data-theme="light"] .hero-intro,
html[data-theme="light"] .hero-text,
html[data-theme="light"] .hero-note {
  max-width: 39rem;
}

html[data-theme="light"] .hero-float {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 249, 253, 0.68)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.04), transparent 14rem);
  border-color: rgba(15, 108, 189, 0.08);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .hero-stage.hero-stage-video::before {
  background:
    linear-gradient(90deg, rgba(249, 252, 255, 0.98) 0%, rgba(249, 252, 255, 0.94) 24%, rgba(245, 249, 254, 0.8) 36%, rgba(241, 247, 253, 0.42) 50%, rgba(12, 18, 28, 0.06) 68%, rgba(8, 12, 20, 0.22) 100%),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.92), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(12, 18, 28, 0.12));
}

html[data-theme="light"] .hero-stage.hero-stage-video::after {
  height: 10rem;
  background: linear-gradient(180deg, rgba(245, 249, 253, 0), rgba(245, 249, 253, 0.62) 56%, rgba(245, 249, 253, 0.9));
}

html[data-theme="light"] .hero-video-shell::after {
  background:
    linear-gradient(90deg, rgba(237, 244, 251, 0.92) 0%, rgba(237, 244, 251, 0.84) 10%, rgba(237, 244, 251, 0.58) 18%, rgba(237, 244, 251, 0.08) 34%, rgba(237, 244, 251, 0) 50%),
    radial-gradient(circle at 88% 50%, rgba(237, 244, 251, 0) 48%, rgba(237, 244, 251, 0.12) 66%, rgba(237, 244, 251, 0.36) 82%, rgba(237, 244, 251, 0.8) 100%),
    linear-gradient(180deg, rgba(237, 244, 251, 0.24) 0%, rgba(237, 244, 251, 0.02) 24%, rgba(237, 244, 251, 0) 56%, rgba(237, 244, 251, 0.32) 100%);
}

html[data-theme="light"] main {
  padding-top: 0.15rem;
}

@media (max-width: 1120px) {
  html[data-theme="light"] .hero {
    min-height: 39rem;
    padding-inline: max(1.15rem, calc((100vw - var(--content-width)) / 2 + 1rem));
  }

  html[data-theme="light"] .hero-copy {
    max-width: min(40rem, 60%);
  }
}

@media (max-width: 840px) {
  html[data-theme="light"] .site-header {
    padding-inline: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.34));
  }

  html[data-theme="light"] .hero {
    min-height: 0;
    padding: 2.2rem 1rem 1.55rem;
  }

  html[data-theme="light"] .hero-copy {
    max-width: none;
  }
}

@media (max-width: 560px) {
  html[data-theme="light"] .site-header {
    padding-inline: 0.8rem;
  }

  html[data-theme="light"] .hero {
    padding: 1.9rem 0.9rem 1.3rem;
  }
}


/* --- Global top-of-page cleanup: nothing above header --- */
.top-atmosphere {
  display: none !important;
}

body::before {
  content: none !important;
  background: none !important;
}

/* --- Dark theme header + hero framing cleanup --- */
html[data-theme="dark"] .site-header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    0.95rem
    max(1.25rem, calc((100vw - var(--content-width)) / 2 + 0.4rem));
  min-height: calc(var(--header-height) + 0.15rem);
  background: linear-gradient(180deg, rgba(12, 18, 24, 0.74), rgba(12, 18, 24, 0.34));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

html[data-theme="dark"] .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(152, 183, 223, 0), rgba(152, 183, 223, 0.16) 18%, rgba(152, 183, 223, 0.16) 82%, rgba(152, 183, 223, 0));
  pointer-events: none;
}

html[data-theme="dark"] .site-header .brand,
html[data-theme="dark"] .site-header .main-nav,
html[data-theme="dark"] .site-header .header-actions {
  position: relative;
  z-index: 1;
}

html[data-theme="dark"] .hero {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 44rem;
  padding:
    clamp(3.4rem, 7vw, 5.6rem)
    max(1.35rem, calc((100vw - var(--content-width)) / 2 + 1.2rem))
    clamp(2.5rem, 4vw, 3.4rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(98, 141, 196, 0.16), transparent 24rem),
    radial-gradient(circle at 12% 14%, rgba(58, 104, 164, 0.08), transparent 20rem),
    linear-gradient(180deg, rgba(15, 21, 28, 0.18), rgba(15, 21, 28, 0.05) 52%, rgba(15, 21, 28, 0));
}

html[data-theme="dark"] .hero::before {
  inset: -2.5rem 0 auto;
  height: 18rem;
  opacity: 0.46;
  background:
    radial-gradient(circle at 16% 10%, rgba(18, 26, 35, 0.92), transparent 14rem),
    radial-gradient(circle at 84% 10%, rgba(98, 141, 196, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 80%);
}

html[data-theme="dark"] .hero::after {
  right: -10rem;
  bottom: -12rem;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(98, 141, 196, 0.14), rgba(58, 104, 164, 0.02) 48%, transparent 74%);
  filter: blur(18px);
}

html[data-theme="dark"] .hero-copy {
  max-width: min(43rem, 54%);
  padding-top: 0.2rem;
}

html[data-theme="dark"] .hero-intro,
html[data-theme="dark"] .hero-text,
html[data-theme="dark"] .hero-note {
  max-width: 39rem;
}

html[data-theme="dark"] .hero-float {
  background:
    linear-gradient(180deg, rgba(18, 24, 31, 0.82), rgba(14, 20, 27, 0.66)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.06), transparent 14rem);
  border-color: rgba(210, 223, 242, 0.08);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] main {
  padding-top: 0.15rem;
}

@media (max-width: 1120px) {
  html[data-theme="dark"] .hero {
    min-height: 39rem;
    padding-inline: max(1.15rem, calc((100vw - var(--content-width)) / 2 + 1rem));
  }

  html[data-theme="dark"] .hero-copy {
    max-width: min(40rem, 60%);
  }
}

@media (max-width: 840px) {
  html[data-theme="dark"] .site-header {
    padding-inline: 1rem;
    background: linear-gradient(180deg, rgba(12, 18, 24, 0.82), rgba(12, 18, 24, 0.4));
  }

  html[data-theme="dark"] .hero {
    min-height: 0;
    padding: 2.2rem 1rem 1.55rem;
  }

  html[data-theme="dark"] .hero-copy {
    max-width: none;
  }
}

@media (max-width: 560px) {
  html[data-theme="dark"] .site-header {
    padding-inline: 0.8rem;
  }

  html[data-theme="dark"] .hero {
    padding: 1.9rem 0.9rem 1.3rem;
  }
}

/* --- Hero video color-preserving treatment --- */
.hero-video {
  opacity: 1;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-video-shell::before {
  background: none;
}

.hero-video-shell::after {
  background:
    linear-gradient(90deg,
      rgba(245, 249, 253, 0.18) 0%,
      rgba(245, 249, 253, 0.08) 10%,
      rgba(245, 249, 253, 0.02) 18%,
      rgba(245, 249, 253, 0) 30%,
      rgba(245, 249, 253, 0) 100%),
    linear-gradient(180deg,
      rgba(245, 249, 253, 0.08) 0%,
      rgba(245, 249, 253, 0) 14%,
      rgba(245, 249, 253, 0) 82%,
      rgba(245, 249, 253, 0.16) 100%);
}

.hero-stage.hero-stage-video::before {
  background:
    linear-gradient(90deg,
      rgba(249, 252, 255, 0.16) 0%,
      rgba(249, 252, 255, 0.08) 12%,
      rgba(249, 252, 255, 0.02) 22%,
      rgba(249, 252, 255, 0) 34%,
      rgba(249, 252, 255, 0) 100%);
  z-index: 1;
}

.hero-stage.hero-stage-video::after {
  height: 7rem;
  background: linear-gradient(180deg, rgba(245, 249, 253, 0), rgba(245, 249, 253, 0.16) 70%, rgba(245, 249, 253, 0.28));
}

html[data-theme="light"] .hero-video-shell::after,
html[data-theme="light"] .hero-stage.hero-stage-video::before {
  mix-blend-mode: normal;
}

html[data-theme="dark"] .hero-video {
  opacity: 1;
  filter: none;
}

html[data-theme="dark"] .hero-video-shell::before {
  background: none;
}

html[data-theme="dark"] .hero-video-shell::after {
  background:
    linear-gradient(90deg,
      rgba(13, 17, 22, 0.16) 0%,
      rgba(13, 17, 22, 0.08) 10%,
      rgba(13, 17, 22, 0.02) 18%,
      rgba(13, 17, 22, 0) 30%,
      rgba(13, 17, 22, 0) 100%),
    linear-gradient(180deg,
      rgba(13, 17, 22, 0.08) 0%,
      rgba(13, 17, 22, 0) 14%,
      rgba(13, 17, 22, 0) 82%,
      rgba(13, 17, 22, 0.18) 100%);
}

html[data-theme="dark"] .hero-stage.hero-stage-video::before {
  background:
    linear-gradient(90deg,
      rgba(8, 12, 20, 0.18) 0%,
      rgba(8, 12, 20, 0.08) 12%,
      rgba(8, 12, 20, 0.02) 22%,
      rgba(8, 12, 20, 0) 34%,
      rgba(8, 12, 20, 0) 100%);
}

html[data-theme="dark"] .hero-stage.hero-stage-video::after {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0), rgba(8, 12, 20, 0.18) 70%, rgba(8, 12, 20, 0.3));
}

.hero-video-copy {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .hero-video-copy {
  background: rgba(10, 14, 22, 0.26);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 840px) {
  .hero-video-shell::after {
    background:
      linear-gradient(180deg,
        rgba(245, 249, 253, 0.12) 0%,
        rgba(245, 249, 253, 0.02) 16%,
        rgba(245, 249, 253, 0) 84%,
        rgba(245, 249, 253, 0.2) 100%);
  }

  .hero-stage.hero-stage-video::before {
    background: none;
  }

  html[data-theme="dark"] .hero-video-shell::after {
    background:
      linear-gradient(180deg,
        rgba(8, 12, 20, 0.14) 0%,
        rgba(8, 12, 20, 0.02) 16%,
        rgba(8, 12, 20, 0) 84%,
        rgba(8, 12, 20, 0.22) 100%);
  }

  html[data-theme="dark"] .hero-stage.hero-stage-video::before {
    background: none;
  }
}


/* --- Poster-led hero + native-color motion section --- */
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  gap: clamp(2rem, 3vw, 2.8rem);
  padding: clamp(3.8rem, 6vw, 5.4rem) 0 clamp(2.2rem, 3.4vw, 3rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(circle at 78% 30%, rgba(79, 134, 198, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.hero::before,
.hero::after {
  content: none;
}

.hero-shell,
.hero-rail {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(2rem, 4vw, 4.2rem);
  align-items: center;
}

.hero-copy,
.hero-rail {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 44rem;
  padding: 0;
}

.hero-note {
  max-width: 39rem;
  margin: 0.15rem 0 0;
  color: var(--ink-strong);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 600;
}

.hero-inline-badges {
  margin-top: 0.25rem;
  max-width: 44rem;
}

.hero-inline-badges li {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 108, 189, 0.12);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 7% 2% 7% 18%;
  border-radius: 36px;
  background: radial-gradient(circle at center, rgba(79, 134, 198, 0.16), rgba(79, 134, 198, 0.02) 62%, transparent 74%);
  pointer-events: none;
}

.hero-poster {
  position: relative;
  z-index: 1;
  width: min(100%, 44rem);
  height: auto;
  max-height: 31rem;
  object-fit: contain;
  object-position: center right;
  filter: none;
  transform: translateZ(0);
}

.hero-panel,
.hero-stage,
.hero-video-shell,
.hero-video,
.hero-video-copy {
  display: none !important;
}

.brand-motion {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(0.8rem, 2vw, 1.25rem) 0 0;
  background: transparent;
}

.brand-motion::before,
.brand-motion::after {
  content: none !important;
}

.brand-motion-shell {
  width: min(calc(100% - 2rem), 1440px);
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

.motion-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 56rem);
  object-fit: contain;
  background: transparent;
}

html[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 78% 30%, rgba(79, 134, 198, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(7, 11, 16, 0.06), rgba(7, 11, 16, 0.02));
}

html[data-theme="dark"] .hero-note {
  color: rgba(232, 240, 251, 0.94);
}

html[data-theme="dark"] .hero-inline-badges li {
  background: rgba(13, 19, 25, 0.74);
  border-color: rgba(210, 223, 242, 0.12);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .hero-art::before {
  background: radial-gradient(circle at center, rgba(79, 134, 198, 0.2), rgba(79, 134, 198, 0.03) 62%, transparent 74%);
}

@media (max-width: 960px) {
  .hero {
    padding: 2.9rem 0 2rem;
  }

  .hero-shell,
  .hero-rail,
  .brand-motion-shell {
    width: min(calc(100% - 1.5rem), var(--content-width));
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

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

  .hero-art::before {
    inset: 10% 6% 8% 6%;
  }

  .hero-poster {
    width: min(100%, 34rem);
    max-height: none;
    object-position: center;
  }

  .motion-video {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.35rem 0 1.65rem;
  }

  .hero-shell,
  .hero-rail,
  .brand-motion-shell {
    width: min(calc(100% - 1.1rem), var(--content-width));
  }

  .hero-inline-badges {
    gap: 0.55rem;
  }

  .hero-poster {
    width: 100%;
  }
}


/* --- Pristine static hero + immersive full-width motion band --- */
.hero-art {
  justify-content: center;
}

.hero-poster {
  width: min(100%, 46rem);
  max-height: 33rem;
  object-fit: contain;
  object-position: center;
}

.brand-motion {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0;
  overflow: clip;
  background: transparent;
}

.brand-motion-shell {
  position: relative;
  width: 100%;
  min-height: clamp(26rem, 58vw, 46rem);
  overflow: hidden;
  background: transparent;
}

.motion-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

html[data-theme="light"] .brand-motion-shell {
  background: linear-gradient(180deg, rgba(237, 244, 251, 0), rgba(237, 244, 251, 0));
}

html[data-theme="dark"] .brand-motion-shell {
  background: linear-gradient(180deg, rgba(13, 17, 22, 0), rgba(13, 17, 22, 0));
}

@media (max-width: 1120px) {
  .brand-motion-shell {
    min-height: clamp(22rem, 62vw, 34rem);
  }
}

@media (max-width: 840px) {
  .hero-poster {
    width: min(100%, 36rem);
    max-height: none;
  }

  .brand-motion {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .brand-motion-shell {
    min-height: clamp(18rem, 68vw, 28rem);
  }
}

@media (max-width: 560px) {
  .brand-motion-shell {
    min-height: clamp(15rem, 72vw, 22rem);
  }
}


/* --- Focus areas: integrated motion media --- */
.focus-heading {
  max-width: 42rem;
}

.focus-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.9fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: stretch;
}

.focus-grid {
  align-self: stretch;
  grid-auto-rows: minmax(0, 1fr);
}

.focus-media {
  --focus-edge-light: rgba(246, 249, 252, 0.92);
  --focus-edge-mid: rgba(246, 249, 252, 0.38);
  position: relative;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.focus-media::before,
.focus-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.focus-media::before {
  background:
    linear-gradient(90deg, var(--focus-edge-light) 0%, var(--focus-edge-mid) 10%, rgba(246, 249, 252, 0) 24%),
    linear-gradient(180deg, rgba(246, 249, 252, 0.22) 0%, rgba(246, 249, 252, 0) 14%, rgba(246, 249, 252, 0) 86%, rgba(246, 249, 252, 0.14) 100%);
}

.focus-media::after {
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 32, 66, 0.08), transparent);
}

.focus-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  border-radius: inherit;
}

html[data-theme="dark"] .focus-media {
  --focus-edge-light: rgba(13, 18, 24, 0.94);
  --focus-edge-mid: rgba(13, 18, 24, 0.44);
}

html[data-theme="dark"] .focus-media::before {
  background:
    linear-gradient(90deg, var(--focus-edge-light) 0%, var(--focus-edge-mid) 10%, rgba(13, 18, 24, 0) 24%),
    linear-gradient(180deg, rgba(13, 18, 24, 0.18) 0%, rgba(13, 18, 24, 0) 14%, rgba(13, 18, 24, 0) 86%, rgba(13, 18, 24, 0.2) 100%);
}

html[data-theme="dark"] .focus-media::after {
  background: linear-gradient(90deg, transparent, rgba(210, 223, 242, 0.12), transparent);
}

@media (max-width: 1120px) {
  .focus-shell {
    grid-template-columns: 1fr;
  }

  .focus-media {
    min-height: clamp(18rem, 52vw, 26rem);
    height: auto;
    border-radius: 24px;
  }

  .focus-media::before {
    background:
      linear-gradient(180deg, rgba(246, 249, 252, 0.16) 0%, rgba(246, 249, 252, 0) 12%, rgba(246, 249, 252, 0) 88%, rgba(246, 249, 252, 0.12) 100%);
  }

  html[data-theme="dark"] .focus-media::before {
    background:
      linear-gradient(180deg, rgba(13, 18, 24, 0.14) 0%, rgba(13, 18, 24, 0) 12%, rgba(13, 18, 24, 0) 88%, rgba(13, 18, 24, 0.16) 100%);
  }
}

@media (max-width: 760px) {
  .focus-media {
    min-height: clamp(15rem, 62vw, 22rem);
    height: auto;
    border-radius: 22px;
  }
}


/* --- Final hero full-section background override using solid.jpg --- */
.hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(249, 252, 255, 0.97) 0%, rgba(249, 252, 255, 0.93) 20%, rgba(245, 249, 254, 0.78) 36%, rgba(241, 247, 253, 0.4) 52%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.16) 100%),
    url("assets/solid.jpg") center right / cover no-repeat !important;
}

html[data-theme="dark"] .hero {
  background:
    linear-gradient(90deg, rgba(8, 12, 20, 0.92) 0%, rgba(8, 12, 20, 0.86) 22%, rgba(8, 12, 20, 0.62) 38%, rgba(8, 12, 20, 0.28) 56%, rgba(8, 12, 20, 0.32) 100%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.1) 0%, rgba(8, 12, 20, 0) 42%, rgba(8, 12, 20, 0.24) 100%),
    url("assets/solid.jpg") center right / cover no-repeat !important;
}

.hero-shell {
  grid-template-columns: 1fr;
}

.hero-art {
  display: none !important;
}

.hero-copy {
  max-width: min(44rem, 62%);
}

.hero-rail {
  position: relative;
  z-index: 2;
}

html[data-theme="light"] .hero-inline-badges li {
  background: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] .hero-inline-badges li {
  background: rgba(13, 19, 25, 0.7);
}

@media (max-width: 960px) {
  .hero {
    background-position: center center !important;
  }

  .hero-copy {
    max-width: none;
  }
}

/* --- Hero repair: clean full-section JPG background --- */
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 42rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "rail";
  gap: clamp(1.6rem, 2.8vw, 2.35rem);
  align-items: end;
  padding:
    clamp(3.6rem, 7vw, 5.6rem)
    max(1.35rem, calc((100vw - var(--content-width)) / 2 + 1.2rem))
    clamp(2.4rem, 4vw, 3.4rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: none !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/solid.jpg") center right / cover no-repeat;
  pointer-events: none;
  animation: none !important;
  filter: none;
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(249, 252, 255, 0.97) 0%,
      rgba(249, 252, 255, 0.94) 18%,
      rgba(245, 249, 254, 0.82) 34%,
      rgba(241, 247, 253, 0.46) 52%,
      rgba(255, 255, 255, 0.12) 72%,
      rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 44%,
      rgba(255, 255, 255, 0.14) 100%);
}

html[data-theme="dark"] .hero::after {
  background:
    linear-gradient(90deg,
      rgba(8, 12, 20, 0.94) 0%,
      rgba(8, 12, 20, 0.88) 18%,
      rgba(8, 12, 20, 0.68) 34%,
      rgba(8, 12, 20, 0.36) 54%,
      rgba(8, 12, 20, 0.34) 74%,
      rgba(8, 12, 20, 0.42) 100%),
    linear-gradient(180deg,
      rgba(8, 12, 20, 0.12) 0%,
      rgba(8, 12, 20, 0.02) 44%,
      rgba(8, 12, 20, 0.24) 100%);
}

.hero-shell,
.hero-rail {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 2;
}

.hero-shell {
  display: block;
}

.hero-copy {
  max-width: min(44rem, 62%);
  padding: 0;
  position: relative;
  z-index: 3;
}

.hero-intro,
.hero-text,
.hero-note,
.hero-inline-badges {
  max-width: 40rem;
}

.hero-art {
  display: none !important;
}

.hero-rail {
  margin-top: 0.2rem;
}

.hero-float {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(243, 248, 253, 0.72)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.04), transparent 14rem);
  border-color: rgba(15, 108, 189, 0.1);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
}

.hero-inline-badges li {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 108, 189, 0.12);
}

html[data-theme="dark"] .hero-float {
  background:
    linear-gradient(180deg, rgba(18, 24, 31, 0.84), rgba(14, 20, 27, 0.68)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.06), transparent 14rem);
  border-color: rgba(210, 223, 242, 0.08);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .hero-inline-badges li {
  background: rgba(13, 19, 25, 0.7);
}

@media (max-width: 1120px) {
  .hero {
    min-height: 39rem;
    padding-inline: max(1.15rem, calc((100vw - var(--content-width)) / 2 + 1rem));
  }

  .hero-copy {
    max-width: min(40rem, 66%);
  }
}

@media (max-width: 960px) {
  .hero::before {
    background-position: center center;
  }

  .hero-copy {
    max-width: none;
  }
}

@media (max-width: 840px) {
  .hero {
    min-height: 0;
    padding: 2.2rem 1rem 1.55rem;
  }

  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(249, 252, 255, 0.9) 0%,
        rgba(249, 252, 255, 0.82) 26%,
        rgba(245, 249, 254, 0.38) 52%,
        rgba(255, 255, 255, 0.18) 100%),
      linear-gradient(90deg,
        rgba(249, 252, 255, 0.88) 0%,
        rgba(249, 252, 255, 0.28) 52%,
        rgba(255, 255, 255, 0.16) 100%);
  }

  html[data-theme="dark"] .hero::after {
    background:
      linear-gradient(180deg,
        rgba(8, 12, 20, 0.88) 0%,
        rgba(8, 12, 20, 0.76) 28%,
        rgba(8, 12, 20, 0.28) 58%,
        rgba(8, 12, 20, 0.48) 100%),
      linear-gradient(90deg,
        rgba(8, 12, 20, 0.84) 0%,
        rgba(8, 12, 20, 0.28) 52%,
        rgba(8, 12, 20, 0.24) 100%);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 1.9rem 0.9rem 1.3rem;
  }
}

/* --- Final hero consistency fix: same solid.jpg in both light and dark themes --- */
.hero::before,
html[data-theme="light"] .hero::before,
html[data-theme="dark"] .hero::before {
  background: url("assets/solid.jpg") center right / cover no-repeat !important;
  opacity: 1 !important;
}

html[data-theme="light"] .hero::after {
  background:
    linear-gradient(90deg,
      rgba(249, 252, 255, 0.84) 0%,
      rgba(249, 252, 255, 0.76) 16%,
      rgba(245, 249, 254, 0.52) 32%,
      rgba(241, 247, 253, 0.20) 50%,
      rgba(255, 255, 255, 0.06) 72%,
      rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.01) 44%,
      rgba(255, 255, 255, 0.10) 100%) !important;
}

@media (max-width: 960px) {
  .hero::before,
  html[data-theme="light"] .hero::before,
  html[data-theme="dark"] .hero::before {
    background-position: center center !important;
  }
}

@media (max-width: 840px) {
  html[data-theme="light"] .hero::after {
    background:
      linear-gradient(180deg,
        rgba(249, 252, 255, 0.74) 0%,
        rgba(249, 252, 255, 0.60) 24%,
        rgba(245, 249, 254, 0.20) 52%,
        rgba(255, 255, 255, 0.12) 100%),
      linear-gradient(90deg,
        rgba(249, 252, 255, 0.74) 0%,
        rgba(249, 252, 255, 0.18) 52%,
        rgba(255, 255, 255, 0.10) 100%) !important;
  }
}


/* --- Latest base fix: make solid.jpg visibly cover the full hero in light theme --- */
.hero,
html[data-theme="light"] .hero,
html[data-theme="dark"] .hero {
  background: none !important;
}

.hero::before,
html[data-theme="light"] .hero::before,
html[data-theme="dark"] .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/solid.jpg") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center right !important;
  opacity: 1 !important;
}

html[data-theme="light"] .hero::after {
  background:
    linear-gradient(90deg,
      rgba(249, 252, 255, 0.56) 0%,
      rgba(249, 252, 255, 0.42) 18%,
      rgba(245, 249, 254, 0.20) 38%,
      rgba(255, 255, 255, 0.08) 62%,
      rgba(255, 255, 255, 0.02) 82%,
      rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0) 44%,
      rgba(255, 255, 255, 0.08) 100%) !important;
}

html[data-theme="dark"] .hero::after {
  background:
    linear-gradient(90deg,
      rgba(8, 12, 20, 0.94) 0%,
      rgba(8, 12, 20, 0.88) 18%,
      rgba(8, 12, 20, 0.68) 34%,
      rgba(8, 12, 20, 0.36) 54%,
      rgba(8, 12, 20, 0.34) 74%,
      rgba(8, 12, 20, 0.42) 100%),
    linear-gradient(180deg,
      rgba(8, 12, 20, 0.12) 0%,
      rgba(8, 12, 20, 0.02) 44%,
      rgba(8, 12, 20, 0.24) 100%) !important;
}

@media (max-width: 960px) {
  .hero::before,
  html[data-theme="light"] .hero::before,
  html[data-theme="dark"] .hero::before {
    background-position: center center !important;
  }
}

@media (max-width: 840px) {
  html[data-theme="light"] .hero::after {
    background:
      linear-gradient(180deg,
        rgba(249, 252, 255, 0.64) 0%,
        rgba(249, 252, 255, 0.46) 24%,
        rgba(245, 249, 254, 0.14) 52%,
        rgba(255, 255, 255, 0.10) 100%),
      linear-gradient(90deg,
        rgba(249, 252, 255, 0.54) 0%,
        rgba(249, 252, 255, 0.14) 52%,
        rgba(255, 255, 255, 0.06) 100%) !important;
  }
}


/* --- Latest base: hero uses right-side solid-hero.mp4 instead of JPG background --- */
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  display: block;
  padding:
    clamp(3.4rem, 6vw, 5.2rem)
    max(1.35rem, calc((100vw - var(--content-width)) / 2 + 1.2rem))
    clamp(2.4rem, 4vw, 3.2rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 16%, rgba(84, 158, 255, 0.1), transparent 22rem),
    radial-gradient(circle at 14% 18%, rgba(0, 120, 212, 0.05), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0));
}

html[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 80% 16%, rgba(98, 141, 196, 0.14), transparent 22rem),
    radial-gradient(circle at 14% 18%, rgba(58, 104, 164, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(15, 21, 28, 0.18), rgba(15, 21, 28, 0.05) 48%, rgba(15, 21, 28, 0));
}

.hero::before,
.hero::after,
html[data-theme="light"] .hero::before,
html[data-theme="light"] .hero::after,
html[data-theme="dark"] .hero::before,
html[data-theme="dark"] .hero::after {
  content: none !important;
  background: none !important;
}

.hero-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 3vw, 2.75rem);
  align-items: stretch;
}

.hero-copy {
  max-width: none;
  padding: 0;
  align-self: center;
  position: relative;
  z-index: 2;
}

.hero-intro,
.hero-text,
.hero-note,
.hero-inline-badges {
  max-width: 38rem;
}

.hero-art {
  display: block !important;
  position: relative;
  min-height: clamp(22rem, 40vw, 31rem);
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-art::before {
  background:
    linear-gradient(90deg, rgba(246, 249, 252, 0.92) 0%, rgba(246, 249, 252, 0.4) 12%, rgba(246, 249, 252, 0) 28%),
    linear-gradient(180deg, rgba(246, 249, 252, 0.16) 0%, rgba(246, 249, 252, 0) 16%, rgba(246, 249, 252, 0) 84%, rgba(246, 249, 252, 0.12) 100%);
}

.hero-art::after {
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 32, 66, 0.08), transparent);
}

html[data-theme="dark"] .hero-art::before {
  background:
    linear-gradient(90deg, rgba(13, 18, 24, 0.94) 0%, rgba(13, 18, 24, 0.46) 12%, rgba(13, 18, 24, 0) 28%),
    linear-gradient(180deg, rgba(13, 18, 24, 0.14) 0%, rgba(13, 18, 24, 0) 16%, rgba(13, 18, 24, 0) 84%, rgba(13, 18, 24, 0.18) 100%);
}

html[data-theme="dark"] .hero-art::after {
  background: linear-gradient(90deg, transparent, rgba(210, 223, 242, 0.12), transparent);
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.hero-poster {
  display: none !important;
}

.hero-rail {
  width: 100%;
  max-width: none;
  margin: 1.4rem 0 0;
  position: relative;
  z-index: 2;
}

.hero-float {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(243, 248, 253, 0.72)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.04), transparent 14rem);
  border-color: rgba(15, 108, 189, 0.1);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .hero-float {
  background:
    linear-gradient(180deg, rgba(18, 24, 31, 0.84), rgba(14, 20, 27, 0.68)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.06), transparent 14rem);
  border-color: rgba(210, 223, 242, 0.08);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@media (max-width: 1120px) {
  .hero {
    padding-inline: max(1.15rem, calc((100vw - var(--content-width)) / 2 + 1rem));
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: clamp(20rem, 52vw, 28rem);
  }
}

@media (max-width: 840px) {
  .hero {
    padding: 2.2rem 1rem 1.55rem;
  }

  .hero-shell {
    gap: 1.25rem;
  }

  .hero-art {
    min-height: clamp(18rem, 58vw, 24rem);
    border-radius: 24px;
  }

  .hero-art::before {
    background: linear-gradient(180deg, rgba(246, 249, 252, 0.14) 0%, rgba(246, 249, 252, 0) 14%, rgba(246, 249, 252, 0) 86%, rgba(246, 249, 252, 0.1) 100%);
  }

  html[data-theme="dark"] .hero-art::before {
    background: linear-gradient(180deg, rgba(13, 18, 24, 0.12) 0%, rgba(13, 18, 24, 0) 14%, rgba(13, 18, 24, 0) 86%, rgba(13, 18, 24, 0.16) 100%);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 1.9rem 0.9rem 1.3rem;
  }

  .hero-art {
    min-height: clamp(15rem, 64vw, 21rem);
    border-radius: 22px;
  }
}


/* --- latest hero right-side integrated full-height video layout --- */
.hero {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
  padding: clamp(2.6rem, 4.8vw, 4.2rem) 0 clamp(2rem, 3.5vw, 3rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero::before,
.hero::after {
  content: none !important;
}

.hero-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.8rem, 3vw, 3rem);
  align-items: stretch;
  min-height: clamp(34rem, 54vw, 42rem);
}

.hero-content {
  display: grid;
  align-content: stretch;
  gap: clamp(1.35rem, 2.6vw, 2rem);
  min-height: 100%;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 1.25rem;
  max-width: 43rem;
  min-width: 0;
}

.hero-note {
  max-width: 39rem;
  margin: 0.15rem 0 0;
  color: var(--ink-strong);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 600;
}

.hero-inline-badges {
  margin-top: 0.25rem;
  max-width: 44rem;
}

.hero-inline-badges li {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 108, 189, 0.12);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-rail {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-self: end;
}

.hero-float {
  min-height: 0;
  height: 100%;
}

.hero-art {
  position: relative;
  min-width: 0;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(79, 134, 198, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(11, 18, 28, 0.96), rgba(8, 12, 20, 0.92));
  box-shadow:
    0 28px 64px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 249, 253, 0.78) 0%, rgba(245, 249, 253, 0.44) 16%, rgba(245, 249, 253, 0.08) 32%, rgba(245, 249, 253, 0) 48%),
    linear-gradient(180deg, rgba(245, 249, 253, 0.04), rgba(8, 12, 20, 0.08));
  z-index: 2;
  pointer-events: none;
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-poster,
.hero-panel,
.hero-stage,
.hero-video-shell,
.hero-video,
.hero-video-copy,
.brand-motion {
  display: none !important;
}

html[data-theme="dark"] .hero {
  background: transparent;
}

html[data-theme="dark"] .hero-art {
  background:
    radial-gradient(circle at 18% 20%, rgba(116, 181, 255, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(10, 16, 26, 0.98), rgba(6, 10, 16, 0.94));
  box-shadow:
    0 30px 68px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .hero-art::before {
  background:
    linear-gradient(90deg, rgba(8, 12, 20, 0.74) 0%, rgba(8, 12, 20, 0.4) 16%, rgba(8, 12, 20, 0.08) 32%, rgba(8, 12, 20, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 12, 20, 0.12));
}

html[data-theme="dark"] .hero-inline-badges li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(210, 223, 242, 0.12);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@media (max-width: 1120px) {
  .hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-content {
    gap: 1.3rem;
  }

  .hero-art {
    min-height: 24rem;
  }
}

@media (max-width: 840px) {
  .hero {
    padding: 1.6rem 0 1.25rem;
  }

  .hero-shell,
  .hero-rail {
    width: 100%;
  }

  .hero-art {
    min-height: 20rem;
    border-radius: 22px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

  .hero-art::before {
    background:
      linear-gradient(180deg, rgba(245, 249, 253, 0.18) 0%, rgba(245, 249, 253, 0.04) 24%, rgba(245, 249, 253, 0.02) 72%, rgba(245, 249, 253, 0.18) 100%);
  }

  html[data-theme="dark"] .hero-art::before {
    background:
      linear-gradient(180deg, rgba(8, 12, 20, 0.22) 0%, rgba(8, 12, 20, 0.06) 24%, rgba(8, 12, 20, 0.04) 72%, rgba(8, 12, 20, 0.22) 100%);
  }
}

@media (max-width: 560px) {
  .hero-art {
    min-height: 16rem;
  }
}


/* --- Latest base refinement: hero video blends into the section, no separate card --- */
.hero-shell {
  gap: clamp(1.35rem, 2.4vw, 2.2rem);
}

.hero-art {
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  isolation: isolate;
}

.hero-art::after {
  content: none !important;
  background: none !important;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(245, 249, 253, 0.78) 0%,
      rgba(245, 249, 253, 0.38) 12%,
      rgba(245, 249, 253, 0.12) 22%,
      rgba(245, 249, 253, 0.02) 34%,
      rgba(245, 249, 253, 0) 46%);
}

.hero-media-video {
  background: transparent !important;
}

html[data-theme="dark"] .hero-art::before {
  background:
    linear-gradient(90deg,
      rgba(8, 12, 20, 0.74) 0%,
      rgba(8, 12, 20, 0.34) 12%,
      rgba(8, 12, 20, 0.1) 22%,
      rgba(8, 12, 20, 0.02) 34%,
      rgba(8, 12, 20, 0) 46%);
}

@media (max-width: 1120px) {
  .hero-art {
    border-radius: 0 !important;
  }
}

@media (max-width: 840px) {
  .hero-art {
    border-radius: 0 !important;
  }

  .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(245, 249, 253, 0.14) 0%,
        rgba(245, 249, 253, 0.04) 16%,
        rgba(245, 249, 253, 0.02) 82%,
        rgba(245, 249, 253, 0.12) 100%);
  }

  html[data-theme="dark"] .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(8, 12, 20, 0.16) 0%,
        rgba(8, 12, 20, 0.05) 16%,
        rgba(8, 12, 20, 0.03) 82%,
        rgba(8, 12, 20, 0.18) 100%);
  }
}

/* --- Latest base fix: hero right video height should match left content, not exceed it --- */
.hero-shell {
  min-height: 0 !important;
  align-items: stretch;
}

.hero-content {
  min-height: 0 !important;
}

.hero-art {
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch;
}

@media (max-width: 1120px) {
  .hero-art {
    min-height: 24rem !important;
  }
}

@media (max-width: 840px) {
  .hero-art {
    min-height: 20rem !important;
  }
}

@media (max-width: 560px) {
  .hero-art {
    min-height: 16rem !important;
  }
}


/* --- New base: unify hero surface and blend right-side motion into the section --- */
.hero {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
  padding: clamp(2.4rem, 4.4vw, 3.8rem) 0 clamp(2rem, 3.2vw, 2.8rem);
}

.hero-shell {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-items: stretch;
  min-height: 0 !important;
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
  border-radius: calc(var(--radius-xl) + 4px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 254, 0.9)),
    radial-gradient(circle at 78% 22%, rgba(0, 120, 212, 0.06), transparent 18rem),
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.5), transparent 14rem);
  box-shadow:
    0 26px 58px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 22%, transparent 74%, rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 28%, transparent 78%, rgba(255, 255, 255, 0.08));
}

.hero-content,
.hero-art {
  position: relative;
  z-index: 1;
}

.hero-content {
  min-height: 0 !important;
  align-content: stretch;
}

.hero-copy {
  padding: clamp(0.25rem, 0.8vw, 0.5rem) clamp(0.15rem, 0.5vw, 0.25rem);
}

.hero-rail {
  margin: 0;
}

.hero-float {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 249, 253, 0.8)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.04), transparent 14rem);
  border-color: rgba(11, 32, 66, 0.08);
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.hero-art {
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-art::before {
  background:
    linear-gradient(90deg,
      rgba(246, 250, 254, 0.96) 0%,
      rgba(246, 250, 254, 0.72) 10%,
      rgba(246, 250, 254, 0.32) 20%,
      rgba(246, 250, 254, 0.08) 32%,
      rgba(246, 250, 254, 0) 44%),
    linear-gradient(180deg,
      rgba(246, 250, 254, 0.24) 0%,
      rgba(246, 250, 254, 0.06) 14%,
      rgba(246, 250, 254, 0) 32%,
      rgba(246, 250, 254, 0) 68%,
      rgba(246, 250, 254, 0.14) 100%);
}

.hero-art::after {
  background:
    linear-gradient(90deg,
      rgba(246, 250, 254, 0) 0%,
      rgba(246, 250, 254, 0) 82%,
      rgba(246, 250, 254, 0.18) 92%,
      rgba(246, 250, 254, 0.42) 100%);
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: transparent !important;
  opacity: 0.98;
  filter: saturate(1.02) contrast(1.01);
  -webkit-mask-image:
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.92) 13%, rgba(0,0,0,1) 24%, rgba(0,0,0,1) 84%, rgba(0,0,0,0.86) 94%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0.2) 100%);
  mask-image:
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.92) 13%, rgba(0,0,0,1) 24%, rgba(0,0,0,1) 84%, rgba(0,0,0,0.86) 94%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0.2) 100%);
}

html[data-theme="dark"] .hero-shell {
  border-color: rgba(210, 223, 242, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 24, 31, 0.9), rgba(13, 18, 24, 0.92)),
    radial-gradient(circle at 78% 22%, rgba(70, 120, 188, 0.08), transparent 18rem),
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.03), transparent 14rem);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .hero-shell::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%, transparent 78%, rgba(255, 255, 255, 0.02));
}

html[data-theme="dark"] .hero-float {
  background:
    linear-gradient(180deg, rgba(20, 26, 33, 0.82), rgba(14, 20, 27, 0.76)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.05), transparent 14rem);
  border-color: rgba(210, 223, 242, 0.08);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .hero-art::before {
  background:
    linear-gradient(90deg,
      rgba(13, 18, 24, 0.96) 0%,
      rgba(13, 18, 24, 0.74) 10%,
      rgba(13, 18, 24, 0.36) 20%,
      rgba(13, 18, 24, 0.1) 32%,
      rgba(13, 18, 24, 0) 44%),
    linear-gradient(180deg,
      rgba(13, 18, 24, 0.22) 0%,
      rgba(13, 18, 24, 0.06) 14%,
      rgba(13, 18, 24, 0) 32%,
      rgba(13, 18, 24, 0) 68%,
      rgba(13, 18, 24, 0.16) 100%);
}

html[data-theme="dark"] .hero-art::after {
  background:
    linear-gradient(90deg,
      rgba(13, 18, 24, 0) 0%,
      rgba(13, 18, 24, 0) 82%,
      rgba(13, 18, 24, 0.16) 92%,
      rgba(13, 18, 24, 0.32) 100%);
}

@media (max-width: 1120px) {
  .hero-shell {
    grid-template-columns: 1fr;
    padding: clamp(1rem, 2vw, 1.3rem);
  }

  .hero-art {
    min-height: 24rem !important;
  }
}

@media (max-width: 840px) {
  .hero {
    padding: 1.5rem 0 1.2rem;
  }

  .hero-shell {
    gap: 1rem;
    border-radius: 22px;
  }

  .hero-art {
    min-height: 20rem !important;
  }

  .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(246, 250, 254, 0.16) 0%,
        rgba(246, 250, 254, 0.04) 16%,
        rgba(246, 250, 254, 0) 82%,
        rgba(246, 250, 254, 0.12) 100%);
  }

  .hero-art::after {
    background: none;
  }

  html[data-theme="dark"] .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(13, 18, 24, 0.18) 0%,
        rgba(13, 18, 24, 0.05) 16%,
        rgba(13, 18, 24, 0) 82%,
        rgba(13, 18, 24, 0.16) 100%);
  }
}

@media (max-width: 560px) {
  .hero-shell {
    border-radius: 18px;
    padding: 0.9rem;
  }

  .hero-art {
    min-height: 16rem !important;
  }
}


/* --- New base: hero should blend with full page canvas, not read as an inner page --- */
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    clamp(2.6rem, 5vw, 4.1rem)
    max(1.25rem, calc((100vw - var(--content-width)) / 2 + 0.6rem))
    clamp(2.1rem, 3.8vw, 3rem);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: none !important;
}

.hero-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible;
  align-items: stretch;
  gap: clamp(1.3rem, 2.4vw, 2rem);
}

.hero-shell::before {
  content: none !important;
}

.hero-content {
  min-width: 0;
}

.hero-copy {
  padding: clamp(0.35rem, 0.9vw, 0.7rem) 0 0;
}

.hero-rail {
  margin-top: 1.35rem;
}

.hero-float {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 253, 0.64)),
    radial-gradient(circle at top right, rgba(0, 120, 212, 0.035), transparent 14rem);
  border-color: rgba(11, 32, 66, 0.06);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.hero-art {
  position: relative;
  min-height: 100%;
  align-self: stretch;
  overflow: hidden;
  background: transparent !important;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-art::before {
  background:
    linear-gradient(90deg,
      rgba(237, 244, 251, 1) 0%,
      rgba(237, 244, 251, 0.9) 8%,
      rgba(237, 244, 251, 0.54) 18%,
      rgba(237, 244, 251, 0.14) 30%,
      rgba(237, 244, 251, 0) 42%),
    linear-gradient(180deg,
      rgba(237, 244, 251, 0.16) 0%,
      rgba(237, 244, 251, 0.03) 16%,
      rgba(237, 244, 251, 0) 84%,
      rgba(237, 244, 251, 0.12) 100%);
}

.hero-art::after {
  background:
    linear-gradient(90deg,
      rgba(237, 244, 251, 0) 0%,
      rgba(237, 244, 251, 0) 88%,
      rgba(237, 244, 251, 0.12) 95%,
      rgba(237, 244, 251, 0.28) 100%);
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.98;
  filter: saturate(1.01) contrast(1.01);
  -webkit-mask-image:
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.96) 12%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 88%, rgba(0,0,0,0.88) 96%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0.22) 100%);
  mask-image:
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.96) 12%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 88%, rgba(0,0,0,0.88) 96%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0.22) 100%);
}

html[data-theme="dark"] .hero-float {
  background:
    linear-gradient(180deg, rgba(20, 26, 33, 0.72), rgba(14, 20, 27, 0.58)),
    radial-gradient(circle at top right, rgba(70, 120, 188, 0.045), transparent 14rem);
  border-color: rgba(210, 223, 242, 0.06);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .hero-art::before {
  background:
    linear-gradient(90deg,
      rgba(13, 17, 22, 1) 0%,
      rgba(13, 17, 22, 0.9) 8%,
      rgba(13, 17, 22, 0.54) 18%,
      rgba(13, 17, 22, 0.14) 30%,
      rgba(13, 17, 22, 0) 42%),
    linear-gradient(180deg,
      rgba(13, 17, 22, 0.18) 0%,
      rgba(13, 17, 22, 0.04) 16%,
      rgba(13, 17, 22, 0) 84%,
      rgba(13, 17, 22, 0.14) 100%);
}

html[data-theme="dark"] .hero-art::after {
  background:
    linear-gradient(90deg,
      rgba(13, 17, 22, 0) 0%,
      rgba(13, 17, 22, 0) 88%,
      rgba(13, 17, 22, 0.1) 95%,
      rgba(13, 17, 22, 0.24) 100%);
}

@media (max-width: 1120px) {
  .hero {
    padding:
      2.2rem
      max(1rem, calc((100vw - var(--content-width)) / 2 + 0.4rem))
      1.8rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 22rem !important;
  }
}

@media (max-width: 840px) {
  .hero {
    padding: 1.8rem 1rem 1.35rem;
  }

  .hero-shell {
    gap: 1rem;
  }

  .hero-art {
    min-height: 18rem !important;
  }

  .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(237, 244, 251, 0.14) 0%,
        rgba(237, 244, 251, 0.03) 16%,
        rgba(237, 244, 251, 0) 84%,
        rgba(237, 244, 251, 0.1) 100%);
  }

  .hero-art::after {
    background: none;
  }

  html[data-theme="dark"] .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(13, 17, 22, 0.14) 0%,
        rgba(13, 17, 22, 0.03) 16%,
        rgba(13, 17, 22, 0) 84%,
        rgba(13, 17, 22, 0.1) 100%);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 1.5rem 0.9rem 1.2rem;
  }

  .hero-art {
    min-height: 15rem !important;
  }
}

/* --- New base: align hero content width with the same canvas width as other sections --- */
.hero {
  padding-inline: 0 !important;
}

.hero-shell {
  width: min(calc(100% - 2rem), var(--content-width)) !important;
  max-width: var(--content-width) !important;
  margin-inline: auto !important;
}

@media (max-width: 560px) {
  .hero-shell {
    width: min(calc(100% - 1.25rem), var(--content-width)) !important;
  }
}


/* --- Streamlined contact section --- */
.contact-shell-streamlined {
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
}

.contact-heading-streamlined {
  margin-bottom: 0;
  max-width: min(52rem, 100%);
}

.contact-card-streamlined {
  width: 100%;
  max-width: none;
  gap: 1.15rem;
  padding: clamp(1.25rem, 2.4vw, 1.7rem);
}

.contact-primary {
  display: grid;
  gap: 0.55rem;
}

.contact-primary-linkline {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-card-streamlined .contact-direct-value {
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.35;
}

.contact-meta-streamlined {
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding-top: 0.15rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-meta-streamlined strong {
  line-height: 1.45;
}

.contact-card-streamlined .contact-actions {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-card-streamlined .contact-actions .btn {
  flex: 1 1 auto;
  width: 100%;
}

@media (max-width: 840px) {
  .contact-card-streamlined .contact-actions {
    grid-template-columns: 1fr;
  }
}


/* --- New base: simplify hero and remove redundant bottom metric cards --- */
.hero-rail {
  display: none !important;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.hero-copy {
  padding-top: 0 !important;
}

h1,
.hero-copy h1 {
  max-width: 20ch !important;
  line-height: 1.04 !important;
}

html[lang="ar"] h1,
html[lang="ar"] .hero-copy h1 {
  max-width: 16ch !important;
  line-height: 1.18 !important;
}

.hero-shell {
  gap: clamp(1.2rem, 2.2vw, 1.8rem) !important;
}

@media (max-width: 1120px) {
  .hero-content {
    min-height: 0;
  }
}


/* --- Latest base: make hero the primary full-page canvas focus --- */
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: stretch;
  padding:
    clamp(2.75rem, 5.4vw, 5.35rem)
    max(1.35rem, calc((100vw - var(--content-width)) / 2 + 0.95rem))
    clamp(2.1rem, 4.2vw, 3.4rem);
  background: transparent !important;
}

.hero-shell {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - var(--header-height) - clamp(4.85rem, 9.2vw, 8.75rem));
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.35rem, 2.8vw, 2.8rem);
  align-items: stretch;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible;
  isolation: isolate;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 28%, rgba(0, 120, 212, 0.08), transparent 20rem),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.44), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0));
}

.hero-content,
.hero-art {
  position: relative;
  z-index: 1;
}

.hero-content {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: clamp(1.15rem, 2vw, 1.8rem);
  padding-block: clamp(0.4rem, 1vw, 0.9rem);
}

.hero-copy {
  max-width: min(42rem, 100%);
  padding: 0;
}

.hero-intro,
.hero-text,
.hero-note {
  max-width: 36rem;
}

.hero-text {
  max-width: 35rem;
}

.hero-rail {
  display: none !important;
}

.hero-art {
  align-self: stretch;
  min-height: 100%;
  height: 100%;
  margin-inline-end: calc(-1 * max(1.35rem, calc((100vw - var(--content-width)) / 2 + 0.95rem)));
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

html[dir="rtl"] .hero-art {
  margin-inline-end: 0;
  margin-inline-start: calc(-1 * max(1.35rem, calc((100vw - var(--content-width)) / 2 + 0.95rem)));
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-art::before {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(237, 244, 251, 0.88) 10%,
      rgba(237, 244, 251, 0.46) 18%,
      rgba(237, 244, 251, 0.12) 26%,
      rgba(237, 244, 251, 0) 38%),
    linear-gradient(180deg,
      rgba(237, 244, 251, 0.18) 0%,
      rgba(237, 244, 251, 0.04) 12%,
      rgba(237, 244, 251, 0) 28%,
      rgba(237, 244, 251, 0) 74%,
      rgba(237, 244, 251, 0.14) 100%);
}

.hero-art::after {
  background:
    linear-gradient(90deg,
      rgba(237, 244, 251, 0) 0%,
      rgba(237, 244, 251, 0) 86%,
      rgba(237, 244, 251, 0.1) 94%,
      rgba(237, 244, 251, 0.2) 100%);
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.99;
  filter: saturate(1.02) contrast(1.02);
  -webkit-mask-image:
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.92) 12%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 88%, rgba(0,0,0,0.92) 96%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0.18) 100%);
  mask-image:
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.92) 12%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 88%, rgba(0,0,0,0.92) 96%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0.18) 100%);
}

html[data-theme="dark"] .hero-shell::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(84, 158, 255, 0.1), transparent 22rem),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.03), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01) 42%, rgba(255, 255, 255, 0));
}

html[data-theme="dark"] .hero-art::before {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(13, 17, 22, 0.86) 10%,
      rgba(13, 17, 22, 0.44) 18%,
      rgba(13, 17, 22, 0.12) 26%,
      rgba(13, 17, 22, 0) 38%),
    linear-gradient(180deg,
      rgba(13, 17, 22, 0.18) 0%,
      rgba(13, 17, 22, 0.05) 12%,
      rgba(13, 17, 22, 0) 28%,
      rgba(13, 17, 22, 0) 74%,
      rgba(13, 17, 22, 0.16) 100%);
}

html[data-theme="dark"] .hero-art::after {
  background:
    linear-gradient(90deg,
      rgba(13, 17, 22, 0) 0%,
      rgba(13, 17, 22, 0) 86%,
      rgba(13, 17, 22, 0.08) 94%,
      rgba(13, 17, 22, 0.18) 100%);
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
    padding:
      clamp(2rem, 4vw, 3rem)
      max(1rem, calc((100vw - var(--content-width)) / 2 + 0.6rem))
      clamp(1.6rem, 3vw, 2.2rem);
  }

  .hero-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .hero-art {
    margin-inline: 0;
    min-height: 24rem;
  }
}

@media (max-width: 840px) {
  .hero {
    padding: 1.7rem 1rem 1.25rem;
  }

  .hero-shell {
    gap: 1rem;
  }

  .hero-content {
    gap: 1rem;
  }

  .hero-art {
    min-height: 20rem;
  }

  .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(237, 244, 251, 0.16) 0%,
        rgba(237, 244, 251, 0.04) 16%,
        rgba(237, 244, 251, 0) 82%,
        rgba(237, 244, 251, 0.12) 100%);
  }

  .hero-art::after {
    background: none;
  }

  html[data-theme="dark"] .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(13, 17, 22, 0.18) 0%,
        rgba(13, 17, 22, 0.05) 16%,
        rgba(13, 17, 22, 0) 82%,
        rgba(13, 17, 22, 0.16) 100%);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 1.4rem 0.9rem 1rem;
  }

  .hero-art {
    min-height: 16rem;
  }
}


/* --- latest fix: hero aligned to site canvas, media moved into hero background --- */
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: calc(100svh - var(--header-height));
  padding:
    clamp(2.4rem, 5vw, 4.8rem)
    max(1rem, calc((100vw - var(--content-width)) / 2))
    clamp(1.8rem, 3vw, 2.8rem);
}

.hero-shell {
  position: relative;
  display: block;
  min-height: calc(100svh - var(--header-height) - clamp(4.2rem, 8vw, 6.8rem));
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: inherit;
  width: min(100%, 44rem);
  gap: clamp(1.1rem, 2vw, 1.6rem);
  padding-block: clamp(1rem, 2vw, 1.6rem);
}

.hero-copy {
  max-width: 42rem;
}

.hero-intro,
.hero-text,
.hero-note {
  max-width: 40rem;
}

.hero-art {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  min-height: 0;
  height: auto;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-art::before {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(237, 244, 251, 0.96) 10%,
      rgba(237, 244, 251, 0.84) 18%,
      rgba(237, 244, 251, 0.56) 28%,
      rgba(237, 244, 251, 0.18) 40%,
      rgba(237, 244, 251, 0) 56%),
    linear-gradient(180deg,
      rgba(237, 244, 251, 0.14) 0%,
      rgba(237, 244, 251, 0.02) 16%,
      rgba(237, 244, 251, 0) 80%,
      rgba(237, 244, 251, 0.08) 100%);
}

.hero-art::after {
  background:
    radial-gradient(circle at 78% 26%, rgba(0, 120, 212, 0.08), transparent 18rem),
    linear-gradient(90deg,
      rgba(237, 244, 251, 0) 0%,
      rgba(237, 244, 251, 0) 82%,
      rgba(237, 244, 251, 0.08) 92%,
      rgba(237, 244, 251, 0.14) 100%);
}

.hero-media-video {
  position: absolute;
  top: 0;
  right: 0;
  width: min(58vw, 54%);
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center right;
  opacity: 0.98;
  filter: saturate(1.03) contrast(1.02);
  -webkit-mask-image: none;
  mask-image: none;
}

html[dir="rtl"] .hero-media-video {
  right: auto;
  left: 0;
  object-position: center left;
}

html[data-theme="dark"] .hero-art::before {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(13, 17, 22, 0.96) 10%,
      rgba(13, 17, 22, 0.84) 18%,
      rgba(13, 17, 22, 0.56) 28%,
      rgba(13, 17, 22, 0.18) 40%,
      rgba(13, 17, 22, 0) 56%),
    linear-gradient(180deg,
      rgba(13, 17, 22, 0.16) 0%,
      rgba(13, 17, 22, 0.03) 16%,
      rgba(13, 17, 22, 0) 80%,
      rgba(13, 17, 22, 0.1) 100%);
}

html[data-theme="dark"] .hero-art::after {
  background:
    radial-gradient(circle at 78% 26%, rgba(116, 181, 255, 0.1), transparent 20rem),
    linear-gradient(90deg,
      rgba(13, 17, 22, 0) 0%,
      rgba(13, 17, 22, 0) 82%,
      rgba(13, 17, 22, 0.08) 92%,
      rgba(13, 17, 22, 0.16) 100%);
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
    padding:
      clamp(2rem, 4vw, 3rem)
      max(1rem, calc((100vw - var(--content-width)) / 2))
      clamp(1.4rem, 3vw, 2rem);
  }

  .hero-shell {
    min-height: 34rem;
  }

  .hero-content {
    width: min(100%, 40rem);
  }

  .hero-media-video {
    width: min(54vw, 50%);
  }
}

@media (max-width: 840px) {
  .hero {
    padding: 1.7rem 1rem 1.2rem;
    min-height: auto;
  }

  .hero-shell {
    min-height: 29rem;
  }

  .hero-content {
    width: 100%;
    min-height: 29rem;
    align-content: start;
    padding-top: 0.4rem;
  }

  .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(237, 244, 251, 0.18) 0%,
        rgba(237, 244, 251, 0.05) 18%,
        rgba(237, 244, 251, 0) 72%,
        rgba(237, 244, 251, 0.1) 100%),
      linear-gradient(90deg,
        rgba(237, 244, 251, 0.84) 0%,
        rgba(237, 244, 251, 0.42) 26%,
        rgba(237, 244, 251, 0.1) 52%,
        rgba(237, 244, 251, 0) 76%);
  }

  html[data-theme="dark"] .hero-art::before {
    background:
      linear-gradient(180deg,
        rgba(13, 17, 22, 0.2) 0%,
        rgba(13, 17, 22, 0.05) 18%,
        rgba(13, 17, 22, 0) 72%,
        rgba(13, 17, 22, 0.1) 100%),
      linear-gradient(90deg,
        rgba(13, 17, 22, 0.84) 0%,
        rgba(13, 17, 22, 0.42) 26%,
        rgba(13, 17, 22, 0.1) 52%,
        rgba(13, 17, 22, 0) 76%);
  }

  .hero-media-video {
    width: 100%;
    opacity: 0.42;
    object-position: center;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 1.4rem 0.9rem 1rem;
  }

  .hero-shell,
  .hero-content {
    min-height: 24rem;
  }

  .hero-media-video {
    opacity: 0.34;
  }
}


/* --- FINAL HERO OVERRIDE: integrated right media surface, no clipping --- */
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    clamp(2.6rem, 5vw, 4.8rem)
    max(1rem, calc((100vw - var(--content-width)) / 2))
    clamp(1.8rem, 3vw, 2.8rem);
  min-height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  overflow: visible;
}

.hero::before,
.hero::after {
  content: none !important;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 43rem) minmax(18rem, 1fr);
  gap: clamp(3rem, 6vw, 8rem);
  align-items: stretch;
  min-height: calc(100svh - var(--header-height) - clamp(3rem, 6vw, 5rem));
  overflow: visible;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: inherit;
  width: auto;
  gap: clamp(1.1rem, 2vw, 1.5rem);
  padding-block: clamp(0.8rem, 2vw, 1.6rem);
}

.hero-copy {
  max-width: 40rem;
}

.hero-intro,
.hero-text,
.hero-note,
.hero-badges {
  max-width: 38rem;
}

.hero-rail {
  display: none !important;
}

.hero-art {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: inherit;
  height: auto;
  align-self: stretch;
  z-index: 1;
  pointer-events: none;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-art::before {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 95%, transparent) 8%,
      color-mix(in srgb, var(--bg) 82%, transparent) 16%,
      color-mix(in srgb, var(--bg) 56%, transparent) 28%,
      color-mix(in srgb, var(--bg) 18%, transparent) 42%,
      transparent 56%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 18%, transparent) 0%,
      transparent 18%,
      transparent 82%,
      color-mix(in srgb, var(--bg) 10%, transparent) 100%);
}

.hero-art::after {
  background:
    radial-gradient(circle at 74% 24%, color-mix(in srgb, var(--accent-warm) 10%, transparent), transparent 24rem),
    linear-gradient(90deg,
      transparent 0%,
      transparent 82%,
      color-mix(in srgb, var(--bg) 8%, transparent) 92%,
      color-mix(in srgb, var(--bg) 14%, transparent) 100%);
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.98;
  filter: saturate(1.02) contrast(1.02);
}

html[data-theme="dark"] .hero-art::before {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 94%, transparent) 8%,
      color-mix(in srgb, var(--bg) 80%, transparent) 16%,
      color-mix(in srgb, var(--bg) 56%, transparent) 28%,
      color-mix(in srgb, var(--bg) 20%, transparent) 42%,
      transparent 56%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 24%, transparent) 0%,
      transparent 18%,
      transparent 82%,
      color-mix(in srgb, var(--bg) 16%, transparent) 100%);
}

html[data-theme="dark"] .hero-art::after {
  background:
    radial-gradient(circle at 74% 24%, rgba(116, 181, 255, 0.12), transparent 24rem),
    linear-gradient(90deg,
      transparent 0%,
      transparent 82%,
      rgba(13, 17, 22, 0.08) 92%,
      rgba(13, 17, 22, 0.16) 100%);
}

@media (max-width: 1120px) {
  .hero {
    padding:
      clamp(2rem, 4vw, 3rem)
      max(1rem, calc((100vw - var(--content-width)) / 2))
      clamp(1.4rem, 3vw, 2rem);
  }

  .hero-shell {
    grid-template-columns: minmax(0, 37rem) minmax(16rem, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    min-height: 40rem;
  }

  .hero-copy,
  .hero-intro,
  .hero-text,
  .hero-note,
  .hero-badges {
    max-width: 34rem;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 1.8rem 1rem 1.4rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    min-height: auto;
  }

  .hero-content {
    min-height: 0;
    padding-block: 0.2rem;
  }

  .hero-copy,
  .hero-intro,
  .hero-text,
  .hero-note,
  .hero-badges {
    max-width: none;
  }

  .hero-art {
    min-height: 21rem;
  }

  .hero-art::before {
    background:
      linear-gradient(180deg,
        color-mix(in srgb, var(--bg) 20%, transparent) 0%,
        transparent 20%,
        transparent 76%,
        color-mix(in srgb, var(--bg) 12%, transparent) 100%),
      linear-gradient(90deg,
        color-mix(in srgb, var(--bg) 72%, transparent) 0%,
        color-mix(in srgb, var(--bg) 28%, transparent) 24%,
        color-mix(in srgb, var(--bg) 8%, transparent) 48%,
        transparent 72%);
  }

  .hero-media-video {
    object-position: center;
    opacity: 0.78;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 1.45rem 0.9rem 1.05rem;
  }

  .hero-art {
    min-height: 17.5rem;
  }

  .hero-media-video {
    opacity: 0.68;
  }
}


/* --- Hero: aligned canvas + integrated motion surface --- */
.hero,
html[data-theme="light"] .hero,
html[data-theme="dark"] .hero {
  position: relative;
  width: min(calc(100% - 2rem), var(--content-width)) !important;
  margin: 0.45rem auto 0 !important;
  padding: 0 0 clamp(1.8rem, 3.2vw, 2.8rem) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

.hero::before,
.hero::after,
html[data-theme="light"] .hero::before,
html[data-theme="light"] .hero::after,
html[data-theme="dark"] .hero::before,
html[data-theme="dark"] .hero::after {
  content: none !important;
}

.hero-shell {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: block;
  min-height: clamp(48rem, 88vh, 68rem);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: hidden;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 15%, rgba(77, 160, 255, 0.1), transparent 34rem),
    radial-gradient(circle at 84% 22%, rgba(77, 160, 255, 0.14), transparent 28rem);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(58rem, 100%) !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: inherit;
  gap: clamp(1.25rem, 1.9vw, 1.7rem);
  padding-block: clamp(4rem, 9vh, 7rem);
  padding-inline: 0 !important;
}

.hero-copy {
  width: 100%;
  max-width: min(56rem, 100%) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-intro,
.hero-text,
.hero-badges {
  max-width: min(46rem, 100%) !important;
  margin-inline: 0 !important;
}

.hero-intro h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 5.8vw, 5.15rem);
  line-height: 1.01;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: min(42rem, 100%) !important;
  font-size: clamp(1.2rem, 1.62vw, 1.5rem);
  line-height: 1.62;
}

.hero-actions {
  margin-top: 0.3rem;
  gap: 0.95rem;
}

.hero-badges {
  margin-top: 0.8rem;
  opacity: 0.9;
}

.hero-rail {
  display: none !important;
}

.hero-art,
html[data-theme="light"] .hero-art,
html[data-theme="dark"] .hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  align-self: auto;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 22%, transparent) 0%,
      color-mix(in srgb, var(--bg) 8%, transparent) 46%,
      color-mix(in srgb, var(--bg) 20%, transparent) 100%) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.hero-art::before,
.hero-art::after,
html[data-theme="light"] .hero-art::before,
html[data-theme="light"] .hero-art::after,
html[data-theme="dark"] .hero-art::before,
html[data-theme="dark"] .hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 !important;
  pointer-events: none;
}

.hero-art::before {
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 74% 32%, rgba(77, 160, 255, 0.14), transparent 26rem),
    radial-gradient(circle at 66% 68%, rgba(77, 160, 255, 0.08), transparent 30rem);
}

.hero-art::after {
  z-index: 2;
  background:
    linear-gradient(0deg,
      color-mix(in srgb, var(--bg) 16%, transparent),
      color-mix(in srgb, var(--bg) 16%, transparent)),
    linear-gradient(90deg,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 88%, transparent) 17%,
      color-mix(in srgb, var(--bg) 56%, transparent) 36%,
      transparent 62%),
    linear-gradient(90deg,
      transparent 0%,
      transparent 74%,
      color-mix(in srgb, var(--bg) 34%, transparent) 100%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 22%, transparent) 0%,
      transparent 18%,
      transparent 82%,
      color-mix(in srgb, var(--bg) 20%, transparent) 100%),
    radial-gradient(circle at 76% 24%, rgba(77, 160, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 66% 69%, rgba(77, 160, 255, 0.08), transparent 28rem);
  animation: hero-glow-drift-canvas 20s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-media-video {
  position: absolute;
  top: 50%;
  right: clamp(0.4rem, 2vw, 1.8rem);
  bottom: auto;
  left: auto;
  width: clamp(23rem, 44vw, 40rem);
  height: clamp(23rem, 44vw, 40rem);
  display: block !important;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: 56% 52%;
  opacity: 0.8;
  filter: saturate(0.94) contrast(1.01) brightness(0.99);
  transform-origin: 70% 50%;
  animation: hero-art-drift-canvas 28s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
  border: 0;
  border-radius: 0;
  -webkit-mask-image:
    radial-gradient(ellipse 130% 122% at 56% 50%, #000 54%, rgba(0, 0, 0, 0.9) 68%, rgba(0, 0, 0, 0.42) 84%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, #000 14%, #000 86%, rgba(0, 0, 0, 0.34) 100%);
  mask-image:
    radial-gradient(ellipse 130% 122% at 56% 50%, #000 54%, rgba(0, 0, 0, 0.9) 68%, rgba(0, 0, 0, 0.42) 84%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, #000 14%, #000 86%, rgba(0, 0, 0, 0.34) 100%);
}

html[data-theme="dark"] .hero-shell::before {
  background:
    radial-gradient(circle at 14% 15%, rgba(116, 181, 255, 0.11), transparent 34rem),
    radial-gradient(circle at 84% 22%, rgba(116, 181, 255, 0.16), transparent 28rem);
}

html[data-theme="dark"] .hero-art::before {
  background:
    radial-gradient(circle at 74% 32%, rgba(116, 181, 255, 0.14), transparent 26rem),
    radial-gradient(circle at 64% 72%, rgba(116, 181, 255, 0.08), transparent 30rem);
}

html[data-theme="dark"] .hero-media-video {
  opacity: 0.74;
  filter: saturate(0.9) contrast(1.02) brightness(0.88);
}

html[data-theme="dark"] .hero-art::after {
  background:
    linear-gradient(0deg,
      rgba(13, 17, 22, 0.22),
      rgba(13, 17, 22, 0.22)),
    linear-gradient(90deg,
      rgba(13, 17, 22, 0.92) 0%,
      rgba(13, 17, 22, 0.72) 17%,
      rgba(13, 17, 22, 0.46) 38%,
      transparent 66%),
    linear-gradient(90deg,
      transparent 0%,
      transparent 80%,
      rgba(13, 17, 22, 0.28) 100%),
    linear-gradient(180deg,
      rgba(13, 17, 22, 0.24) 0%,
      transparent 18%,
      transparent 82%,
      rgba(13, 17, 22, 0.22) 100%),
    radial-gradient(circle at 76% 24%, rgba(116, 181, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 66% 69%, rgba(116, 181, 255, 0.08), transparent 28rem);
}

@media (max-width: 1120px) {
  .hero-shell {
    min-height: clamp(42rem, 82vh, 56rem);
  }

  .hero-content {
    width: min(52rem, 100%) !important;
    padding-block: clamp(3.2rem, 7.4vh, 5.5rem);
  }

  .hero-intro h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.15rem);
  }

  .hero-text {
    font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  }

  .hero-media-video {
    width: clamp(20rem, 42vw, 32rem);
    height: clamp(20rem, 42vw, 32rem);
    right: clamp(0.2rem, 1.2vw, 1rem);
  }
}

@media (max-width: 960px) {
  .hero {
    width: min(calc(100% - 1.5rem), var(--content-width)) !important;
  }

  .hero-shell {
    min-height: auto;
    overflow: visible;
  }

  .hero-content {
    padding-block: 2.2rem 1rem;
    width: 100% !important;
    min-height: 0;
  }

  .hero-intro h1 {
    font-size: clamp(2.2rem, 7.2vw, 3.05rem);
    max-width: 16ch;
  }

  .hero-art {
    position: relative;
    inset: auto;
    min-height: 22rem;
    margin-top: 0.55rem;
  }

  .hero-art::before {
    inset: 0;
  }

  .hero-art::after {
    background:
      linear-gradient(180deg,
        color-mix(in srgb, var(--bg) 20%, transparent) 0%,
        transparent 18%,
        transparent 82%,
        color-mix(in srgb, var(--bg) 18%, transparent) 100%),
      radial-gradient(circle at 68% 24%, rgba(77, 160, 255, 0.18), transparent 22rem),
      radial-gradient(circle at 58% 72%, rgba(77, 160, 255, 0.1), transparent 26rem);
  }

  html[data-theme="dark"] .hero-art::after {
    background:
      linear-gradient(180deg,
        rgba(13, 17, 22, 0.2) 0%,
        transparent 18%,
        transparent 82%,
        rgba(13, 17, 22, 0.18) 100%),
      radial-gradient(circle at 68% 24%, rgba(116, 181, 255, 0.18), transparent 22rem),
      radial-gradient(circle at 58% 72%, rgba(116, 181, 255, 0.1), transparent 26rem);
  }

  .hero-media-video {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(90vw, 24rem);
    height: min(90vw, 24rem);
    margin-inline: auto;
    transform: none;
    object-position: 54% 52%;
  }
}

@media (max-width: 560px) {
  .hero {
    width: min(calc(100% - 1.25rem), var(--content-width)) !important;
  }

  .hero-content {
    padding-block: 2rem 0.9rem;
  }

  .hero-art {
    min-height: 19rem;
  }

  .hero-media-video {
    width: min(88vw, 21rem);
    height: min(88vw, 21rem);
    object-position: 52% 52%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art::before,
  .hero-art::after {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .hero-media-video {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
}

@keyframes hero-art-drift-canvas {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-0.8%, 0.6%, 0);
  }

  100% {
    transform: translate3d(0.9%, -0.6%, 0);
  }
}

@keyframes hero-glow-drift-canvas {
  0% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(-1.2%, 0.8%, 0);
  }

  100% {
    opacity: 0.92;
    transform: translate3d(1%, -0.8%, 0);
  }
}

/* --- HERO FINAL LOCK: unified copy + motion canvas --- */
.hero,
html[data-theme="light"] .hero,
html[data-theme="dark"] .hero {
  width: min(calc(100% - 2rem), var(--content-width)) !important;
  margin: 0.35rem auto 0 !important;
  padding: 0 0 clamp(2.25rem, 3.8vw, 3.2rem) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #e1e7ef !important;
}

.hero-shell,
html[data-theme="light"] .hero-shell,
html[data-theme="dark"] .hero-shell {
  position: relative !important;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr) !important;
  align-items: center;
  gap: clamp(1.65rem, 3.2vw, 3.8rem);
  min-height: clamp(42rem, 84vh, 56rem) !important;
  padding: clamp(3.1rem, 5.2vw, 5.1rem) clamp(1.1rem, 2.4vw, 2rem) clamp(2.2rem, 3.2vw, 3rem) !important;
  overflow: hidden !important;
  border-radius: clamp(1.25rem, 2vw, 2rem);
  background: #e1e7ef;
}

.hero-shell::before,
.hero-shell::after,
html[data-theme="light"] .hero-shell::before,
html[data-theme="light"] .hero-shell::after,
html[data-theme="dark"] .hero-shell::before,
html[data-theme="dark"] .hero-shell::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .hero-shell {
  background: #e1e7ef;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  align-content: center !important;
}

.hero-copy {
  max-width: 42rem;
  gap: clamp(1rem, 1.4vw, 1.55rem);
}

.hero-intro h1 {
  max-width: 12.5ch;
  font-size: clamp(2.8rem, 5.6vw, 4.95rem);
  line-height: 0.94;
  letter-spacing: -0.032em;
}

html[lang="fr"] .hero-intro h1 {
  max-width: 15ch;
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
}

html[lang="ar"] .hero-intro h1 {
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 35ch;
  font-size: clamp(1.08rem, 1.45vw, 1.36rem);
  line-height: 1.5;
}

.hero-actions {
  margin-top: clamp(0.25rem, 0.7vw, 0.7rem);
}

.hero-badges {
  margin-top: clamp(0.4rem, 0.8vw, 0.9rem);
}

.hero-rail {
  display: none !important;
}

.hero-art,
html[data-theme="light"] .hero-art,
html[data-theme="dark"] .hero-art {
  position: relative !important;
  inset: auto !important;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  align-self: stretch;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: clamp(20rem, 44vh, 33rem) !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #e1e7ef !important;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
  display: none;
}

.hero-art::before {
  inset: -16% -12%;
  z-index: 0;
  background:
    radial-gradient(circle at 64% 36%, rgba(189, 201, 217, 0.34), transparent 52%),
    radial-gradient(circle at 56% 70%, rgba(202, 212, 224, 0.2), transparent 60%);
  animation: hero-glow-drift-canvas 18s ease-in-out infinite;
}

html[data-theme="dark"] .hero-art::before {
  background:
    radial-gradient(circle at 64% 36%, rgba(97, 116, 137, 0.28), transparent 52%),
    radial-gradient(circle at 56% 70%, rgba(82, 101, 123, 0.16), transparent 60%);
}

.hero-art::after {
  inset: -12%;
  z-index: 2;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--bg) 82%, transparent) 0%,
      color-mix(in srgb, var(--bg) 52%, transparent) 18%,
      color-mix(in srgb, var(--bg) 18%, transparent) 38%,
      transparent 62%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 12%, transparent) 0%,
      transparent 16%,
      transparent 84%,
      color-mix(in srgb, var(--bg) 12%, transparent) 100%);
}

html[data-theme="dark"] .hero-art::after {
  background:
    linear-gradient(90deg,
      rgba(13, 17, 22, 0.82) 0%,
      rgba(13, 17, 22, 0.58) 18%,
      rgba(13, 17, 22, 0.28) 38%,
      transparent 62%),
    linear-gradient(180deg,
      rgba(13, 17, 22, 0.18) 0%,
      transparent 16%,
      transparent 84%,
      rgba(13, 17, 22, 0.18) 100%);
}

.hero-media-video {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto;
  align-self: stretch;
  max-width: none;
  display: block !important;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  border: 0 !important;
  border-radius: 0 !important;
  pointer-events: none;
  transform: none;
  transform-origin: center;
  animation: none;
  z-index: 1;
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
  box-shadow: none !important;
  outline: 0 !important;
  background: transparent !important;
}

.hero-media-video.is-boot-loading {
  opacity: 0 !important;
}

html[data-theme="dark"] .hero-media-video {
  opacity: 1;
  filter: none;
  background: transparent !important;
}

html[data-theme="light"] .hero-shell {
  background: #e1e7ef !important;
}

html[data-theme="dark"] .hero-shell {
  background: #0f141d !important;
}

html[data-theme="dark"] .hero-art {
  background: #0f141d !important;
}

@media (max-width: 1140px) {
  .hero-shell,
  html[data-theme="light"] .hero-shell,
  html[data-theme="dark"] .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.86fr) !important;
    min-height: clamp(37rem, 80vh, 49rem) !important;
  }

  .hero-intro h1 {
    font-size: clamp(2.5rem, 4.9vw, 4.1rem);
  }

  html[lang="fr"] .hero-intro h1 {
    max-width: 15.5ch;
    font-size: clamp(2.3rem, 4.35vw, 3.75rem);
  }

  .hero-text {
    font-size: clamp(1.04rem, 1.35vw, 1.23rem);
  }
}

@media (max-width: 960px) {
  .hero,
  html[data-theme="light"] .hero,
  html[data-theme="dark"] .hero {
    width: min(calc(100% - 1.4rem), var(--content-width)) !important;
    padding-bottom: clamp(1.45rem, 2.8vw, 2rem) !important;
  }

  .hero-shell,
  html[data-theme="light"] .hero-shell,
  html[data-theme="dark"] .hero-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.4rem;
    min-height: auto !important;
    padding: 2.1rem 0.95rem 1.5rem !important;
  }

  .hero-content {
    order: 1;
  }

  .hero-intro h1 {
    max-width: 13ch;
    font-size: clamp(2.22rem, 8.6vw, 3.25rem);
  }

  html[lang="fr"] .hero-intro h1 {
    max-width: 15ch;
    font-size: clamp(2rem, 7.2vw, 2.8rem);
  }

  .hero-text {
    max-width: none;
  }

  .hero-art,
  html[data-theme="light"] .hero-art,
  html[data-theme="dark"] .hero-art {
    order: 2;
    width: 100%;
    min-height: clamp(16rem, 52vw, 22rem) !important;
    margin-inline: auto;
    justify-content: stretch;
    align-items: stretch;
  }

  .hero-art::after {
    background:
      linear-gradient(180deg,
        color-mix(in srgb, var(--bg) 20%, transparent) 0%,
        transparent 16%,
        transparent 84%,
        color-mix(in srgb, var(--bg) 20%, transparent) 100%),
      radial-gradient(circle at 62% 34%, rgba(191, 203, 218, 0.2), transparent 58%);
  }

  html[data-theme="dark"] .hero-art::after {
    background:
      linear-gradient(180deg,
        rgba(13, 17, 22, 0.2) 0%,
        transparent 16%,
        transparent 84%,
        rgba(13, 17, 22, 0.2) 100%),
      radial-gradient(circle at 62% 34%, rgba(92, 112, 132, 0.18), transparent 58%);
  }

  .hero-media-video {
    width: 100% !important;
    height: 100% !important;
    clip-path: none;
    object-position: center;
  }
}

@media (max-width: 560px) {
  .hero,
  html[data-theme="light"] .hero,
  html[data-theme="dark"] .hero {
    width: min(calc(100% - 1.15rem), var(--content-width)) !important;
  }

  .hero-shell,
  html[data-theme="light"] .hero-shell,
  html[data-theme="dark"] .hero-shell {
    padding: 1.8rem 0.82rem 1.35rem !important;
    border-radius: 1.1rem;
  }

  .hero-intro h1 {
    font-size: clamp(1.95rem, 10.2vw, 2.65rem);
  }

  html[lang="fr"] .hero-intro h1 {
    max-width: 15ch;
    font-size: clamp(1.8rem, 8.4vw, 2.28rem);
  }

  .hero-text {
    font-size: clamp(1.03rem, 5vw, 1.18rem);
  }

  .hero-art,
  html[data-theme="light"] .hero-art,
  html[data-theme="dark"] .hero-art {
    width: 100%;
    min-height: clamp(14.4rem, 54vw, 19.2rem) !important;
  }

  .hero-media-video {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art::before,
  .hero-media-video {
    animation: none !important;
    transform: none !important;
  }
}

@keyframes hero-media-drift-unit {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.01) translate3d(-0.6%, 0.5%, 0);
  }

  100% {
    transform: scale(1) translate3d(0.62%, -0.45%, 0);
  }
}

/* --- Top canvas lock: header + hero read as one continuous surface --- */
.site-header,
html[data-theme="light"] .site-header,
html[data-theme="dark"] .site-header {
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.9rem max(1rem, calc((100vw - var(--content-width)) / 2 + 1rem)) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: var(--bg) !important;
  z-index: 220 !important;
  overflow: visible !important;
  isolation: isolate !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.site-header::after,
html[data-theme="light"] .site-header::after,
html[data-theme="dark"] .site-header::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

main {
  padding-top: 0 !important;
}

@media (max-width: 960px) {
  .site-header,
  html[data-theme="light"] .site-header,
  html[data-theme="dark"] .site-header {
    width: 100% !important;
    margin-top: 0 !important;
    padding: 0.85rem 0.7rem !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 560px) {
  .site-header,
  html[data-theme="light"] .site-header,
  html[data-theme="dark"] .site-header {
    width: 100% !important;
    margin-top: 0 !important;
    padding: 0.78rem 0.575rem !important;
  }
}

/* --- Light theme canvas harmonization --- */
html[data-theme="light"] {
  --bg: #edf3fa;
  --bg-gradient: linear-gradient(180deg, #edf3fa 0%, #eef4fb 55%, #edf3fa 100%);
}

html[data-theme="light"] body {
  background: var(--bg-gradient) !important;
}

html[data-theme="light"] .page-bg {
  opacity: 0.44;
  mask-image: none;
  background-image:
    linear-gradient(rgba(38, 58, 84, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 58, 84, 0.015) 1px, transparent 1px);
}

html[data-theme="light"] main::before {
  content: none;
}

html[data-theme="light"] .section,
html[data-theme="light"] .section-alt {
  padding-inline: 0;
}

html[data-theme="light"] .section::before {
  content: none !important;
}

html[data-theme="light"] .section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(
      180deg,
      rgba(225, 231, 239, 0) 0%,
      rgba(225, 231, 239, 0.64) 10%,
      rgba(225, 231, 239, 0.58) 90%,
      rgba(225, 231, 239, 0) 100%
    ),
    linear-gradient(180deg, rgba(239, 245, 252, 0.92), rgba(239, 245, 252, 0.82));
}

/* --- Responsive header navigation --- */
.header-panel {
  order: 2;
  display: flex;
  align-items: center;
  gap: 1rem 1.4rem;
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav {
  margin-inline: auto;
}

.header-actions {
  order: 3;
  position: relative;
  z-index: 110;
}

.menu-toggle {
  order: 4;
}

.lang-picker {
  position: relative;
  z-index: 120;
}

.lang-picker[open] {
  z-index: 140;
}

.lang-picker-menu {
  z-index: 150;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(20, 39, 71, 0.08);
  background: rgba(20, 39, 71, 0.04);
  color: var(--ink);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(79, 134, 198, 0.1);
  border-color: rgba(79, 134, 198, 0.18);
  transform: translateY(-1px);
}

.menu-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  width: 1.05rem;
}

.menu-toggle-bars span {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header[data-menu-open="true"] .menu-toggle-bars span:nth-child(1) {
  transform: translateY(0.35rem) rotate(45deg);
}

.site-header[data-menu-open="true"] .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.site-header[data-menu-open="true"] .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-0.35rem) rotate(-45deg);
}

html[data-theme="light"] .menu-toggle {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(20, 31, 47, 0.08);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html[data-theme="dark"] .menu-toggle {
  background: rgba(132, 172, 217, 0.08);
  border-color: rgba(132, 172, 217, 0.14);
  color: var(--accent-warm-soft);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 840px) {
  .site-header,
  html[data-theme="light"] .site-header,
  html[data-theme="dark"] .site-header {
    position: sticky !important;
    top: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 0.6rem 0.9rem !important;
  }

  .brand {
    min-width: 0;
  }

  .header-panel {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex !important;
    grid-column: 3;
    justify-self: end;
  }

  .main-nav {
    display: grid !important;
    gap: 0.15rem !important;
    width: 100% !important;
    margin: 0.2rem 0 0 !important;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    justify-content: stretch !important;
  }

  .site-header[data-menu-open="true"] .header-panel {
    display: block;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.78rem 0.15rem;
    font-size: 0.98rem;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  }

  .main-nav a::after {
    content: none;
  }

  .header-actions {
    display: flex !important;
    grid-column: 2;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: 0;
    gap: 0.55rem !important;
    overflow: visible !important;
    isolation: isolate;
    justify-self: end;
    position: relative;
    z-index: 35;
  }

  .theme-toggle,
  .motion-toggle {
    flex: none;
    width: 2.45rem;
    height: 2.45rem;
  }

  .lang-picker {
    flex: none !important;
    min-width: clamp(6.6rem, 24vw, 7.5rem) !important;
    position: relative !important;
  }

  .lang-picker-toggle {
    width: auto;
    min-width: 100%;
    min-height: 2.45rem;
    padding-inline: 0.42rem;
    gap: 0.5rem;
  }

  .lang-picker-menu {
    position: absolute !important;
    top: calc(100% + 0.45rem) !important;
    right: 0 !important;
    left: auto !important;
    width: max-content !important;
    min-width: max(100%, 11.5rem) !important;
    max-width: min(15rem, calc(100vw - 1rem)) !important;
    margin-top: 0 !important;
    z-index: 180 !important;
  }
}

@media (max-width: 560px) {
  .site-header,
  html[data-theme="light"] .site-header,
  html[data-theme="dark"] .site-header {
    gap: 0.5rem 0.75rem !important;
  }

  .brand-lockup {
    height: 2.15rem;
  }

  .header-actions {
    gap: 0.45rem !important;
  }

  .lang-picker {
    min-width: clamp(6rem, 23vw, 7rem) !important;
  }

  .lang-picker-toggle {
    padding-inline: 0.4rem;
  }

  .main-nav a {
    padding-block: 0.7rem;
    font-size: 0.94rem;
  }
}
