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

/* Containment hints for heavy isolated cards — isolates paint/layout
   without the layout-shift risk of content-visibility:auto */
.prog-card,
.feature-3d,
.space-card {
  contain: layout paint;
}

html {
  direction: rtl;
}

html,
body {
  scroll-behavior: auto !important;
  overscroll-behavior: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background: var(--bg-base);
  color: var(--ink-80);
  font-family: var(--font-ar);
  font-weight: 400;
  font-size: var(--ts-body);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: auto;
}

a,
button,
[role="button"],
[data-action],
[data-scroll-to],
.btn-primary,
.btn-secondary,
.nav__link,
.nav__cta,
.nav__logo,
.nav__hamburger,
.role-row,
.reg-chip,
.mosaic__tile,
.program-card,
.feature-3d,
.footer__social-link {
  cursor: pointer;
}

input,
textarea,
select,
[contenteditable],
[data-native-cursor] {
  cursor: auto;
}

input[type="checkbox"],
input[type="radio"],
label {
  cursor: pointer;
}

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

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

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

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg-deepest); }
::-webkit-scrollbar-thumb {
  background: var(--teal-signature);
  border-radius: 2px;
}

.display-xl {
  font-family: var(--font-display);
  font-size: var(--ts-display-xl);
  line-height: 1.0;
  font-weight: 800;
}

.display-lg {
  font-family: var(--font-display);
  font-size: var(--ts-display-lg);
  line-height: 1.05;
  font-weight: 700;
}

.h1 {
  font-family: var(--font-display);
  font-size: var(--ts-h1);
  line-height: 1.1;
  font-weight: 700;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--ts-h2);
  line-height: 1.2;
  font-weight: 600;
}

.body-lg {
  font-size: var(--ts-body-lg);
  line-height: 1.7;
  font-weight: 400;
}

.body {
  font-size: var(--ts-body);
  line-height: 1.7;
  font-weight: 400;
}

.caption {
  font-size: var(--ts-caption);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-text {
  font-size: var(--ts-eyebrow);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal-signature);
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
