/* =========================================================
   IO:TCR — Brand styles
   Brand palette derived from investment brochure:
     - Deep emerald green  #025D2F   (logo)
     - Royal/violet purple #4C2A85   (accent / section blocks)
     - Soft purple tint    #ECE6F4
     - Soft green tint     #E5EFE9
     - Ink                 #0E1A14
     - Body grey           #2B2F33
     - Muted grey          #5C6166
     - Bone white          #FAFAF7
   ========================================================= */

:root {
  --green: #025D2F;
  --green-dark: #013A1D;
  --green-tint: #E5EFE9;
  --purple: #4C2A85;
  --purple-dark: #341E5C;
  --purple-tint: #ECE6F4;
  --ink: #0E1A14;
  --body: #2B2F33;
  --muted: #5C6166;
  --line: #E5E5E0;
  --bone: #FAFAF7;
  --white: #ffffff;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --radius-lg: 12px;

  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --shadow-sm: 0 1px 2px rgba(14,26,20,.06), 0 1px 3px rgba(14,26,20,.04);
  --shadow-md: 0 6px 24px rgba(14,26,20,.08), 0 2px 6px rgba(14,26,20,.05);
  --shadow-lg: 0 24px 60px rgba(14,26,20,.18);
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--purple-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 800;
}
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1rem;
  z-index: 1000; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1rem;
  position: relative;
  padding-left: 2rem;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1.5rem; height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}
.eyebrow--light { color: rgba(255,255,255,.75); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.6rem;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--white {
  background: #fff;
  color: var(--purple-dark);
  border-color: #fff;
}
.btn--white:hover { background: var(--purple-tint); color: var(--purple-dark); border-color: var(--purple-tint); transform: translateY(-1px); }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 44px; height: 44px;
  object-fit: contain;
  flex: none;
}
.brand__word { display: inline-block; }
.brand__accent { color: var(--green); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  color: var(--body);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}
.nav__links a:not(.nav__cta):hover { color: var(--ink); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav__cta:hover { background: var(--green); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner { height: 68px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand { font-size: 1.25rem; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0 var(--space-lg);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(52, 30, 92, 0.92) 0%, rgba(52, 30, 92, 0.78) 38%, rgba(2, 93, 47, 0.68) 78%, rgba(2, 93, 47, 0.55) 100%),
    radial-gradient(800px 400px at 80% 20%, rgba(255,255,255,.10), transparent 60%);
}
.hero__content {
  max-width: 820px;
  position: relative;
}
.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.4rem;
}
.hero__title--accent {
  color: #B5E3C5;
  display: inline;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.6rem;
  flex-wrap: wrap;
}
.hero__chips {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,.22);
  padding-top: 1.4rem;
  max-width: 720px;
}
.hero__chips li {
  font-size: .92rem;
  color: rgba(255,255,255,.85);
}
.hero__chips strong {
  color: #fff;
  font-weight: 700;
  margin-right: .4em;
}

@media (max-width: 760px) {
  .hero { min-height: 0; padding: var(--space-lg) 0; }
  .hero__title { font-size: 2.4rem; }
}

/* ===== Stats strip ===== */
.stats {
  background: var(--bone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-md) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat {
  text-align: left;
  padding: .5rem 0;
}
.stat__num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: .55rem;
}
.stat__label {
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 880px) {
  .stats__grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ===== Sections ===== */
.section {
  padding: var(--space-xl) 0;
}
.section__head {
  max-width: 760px;
  margin: 0 auto var(--space-md);
}
.section__head--center { text-align: center; }
.section__head--center .eyebrow { padding-left: 0; }
.section__head--center .eyebrow::before { display: none; }
.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ink);
}
.section__title--light { color: #fff; }
.section__lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 1.2rem;
}
.section__lede--light { color: rgba(255,255,255,.88); }
.section__body {
  font-size: 1rem;
  color: var(--muted);
}
.section__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.section__grid--reverse .section__copy { order: 2; }
.section__visual figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.section__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.section__visual figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.4rem;
  font-size: .9rem;
  color: #fff;
  background: linear-gradient(to top, rgba(14,26,20,.78), transparent);
  font-weight: 500;
}
@media (max-width: 880px) {
  .section__grid { grid-template-columns: 1fr; gap: 2rem; }
  .section__grid--reverse .section__copy { order: 0; }
  .section__visual img { aspect-ratio: 4 / 3; }
}

/* ===== Mission pillars ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
}
.pillar {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bone);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow-sm); }
.pillar__icon {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: .6rem;
}
.pillar__icon svg { width: 28px; height: 28px; }
.pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .3rem;
  color: var(--ink);
}
.pillar p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

/* ===== Science section ===== */
.section--science {
  background: linear-gradient(170deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--science::before {
  content: "";
  position: absolute;
  inset: -100px -100px auto auto;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent 70%);
  pointer-events: none;
}
.section--science .section__title { color: #fff; }

.science__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: 3rem;
}
.science__diagram {
  margin: 0;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.science__diagram-inner {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
  width: 100%;
  max-width: 460px;
}
.science__diagram img {
  max-width: 200px;
  width: 55%;
  flex-shrink: 0;
  align-self: center;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.25));
}
.science__diagram-labels {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Match the visual extent of the three figures in the image */
  padding: 6% 0;
}
.science__diagram-labels li {
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  letter-spacing: 0.01em;
  color: #BBA9DD;
  line-height: 1.25;
  /* Each label centered against its corresponding figure */
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.science__features {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 1rem;
}
.science__features li {
  padding: 1.3rem 1.4rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid #B5E3C5;
  border-radius: var(--radius);
  transition: background .2s ease, transform .2s ease;
}
.science__features li:hover {
  background: rgba(255,255,255,.10);
  transform: translateX(4px);
}
.science__features h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .3rem;
}
.science__features p {
  font-size: .92rem;
  margin: 0;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

.kimmtrak {
  margin-top: 3.5rem;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 2rem 2.4rem;
}
.kimmtrak__inner p:last-child {
  font-size: 1.05rem;
  margin: 0;
  color: rgba(255,255,255,.92);
  line-height: 1.55;
}
@media (max-width: 880px) { .science__grid { grid-template-columns: 1fr; } }

/* ===== Opportunity ===== */
.section--opportunity { background: var(--bone); }
.opp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.opp__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.opp__card:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: var(--shadow-md); }
.opp__card--accent {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.opp__card--accent:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.opp__num {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purple);
  margin-bottom: .45rem;
  line-height: 1;
}
.opp__card--accent .opp__num { color: #fff; }
.opp__card p {
  font-size: .92rem;
  line-height: 1.5;
  margin: 0;
  color: var(--muted);
}
.opp__card--accent p { color: rgba(255,255,255,.92); }
.opp__footnote {
  margin-top: 1.5rem;
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 880px) { .opp__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .opp__grid { grid-template-columns: 1fr; } }

/* ===== Kingdom ===== */
.section--kingdom { background: #fff; }
.kingdom__list {
  list-style: none;
  padding: 0; margin: 1.5rem 0 0;
  display: grid;
  gap: .9rem;
}
.kingdom__list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--body);
}
.kingdom__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55rem;
  width: 1.2rem; height: 2px;
  background: var(--green);
}
.kingdom__list strong { color: var(--ink); font-weight: 700; }

/* ===== Investors band ===== */
.section--investors {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  text-align: center;
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}
.section--investors::before {
  content: "";
  position: absolute;
  width: 100%; height: 100%;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 16px);
  pointer-events: none;
}
.investors__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.investors__inner .eyebrow { padding-left: 0; }
.investors__inner .eyebrow::before { display: none; }
.investors__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.investors__lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ===== Contact ===== */
.section--contact {
  background: var(--bone);
  padding: var(--space-xl) 0;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contact__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.contact__btn {
  font-size: 1.05rem;
  padding: 1.1rem 2.25rem;
  text-align: center;
  width: 100%;
  max-width: 360px;
}
.contact__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}
.contact__row {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact__row:last-child { border-bottom: 0; }
.contact__row:first-child { padding-top: 0; }
.contact__label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .25rem;
}
.contact__value {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 600;
}
a.contact__value:hover { color: var(--green); }
@media (max-width: 880px) {
  .contact__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 2.5rem;
}
.footer__inner { text-align: left; }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.footer__brand .brand__accent { color: #6FBF8C; }
.footer__tagline {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  margin: 0 0 1.5rem;
  max-width: 540px;
}
.footer__legal {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
}
.footer__legal a { color: #6FBF8C; }
.footer__legal a:hover { color: #B5E3C5; }
.footer__disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  max-width: 720px;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.2rem;
}

/* ===== Reveal-on-scroll ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Language toggle button
   ========================================================= */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-inline-start: .25rem;
  padding: .4rem .7rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.lang-toggle:hover {
  border-color: var(--green);
  color: var(--ink);
}
.lang-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.lang-toggle__option {
  padding: 0 .15rem;
  transition: color .2s ease;
  font-family: "Inter", "IBM Plex Sans Arabic", sans-serif;
}
.lang-toggle__option[data-lang="ar"] {
  font-family: "IBM Plex Sans Arabic", "Inter", sans-serif;
  font-size: .92rem;
}
.lang-toggle__option.is-active {
  color: var(--green);
}
.lang-toggle__sep {
  color: var(--line);
  font-weight: 400;
}
@media (max-width: 760px) {
  /* Override .nav__links { display: none } so the toggle stays reachable */
  .nav__links { display: contents; }
  .nav__links a { display: none; }
  .lang-toggle {
    display: inline-flex;
    padding: .35rem .65rem;
    font-size: .78rem;
  }
}

/* =========================================================
   Arabic / RTL adjustments
   Activated when <html dir="rtl">
   ========================================================= */
[dir="rtl"] {
  --font-sans: "IBM Plex Sans Arabic", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}
[dir="rtl"] body {
  /* Slightly tighter line-height for Arabic — diacritics + tall letterforms */
  font-size: 17px;
  line-height: 1.75;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 700;
}
[dir="rtl"] .hero__title { line-height: 1.25; }

/* Eyebrow: flip the leading rule to the right side */
[dir="rtl"] .eyebrow {
  padding-left: 0;
  padding-right: 2rem;
  letter-spacing: 0;
}
[dir="rtl"] .eyebrow::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .section__head--center .eyebrow,
[dir="rtl"] .investors__inner .eyebrow {
  padding-right: 0;
}

/* Hero chips — strong text spacing */
[dir="rtl"] .hero__chips strong {
  margin-right: 0;
  margin-left: .4em;
}

/* Brand wordmark stays LTR (it's a Latin acronym) */
[dir="rtl"] .brand__word {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Stat block alignment */
[dir="rtl"] .stat { text-align: right; }

/* Footer alignment */
[dir="rtl"] .footer__inner { text-align: right; }

/* Science feature cards — flip the accent bar to the right */
[dir="rtl"] .science__features li {
  border-left: 1px solid rgba(255,255,255,.12);
  border-right: 3px solid #B5E3C5;
}
[dir="rtl"] .science__features li:hover {
  transform: translateX(-4px);
}

/* Kingdom checklist — flip the bullet bar to the right */
[dir="rtl"] .kingdom__list li {
  padding-left: 0;
  padding-right: 2rem;
}
[dir="rtl"] .kingdom__list li::before {
  left: auto;
  right: 0;
}

/* Skip link — flip side */
[dir="rtl"] .skip-link { left: auto; right: -9999px; }
[dir="rtl"] .skip-link:focus { right: 0; left: auto; border-radius: 0 0 0 6px; }

/* Underline animation for nav links — flip transform-origin */
[dir="rtl"] .nav__links a:not(.nav__cta)::after {
  transform-origin: right;
}

/* Numbers stay LTR for readability (e.g. "+117%", "USD 112B") */
[dir="rtl"] .stat__num,
[dir="rtl"] .opp__num {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
[dir="rtl"] .stat__num { display: block; }
[dir="rtl"] .opp__num { display: block; }

/* Email addresses, URLs — keep LTR */
[dir="rtl"] a[href^="mailto:"],
[dir="rtl"] .contact__value {
  unicode-bidi: plaintext;
}



/* ===== Region cards (Gulf / generic) ===== */
.region__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 .25rem;
}
.region__card {
  background: var(--green-tint);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.15rem;
}
.region__card:nth-child(2) { background: var(--purple-tint); border-top-color: var(--purple); }
.region__name { margin: 0 0 .3rem; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.region__prog { margin: 0 0 .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--green); }
.region__card:nth-child(2) .region__prog { color: var(--purple); }
.region__body { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--body); }
@media (max-width: 560px) { .region__cards { grid-template-columns: 1fr; } }

.nav__links a.nav__cta { padding: .5rem 1rem; }
@media (min-width: 761px) and (max-width: 920px) { .nav__links { gap: .8rem; } .nav__links a { font-size: .86rem; } .nav__inner { gap: .8rem; } }
