html,
body {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  background: #f8fafc;
  color: #0f172a;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hero-wrap {
  isolation: isolate;
}

/* Typography system: tuned for enterprise marketing readability */
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
}

h2 {
  font-weight: 800;
  line-height: 1.14;
}

h3 {
  font-weight: 760;
  line-height: 1.24;
}

/* Override utility font weights where needed */
.parallax-title h1,
section h2 {
  font-weight: 800;
}

section h3 {
  font-weight: 760;
}

p {
  line-height: 1.68;
}

main section > p:first-child {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.hero-shade {
  background:
    radial-gradient(circle at 18% 24%, rgba(125, 211, 252, 0.4), transparent 30%),
    radial-gradient(circle at 80% 28%, rgba(186, 230, 253, 0.25), transparent 30%),
    linear-gradient(145deg, #0c4a6e, #0b5f8a 45%, #0369a1);
}

.hero-vignette {
  background:
    linear-gradient(180deg, rgba(2, 132, 199, 0.22), rgba(2, 132, 199, 0.56)),
    radial-gradient(circle at 18% 22%, rgba(125, 211, 252, 0.24), transparent 38%);
}

.hero-video {
  transform: scale(1.14);
  filter: saturate(0.55) hue-rotate(18deg) brightness(0.42) contrast(1.12) blur(0.3px);
  object-fit: cover;
}

.hero-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, #000 25%, transparent 85%);
}

.neon-ring {
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.12);
}

.neon-orb {
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.9), rgba(186, 230, 253, 0.3) 35%, transparent 72%);
  filter: blur(2px);
}

.hero-panel {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 20px 50px rgba(2, 6, 23, 0.22);
}

.parallax-title h1 {
  max-width: 18ch;
  line-height: 1.07;
}

.parallax-title p {
  max-width: 64ch;
}

.hero-kpi {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  padding: 0.9rem;
}

.service-layers {
  position: relative;
  overflow: hidden;
}

.service-layers::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(56, 189, 248, 0.12), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(14, 116, 144, 0.12), transparent 38%);
  pointer-events: none;
}

.layers-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.layer-card {
  position: relative;
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  padding: 1.1rem 1.1rem 1.2rem;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.layer-kicker {
  font-size: 0.62rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0369a1;
  font-weight: 600;
}

.layer-card h3 {
  margin-top: 0.7rem;
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
  color: #0f172a;
}

.layer-card p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
}

.layer-core {
  transform: translateX(0);
}

.layer-flow {
  transform: translateX(1.4rem);
}

.layer-intel {
  transform: translateX(2.8rem);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 75;
}

.mega-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.38);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(90vw, 360px);
  height: 100%;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  transform: translateX(100%);
  transition: transform 240ms ease;
  box-shadow: -14px 0 32px rgba(15, 23, 42, 0.14);
}

.mobile-menu.open {
  pointer-events: auto;
}

.mobile-menu.open .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  margin-bottom: 0.7rem;
  background: #f8fafc;
}

.mobile-accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 0.9rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f172a;
}

.mobile-accordion-trigger.active {
  color: #0369a1;
}

.mobile-accordion-panel {
  display: none;
  padding: 0 0.95rem 0.7rem;
}

.mobile-accordion-panel.active {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 0.52rem 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #334155;
  text-decoration: none;
}

.mobile-sub-link:hover {
  color: #0369a1;
}

.menu-trigger.active {
  background: #f0f9ff;
  color: #0369a1;
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: grid;
}

.menu-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem;
}

.menu-card-link {
  text-decoration: none;
  display: block;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.menu-card-link:hover {
  border-color: #bae6fd;
  background: #f0f9ff;
  transform: translateY(-1px);
}

.menu-kicker {
  font-size: 0.62rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #0369a1;
}

.menu-title {
  margin-top: 0.7rem;
  font-size: 1.02rem;
  line-height: 1.36;
  color: #0f172a;
}

.menu-copy {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.58;
  color: #475569;
}

.logo-chip {
  border: 1px solid #cbd5e1;
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #334155;
  background: #fff;
}

.metric-card,
.solution-card,
.quote-card,
.resource-card {
  min-height: 100%;
  border-radius: 1rem;
}

.metric-card {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  border-color: #dbe5f0;
}

.services-showcase {
  background:
    linear-gradient(180deg, #f3f8ff 0%, #ecf5ff 48%, #f8fbff 100%);
}

.services-bg-layer {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.45;
}

.services-bg-layer-one {
  width: 380px;
  height: 380px;
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32) 0%, rgba(56, 189, 248, 0) 70%);
}

.services-bg-layer-two {
  width: 340px;
  height: 340px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28) 0%, rgba(14, 165, 233, 0) 70%);
}

.solution-card {
  position: relative;
  border: 1px solid #dbe5f0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -100px;
  right: -90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 72%);
  pointer-events: none;
  transition: transform 280ms ease, opacity 280ms ease;
  opacity: 0.8;
}

.solution-card-strong {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.solution-card-wide {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.solution-card:hover::before {
  transform: scale(1.08);
  opacity: 1;
}

.solution-card:hover {
  border-color: #93c5fd;
  background:
    linear-gradient(145deg, rgba(224, 242, 254, 0.9), rgba(239, 246, 255, 0.9)),
    rgba(255, 255, 255, 0.96);
}

.service-tag {
  margin: 0 0 0.65rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #0369a1;
}

.service-link {
  position: relative;
  padding-right: 0.25rem;
  transition: color 200ms ease, transform 200ms ease;
}

.service-link:hover {
  color: #075985;
  transform: translateX(2px);
}

.features-showcase {
  background:
    linear-gradient(180deg, #f3f8ff 0%, #ecf5ff 48%, #f8fbff 100%);
}

.features-bg-layer {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.5;
}

.features-bg-layer-one {
  width: 380px;
  height: 380px;
  top: -150px;
  left: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32) 0%, rgba(56, 189, 248, 0) 70%);
}

.features-bg-layer-two {
  width: 360px;
  height: 360px;
  right: -110px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28) 0%, rgba(14, 165, 233, 0) 70%);
}

.capability-card {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  border-color: #dbe5f0;
}

.metric-card p:first-child {
  letter-spacing: -0.015em;
}

.solution-card p,
.resource-card p {
  max-width: 48ch;
}

.quote-card p:first-child {
  font-size: 1.02rem;
  line-height: 1.75;
}

.resource-card,
.quote-card {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border-color: #dbe5f0;
}

.award-chip {
  border: 1px solid #cbd5e1;
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: #334155;
  background: #fff;
}

.partners-wow {
  background:
    radial-gradient(circle at 16% 20%, rgba(56, 189, 248, 0.24), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(125, 211, 252, 0.2), transparent 38%),
    linear-gradient(160deg, #0f172a, #111827 52%, #0f2740);
}

.partners-bg {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.55;
}

.partners-bg-one {
  width: 420px;
  height: 420px;
  right: -110px;
  top: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0) 72%);
}

.partners-bg-two {
  width: 360px;
  height: 360px;
  left: -90px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28) 0%, rgba(14, 165, 233, 0) 72%);
}

.award-chip-wow {
  border-color: rgba(125, 211, 252, 0.35);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}

.partners-main {
  border: 1px solid rgba(125, 211, 252, 0.35);
  background:
    linear-gradient(135deg, rgba(30, 41, 59, 0.76), rgba(2, 132, 199, 0.22)),
    rgba(15, 23, 42, 0.7);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.35);
}

.partners-stat {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(165deg, rgba(2, 6, 23, 0.92), rgba(30, 41, 59, 0.86));
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.34);
}

.logo-chip-wow {
  border-color: rgba(125, 211, 252, 0.3);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.58);
  letter-spacing: 0.12em;
}

.reveal-card {
  transition: transform 260ms ease, box-shadow 260ms ease;
  will-change: transform, opacity;
}

.reveal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

/* Story cards inspired by editorial testimonial mosaics */
.story-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1fr;
}

.story-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  padding: 1.4rem;
}

.story-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.story-kicker-dark {
  color: #334155;
}

.story-card-hero {
  min-height: 320px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.8)),
    url("https://images.pexels.com/photos/1181675/pexels-photo-1181675.jpeg?auto=compress&cs=tinysrgb&w=1400")
      center/cover no-repeat;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.22) 60%, rgba(2, 6, 23, 0.58));
}

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

.story-quote {
  margin-top: 7.4rem;
  max-width: 22ch;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.story-meta {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: rgba(241, 245, 249, 0.92);
}

.story-card-stat {
  background: #fef08a;
  border: 1px solid #fde047;
  min-height: 320px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.story-stat {
  margin-top: 8rem;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.story-stat-copy {
  margin-top: 0.8rem;
  max-width: 22ch;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 650;
  color: #0f172a;
}

.story-card-dark {
  min-height: 300px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: linear-gradient(160deg, #0f172a, #111827);
  color: #ffffff;
}

.story-dark-copy {
  margin-top: 1.3rem;
  max-width: 14ch;
  font-size: clamp(1.2rem, 1.95vw, 1.7rem);
  line-height: 1.12;
  font-weight: 700;
}

.story-thumb {
  margin-top: 1.2rem;
  width: 100%;
  height: 120px;
  border-radius: 0.7rem;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.4)),
    url("https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1200")
      center/cover no-repeat;
}

.story-card-quote {
  min-height: 300px;
  border: 1px solid #dbe5f0;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.story-big-quote {
  margin-top: 1.2rem;
  max-width: 23ch;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 780;
  color: #0f172a;
}

.story-meta-dark {
  margin-top: 1.5rem;
  color: #334155;
}

.resource-mosaic .story-card-hero,
.resource-mosaic .story-card-stat,
.resource-mosaic .story-card-dark,
.resource-mosaic .story-card-quote {
  min-height: 280px;
}

.resource-mosaic .story-quote {
  margin-top: 5.2rem;
  max-width: 20ch;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.resource-mosaic .story-stat {
  margin-top: 6rem;
}

.resource-mosaic .story-stat-copy {
  font-size: 1.05rem;
  line-height: 1.26;
}

.resource-mosaic .story-big-quote {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.08;
}

@media (min-width: 1024px) {
  .menu-card {
    min-height: 148px;
  }

  .layers-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .layer-flow,
  .layer-intel {
    transform: none;
  }

  .story-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .story-card-hero {
    grid-column: span 2;
  }

  .story-card-stat {
    grid-column: span 1;
  }

  .story-card-dark {
    grid-column: span 1;
  }

  .story-card-quote {
    grid-column: span 2;
  }

  .resource-mosaic .story-card-hero {
    grid-column: span 2;
  }

  .resource-mosaic .story-card-stat {
    grid-column: span 1;
  }

  .resource-mosaic .story-card-dark {
    grid-column: span 1;
  }

  .resource-mosaic .story-card-quote {
    grid-column: span 2;
  }
}

@media (max-width: 1360px) {
  .parallax-title h1 {
    max-width: 14.5ch;
  }
}

@media (max-width: 768px) {
  h1 {
    line-height: 1.12;
    letter-spacing: -0.018em;
  }

  h2 {
    line-height: 1.18;
  }

  p {
    line-height: 1.62;
  }

  .hero-grid {
    background-size: 44px 44px;
  }

  .logo-chip,
  .award-chip {
    font-size: 0.66rem;
  }

  .quote-card p:first-child {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .layer-flow {
    transform: translateX(0.8rem);
  }

  .layer-intel {
    transform: translateX(1.6rem);
  }

  .story-quote {
    margin-top: 5.8rem;
  }

  .story-stat {
    margin-top: 4.2rem;
  }

  .story-big-quote {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.08;
  }
}
