/* ═══════════════════════════════════════════════════════════
   Another Reality Studio — Overhauled Landing Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  --bg: #000000;
  --bg-elevated: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.1);
  --light-bg: #f8f9fb;
  --light-text: #0d0d12;
  --blue: #097ffd;
  --blue-glow: rgba(9, 127, 253, 0.35);
  --cyan: #00d4ff;
  --purple: #7c3aed;
  --gradient-accent: linear-gradient(135deg, var(--blue), var(--cyan));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 40px -20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px -30px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 60px -10px var(--blue-glow);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 64px;
  --section-pad: clamp(64px, 8vw, 120px);
  --container: 1180px;
  --container-narrow: 860px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Keyboard accessibility */
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(9, 127, 253, 0.95);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   STARFIELD (Dark Section Background Effect)
   Applied via JS to dark sections only.
   ═══════════════════════════════════════════════════════════ */
.has-starfield {
  position: relative;
  isolation: isolate;
}

.starfield-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
}

.hero.has-starfield>.starfield-canvas {
  opacity: 0.46;
}

.section--bg.has-starfield>.starfield-canvas {
  opacity: 0.22;
}

nav.nav.has-starfield>.starfield-canvas {
  opacity: 0.32;
}

.site-footer.has-starfield>.starfield-canvas {
  opacity: 0.30;
}

.section--dark.has-starfield>.container,
.section--bg.has-starfield>.container {
  position: relative;
  z-index: 1;
}

nav.nav.has-starfield .nav__link,
.site-footer.has-starfield .site-footer__inner {
  position: relative;
  z-index: 1;
}

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

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

/* ─── Utility ─── */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.container--narrow {
  width: min(var(--container-narrow), calc(100% - 40px));
}

.container--wide {
  width: min(1320px, calc(100% - 40px));
}

a#top {
  position: absolute;
  top: 0;
}

/* ─── Reveal Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal--delay-1 {
  transition-delay: 0.12s;
}

.reveal--delay-2 {
  transition-delay: 0.24s;
}

.reveal--delay-3 {
  transition-delay: 0.36s;
}

/* Hero entrance animation (CSS-only, no IntersectionObserver needed) */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero__sub {
  animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero__actions {
  animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.header__inner {
  height: 100%;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 23px;
  width: auto;
}

@media (min-width: 1080px) {
  .brand img {
    height: 35px;
  }
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }
}

/* Desktop nav (inside header) */
.nav--desktop {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 16px;
}

@media (min-width: 1080px) {
  .nav--desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Mobile nav overlay (outside header, root stacking context) */
nav.nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: #000000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 200;
  overflow-y: auto;                      /* allow scrolling when content exceeds viewport */
  -webkit-overflow-scrolling: touch;     /* smooth scrolling on iOS */
  padding: 20px 16px;                    /* small inset so expanded lists aren't flush to edges */
}

nav.nav.is-open {
  display: flex;
}

nav.nav.is-open .nav__link {
  font-size: 18px;
  padding: 10px 16px;
}

@media (min-width: 1080px) {
  nav.nav {
    display: none !important;
  }
}

.nav__link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav__link--active {
  color: var(--blue);
}

.header__cta {
  display: none;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 11px;
  white-space: nowrap;
  transition: filter 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px -6px var(--blue-glow);
  flex-shrink: 0;
}

@media (min-width: 1080px) {
  .header__cta {
    display: inline-flex;
  }
}

.header__cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 30px -4px var(--blue-glow);
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 30px -10px rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   DESKTOP DROPDOWN NAV
   ═══════════════════════════════════════════════════════════ */
.nav__dropdown {
  position: relative;
}

/* Button that acts like a nav link */
.nav__drop-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__caret {
  font-size: 8px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav__dropdown:hover .nav__caret,
.nav__dropdown:focus-within .nav__caret {
  transform: rotate(180deg);
}

/* The dropdown panel */
.nav__drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #000000;
  border: 1px solid #000000;
  border-radius: 0;
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.7);
  list-style: none;
  margin: 0;
  padding: 14px 0 6px;
  z-index: 300;
}

/* Keep panel visible while hovering it */
.nav__dropdown:hover .nav__drop-menu,
.nav__dropdown:focus-within .nav__drop-menu {
  display: block;
}

/* Arrow removed for flat black style */
.nav__drop-menu::before {
  display: none;
}

.nav__drop-item {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav__drop-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE ACCORDION NAV
   ═══════════════════════════════════════════════════════════ */
.nav__mob-group {
  width: 100%;
  text-align: center;
}

.nav__mob-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.nav__mob-sub {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    max-height 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.16s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__mob-group.is-open .nav__mob-sub {
  max-height: var(--sub-h, 420px);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__mob-group.is-open .nav__caret {
  transform: rotate(180deg);
}

.nav__mob-sub .nav__drop-item {
  font-size: 15px;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .nav__mob-sub {
    transition: none;
    transform: none;
  }
}

.nav__mob-sub .nav__drop-item:hover {
  color: #fff;
  background: rgba(9, 127, 253, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  --hero-extra-space: clamp(120px, 16vh, 260px);
  position: relative;
  min-height: calc(100vh + var(--hero-extra-space));
  min-height: calc(100svh + var(--hero-extra-space));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding-top: var(--header-h);
  overflow: hidden;
}

@media (max-height: 820px) {
  .hero {
    --hero-extra-space: clamp(84px, 10vh, 140px);
  }
}

.hero__particle-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  bottom: 0;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: auto;
}

/* Let NextParticle manage canvas sizing to preserve aspect ratio */
.hero__particle-wrap canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 260ms ease;
  will-change: opacity;
  pointer-events: auto;
}

.hero__particle-wrap.is-ready canvas {
  opacity: 1;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(9, 127, 253, 0.08), transparent),
    radial-gradient(circle 1px at center, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
  background-size: 100% 100%, 32px 32px, 100% 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(180px, 26vh, 280px) 0 56px;
  pointer-events: none;
}

.hero__title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.hero__title-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 30px -8px var(--blue-glow);
}

.btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 40px -4px var(--blue-glow);
  transform: translateY(-1px);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--bg);
  font-weight: 800;
}

.btn--white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.section--light .btn--outline {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--light-text);
}

.section--light .btn--outline:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.section {
  position: relative;
  padding: var(--section-pad) 0;
}

.hero+.section {
  padding-top: clamp(36px, 5vw, 72px);
}

.section--dark+.section--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(9, 127, 253, 0.25), transparent);
}

.section--compact {
  padding: 40px 0;
}

.section--dark {
  background: var(--bg);
}

.section--light {
  --section-fade: 56px;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--light-bg) var(--section-fade),
    var(--light-bg) calc(100% - var(--section-fade)),
    var(--bg) 100%
  );
  color: var(--light-text);
}

.section--bg {
  background: var(--bg);
  overflow: hidden;
}

.bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.9) contrast(1.05);
  opacity: 0.4;
}

.section--bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 20%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.82));
}

.section--bg>.container {
  position: relative;
  z-index: 1;
}


.section--full-bleed {
  --full-bleed-max: 2400px;
  --full-bleed-gutter: clamp(14px, 1.6vw, 36px);
  isolation: isolate;
}

.section--full-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(9, 127, 253, 0.09) 0%,
      rgba(9, 127, 253, 0.02) 12%,
      transparent 24%,
      transparent 76%,
      rgba(9, 127, 253, 0.02) 88%,
      rgba(9, 127, 253, 0.09) 100%);
  pointer-events: none;
  z-index: 0;
}

.section--full-bleed>.container,
.section--full-bleed>.container--narrow,
.section--full-bleed>.container--wide {
  width: min(var(--full-bleed-max), calc(100% - (var(--full-bleed-gutter) * 2)));
  position: relative;
  z-index: 1;
}

.section--full-bleed .section-sub {
  max-width: 76ch;
}

.built-for.section--full-bleed {
  --full-bleed-max: 3000px;
}

#convergence.section--full-bleed {
  --full-bleed-max: 2800px;
}

#work.section--full-bleed {
  --full-bleed-max: 3000px;
}

#enterprise-trust.section--full-bleed {
  --full-bleed-max: 2600px;
}

.section--light.section--full-bleed {
  --full-bleed-max: 2600px;
}

.section--compact.section--full-bleed[aria-label="Customer logos"] {
  --full-bleed-max: 3400px;
  --full-bleed-gutter: clamp(10px, 1.1vw, 24px);
}

#products.section--full-bleed {
  --full-bleed-max: 2800px;
}

#domains.section--full-bleed {
  --full-bleed-max: 2800px;
}

#digital-twins.section--full-bleed {
  --full-bleed-max: 2800px;
}

#robotics.section--full-bleed {
  --full-bleed-max: 2800px;
}

.section--intro.section--full-bleed {
  --full-bleed-max: 3000px;
  --full-bleed-gutter: clamp(12px, 1.3vw, 30px);
}

.section--how-we-work.section--full-bleed {
  --full-bleed-max: 2600px;
}


.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header--left {
  text-align: left;
}

.overline {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}

.section-sub {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

.section-header--left .section-sub {
  margin-left: 0;
  margin-right: 0;
}

.section--intro .section-header {
  margin-bottom: 0;
}

.intro__title {
  font-size: clamp(26px, 3.4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.intro__title-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro__sub {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
}

.intro__sub a {
  color: var(--blue);
  text-decoration: none;
}

.intro__sub a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(9, 127, 253, 0.3);
  text-underline-offset: 3px;
}

.section-header--left .actions {
  justify-content: flex-start;
}

.section--light .overline {
  color: var(--blue);
}

.section--light .section-sub {
  color: rgba(13, 13, 18, 0.65);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.actions--center {
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   BUILT-FOR STRIP
   ═══════════════════════════════════════════════════════════ */
.built-for {
  padding-top: 0;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.built-for__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 20px;
}

.built-for__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 560px) {
  .built-for__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .built-for__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.built-for__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.built-for__card:hover {
  border-color: rgba(9, 127, 253, 0.28);
  box-shadow: 0 0 40px -12px var(--blue-glow);
  transform: translateY(-3px);
}

.built-for__icon {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px rgba(9, 127, 253, 0.25));
}

.built-for__title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  line-height: 1.3;
}

.built-for__list {
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.built-for__list li {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.built-for__list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   INTRO GRID (Video + Copy)
   ═══════════════════════════════════════════════════════════ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 960px) {
  .intro-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
  }

  .intro-grid > * {
    height: 100%;
  }

  .intro-grid .video {
    aspect-ratio: auto;
  }
}

@media (min-width: 1680px) {
  .section--intro .intro-grid {
    grid-template-columns: minmax(900px, 1.3fr) minmax(520px, 1fr);
    gap: clamp(44px, 4vw, 96px);
    align-items: stretch;
  }
}

.video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.intro-copy {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
}

.section--intro .intro-copy {
  justify-content: space-between;
}

.section--intro .intro-copy .section-header {
  flex: 1 1 auto;
  min-height: 0;
}

.section--intro .actions {
  margin-top: 0;
}

.intro-copy p {
  margin: 0 0 16px;
  color: var(--muted);
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.workshops-cta {
  margin-top: 0;
  background: linear-gradient(165deg, rgba(9, 127, 253, 0.16), rgba(5, 16, 40, 0.9));
  border: 1px solid rgba(9, 127, 253, 0.45);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 0 56px -20px rgba(9, 127, 253, 0.45), var(--shadow-md);
}

.workshops-cta__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.workshops-cta__content {
  text-align: center;
}

.workshops-cta__image {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin: 0;
}

.workshops-cta__title {
  font-size: clamp(32px, 4.1vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.workshops-cta p {
  margin: 0 auto 18px;
  max-width: 66ch;
  color: var(--muted);
}

.workshops-cta__content p {
  margin-left: 0;
  margin-right: 0;
  max-width: 62ch;
}

.workshops-cta__list {
  margin-top: 4px;
}

.workshops-cta .actions {
  margin-top: 18px;
}

.intro-copy a:not(.btn) {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(9, 127, 253, 0.3);
  text-underline-offset: 3px;
}

.intro-copy a:not(.btn):hover {
  text-decoration-color: var(--blue);
}

@media (min-width: 1400px) {
  .workshops-cta__layout {
    grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 56px);
    align-items: center;
  }

  .workshops-cta__content {
    text-align: left;
  }

  .workshops-cta__content .actions {
    justify-content: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONVERGENCE GRID (4-column)
   ═══════════════════════════════════════════════════════════ */
.convergence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .convergence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .convergence-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.convergence-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.convergence-card:hover {
  border-color: rgba(9, 127, 253, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.convergence-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(9, 127, 253, 0.2));
}

.convergence-card__title {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
}

.convergence-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   TILE GRID (Capability Clusters)
   ═══════════════════════════════════════════════════════════ */
.cluster {
  margin-bottom: 40px;
}

.cluster:last-of-type {
  margin-bottom: 24px;
}

.cluster__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 600px) {
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tile {
  position: relative;
  min-height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  cursor: default;
  transform: translateZ(0);
}

.tile--has-image {
  cursor: pointer;
}

.tile__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.tile__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.3;
}

.tile:hover .tile__img {
  transform: scale(1.06);
}

/* Text-only tiles (for AI / Industry clusters without images) */
.tile--text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  background: var(--bg-card);
  border-color: var(--border);
  padding: 20px 16px;
  transition: border-color 0.3s, background 0.3s;
}

.tile--text::after {
  display: none;
}

.tile--text .tile__label {
  position: static;
  text-align: center;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.tile--text:hover {
  border-color: rgba(9, 127, 253, 0.3);
  background: rgba(9, 127, 253, 0.06);
}

/* ═══════════════════════════════════════════════════════════
   CORE INNOVATION DOMAINS
   ═══════════════════════════════════════════════════════════ */
.domains-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 720px) {
  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .domains-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1880px) {
  .domains-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s;
}

.domain-card:hover {
  border-color: rgba(9, 127, 253, 0.3);
  transform: translateY(-2px);
}

.domain-card__icon {
  font-size: 28px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(9, 127, 253, 0.15));
}

.domain-card__title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 6px;
}

.domain-card__desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   FEATURE PILLS (Digital Twin features)
   ═══════════════════════════════════════════════════════════ */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

@media (min-width: 1680px) {
  #digital-twins .feature-pills {
    gap: 16px;
  }

  #digital-twins .pill {
    padding: 12px 22px;
    font-size: 15px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s;
}

.pill:hover {
  background: rgba(9, 127, 253, 0.12);
  border-color: rgba(9, 127, 253, 0.3);
}

.pill__icon {
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════
   R&D GRID
   ═══════════════════════════════════════════════════════════ */
.rnd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: center;
}

@media (min-width: 600px) {
  .rnd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .rnd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Center orphan cards in last row */
.rnd-grid> :last-child:nth-child(3n - 1) {
  grid-column: span 1;
}

@media (min-width: 960px) {
  .rnd-grid {
    justify-content: center;
  }
}

.rnd-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.rnd-card:hover {
  border-color: rgba(9, 127, 253, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.rnd-card__icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.rnd-card__title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 6px;
}

.rnd-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SPLIT LAYOUT
   ═══════════════════════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1680px) {
  #robotics .split,
  .section[aria-labelledby="capabilities-title"] .split {
    grid-template-columns: minmax(820px, 1.15fr) minmax(500px, 1fr);
    gap: clamp(48px, 4vw, 110px);
  }
}

.split__copy .overline {
  display: block;
  text-align: left;
}

.split__copy .h2 {
  text-align: left;
}

.split__copy p {
  color: var(--muted);
  margin: 0 0 16px;
}

.glow-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

.glow-card img {
  width: 100%;
  display: block;
}

/* Robotics capabilities inline checklist */
.checklist-wrap {
  margin-top: 20px;
}

.checklist-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

@media (min-width: 480px) {
  .checklist-inline {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist-inline li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
}

.checklist-inline li::before {
  content: "▸";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1500px) {
  .testimonial-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 2200px) {
  .testimonial-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.testimonial {
  background: rgba(255, 255, 255, 0.94);
  color: #2a2d32;
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.testimonial__quote {
  margin: 0 0 16px;
  font-style: italic;
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.testimonial__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 14px;
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(9, 127, 253, 0.2);
}

.testimonial__name {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
}

.testimonial__title {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   LOGO MARQUEE
   ═══════════════════════════════════════════════════════════ */
.container--marquee {
  max-width: none;
  padding: 0;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(36px, 6vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(0, 0, 0, 0) 100%);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(0, 0, 0, 0) 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  gap: clamp(40px, 4vw, 64px);
  padding: 30px clamp(24px, 3vw, 44px);
  animation: marquee 46s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo {
  height: 52px;
  width: auto;
  opacity: 0.8;
  filter: grayscale(1) brightness(1.2);
  transition: filter 0.3s, opacity 0.3s;
}

.logo:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES CHECKLIST
   ═══════════════════════════════════════════════════════════ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.checklist li {
  display: flex;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.3;
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  flex: 0 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   NEWS GRID
   ═══════════════════════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news__body {
  padding: 18px 18px 22px;
  flex: 1;
}

.news__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  color: var(--light-text);
}

.news__text {
  margin: 0;
  font-size: 14px;
  color: rgba(13, 13, 18, 0.65);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   PREFOOTER
   ═══════════════════════════════════════════════════════════ */
.prefooter {
  background: linear-gradient(135deg, var(--blue), #0550a8);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.prefooter__inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.prefooter__tagline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.prefooter__text {
  font-size: 17px;
  opacity: 0.9;
  margin: 0 0 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.5);
  padding: 32px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.site-footer__mark {
  display: block;
  margin: 0 auto 12px;
  opacity: 0.7;
}

.site-footer__copy {
  margin: 0 0 8px;
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 13px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ─── WORK GRID (Selected Work) ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1720px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 2400px) {
  .work-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.work-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.work-tile.is-filtered-out {
  display: none !important;
}

.work-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(9, 127, 253, 0.3);
  box-shadow: var(--shadow-glow);
}

.work-tile__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.work-tile__content {
  padding: 24px;
  flex: 1;
}

.work-tile__tag {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.work-tile__label {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.work-tile__outcome {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── PRODUCTS & PLATFORMS ─── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1800px) {
  .products-grid {
    gap: 32px;
  }

  .product-card {
    padding: 46px 44px;
  }
}

.product-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: border-color 0.3s;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  border-color: var(--blue);
}

.product-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.product-card__header {
  margin-bottom: 16px;
}

.product-card__header .h3 {
  font-size: 28px;
  font-weight: 900;
  margin: 0;
}

.product-card__desc {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.product-card__subtext {
  font-size: 12px;
  font-style: italic;
  color: var(--blue);
  margin-top: -12px;
  margin-bottom: 24px;
}

.product-card__cta-text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin: 0;
}

/* ─── FILTERS ─── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.filter-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   ENTERPRISE TRUST
   ═══════════════════════════════════════════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.trust-card:hover {
  border-color: rgba(9, 127, 253, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.trust-card__icon {
  font-size: 32px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 12px rgba(9, 127, 253, 0.2));
}

.trust-card__title {
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 14px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.trust-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(9, 127, 253, 0.08);
  border: 1px solid rgba(9, 127, 253, 0.22);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.trust-badge i {
  color: var(--blue);
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   INTERNAL PAGE BUILDING BLOCKS
   ═══════════════════════════════════════════════════════════ */
.internal-hero {
  padding-top: clamp(120px, 14vw, 200px);
}

.internal-hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 1024px) {
  .internal-hero__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 44px;
  }
}

.internal-hero__title {
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.internal-hero__overline {
  margin-bottom: 14px;
}

.internal-hero__summary {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 66ch;
}

.internal-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.internal-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.internal-hero__media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  min-height: 260px;
}

.internal-hero__media--slot {
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.internal-section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.internal-rich-text {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 3vw, 36px);
}

.internal-rich-text__lead {
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.45;
  color: #fff;
  margin: 0 0 16px;
}

.internal-rich-text p {
  margin: 0 0 16px;
  color: var(--muted);
}

.internal-rich-text p:last-child {
  margin-bottom: 0;
}

.internal-rich-text h2,
.internal-rich-text h3 {
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.internal-rich-text h2 {
  margin: 28px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.internal-rich-text h3 {
  margin: 22px 0 10px;
  font-size: clamp(20px, 2.2vw, 27px);
}

.internal-rich-text a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(9, 127, 253, 0.35);
  text-underline-offset: 3px;
}

.internal-rich-text a:hover {
  text-decoration-color: var(--blue);
}

.internal-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 980px) {
  .internal-media {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 32px;
  }

  .internal-media--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .internal-media--reverse .internal-media__copy {
    order: 2;
  }

  .internal-media--reverse .internal-media__frame {
    order: 1;
  }
}

.internal-media__title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 14px;
}

.internal-media__description {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.internal-media__frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.internal-media__frame img,
.internal-media__frame video,
.internal-media__frame iframe {
  width: 100%;
  display: block;
  border: 0;
  aspect-ratio: 16 / 9;
}

.internal-media__frame figcaption {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.internal-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 760px) {
  .internal-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .internal-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

.internal-card-grid__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.internal-card-grid__item:hover {
  border-color: rgba(9, 127, 253, 0.3);
  box-shadow: 0 0 40px -12px var(--blue-glow);
  transform: translateY(-4px);
}

.internal-card-grid__item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.internal-card-grid__item p {
  margin: 0;
  color: var(--muted);
}

.internal-card-grid__meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.internal-card-grid__link {
  margin-top: 14px;
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(9, 127, 253, 0.3);
  text-underline-offset: 3px;
}

.internal-card-grid__link:hover {
  text-decoration-color: var(--blue);
}

.internal-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 980px) {
  .internal-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.internal-quote {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.internal-quote__text {
  margin: 0 0 20px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.internal-quote__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.internal-quote__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.internal-quote__name,
.internal-quote__meta {
  margin: 0;
}

.internal-quote__name {
  font-weight: 700;
}

.internal-quote__meta {
  font-size: 13px;
  color: var(--muted);
}

.internal-cta {
  padding: 24px;
  border: 1px solid rgba(9, 127, 253, 0.3);
  border-radius: var(--radius);
  background: radial-gradient(circle at top left, rgba(9, 127, 253, 0.2), rgba(9, 127, 253, 0.06) 45%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 0 48px -20px var(--blue-glow);
}

.internal-cta__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.7vw, 32px);
  letter-spacing: -0.02em;
}

.internal-cta__body {
  margin: 0;
  color: var(--muted);
}

.internal-related-links {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.internal-related-links__title {
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.internal-related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.internal-related-links li + li {
  border-top: 1px solid var(--border);
}

.internal-related-links a {
  display: block;
  padding: 14px 18px;
  transition: background 0.2s ease;
}

.internal-related-links a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.internal-related-links__label {
  display: block;
  font-weight: 700;
}

.internal-related-links__description {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════
   NOSCRIPT
   ═══════════════════════════════════════════════════════════ */
.noscript {
  background: #1b1b1b;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 16px;
  font-size: 13px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   INTERNAL PAGE SHELL
   ═══════════════════════════════════════════════════════════ */
.internal-main {
  min-height: calc(100vh - var(--header-h));
}

.internal-main .section:last-child {
  padding-bottom: clamp(72px, 9vw, 120px);
}

@media (prefers-reduced-motion: reduce) {
  .internal-card-grid__item,
  .internal-related-links a {
    transition: none;
  }
}

/* About Us route: normalize imported WP column/flip-card blocks */
.about-us-page .wp-block-columns,
.about-us-page .gb-layout-column-wrap {
  display: grid;
  gap: 1.25rem;
}

.about-us-page .wp-block-columns {
  grid-template-columns: 1fr;
  margin: 0 0 1.25rem;
}

.about-us-page .five-column .gb-layout-column-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-us-page .flip-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  perspective: 1000px;
}

.about-us-page .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.about-us-page .flip-card:hover .flip-card-inner,
.about-us-page .flip-card:active .flip-card-inner,
.about-us-page .flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.about-us-page .flip-card-front,
.about-us-page .flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 12px;
}

.about-us-page .flip-card-back {
  transform: rotateY(180deg);
}

.about-us-page .flip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-us-page .wp-block-buttons {
  margin-top: 1.25rem;
}

.about-us-page .wp-block-button__link {
  display: inline-block;
  text-decoration: none;
}

@media (min-width: 768px) {
  .about-us-page .wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-us-page .five-column .gb-layout-column-wrap {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Contact Us route: preserve imported WP two-column contact layout */
.contact-us-page .gb-layout-column-wrap {
  display: grid;
  gap: 1.5rem;
}

.contact-us-page .gb-layout-column {
  min-width: 0;
}

.contact-us-page .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.contact-us-page .gb-block-container {
  margin-top: 1rem;
}

.contact-us-page .wp-block-spacer {
  display: none;
}

@media (min-width: 900px) {
  .contact-us-page .gb-layout-column-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
