/* ============================================================
   RDI Innovators — Stylesheet
   ============================================================ */

/* ── 1. CSS Custom Properties ────────────────────────────── */
:root {
  /* Dark palette — black + orange */
  --color-bg:        #000000;
  --color-bg-soft:   #0d0d0d;
  --color-panel:     #111111;
  --color-panel-2:   #1a1a1a;
  --color-text:      #ffffff;
  --color-muted:     #a0a0a0;
  --color-border:    rgba(255, 94, 26, 0.18);
  --color-border-2:  rgba(255, 255, 255, 0.03);
  --color-brand:     #ff5e1a;
  --color-brand-lt:  #ff7a3d;
  --color-brand-bg:  rgba(255, 94, 26, 0.12);
  --color-brand-bd:  rgba(255, 94, 26, 0.35);
  --color-accent:    #ff8c50;

  --font-base:  'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:    0.78rem;
  --text-sm:    0.9rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.35rem;
  --text-2xl:   1.75rem;
  --text-3xl:   2.4rem;
  --text-hero:  clamp(2.2rem, 4.6vw, 3.6rem);

  --space-xs:   0.4rem;
  --space-sm:   0.75rem;
  --space-md:   1.25rem;
  --space-lg:   2rem;
  --space-xl:   3.5rem;
  --space-2xl:  5.5rem;

  --container:  1180px;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-pill:999px;

  --shadow-sm:  0 4px 16px rgba(0,0,0,0.25);
  --shadow-md:  0 12px 40px rgba(0,0,0,0.35);
  --shadow-lg:  0 24px 60px rgba(0,0,0,0.45);
  --shadow-brand: 0 14px 32px rgba(255,94,26,0.3);

  --transition: 0.22s ease;
}

/* Light mode — white + orange */
[data-theme="light"] {
  --color-bg:        #ffffff;
  --color-bg-soft:   #fff5f0;
  --color-panel:     #ffffff;
  --color-panel-2:   #fff0e8;
  --color-text:      #111111;
  --color-muted:     #666666;
  --color-border:    rgba(255, 94, 26, 0.2);
  --color-border-2:  rgba(0, 0, 0, 0.03);
  --color-brand-bg:  rgba(255, 94, 26, 0.08);
  --color-accent:    #cc3d00;
  --shadow-sm:  0 4px 16px rgba(255,94,26,0.06);
  --shadow-md:  0 12px 40px rgba(255,94,26,0.1);
  --shadow-brand: 0 10px 28px rgba(255,94,26,0.3);
}

/* ── 2. Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-base);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background:
    radial-gradient(ellipse 80% 60% at 95% 0%,   rgba(255,94,26,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%,  rgba(255,94,26,0.12) 0%, transparent 55%),
    var(--color-bg);
  background-attachment: fixed;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}
[data-theme="light"] body {
  background:
    radial-gradient(ellipse 80% 60% at 95% 0%,   rgba(255,94,26,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%,  rgba(255,94,26,0.07) 0%, transparent 55%),
    var(--color-bg);
  background-attachment: fixed;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── 3. Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, rgba(255,122,61,0.95), rgba(255,94,26,0.95));
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 8px 22px rgba(255, 94, 26, 0.35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, rgba(255,140,80,1), rgba(255,122,61,1));
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 12px 32px rgba(255, 94, 26, 0.50),
    0 0 28px rgba(255, 94, 26, 0.40);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .btn--outline {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 94, 26, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}
.btn--outline:hover {
  background: var(--color-brand-bg);
  border-color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 0 0 1px var(--color-brand),
    0 8px 24px rgba(255,94,26,0.35),
    0 0 24px rgba(255,94,26,0.25);
}

.btn--sm { padding: 0.55rem 1.1rem; font-size: var(--text-xs); }

/* ── 4. Eyebrow / shared bits ────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-brand);
  margin-bottom: 0.6rem;
}
.eyebrow--light { color: var(--color-brand-lt); }

.text-accent { color: var(--color-brand); }

.section-head--center {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head--center h2 { max-width: 700px; margin: 0 auto; }

/* ── 5. Header ───────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 10, 5, 0.45);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s ease;
}
[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.45);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
  transition: var(--transition);
}
.header__brand:hover .brand-mark {
  box-shadow: 0 0 0 2px var(--color-brand-bd),
              0 0 18px rgba(255,94,26,0.55);
}
.header__brand:hover .brand-text strong { color: var(--color-brand); }
.brand-mark { transition: box-shadow 0.25s ease; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,122,61,0.95), rgba(255,94,26,0.95));
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 4px 12px rgba(255, 94, 26, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-text small {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--color-muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__link {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--color-brand);
  text-shadow: 0 0 12px rgba(255,94,26,0.6);
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-brand);
  border-radius: 2px;
}

.nav__cta { color: #fff; }

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
}
.header__toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}
.header__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle.is-active span:nth-child(2) { opacity: 0; }
.header__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header.is-scrolled { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}
[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 94, 26, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}
.theme-toggle:hover {
  background: var(--color-brand-bg);
  border-color: var(--color-brand);
  color: var(--color-brand);
  box-shadow: 0 0 0 1px var(--color-brand),
              0 0 16px rgba(255,94,26,0.4);
}
.icon-sun { display: none; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* ── 6. Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0 var(--space-xl);
  background:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(255,94,26,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 20% 90%, rgba(255,94,26,0.08) 0%, transparent 60%);
}

.hero__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,138,80,0.5), transparent),
    radial-gradient(1px 1px at 70% 30%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(255,138,80,0.4), transparent),
    radial-gradient(1px 1px at 50% 90%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 20% 80%, rgba(255,138,80,0.4), transparent);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.08;
}
.hero__tagline {
  margin-top: 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--color-brand);
}
.hero__sub {
  margin-top: 1rem;
  max-width: 480px;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.hero__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__visual { display: flex; justify-content: center; }
.hero__illustration {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-lg);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.hero__illustration--light { display: none; }
[data-theme="light"] .hero__illustration--dark { display: none; }
[data-theme="light"] .hero__illustration--light { display: block; }

.hero__illustration:hover {
  box-shadow: 0 0 0 1px var(--color-brand-bd),
              0 0 40px rgba(255, 94, 26, 0.45),
              0 0 80px rgba(255, 94, 26, 0.25);
  transform: translateY(-2px);
}
[data-theme="light"] .hero__illustration:hover {
  box-shadow: 0 0 0 1px var(--color-brand-bd),
              0 0 32px rgba(255, 94, 26, 0.35),
              0 0 60px rgba(255, 94, 26, 0.18);
}

/* ── 7. About ────────────────────────────────────────────── */
.about {
  background:
    radial-gradient(ellipse 60% 70% at 100% 50%, rgba(255,94,26,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 0%, rgba(255,94,26,0.05) 0%, transparent 60%),
    var(--color-bg-soft);
  padding: var(--space-2xl) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.about__copy h2 { margin-bottom: 1rem; }
.about__copy p {
  color: var(--color-muted);
  margin-bottom: 0.9rem;
  font-size: var(--text-sm);
  line-height: 1.7;
}
.about__copy .btn { margin-top: 1rem; }

.about__domains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.domain-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 1.2rem 0.6rem;
  text-align: center;
  transition: var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.20);
}
[data-theme="light"] .domain-card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(255, 94, 26, 0.10);
}
.domain-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 12px 32px rgba(255, 94, 26, 0.35),
    0 0 24px rgba(255, 94, 26, 0.25);
}
.domain-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,170,120,0.45), transparent 50%),
    linear-gradient(160deg, rgba(255,138,80,0.18), rgba(255,94,26,0.06));
  border: 1px solid rgba(255, 94, 26, 0.28);
  color: var(--color-brand);
  margin-bottom: 0.85rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    0 6px 18px rgba(255, 94, 26, 0.10);
  filter: drop-shadow(0 0 0 transparent);
  transition: var(--transition);
}
.domain-card__icon svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
  transition: transform 0.35s ease;
}
.domain-card:hover .domain-card__icon {
  background:
    radial-gradient(circle at 28% 24%, rgba(255,180,130,0.65), transparent 55%),
    linear-gradient(160deg, rgba(255,138,80,0.32), rgba(255,94,26,0.14));
  border-color: var(--color-brand);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    0 0 24px rgba(255, 94, 26, 0.50);
}
.domain-card:hover .domain-card__icon svg {
  transform: scale(1.06);
}
.domain-card h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

/* ── 8. Services / Core Activities ───────────────────────── */
.services {
  padding: var(--space-2xl) 0;
}

.card-grid { display: grid; gap: 1.25rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.3rem;
  text-align: center;
  transition: var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.22);
}
[data-theme="light"] .service-card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 10px 28px rgba(255, 94, 26, 0.12);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 14px 38px rgba(255, 94, 26, 0.40),
    0 0 30px rgba(255, 94, 26, 0.28);
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-brand-bg);
  color: var(--color-brand);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── 9. Opportunities ────────────────────────────────────── */
.opportunities {
  background:
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(255,94,26,0.11) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(255,94,26,0.08) 0%, transparent 60%),
    var(--color-bg-soft);
  padding: var(--space-2xl) 0;
}

.opp-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.opp-row + .opp-row { margin-top: 1.5rem; }
.opp-row--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.opp-card {
  padding: 1.2rem 1rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}
[data-theme="light"] .opp-card {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}
.opp-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(255, 94, 26, 0.30),
    0 0 24px rgba(255, 94, 26, 0.20);
}
.opp-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-bg);
  color: var(--color-brand);
  margin-bottom: 0.7rem;
}
.opp-card h4 {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.opp-card p {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── 10. Workflow ────────────────────────────────────────── */
.workflow {
  padding: var(--space-2xl) 0;
}

.workflow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}
.workflow__steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: var(--color-brand-bd);
  z-index: 0;
}

.workflow__step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.workflow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,122,61,0.95), rgba(255,94,26,0.95));
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.30);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: 0.9rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 6px 16px rgba(255, 94, 26, 0.35),
    0 0 0 4px var(--color-bg);
}
[data-theme="light"] .workflow__num {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    0 6px 16px rgba(255, 94, 26, 0.30),
    0 0 0 4px #fff;
}
[data-theme="light"] .workflow__num { border-color: #fff; }

.workflow__icon {
  display: block;
  margin: 0 auto 0.6rem;
  color: var(--color-brand);
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 6px rgba(255, 94, 26, 0.30));
}
.workflow__step h4 {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: 0.3rem;
}
.workflow__step p {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.5;
}

.workflow__note {
  margin-top: 2.5rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 94, 26, 0.10);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 94, 26, 0.30);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 6px 18px rgba(255, 94, 26, 0.18);
}
.workflow__note strong { color: var(--color-brand); }

/* ── 11. Stats ───────────────────────────────────────────── */
.stats {
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%, rgba(255,94,26,0.08) 0%, transparent 60%),
    var(--color-bg-soft);
  padding: 3rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.stat__icon { color: var(--color-brand); margin-bottom: 0.3rem; }
.stat strong { font-size: 2rem; font-weight: 800; color: var(--color-text); }
.stat span { font-size: var(--text-xs); color: var(--color-muted); }

/* ── 12. For Experts ─────────────────────────────────────── */
.experts {
  padding: var(--space-2xl) 0;
}

.experts__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.experts__visual { display: flex; justify-content: center; }
.experts__img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-md);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.experts__img--light { display: none; }
[data-theme="light"] .experts__img--dark { display: none; }
[data-theme="light"] .experts__img--light { display: block; }
.experts__img:hover {
  box-shadow: 0 0 0 1px var(--color-brand-bd),
              0 0 40px rgba(255, 94, 26, 0.45),
              0 0 80px rgba(255, 94, 26, 0.25);
  transform: translateY(-2px);
}
[data-theme="light"] .experts__img:hover {
  box-shadow: 0 0 0 1px var(--color-brand-bd),
              0 0 32px rgba(255, 94, 26, 0.35),
              0 0 60px rgba(255, 94, 26, 0.18);
}
.experts__copy h2 { margin: 0.4rem 0 1.2rem; }
.experts__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.4rem;
  margin-bottom: 1.4rem;
}
.experts__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
}
.check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-brand-bg);
  color: var(--color-brand);
  margin-top: 2px;
}

/* ── 13. Join RDI ────────────────────────────────────────── */
.join {
  background:
    radial-gradient(ellipse 70% 90% at 100% 50%, rgba(255,94,26,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 70% 90% at 0% 50%, rgba(255,94,26,0.14) 0%, transparent 65%),
    var(--color-bg-soft);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.join::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 24%, rgba(255,138,80,0.5), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 60% 30%, rgba(255,138,80,0.4), transparent);
  pointer-events: none;
}

.join__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}
.join__copy h2 { margin-bottom: 0.8rem; }
.join__copy p { color: var(--color-muted); font-size: var(--text-sm); max-width: 380px; }

.join__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.join-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 8px 24px rgba(0, 0, 0, 0.18);
}
[data-theme="light"] .join-card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(255, 94, 26, 0.12);
}
.join-card:hover {
  border-color: var(--color-brand);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 12px 30px rgba(255, 94, 26, 0.40),
    0 0 24px rgba(255, 94, 26, 0.30);
}
.join-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-brand-bg);
  color: var(--color-brand);
}
.join-card strong {
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.join__email {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, rgba(255,122,61,0.95), rgba(255,94,26,0.95));
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.3rem;
  margin-top: 0.4rem;
  text-align: left;
  width: 100%;
  transition: var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 10px 28px rgba(255, 94, 26, 0.40);
}
.join__email:hover {
  background: var(--color-brand-lt);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,94,26,0.5),
              0 0 30px rgba(255,94,26,0.35);
}
.join__email-icon { color: #fff; display: inline-flex; }
.join__email-text { font-size: var(--text-sm); }
.join__email-text strong { color: #fff; margin-left: 4px; font-weight: 700; }

/* ── 14. Footer ──────────────────────────────────────────── */
.footer {
  background: var(--color-bg);
  color: var(--color-muted);
  padding: var(--space-2xl) 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
}

.footer__brand p {
  margin: 1rem 0 1.2rem;
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
}
.footer__socials { display: flex; gap: 0.6rem; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--color-muted);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}
.social-icon:hover {
  color: #fff;
  border-color: var(--color-brand);
  background: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,94,26,0.5),
              0 0 24px rgba(255,94,26,0.35);
}

.footer__col h5 {
  color: var(--color-text);
  font-size: var(--text-base);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer__col ul li { margin-bottom: 0.55rem; }
.footer__col a {
  font-size: var(--text-sm);
  color: var(--color-muted);
  transition: color var(--transition);
}
.footer__col a:hover {
  color: var(--color-brand);
  text-shadow: 0 0 10px rgba(255,94,26,0.55);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--text-sm);
  margin-bottom: 0.7rem;
  color: var(--color-muted);
}
.footer__contact svg { flex: 0 0 auto; margin-top: 3px; color: var(--color-brand); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.footer__bottom .heart { color: var(--color-brand); }

/* ── 15. Reveal Animation ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-lt));
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(255, 94, 26, 0.6);
}

/* 3D tilt setup */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.25s ease;
  will-change: transform;
}
.tilt > * { transform: translateZ(0); }

/* Magnetic button */
.btn--primary,
.btn--outline { will-change: transform; }

/* Hero parallax layers */
.hero__stars { transition: transform 0.2s ease-out; will-change: transform; }
.hero__visual { transition: transform 0.25s ease-out; will-change: transform; }

/* Animated stat numbers (prevent layout jump while counting) */
.stat strong { font-variant-numeric: tabular-nums; display: inline-block; }

/* Workflow active step (lit as you scroll) */
.workflow__step {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.workflow__step .workflow__num,
.workflow__step .workflow__icon {
  transition: background 0.35s ease, color 0.35s ease,
              box-shadow 0.35s ease, transform 0.35s ease;
}
.workflow__step.is-active .workflow__num {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 0 0 6px var(--color-brand-bg),
              0 10px 24px rgba(255, 94, 26, 0.35);
  transform: scale(1.08);
}
.workflow__step.is-active .workflow__icon {
  color: var(--color-brand);
  transform: scale(1.05);
}

/* Hero title letter reveal */
.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__title.is-revealed .char { opacity: 1; transform: translateY(0); }

/* Reduced-motion: disable all of the above motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .tilt,
  .hero__stars,
  .hero__visual,
  .workflow__step,
  .workflow__step .workflow__num,
  .workflow__step .workflow__icon,
  .hero__title .char {
    transition: none !important;
    transform: none !important;
  }
  .reveal { opacity: 1 !important; }
  .hero__title .char { opacity: 1 !important; }
  .scroll-progress { display: none; }
}

/* ── 16. Responsive ──────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__grid,
  .about__grid,
  .experts__grid,
  .join__grid { grid-template-columns: 1fr; }
  .hero__visual,
  .experts__visual { order: -1; }

  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .opp-row { grid-template-columns: repeat(3, 1fr); }
  .opp-row--4 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 1.5rem; }

  .workflow__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .workflow__steps::before { display: none; }
}

@media (max-width: 768px) {
  .header__toggle { display: flex; }
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    gap: 0.4rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  [data-theme="light"] .nav { background: #fff; }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link { padding: 0.6rem 0; }
  .nav__cta { align-self: flex-start; }

  .about__domains { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: 1fr; }
  .opp-row, .opp-row--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .experts__list { grid-template-columns: 1fr; }
  .join__cards { grid-template-columns: 1fr; }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .workflow__steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.6rem; }
  .hero { padding: 3rem 0 2rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
