/* ============================================
   DigitalNetBD.ai — Premium Design System v2
   Light cream + Dark navy hybrid
   --------------------------------------------
   Author : Md. Shahriar Karim Shawon
   Email  : shawon9324@gmail.com
   Phone  : 01774339279
   ============================================ */

:root {
  /* Brand */
  --c-cream: #F1ECE3;
  --c-cream-2: #EAE4D7;
  --c-paper: #FAF7F1;
  --c-ink: #0B1F3A;
  --c-ink-2: #122B52;
  --c-navy: #0E2444;
  --c-navy-deep: #061429;

  --c-text: #1A2B47;
  --c-text-dim: #4A5872;
  --c-text-mute: #7A869C;

  --c-text-on-dark: #F1ECE3;
  --c-text-on-dark-dim: #B9C2D3;

  --c-line: rgba(11,31,58,0.10);
  --c-line-dark: rgba(255,255,255,0.10);

  --c-orange: #F4A261;
  --c-orange-2: #E8975B;
  --c-amber: #FFC07A;
  --c-cyan: #4FD1E0;
  --c-cyan-2: #2DB8C9;
  --c-blue: #2563EB;

  --grad-cta: linear-gradient(135deg, #4FD1E0 0%, #2563EB 100%);
  --grad-cta-orange: linear-gradient(135deg, #FFC07A 0%, #F4A261 100%);
  --grad-text-orange: linear-gradient(90deg, #FFC07A 0%, #F4A261 50%, #FF8C61 100%);
  --grad-text-blue: linear-gradient(90deg, #2DB8C9 0%, #2563EB 100%);

  --shadow-soft: 0 10px 40px rgba(11,31,58,0.10);
  --shadow-card: 0 20px 50px rgba(11,31,58,0.12);
  --shadow-header: 0 10px 40px rgba(11,31,58,0.08);
  --shadow-glow-cyan: 0 14px 36px rgba(79,209,224,0.35);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;

  --container: 1240px;
  --gutter: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--c-paper);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: "DM Sans", "Inter", sans-serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.6em;
  color: var(--c-ink);
}
h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 400;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
}
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  {
  margin: 0 0 1em;
  color: var(--c-text-dim);
  font-size: 1rem;
}

.on-dark, .on-dark p, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--c-text-on-dark); }
.on-dark p { color: var(--c-text-on-dark-dim); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 22px;
}
.on-dark .eyebrow { color: var(--c-amber); }

.gradient-text-orange {
  background: var(--grad-text-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-blue {
  background: var(--grad-text-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-orange { color: var(--c-orange); }
.text-amber { color: var(--c-amber); }

.section { padding: 110px 0; position: relative; }
.section-tight { padding: 70px 0; }

.section-head { max-width: 800px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { letter-spacing: 0.32em; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.97rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: var(--shadow-glow-cyan);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(37,99,235,0.4);
  color: #fff;
}

.btn-dark {
  background: var(--c-ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--c-ink-2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn-ghost:hover {
  background: rgba(11,31,58,0.04);
  border-color: rgba(11,31,58,0.2);
  color: var(--c-ink);
}
.on-dark .btn-ghost,
.cta-strip .btn-ghost,
.page-hero .btn-ghost,
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.on-dark .btn-ghost:hover,
.cta-strip .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.hero .btn-ghost:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.55);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-blue);
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-link svg { transition: transform .25s var(--ease); width: 14px; height: 14px; }
.btn-link:hover svg { transform: translateX(4px); }
.on-dark .btn-link { color: var(--c-amber); }

/* ========== Header / Floating Pill Nav ========== */
.site-header {
  position: fixed;
  top: 22px; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  pointer-events: none;
  transition: top .3s var(--ease);
}
.site-header > .container { pointer-events: auto; }
.site-header.scrolled { top: 12px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 12px 12px 28px;
  box-shadow: var(--shadow-header);
  border: 1px solid rgba(11,31,58,0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4FD1E0, #2563EB);
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}
.logo-mark::after {
  content: "";
  width: 11px; height: 11px;
  border: 2px solid #fff;
  border-radius: 3px;
  transform: rotate(45deg);
}
.logo .dot { color: var(--c-blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 0.93rem;
  color: var(--c-text);
  border-radius: 999px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--c-blue); }
.nav-links a.active { color: var(--c-blue); }

/* Dropdown submenu (desktop) */
.nav-links .has-submenu { position: relative; }
.nav-links .has-submenu::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 10px;
}
.nav-links .submenu-toggle::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s var(--ease);
}
.nav-links .has-submenu:hover .submenu-toggle::after,
.nav-links .has-submenu:focus-within .submenu-toggle::after {
  transform: rotate(-135deg) translateY(0);
}
.nav-links .submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11,31,58,0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 50;
}
.nav-links .has-submenu:hover .submenu,
.nav-links .has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-links .submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-links .submenu a:hover { background: rgba(37,99,235,0.06); color: var(--c-blue); }

/* Mobile-only "Let's Talk" item inside the burger menu */
.nav-links .nav-mobile-cta { display: none; }
@media (max-width: 1024px) {
  .nav-links .nav-mobile-cta { display: block; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--c-line); }
  .nav-links .nav-mobile-cta a {
    background: var(--grad-cta);
    color: #fff;
    justify-content: center;
    font-weight: 600;
    box-shadow: var(--shadow-glow-cyan);
  }
  .nav-links .nav-mobile-cta a:hover { background: var(--grad-cta); color: #fff; }
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn {
  padding: 11px 22px;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  width: 44px; height: 44px;
  color: var(--c-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(11,31,58,0.04); }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* ----- Large-monitor scaling (1440px+) -----
   Bumps the root font-size so every rem-based value (typography, padding,
   gaps) scales proportionally. Container also widens. */
@media (min-width: 1440px) {
  html { font-size: 17px; }
  :root { --container: 1360px; --gutter: 28px; }
}

/* Full HD / 1080p widescreens (1680px+) */
@media (min-width: 1680px) {
  html { font-size: 18px; }
  :root { --container: 1480px; --gutter: 32px; }
  .section { padding: 130px 0; }
  .section-tight { padding: 90px 0; }
  .hero { padding: 200px 0 280px; }
  .solution-card { height: 400px; padding: 26px; }
  .news-thumb { height: 200px; }
  .leader .avatar { width: 96px; height: 96px; font-size: 1.6rem; }
}

/* 2K monitors (1920px+) — what the user is on */
@media (min-width: 1920px) {
  html { font-size: 18.5px; }
  :root { --container: 1560px; --gutter: 36px; }
  .hero { min-height: 80vh; padding: 220px 0 300px; }
  .page-hero { min-height: 80vh; padding: 220px 0 300px; }
  .section { padding: 140px 0; }
  .about-section { padding: 240px 0 300px; }
  .solution-card { height: 420px; padding: 30px; }
  .solution-card h3 { font-size: 1.7rem; }
  .news-thumb { height: 220px; }
  .cta-strip { padding: 100px 60px; }
  .quote { padding: 70px 60px; }
  .form-card { padding: 56px; }
  .leader .avatar { width: 104px; height: 104px; font-size: 1.7rem; }
  .stat { padding: 44px 32px; }
}

/* Ultrawide / 4K (2400px+) */
@media (min-width: 2400px) {
  html { font-size: 20px; }
  :root { --container: 1760px; }
  .hero { min-height: 78vh; padding: 260px 0 340px; }
  .section { padding: 170px 0; }
  .solution-card { height: 480px; padding: 34px; }
  .solution-card h3 { font-size: 1.85rem; }
  .news-thumb { height: 240px; }
}

/* Tablet & below — collapse inline nav into hamburger menu */
@media (max-width: 1024px) {
  .site-header { padding: 0 16px; }
  .nav { gap: 12px; padding: 10px 10px 10px 22px; }
  .nav-links {
    position: fixed;
    inset: 78px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 14px;
    box-shadow: 0 16px 50px rgba(11,31,58,0.18);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s var(--ease);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .nav-links a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .nav-links a:hover { background: rgba(37,99,235,0.06); }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  /* Submenu collapses inline on mobile */
  .nav-links .submenu-toggle::after { display: none; }
  .nav-links .submenu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--c-line);
    border-radius: 0;
    margin: 2px 0 6px 14px;
    padding: 4px 0 4px 8px;
    min-width: 0;
  }
  .nav-links .submenu a { padding: 10px 12px; font-size: 0.92rem; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

/* Phone — keep burger prominent, shrink Let's Talk */
@media (max-width: 640px) {
  .site-header { top: 12px; padding: 0 12px; }
  .nav {
    gap: 8px;
    padding: 8px 8px 8px 16px;
  }
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo-mark { width: 26px; height: 26px; border-radius: 7px; }
  .logo-mark::after { width: 9px; height: 9px; border-width: 1.5px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-primary { display: none; }   /* hide Let's Talk on phones — accessible via burger menu */
  .nav-toggle { width: 40px; height: 40px; }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav-links { inset: 68px 12px auto 12px; }
}

/* ============================================
   Hero / sections — mobile tuning
   ============================================ */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 130px 0 200px;
  }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); margin-bottom: 24px; }
  .hero .product-badge { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .hero p.lede { font-size: 1rem; margin-bottom: 28px; }
  .hero p.lede br { display: none; }
  .hero-cta .btn { padding: 12px 22px; font-size: 0.92rem; }

  .page-hero { min-height: auto; padding: 130px 0 200px; }
  .page-hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .page-hero p.lede { font-size: 1rem; }

  .section { padding: 70px 0; }
  .section-tight { padding: 50px 0; }
  .section-head { margin-bottom: 40px; }

  .about-section { padding: 130px 0 200px; }
  .about-grid { gap: 30px; }

  .cta-strip { padding: 50px 24px; }

  .quote { padding: 36px 24px; }
  .quote blockquote { font-size: 1.1rem; }

  .form-card { padding: 24px; }

  .footer-grid { gap: 30px; margin-bottom: 40px; }
  .footer-bottom { font-size: 0.78rem; text-align: center; justify-content: center; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 60vh;
  padding: 180px 0 240px;
  background: #061429;
  overflow: hidden;
  color: #fff;
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.page-hero .hero-video {
  filter: blur(6px);
  transform: scale(1.05);
}
/* Dark overlay so text remains readable */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(6,20,41,0.35) 0%, rgba(6,20,41,0.7) 70%, rgba(6,20,41,0.85) 100%),
    linear-gradient(180deg, rgba(6,20,41,0.4) 0%, rgba(6,20,41,0.2) 50%, rgba(14,36,68,0.6) 100%);
  pointer-events: none;
}
/* Soft, tall fade from dark video into the cream Solutions section
   — bottom 50% of hero gradually washes to the same cream as the next section */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(241, 236, 227, 0)    0%,
    rgba(241, 236, 227, 0.08) 25%,
    rgba(241, 236, 227, 0.28) 50%,
    rgba(241, 236, 227, 0.62) 72%,
    rgba(241, 236, 227, 0.88) 88%,
    var(--c-cream)            100%);
  z-index: 4;
  pointer-events: none;
}

/* Animated data-streams background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::before, .hero-bg::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(244,162,97,0.45) 0%, transparent 12%),
    radial-gradient(circle at 80% 60%, rgba(79,209,224,0.4) 0%, transparent 12%),
    radial-gradient(circle at 50% 80%, rgba(255,192,122,0.3) 0%, transparent 10%);
  filter: blur(50px);
  opacity: 0.7;
  animation: drift 20s ease-in-out infinite;
}
.hero-bg::after {
  background-image:
    radial-gradient(circle at 70% 20%, rgba(45,184,201,0.5) 0%, transparent 14%),
    radial-gradient(circle at 30% 70%, rgba(244,162,97,0.4) 0%, transparent 14%);
  animation-direction: reverse;
  animation-duration: 25s;
}
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-20px) scale(1.05); }
}

/* Animated SVG line streams overlay */
.hero-streams {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.55;
}
.stream {
  fill: none;
  stroke-width: 1;
  stroke-dasharray: 4 8;
  stroke-linecap: round;
  animation: dash 18s linear infinite;
}
.stream.orange { stroke: #F4A261; }
.stream.cyan { stroke: #4FD1E0; }
.stream.amber { stroke: #FFC07A; }
@keyframes dash {
  to { stroke-dashoffset: -800; }
}

/* Particle dots */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(79,209,224,0.5) 1.5px, transparent 1.5px),
    radial-gradient(rgba(244,162,97,0.4) 1.5px, transparent 1.5px);
  background-size: 80px 80px, 120px 120px;
  background-position: 0 0, 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.6;
  z-index: 2;
}

/* Glowing nodes */
.glow-node {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FFC07A;
  box-shadow: 0 0 24px 6px rgba(255,192,122,0.7);
  z-index: 3;
}
.glow-node.cyan { background: #4FD1E0; box-shadow: 0 0 24px 6px rgba(79,209,224,0.7); }
.glow-node.n1 { top: 22%; left: 18%; animation: pulse 3s infinite; }
.glow-node.n2 { top: 60%; left: 75%; animation: pulse 3.5s 1s infinite; }
.glow-node.n3 { top: 35%; right: 12%; animation: pulse 4s .5s infinite; }
.glow-node.n4 { bottom: 30%; left: 30%; animation: pulse 3.2s 2s infinite; }
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
}
.hero .hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-weight: 500;
}

/* Product badge — white→orange horizontal gradient text */
.hero .product-badge {
  display: block;
  width: fit-content;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 54px;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 25%, #FFC07A 60%, #F4A261 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero .product-badge .accent {
  background: none;
  color: inherit;
  font-weight: inherit;
}

/* Main headline — bigger, bolder, same white→orange gradient */
.hero h1 {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-weight: 500;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 1.02;
  margin-bottom: 36px;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 30%, #FFC07A 65%, #F4A261 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 20px rgba(0,0,0,0.4));
}
.hero h1 .word-flow,
.hero h1 .accent {
  background: none;
  color: inherit;
  font-weight: inherit;
}

/* ===== Typewriter ===== */
.hero h1 .tw-text { white-space: pre; }
.hero h1 .tw-cursor {
  display: inline-block;
  margin-left: 0.04em;
  font-weight: 200;
  /* Solid amber color overrides the gradient text-fill */
  color: #FFC07A;
  -webkit-text-fill-color: #FFC07A;
  background: none;
  -webkit-background-clip: initial;
          background-clip: initial;
  filter: drop-shadow(0 0 12px rgba(255,192,122,0.7));
  animation: tw-blink 0.85s steps(2, end) infinite;
  transform: translateY(-2px);
}
@keyframes tw-blink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .tw-cursor { animation: none; opacity: 0.7; }
}

.hero p.lede {
  font-size: 40px;
  line-height: 1.2;
  color: rgba(255,255,255,0.92);
  max-width: 540px;
  margin: 2rem 0 40px;
  font-weight: 400;
}
.hero-cta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }

/* ========== Section divider curves ========== */
.curve-top {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 80px;
  pointer-events: none;
}
.curve-bottom {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  pointer-events: none;
}

/* ========== Solutions (overlapping cards) ========== */
.solutions-section {
  position: relative;
  padding: 0px 0 0;
  background: var(--c-cream);
}
.solutions-section .section-head { margin-bottom: 70px; }

.solutions-section::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 280px;
  background: var(--c-navy);
  z-index: 0;
}

.solutions-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: -100px;
}
@media (max-width: 1100px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: -60px; } }
@media (max-width: 600px)  { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 360px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  isolation: isolate;
}
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(11,31,58,0.25);
}
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease);
}
.solution-card:hover::before { transform: scale(1.06); }
.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* Subtle full-card tint so the image reads slightly darker overall */
    linear-gradient(180deg, rgba(6,20,41,0.28), rgba(6,20,41,0.28)),
    /* Bottom-weighted gradient for text legibility */
    linear-gradient(180deg,
      rgba(11,31,58,0.25) 0%,
      rgba(11,31,58,0.40) 35%,
      rgba(6,20,41,0.80)  65%,
      rgba(3,10,22,0.97)  90%,
      rgba(2,7,16,1)      100%);
}

/* Each card uses a real stock photo with dark overlay */
.solution-card.c1::before {
  background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-color: #1B3A6B;
}
.solution-card.c2::before {
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-color: #294980;
}
.solution-card.c3::before {
  background-image: url('https://images.unsplash.com/photo-1573164713712-03790a178651?w=800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-color: #1F2D45;
}
.solution-card.c4::before {
  background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-color: #3D4F6B;
}

/* Decorative texture overlay on cards (hidden when real photos are present) */
.card-art { display: none; }

.solution-card .pill {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.solution-card h3 {
  color: #fff;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.solution-card .card-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.4;
}
.solution-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-amber);
  font-size: 0.88rem;
  font-weight: 500;
}
.solution-card .card-link svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.solution-card:hover .card-link svg { transform: translateX(4px); }

/* ========== Dark About section ========== */
.about-section {
  background: var(--c-navy);
  color: #fff;
  padding: 220px 0 280px;     /* extra bottom room for the fade */
  position: relative;
  overflow: hidden;
}
/* Soft fade from dark navy into the cream/paper Industries section
   — terminates in --c-paper to match the body bg seamlessly */
.about-section::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 320px;
  background: linear-gradient(180deg,
    rgba(250, 247, 241, 0)    0%,
    rgba(250, 247, 241, 0.06) 25%,
    rgba(250, 247, 241, 0.22) 50%,
    rgba(250, 247, 241, 0.55) 72%,
    rgba(250, 247, 241, 0.85) 88%,
    var(--c-paper)            100%);
  z-index: 1;
  pointer-events: none;
}
/* Lift the content above the fade so the stats card stays sharp */
.about-section > .container { z-index: 2; }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 30px; } }

.about-grid h2 {
  color: #fff;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.about-grid h2 .accent {
  background: var(--grad-text-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.about-grid p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 620px;
}
.about-grid .eyebrow {
  color: var(--c-cyan);
  font-size: 0.95rem;
  letter-spacing: 0.36em;
  margin-bottom: 0;
}
/* Bigger button to match the boosted typography */
.about-grid .btn {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ========== Stats (light) ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2,1fr); } }
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--c-line);
  position: relative;
  transition: background .35s var(--ease);
}
.stat:last-child { border-right: none; }
@media (max-width: 780px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }
}

/* Decorative icon at the top of each stat */
.stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79,209,224,0.14), rgba(37,99,235,0.10));
  border: 1px solid rgba(79,209,224,0.28);
  display: grid; place-items: center;
  color: var(--c-blue);
  margin-bottom: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat-icon svg { width: 20px; height: 20px; }

.stat:hover { background: rgba(79,209,224,0.04); }
.stat:hover .stat-icon {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(79,209,224,0.3);
}

.stat-num {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  background: var(--grad-text-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  display: inline-block;
  transform-origin: left center;
  transition: transform .25s var(--ease);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--c-text-dim);
  letter-spacing: 0.01em;
}

/* Completion pulse — fires when count-up finishes */
.stat.stat-done .stat-num {
  animation: stat-pulse .7s var(--ease);
}
@keyframes stat-pulse {
  0%   { transform: scale(1); filter: brightness(1); }
  35%  { transform: scale(1.08); filter: brightness(1.25); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* Dark-theme stat icon variant — amber on navy */
.on-dark .stat-icon,
.about-section .stat-icon {
  background: linear-gradient(135deg, rgba(255,192,122,0.18), rgba(244,162,97,0.10));
  border-color: rgba(255,192,122,0.35);
  color: var(--c-amber);
}
.on-dark .stat:hover,
.about-section .stat:hover { background: rgba(255,255,255,0.05); }
.on-dark .stat:hover .stat-icon,
.about-section .stat:hover .stat-icon {
  box-shadow: 0 10px 24px rgba(255,192,122,0.35);
}

/* Dark-theme stats card — glass on navy backgrounds */
.on-dark .stats,
.about-section .stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.on-dark .stat,
.about-section .stat {
  border-right-color: rgba(255,255,255,0.10);
}
@media (max-width: 780px) {
  .on-dark .stat:nth-child(-n+2),
  .about-section .stat:nth-child(-n+2) {
    border-bottom-color: rgba(255,255,255,0.10);
  }
}
.on-dark .stat-label,
.about-section .stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.about-section .stat-num {
  filter: drop-shadow(0 2px 12px rgba(79,209,224,0.25));
}

/* ========== Trusted Partners — infinite-scroll logo marquee ========== */
.logo-marquee {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 8px 0;
  /* Soft fade at left/right edges so logos enter & exit gracefully */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: logoScroll 45s linear infinite;
  /* GPU-accelerated transform */
  will-change: transform;
}

/* Pause when the user hovers anywhere on the marquee */
.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* one full set's width */
}

.logo-marquee .logo-tile {
  flex: 0 0 auto;
  min-width: 200px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.10em;
  color: var(--c-text-mute);
  text-align: center;
  padding: 28px 36px;
  border-right: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  transition: color .25s var(--ease), letter-spacing .35s var(--ease), transform .25s var(--ease);
  filter: grayscale(0.5);
  white-space: nowrap;
}
.logo-marquee .logo-tile:hover {
  color: var(--c-blue);
  letter-spacing: 0.14em;
  transform: scale(1.05);
  filter: grayscale(0);
}
.logo-marquee .logo-tile sup {
  font-size: 0.62em;
  letter-spacing: 0.06em;
  margin-left: 2px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .logo-marquee .logo-tile {
    min-width: 160px;
    padding: 22px 24px;
    font-size: 0.85rem;
    min-height: 72px;
  }
  .logo-marquee-track { animation-duration: 35s; }
}

/* ========== Industries ========== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
@media (max-width: 780px) { .industry-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .industry-grid { grid-template-columns: 1fr; } }
.industry {
  padding: 26px 22px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .25s var(--ease);
}
.industry:hover {
  background: #fff;
  border-color: var(--c-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(11,31,58,0.08);
}
.industry .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79,209,224,0.15), rgba(37,99,235,0.1));
  display: grid; place-items: center;
  color: var(--c-blue);
  flex-shrink: 0;
}
.industry .ico svg { width: 20px; height: 20px; }
.industry h4 { font-size: 0.98rem; margin: 0; font-weight: 600; }

/* ========== Feature Split ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse > div:first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > div:first-child { order: 0; }
}
.split h2 { margin-bottom: 18px; }

.feature-list { list-style: none; margin: 24px 0 0; padding: 0; }
.feature-list li {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-text);
  font-size: 0.98rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  flex: 0 0 26px; width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4FD1E0, #2563EB);
  display: grid; place-items: center;
  color: #fff;
}
.feature-list .check svg { width: 14px; height: 14px; }
.on-dark .feature-list li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.1); }

/* ========== Visual Mock — light browser-style ========== */
.mock {
  position: relative;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 22px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.split-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  border-radius: var(--r-lg);
  object-fit: cover;
}
.split:has(.split-media) { gap: 48px; }

.split-stack { display: flex; flex-direction: column; gap: 64px; }
.split-stack .split h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  perspective: 1200px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .media-grid { grid-template-columns: 1fr; }
}
.media-section {
  position: relative;
  padding: 300px 0 280px;
  background: #0c244e;
  color: var(--c-text-on-dark);
  overflow: hidden;
}
.media-section::before,
.media-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 280px;
  pointer-events: none;
  z-index: 1;
}
.media-section::before {
  top: 0;
  background: linear-gradient(180deg,
    var(--c-paper)            0%,
    rgba(250, 247, 241, 0.96) 8%,
    rgba(250, 247, 241, 0.84) 18%,
    rgba(250, 247, 241, 0.66) 32%,
    rgba(250, 247, 241, 0.45) 48%,
    rgba(250, 247, 241, 0.26) 64%,
    rgba(250, 247, 241, 0.12) 78%,
    rgba(250, 247, 241, 0.04) 90%,
    rgba(250, 247, 241, 0)    100%);
}
.media-section::after {
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(250, 247, 241, 0)    0%,
    rgba(250, 247, 241, 0.04) 10%,
    rgba(250, 247, 241, 0.12) 22%,
    rgba(250, 247, 241, 0.26) 36%,
    rgba(250, 247, 241, 0.45) 52%,
    rgba(250, 247, 241, 0.66) 68%,
    rgba(250, 247, 241, 0.84) 82%,
    rgba(250, 247, 241, 0.96) 92%,
    var(--c-paper)            100%);
}
.media-section > .container { position: relative; z-index: 2; }
.media-section .section-head h2 {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0;
}
.media-section .section-head { margin-bottom: 48px; }

.media-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  transform-style: preserve-3d;
  transition: transform .25s var(--ease);
}
.media-grid .media-card:hover {
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.media-card-thumb {
  position: relative;
  z-index: 2;
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.media-card:hover .media-card-thumb img { transform: scale(1.06); }
.media-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244,162,97,0) 45%, rgba(37,99,235,0.32));
  pointer-events: none;
}
#why-choose .media-card-thumb::after {
  background:
    linear-gradient(to top, rgba(5,8,20,0.78) 0%, rgba(5,8,20,0.45) 28%, rgba(5,8,20,0) 60%),
    linear-gradient(135deg, rgba(244,162,97,0) 45%, rgba(37,99,235,0.32));
}
.media-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.32) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .9s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.media-card:hover .media-card-thumb::before { transform: translateX(110%); }
.media-card-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: -32px;
  padding: 56px 30px 32px;
  background: #142b6d;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transform: translateY(60px) scale(0.86);
  opacity: 0;
  transition:
    transform .9s cubic-bezier(.2,.8,.2,1) .15s,
    opacity .7s ease .15s,
    border-color .35s var(--ease),
    box-shadow .4s var(--ease);
}
.media-card.in .media-card-body {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.media-card:hover .media-card-body {
  border-color: rgba(79,209,224,0.4);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45), 0 8px 20px rgba(79,209,224,0.15);
}
.media-card-body::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-cyan));
  border-radius: 999px;
  transition: width .4s var(--ease);
  z-index: 2;
}
.media-card:hover .media-card-body::before { width: 80px; }
.media-card-body h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.35;
}
.media-card-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--c-text-on-dark-dim);
  margin: 0;
}

/* Horizontal card row — image left, dark navy panel right with overlap */
.media-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 56px;
}
.media-card-row {
  --media-img-size: 360px;
  flex-direction: row;
  align-items: center;
}
.media-card-row.reverse { flex-direction: row-reverse; }
.media-card-row .media-card-thumb {
  flex: 0 0 var(--media-img-size);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
}
.media-card-row .media-card-body {
  flex: 1;
  min-height: calc(var(--media-img-size) * 0.9);
  margin: 0 0 0 -32px;
  padding: 32px 36px 32px 64px;
  text-align: left;
  justify-content: center;
}
.media-card-row.reverse .media-card-body {
  margin: 0 -32px 0 0;
  padding: 32px 64px 32px 36px;
}
.media-card-row .media-card-body::before {
  top: 22px;
  left: 64px;
  transform: none;
  width: 40px;
}
.media-card-row.reverse .media-card-body::before {
  left: 36px;
}
.media-card-row:hover .media-card-body::before { width: 70px; }
.media-card-row .media-card-body h3 { font-size: 1.18rem; }
.media-card-row .media-card-body p { font-size: 0.9rem; line-height: 1.65; }

@media (max-width: 760px) {
  .media-card-row,
  .media-card-row.reverse { flex-direction: column; }
  .media-card-row .media-card-thumb { flex: 0 0 auto; aspect-ratio: 5/4; }
  .media-card-row .media-card-body,
  .media-card-row.reverse .media-card-body {
    margin: -32px 0 0;
    padding: 56px 28px 28px;
    text-align: center;
  }
  .media-card-row .media-card-body::before,
  .media-card-row.reverse .media-card-body::before {
    top: 22px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* Compact grid — 5-up row of smaller cards */
.media-grid-compact {
  margin-top: 32px;
  gap: 22px;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1100px) {
  .media-grid-compact { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .media-grid-compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .media-grid-compact { grid-template-columns: 1fr; }
}
.media-card-sm .media-card-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.3);
}
.media-card-sm .media-card-body {
  margin-top: -22px;
  padding: 36px 18px 22px;
  border-radius: 16px;
}
.media-card-sm .media-card-body::before {
  top: 16px;
  width: 32px;
  height: 2px;
}
.media-card-sm:hover .media-card-body::before { width: 56px; }
.media-card-sm .media-card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.media-card-sm .media-card-body p {
  font-size: 0.78rem;
  line-height: 1.55;
}
.reveal:has(> .split-media) {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.reveal:has(> .split-media)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.reveal:has(> .split-media):hover::after {
  transform: translateX(110%);
}
@property --split-media-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.reveal:has(> .split-media)::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: var(--r-lg);
  background: conic-gradient(from var(--split-media-angle), transparent 0%, transparent 65%, var(--c-cyan) 80%, var(--c-orange) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  animation: split-media-border 4s linear infinite;
}
@keyframes split-media-border {
  to { --split-media-angle: 360deg; }
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.mock-bar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-line);
}
.mock-bar i:nth-child(1) { background: #FF6B6B; }
.mock-bar i:nth-child(2) { background: #FFD93D; }
.mock-bar i:nth-child(3) { background: #6BCB77; }
.mock-bar .url {
  margin-left: 12px;
  flex: 1;
  height: 24px;
  background: var(--c-cream);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.7rem;
  color: var(--c-text-mute);
}
.mock-row {
  display: flex; gap: 14px;
  padding: 14px;
  background: var(--c-paper);
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--c-line);
}
.mock-row .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4FD1E0, #2563EB);
  flex-shrink: 0;
}
.mock-row .lines { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.mock-row .lines .l {
  height: 8px; border-radius: 4px;
  background: var(--c-cream-2);
}
.mock-row .lines .l.short { width: 55%; }
.mock-row .lines .l.mid { width: 80%; background: rgba(79,209,224,0.4); }
.mock-row .lines .l.accent { background: rgba(244,162,97,0.5); }

/* ========== News (insights) ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: #fff;
  border: 1px solid rgba(79,209,224,0.4);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-blue);
  box-shadow: 0 16px 40px rgba(11,31,58,0.1);
}
.news-thumb {
  height: 170px;
  position: relative;
  overflow: hidden;
}
/* News thumbnails — real photos with gradient color-wash for brand consistency */
.news-thumb.a {
  background:
    linear-gradient(135deg, rgba(37,99,235,0.55), rgba(14,36,68,0.45)),
    url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=800&q=80&auto=format&fit=crop') center/cover no-repeat,
    #2563EB;
}
.news-thumb.b {
  background:
    linear-gradient(135deg, rgba(244,162,97,0.45), rgba(255,176,119,0.35)),
    url('https://images.unsplash.com/photo-1560250097-0b93528c311a?w=800&q=80&auto=format&fit=crop') center/cover no-repeat,
    #F4A261;
}
.news-thumb.c {
  background:
    linear-gradient(135deg, rgba(45,184,201,0.45), rgba(14,36,68,0.55)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=800&q=80&auto=format&fit=crop') center/cover no-repeat,
    #2DB8C9;
}
.news-thumb.d {
  background:
    linear-gradient(135deg, rgba(255,176,119,0.4), rgba(244,162,97,0.4)),
    url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=800&q=80&auto=format&fit=crop') center/cover no-repeat,
    #FFB077;
}
.news-thumb.e {
  background:
    linear-gradient(135deg, rgba(79,209,224,0.4), rgba(27,58,107,0.55)),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=800&q=80&auto=format&fit=crop') center/cover no-repeat,
    #4FD1E0;
}
.news-thumb.f {
  background:
    linear-gradient(135deg, rgba(255,192,122,0.4), rgba(37,99,235,0.45)),
    url('https://images.unsplash.com/photo-1573164713988-8665fc963095?w=800&q=80&auto=format&fit=crop') center/cover no-repeat,
    #FFC07A;
}
.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(11,31,58,0.25) 100%),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10), transparent 50%);
  pointer-events: none;
}

.news-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 0.78rem; color: var(--c-text-mute);
  margin-bottom: 12px;
}
.news-meta .pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(244,162,97,0.12);
  color: var(--c-orange);
  border: 1px solid rgba(244,162,97,0.3);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news-body h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--c-ink);
}
.news-body p { font-size: 0.92rem; flex: 1; }
.news-body .btn { align-self: flex-start; margin-top: 14px; }

/* ========== CTA Strip ========== */
.cta-strip {
  position: relative;
  border-radius: var(--r-xl);
  padding: 80px 50px;
  text-align: center;
  background: linear-gradient(135deg, #0E2444 0%, #122B52 60%, #1B3A6B 100%);
  color: #fff;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(244,162,97,0.25), transparent 60%),
    radial-gradient(700px 350px at 80% 100%, rgba(79,209,224,0.25), transparent 60%);
}
.cta-strip > * { position: relative; }
.cta-strip h2 { color: #fff; max-width: 720px; margin: 0 auto 18px; font-weight: 300; }
.cta-strip h2 .accent { color: var(--c-amber); font-weight: 400; }
.cta-strip p { max-width: 580px; margin: 0 auto 32px; color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* Horizontal variant — left text, right button */
.cta-strip.cta-strip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}
.cta-strip.cta-strip-row h2 {
  margin: 0;
  max-width: 940px;
  flex: 1;
}
.cta-strip.cta-strip-row p {
  margin: 8px 0 0;
  max-width: 720px;
  text-align: left;
}
.cta-strip.cta-strip-row .hero-cta {
  margin: 0;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .cta-strip.cta-strip-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ========== Footer ========== */
.site-footer {
  background: var(--c-navy-deep);
  color: #fff;
  padding: 80px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo .dot { color: var(--c-cyan); }
.footer-brand p {
  max-width: 360px;
  font-size: 0.93rem;
  margin-top: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.93rem;
}
.footer-col a:hover { color: var(--c-cyan); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all .25s var(--ease);
}
.social-row a:hover { background: var(--c-cyan); border-color: var(--c-cyan); color: #fff; }
.social-row svg { width: 16px; height: 16px; }

/* ========== Page Hero (sub-pages) ========== */
.page-hero {
  position: relative;
  min-height: 60vh;
  padding: 180px 0 240px;
  background: linear-gradient(180deg, #061429 0%, #0E2444 60%, #122B52 100%);
  color: #fff;
  overflow: hidden;
}
/* Soft tall fade into the page body — same recipe as .hero */
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(250, 247, 241, 0)    0%,
    rgba(250, 247, 241, 0.06) 25%,
    rgba(250, 247, 241, 0.25) 50%,
    rgba(250, 247, 241, 0.58) 72%,
    rgba(250, 247, 241, 0.88) 88%,
    var(--c-paper)            100%);
  z-index: 4;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
}
/* Page-hero eyebrow — match the homepage hero treatment */
.page-hero .hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-weight: 500;
}
/* Headline — bigger, bolder, white→orange gradient sized to text */
.page-hero h1 {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 30%, #FFC07A 65%, #F4A261 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 20px rgba(0,0,0,0.4));
}
.page-hero h1 .accent {
  background: none;
  color: inherit;
  font-weight: inherit;
}
.page-hero p.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin: 0 0 36px;
  line-height: 1.45;
  font-weight: 400;
}
.page-hero p.hero-sub {
  font-size: 40px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  max-width: 1200px;
  margin: 2rem 0 40px;
  font-weight: 400;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 840px;
}
.breadcrumb {
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
  display: flex; gap: 8px; align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--c-amber); }

/* ========== Pillars (light) ========== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 32px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--c-cyan);
  box-shadow: 0 16px 40px rgba(11,31,58,0.08);
}
.pillar .pn {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--c-orange);
  margin-bottom: 12px;
  letter-spacing: 0.16em;
}
.pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.pillar p { font-size: 0.93rem; margin: 0; }

/* Capability cards (light) */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
@media (max-width: 880px) { .cap-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-card {
  padding: 30px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-cyan);
  box-shadow: 0 16px 40px rgba(11,31,58,0.08);
}
.cap-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,209,224,0.15), rgba(37,99,235,0.1));
  color: var(--c-blue);
  margin-bottom: 22px;
}
.cap-icon svg { width: 26px; height: 26px; }
.cap-icon:has(img) {
  width: auto; height: auto;
  background: none;
  border-radius: 0;
}
.cap-icon img {
  width: 72px; height: 72px; object-fit: contain;
  transition: transform .45s var(--ease);
}
.cap-card:hover .cap-icon img {
  transform: scale(1.12) rotate(-5deg);
}
.cap-card h3 { margin-bottom: 10px; font-size: 1.18rem; font-weight: 500; }
.cap-card p { font-size: 0.94rem; margin-bottom: 16px; }

/* ========== Core Capabilities — section heading gradient ========== */
#capabilities .section-head h2 {
  display: inline-block;
  background: linear-gradient(90deg, #0B1F3A 0%, #0B1F3A 35%, #FFC07A 68%, #F4A261 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(244,162,97,0.15));
}

/* ========== Core Capabilities 2-col grid ========== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.capabilities-grid .cap-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 14px);
  margin: 0 auto;
}
@media (max-width: 700px) {
  .capabilities-grid { grid-template-columns: 1fr; }
  .capabilities-grid .cap-card:last-child:nth-child(odd) { grid-column: auto; max-width: 100%; }
}

/* ========== Markets — vertical-market cards (no icons, AI-vibe gradient border) ========== */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .markets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .markets-grid { grid-template-columns: 1fr; } }

.market-card {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(244,162,97,0.07), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(37,99,235,0.09), transparent 55%),
    #ffffff;
  box-shadow: 0 16px 40px rgba(11,31,58,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
}
/* Always-on AI-vibe gradient border (peach → blue → cyan) */
.market-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #f4a261 0%, #2563eb 55%, #22d3ee 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.65;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.market-card > * { position: relative; z-index: 2; }
.market-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(37,99,235,0.18);
}
.market-card:hover::before { opacity: 1; }

.market-card h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
}
.market-card .cap-list {
  flex: 1;
  margin-bottom: 22px;
}

/* Learn More button on market cards — matches .btn-primary (Contact Us) */
.market-card .cap-learn-more {
  align-self: flex-start;
  background: var(--grad-cta);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-glow-cyan);
  font-weight: 500;
}
.market-card .cap-learn-more:hover {
  transform: translateY(-2px);
  background: var(--grad-cta);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(37,99,235,0.4);
}

/* Markets — centered, smaller CTA */
.markets-cta {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 32px;
}
.markets-cta h3 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: 880px;
}
.markets-cta h3 .accent { color: var(--c-amber); font-weight: 500; }
.markets-cta p {
  color: rgba(255,255,255,0.92);
  font-size: 1.15rem;
  margin: 0 auto;
  max-width: 620px;
}
.markets-cta p strong { color: #ffffff; font-weight: 600; }
.markets-cta .hero-cta { margin-top: 14px; }
@media (max-width: 600px) {
  .markets-cta { padding: 44px 22px; }
  .markets-cta h3 { font-size: 1.5rem; }
  .markets-cta p { font-size: 1rem; }
}

/* Enhanced card overrides inside capabilities-grid */
.capabilities-grid .cap-card {
  padding: 44px 40px 40px;
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(11,31,58,0.08);
  box-shadow: 0 4px 24px rgba(11,31,58,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease), border-color .35s var(--ease);
}
.capabilities-grid .cap-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFC07A, #F4A261);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.capabilities-grid .cap-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(11,31,58,0.13);
  border-color: rgba(244,162,97,0.35);
}
.capabilities-grid .cap-card:hover::after { opacity: 1; }

.capabilities-grid .cap-icon {
  width: auto; height: auto;
  background: none;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.capabilities-grid .cap-icon img {
  width: 80px; height: 80px;
  object-fit: contain;
  transition: transform .45s var(--ease);
}
.capabilities-grid .cap-card:hover .cap-icon img {
  transform: scale(1.12) rotate(-4deg);
}
.capabilities-grid .cap-card h3 {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-ink);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.capabilities-grid .cap-list {
  flex: 1;
  padding: 0;
  list-style: none;
  margin: 0 0 32px;
  text-align: left;
}
.capabilities-grid .cap-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  color: var(--c-text-dim);
  margin-bottom: 12px;
  line-height: 1.55;
}
.capabilities-grid .cap-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFC07A, #F4A261);
}
.capabilities-grid .cap-learn-more {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: var(--shadow-glow-cyan);
  border-color: transparent;
  font-weight: 500;
}
.capabilities-grid .cap-learn-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(37,99,235,0.4);
  color: #fff;
  background: var(--grad-cta);
  border-color: transparent;
}

/* ========== Capability Modals ========== */
.cap-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .32s ease, visibility 0s linear .32s;
}
.cap-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .32s ease, visibility 0s linear 0s;
}
.cap-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 41, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .32s ease;
}
.cap-modal.is-open .cap-modal-backdrop { opacity: 1; }
.cap-modal-window {
  position: relative;
  background: linear-gradient(99deg, #0F3E6A -21.95%, #0666C1 81.72%);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 120px rgba(6,20,41,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .35s ease, transform .42s cubic-bezier(.22,.9,.32,1.2);
}
.cap-modal.is-open .cap-modal-window {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .cap-modal,
  .cap-modal-backdrop,
  .cap-modal-window { transition: none; }
  .cap-modal-window { transform: none; }
}
.cap-modal-scroll {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 64px 72px;
}
.cap-modal-scroll::-webkit-scrollbar { display: none; }
.cap-modal-window h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 32px;
  color: #fff;
  padding-right: 52px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cap-modal-window h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 32px 0 12px;
}
.cap-modal-window p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.78;
  margin-bottom: 16px;
}
.cap-modal-window ul,
.cap-modal-window ol { padding-left: 22px; margin-bottom: 22px; }
.cap-modal-window ul li,
.cap-modal-window ol li { font-size: 0.97rem; color: rgba(255,255,255,0.8); margin-bottom: 10px; line-height: 1.65; }
.cap-modal-window strong { color: #fff; }
.cap-modal-window img { max-width: 100%; height: auto; margin: 24px auto; display: block; border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.cap-modal-close {
  position: absolute;
  top: 20px; right: 24px;
  z-index: 10;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 1.1rem;
  line-height: 1;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: color .2s, background .2s, border-color .2s;
  font-family: inherit;
}
.cap-modal-close:hover { color: #fff; background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); }
.cap-modal-footer { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.15); }
.cap-modal-btn {
  background: #fff;
  color: #0F3E6A;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.cap-modal-btn:hover {
  background: rgba(255,255,255,0.9);
  color: #0F3E6A;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
@media (max-width: 680px) {
  .cap-modal-scroll { padding: 36px 24px; }
}

/* ========== Form ========== */
.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: var(--shadow-soft);
}
.form-card h3 { font-weight: 500; margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--c-text-dim);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--c-ink);
  font: inherit;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-blue);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: all .25s var(--ease);
}
.contact-item:hover { border-color: var(--c-cyan); box-shadow: 0 10px 24px rgba(11,31,58,0.06); }
.contact-item .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79,209,224,0.15), rgba(37,99,235,0.1));
  display: grid; place-items: center;
  color: var(--c-blue);
  flex-shrink: 0;
}
.contact-item h4 { font-size: 1rem; margin: 0 0 4px; font-weight: 600; }
.contact-item p { font-size: 0.92rem; margin: 0; color: var(--c-text-dim); }

/* ========== Quote ========== */
.quote {
  padding: 60px 50px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--c-line);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.quote .mark {
  font-family: "DM Sans", sans-serif;
  font-size: 5rem;
  background: var(--grad-text-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.quote blockquote {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: var(--c-ink);
  line-height: 1.4;
  margin: 12px auto 30px;
  max-width: 800px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.quote cite { font-style: normal; font-size: 0.92rem; color: var(--c-text-dim); }
.quote cite strong { color: var(--c-ink); display: block; margin-bottom: 2px; font-weight: 600; }

/* ========== Process timeline ========== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
@media (max-width: 880px) { .timeline { grid-template-columns: 1fr; } }
.timeline-step {
  padding: 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  position: relative;
}
.timeline-step .step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4FD1E0, #2563EB);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 16px;
}

/* ============================================
   Why Choose — Liquid Glass card override
   (scoped to #why-choose so JanusAI dark cards stay)
   ============================================ */
#why-choose .section-head h2 {
  display: inline-block;
}

#why-choose .media-card-body {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow:
    0 24px 50px -20px rgba(11, 31, 58, 0.18),
    0 10px 24px -10px rgba(11, 31, 58, 0.08);
  overflow: hidden;
  isolation: isolate;
}

#why-choose .media-card-body::after {
  content: none;
}

#why-choose .media-card:hover .media-card-body {
  border-color: rgba(244, 162, 97, 0.35);
  box-shadow:
    0 30px 60px -18px rgba(11, 31, 58, 0.22),
    0 14px 30px -10px rgba(244, 162, 97, 0.18);
}

#why-choose .media-card-body h3 {
  color: var(--c-ink);
}
#why-choose .media-card-body p {
  color: var(--c-text-dim);
}

/* Case study card button */
.case-study-btn {
  margin-top: 22px;
  align-self: flex-start;
}

/* Transparent case study card — white text */
.case-study-card .media-card-body {
  background: transparent;
  border: none;
  box-shadow: none;
}
.case-study-card:hover .media-card-body {
  border-color: transparent;
  box-shadow: none;
}
.case-study-card .media-card-body::before {
  display: none;
}
.case-study-card .media-card-body h3,
.case-study-card .media-card-body p {
  color: #fff;
}
/* Impact stats — white "years" suffix and labels */
.impact-num,
.impact-num small,
.impact-label {
  color: #fff;
}
.impact-divider {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.30) 50%, transparent 100%);
}
@media (max-width: 760px) {
  .impact-divider {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.30) 50%, transparent 100%);
  }
}

/* Integration Value image visual */
.integration-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(11, 31, 58, 0.30);
  transform: translateZ(0);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.integration-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.10) 0%, rgba(11,31,58,0) 50%, rgba(244,162,97,0.18) 100%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.integration-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.integration-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -20px rgba(11, 31, 58, 0.36);
}
.integration-visual:hover img {
  transform: scale(1.04);
}

/* White → orange gradient — matches the page-hero h1 pattern */
.gradient-text-white-orange {
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 30%, #FFC07A 65%, #F4A261 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(244,162,97,0.18));
}

/* ============================================
   Impact stats row (above case study card)
   ============================================ */
.impact-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 48px 32px;
  margin-bottom: 56px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.impact-stat {
  text-align: center;
}
.impact-num {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.impact-num small {
  font-size: 0.45em;
  font-weight: 500;
  color: #fff;
  margin-left: 6px;
  letter-spacing: 0.02em;
}
.impact-label {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.impact-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,31,58,0.18) 50%, transparent 100%);
}
@media (max-width: 760px) {
  .impact-stats {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 24px;
  }
  .impact-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(11,31,58,0.18) 50%, transparent 100%);
    margin: 0 auto;
  }
}

/* Stronger, readable gradients on light glass */
#why-choose .media-card-body .gradient-text-orange {
  background: linear-gradient(90deg, #E8732B 0%, #C8541A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#why-choose .media-card-body .gradient-text-blue {
  background: linear-gradient(90deg, #1E63D6 0%, #0F3E6A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.timeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 600; }
.timeline-step p { font-size: 0.9rem; margin: 0; }

/* ========== Animation utilities ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ========== Trust logos ========== */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 50px; justify-content: center; align-items: center;
  opacity: 0.7;
  margin-top: 30px;
}
.trust-row .brand {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

/* ========== Leadership grid (about page) ========== */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .leader-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .leader-grid { grid-template-columns: 1fr; } }
.leader {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all .35s var(--ease);
}
.leader:hover {
  transform: translateY(-4px);
  border-color: var(--c-cyan);
  box-shadow: 0 16px 36px rgba(11,31,58,0.08);
}
.leader .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #4FD1E0, #2563EB);
  display: grid; place-items: center;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(37,99,235,0.25);
  overflow: hidden;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.leader .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.leader:hover .avatar {
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(37,99,235,0.35);
}
/* Soft cyan→amber ring on hover */
.leader .avatar::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4FD1E0, #F4A261);
  z-index: -1;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.leader:hover .avatar::after { opacity: 1; }
.leader h4 { font-size: 1.05rem; margin: 0 0 4px; font-weight: 600; }
.leader .role { font-size: 0.88rem; color: var(--c-text-dim); margin: 0; }

/* Vertical timeline */
.timeline-y {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--c-line);
  margin-top: 10px;
}
.timeline-y .item {
  position: relative;
  padding: 0 0 36px 24px;
}
.timeline-y .item:last-child { padding-bottom: 0; }
.timeline-y .item::before {
  content: "";
  position: absolute;
  left: -38px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4FD1E0, #2563EB);
  box-shadow: 0 0 0 4px var(--c-paper);
}
.timeline-y .year {
  font-family: "DM Sans", sans-serif;
  color: var(--c-orange);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.timeline-y h4 { font-size: 1.1rem; margin: 0 0 6px; font-weight: 600; color: var(--c-ink); }
.timeline-y p { margin: 0; font-size: 0.95rem; }

/* ============================================
   ABOUT PAGE — image-based hero variant
   ============================================ */
.page-hero.about-hero {
  /* Slightly tighter than the video hero so the image dominates */
  min-height: 78vh;
}
.about-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: aboutHeroDrift 18s ease-in-out infinite alternate;
  filter: saturate(1.1) contrast(1.05);
}
@keyframes aboutHeroDrift {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.page-hero.about-hero .hero-video-overlay {
  background:
    radial-gradient(900px 500px at 18% 20%, rgba(79,209,224,0.18), transparent 60%),
    radial-gradient(800px 500px at 85% 80%, rgba(244,162,97,0.16), transparent 60%),
    linear-gradient(180deg, rgba(6,20,41,0.82) 0%, rgba(6,20,41,0.86) 60%, rgba(6,20,41,0.95) 100%);
}
/* About hero has a long intro paragraph — let it use the full hero width */
.page-hero.about-hero p.lede {
  max-width: 1100px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}
.page-hero.about-hero p.hero-sub {
  max-width: 1100px;
}
.page-hero.about-hero h1 .accent {
  background: var(--grad-text-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero certification pill row */
.hero-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.cert-pill svg { width: 14px; height: 14px; color: var(--c-cyan); }
.cert-pill:hover {
  transform: translateY(-2px);
  background: rgba(79,209,224,0.12);
  border-color: rgba(79,209,224,0.45);
}

/* ============================================
   STRATEGIC ACTIVITIES — split layout (left intro, right cards)
   ============================================ */
.strategic-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;     /* anchor cards to the top of the column */
}
@media (max-width: 980px) {
  .strategic-layout { grid-template-columns: 1fr; gap: 36px; }
}

.strategic-intro .eyebrow { margin-bottom: 14px; }
.strategic-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}
.strategic-intro p {
  color: var(--c-text-dim);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 0 16px;
}
.strategic-intro p:last-child { margin-bottom: 0; }

.strategic-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Compact card variant — tighter padding, smaller badge, no body copy,
   logos in a single tight row */
.strategic-card.strategic-card-compact {
  padding: 26px 28px;
  border-radius: var(--r-lg);
}
.strategic-card.strategic-card-compact .strategic-card-glow {
  position: absolute;     /* defensive — keep absolute even if cascading rules fight */
  width: 320px; height: 320px;
  top: -130px; right: -130px;
}
.strategic-card.strategic-card-compact .strategic-card-head {
  margin-bottom: 18px;
  gap: 14px;
  align-items: flex-start;   /* eyebrow lines up with badge top — no empty space above */
}
.strategic-card.strategic-card-compact .strategic-card-head > div:last-child {
  padding-top: 2px;          /* nudge text to align optically with the badge's top icon */
}
.strategic-card.strategic-card-compact .strategic-badge {
  width: 50px; height: 50px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(11,31,58,0.18);
}
.strategic-card.strategic-card-compact .strategic-badge svg { width: 22px; height: 22px; }
.strategic-card.strategic-card-compact .strategic-card-head h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
}
.strategic-card.strategic-card-compact .strategic-card-head .eyebrow {
  margin-bottom: 2px;
  font-size: 0.72rem;
}

/* Compact logo tiles — clean row, smaller height, no name labels */
.logo-tiles.logo-tiles-compact {
  gap: 10px;
}
.logo-tiles.logo-tiles-compact .logo-tile-card {
  padding: 14px 10px;
  min-height: 76px;
  gap: 0;
  border-radius: var(--r-sm);
}
.logo-tiles.logo-tiles-compact .logo-tile-card img {
  max-height: 40px;
  max-width: 90%;
}
.logo-tiles.logo-tiles-compact.logo-tiles-single {
  max-width: 220px;
}

.strategic-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-top: 20px;
}
@media (max-width: 980px) {
  .strategic-grid { grid-template-columns: 1fr; gap: 22px; }
}
.strategic-card {
  position: relative;
  padding: 44px 40px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, #ffffff 0%, #FAF7F1 100%);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  isolation: isolate;
}
.strategic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(79,209,224,0.5), rgba(37,99,235,0.0) 40%, rgba(244,162,97,0.5) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.strategic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(11,31,58,0.18);
  border-color: transparent;
}
.strategic-card:hover::before { opacity: 1; }
/* NOTE: selector deliberately uses two classes to outrank the
   ".strategic-card > * { position: relative }" rule below — otherwise that
   rule would force the glow into normal flow and its 320–460px height
   would push all card content down. */
.strategic-card .strategic-card-glow {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  top: -180px; right: -180px;
  background: radial-gradient(closest-side, rgba(79,209,224,0.35), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  transition: transform .8s var(--ease);
}
.strategic-card:hover .strategic-card-glow {
  transform: translate(-30px, 30px) scale(1.05);
}
.strategic-card-glow.strategic-card-glow-orange {
  background: radial-gradient(closest-side, rgba(244,162,97,0.40), transparent 70%);
}
.strategic-card > * { position: relative; z-index: 2; }

.strategic-card-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.strategic-card-head .eyebrow { margin-bottom: 4px; }
.strategic-card-head h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin: 0;
  font-weight: 500;
}
.strategic-badge {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 14px 30px rgba(11,31,58,0.18);
  position: relative;
}
.strategic-badge svg { width: 28px; height: 28px; }
.strategic-badge-cyan {
  background: linear-gradient(135deg, #4FD1E0 0%, #2563EB 100%);
}
.strategic-badge-orange {
  background: linear-gradient(135deg, #FFC07A 0%, #F4A261 50%, #FF8C61 100%);
}
.strategic-card p {
  color: var(--c-text-dim);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 60ch;
}

/* Logo tiles inside strategic cards */
.logo-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.logo-tiles-single {
  grid-template-columns: 1fr;
  max-width: 320px;
}
@media (max-width: 560px) {
  .logo-tiles { grid-template-columns: repeat(2, 1fr); }
}
.logo-tile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 18px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--c-line);
  text-align: center;
  min-height: 130px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.logo-tile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,209,224,0.0) 0%, rgba(79,209,224,0.08) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.logo-tile-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-cyan);
  box-shadow: 0 14px 30px rgba(79,209,224,0.18);
}
.logo-tile-card:hover::after { opacity: 1; }
.logo-tile-card img {
  max-height: 56px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter .3s var(--ease), transform .3s var(--ease);
  position: relative;
  z-index: 1;
}
.logo-tile-card:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}
.logo-tile-name {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--c-text-mute);
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.strategic-footnote {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--c-text-mute);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ============================================
   CERTIFICATIONS — gradient hover cards
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  isolation: isolate;
}
.cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #0E2444 0%, #122B52 50%, #1B3A6B 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.cert-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(380px 220px at 0% 0%, rgba(79,209,224,0.30), transparent 60%),
    radial-gradient(380px 220px at 100% 100%, rgba(244,162,97,0.25), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.cert-card:hover {
  transform: translateY(-6px);
  color: #fff;
  box-shadow: 0 24px 50px rgba(11,31,58,0.30);
}
.cert-card:hover::before,
.cert-card:hover::after { opacity: 1; }
.cert-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79,209,224,0.14), rgba(37,99,235,0.10));
  border: 1px solid rgba(79,209,224,0.28);
  color: var(--c-blue);
  margin-bottom: 22px;
  transition: all .35s var(--ease);
}
.cert-icon svg { width: 22px; height: 22px; }
.cert-card:hover .cert-icon {
  background: linear-gradient(135deg, rgba(255,192,122,0.20), rgba(244,162,97,0.10));
  border-color: rgba(255,192,122,0.45);
  color: var(--c-amber);
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 26px rgba(255,192,122,0.30);
}
.cert-card h4 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .35s var(--ease);
}
.cert-card:hover h4 { color: #fff; }
.cert-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--c-text-dim);
  transition: color .35s var(--ease);
}
.cert-card:hover p { color: rgba(255,255,255,0.78); }

/* ============================================
   LEADERSHIP — 400×400 square overlay cards
   ============================================ */
.leader-grid.leader-grid-lg {
  display: grid;
  /* Up to 400px wide per card; auto-fits 3 across at 1240 container */
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 400px));
  gap: 26px;
  justify-content: center;
}
@media (max-width: 760px) {
  .leader-grid.leader-grid-lg {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 460px) {
  .leader-grid.leader-grid-lg {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Card shell: 400×400 glossy-glass square.
   Uses flex column so the name + role stack naturally at the bottom —
   avoids the fixed-bottom overlap when role wraps to 2 lines. */
.leader-grid.leader-grid-lg .leader {
  padding: 0 0 24px 0;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;     /* perfect square — pairs with 400px max-width */
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(14,36,68,0.20) 0%, rgba(11,31,58,0.10) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  text-align: left;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Glass rim + halo + drop shadow:
     1) drop shadow lifts the card off the page
     2) cyan halo whispers light passing through the glass
     3) top inner highlight = the "wet" glassy edge
     4) bottom inner shadow = glass thickness
     5) thin side highlights round out the rim */
  box-shadow:
    0 18px 40px rgba(11,31,58,0.22),
    0 0 50px rgba(79,209,224,0.07),
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.22),
    inset 1px 0 0 rgba(255,255,255,0.08),
    inset -1px 0 0 rgba(255,255,255,0.05);
  transition:
    transform .55s var(--ease),
    box-shadow .55s var(--ease),
    border-color .55s var(--ease);
}

/* Hover: brighter rim, fuller halo, subtle inner cyan glow at top edge */
.leader-grid.leader-grid-lg .leader:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.34);
  box-shadow:
    0 30px 60px rgba(11,31,58,0.32),
    0 0 70px rgba(79,209,224,0.20),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    inset 0 28px 60px -28px rgba(79,209,224,0.22),
    inset 1px 0 0 rgba(255,255,255,0.12),
    inset -1px 0 0 rgba(255,255,255,0.08);
}

/* Photo fills the whole card */
.leader-grid.leader-grid-lg .leader .avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  margin: 0;
  background: linear-gradient(135deg, #122B52 0%, #0E2444 100%);
  overflow: hidden;
  box-shadow: none;
  z-index: 0;
}
.leader-grid.leader-grid-lg .leader .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 1.2s var(--ease), filter .5s var(--ease);
  filter: saturate(.96) contrast(1.03);
}
.leader-grid.leader-grid-lg .leader:hover .avatar img {
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.05);
}

/* Brand gradient + glossy shine overlay.
   First layer (top of stack): a diagonal white gloss like light catching
   a polished glass surface. Second layer: the deep-blue brand gradient
   that grounds the caption. */
.leader-grid.leader-grid-lg .leader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Diagonal glass gloss — top-left to mid */
    linear-gradient(
      135deg,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.10) 18%,
      rgba(255,255,255,0.04) 32%,
      transparent 52%
    ),
    /* Subtle secondary gloss along the right edge */
    linear-gradient(
      255deg,
      rgba(255,255,255,0.10) 0%,
      transparent 35%
    ),
    /* Brand color gradient */
    linear-gradient(
      184deg,
      rgba(0, 0, 0, 0.14) 50.42%,
      rgba(29, 187, 204, 0.34) 68.94%,
      #0666C1 78.61%,
      #2747CB 83.28%
    );
  z-index: 2;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

/* Hover shine-sweep: a thin white band of light slides diagonally across
   the glass — classic "wet glass catching the sun" effect. */
.leader-grid.leader-grid-lg .leader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,0.22) 48%,
    rgba(255,255,255,0.30) 50%,
    rgba(255,255,255,0.22) 52%,
    transparent 70%
  );
  z-index: 3;
  opacity: 0;
  transform: translateX(-110%);
  transition: opacity .25s var(--ease), transform 0s linear .9s;
  pointer-events: none;
  mix-blend-mode: screen;
}
.leader-grid.leader-grid-lg .leader:hover::after {
  opacity: 1;
  transform: translateX(110%);
  transition: opacity .25s var(--ease), transform .9s var(--ease) .1s;
}

/* Top accent line — wipes in on hover */
.leader-grid.leader-grid-lg .leader .avatar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4FD1E0, #2563EB, #F4A261);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .65s var(--ease);
  z-index: 5;
}
.leader-grid.leader-grid-lg .leader:hover .avatar::before { transform: scaleX(1); }

/* Name — sits in flow inside the deep-blue caption strip */
.leader-grid.leader-grid-lg .leader h4 {
  position: relative;
  margin: 0 80px 6px 24px;   /* right margin clears the bottom-right pill */
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  z-index: 4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.30);
  transition: transform .45s var(--ease);
}
.leader-grid.leader-grid-lg .leader:hover h4 { transform: translateY(-2px); }

/* Role — flows under the name, wraps freely without overlap */
.leader-grid.leader-grid-lg .leader .role {
  position: relative;
  margin: 0 80px 0 24px;     /* matches name's right margin to clear the pill */
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.005em;
  z-index: 4;
  transition: color .35s var(--ease);
}

/* Tiny accent dash above the name on hover */
.leader-grid.leader-grid-lg .leader h4::before {
  content: "";
  position: absolute;
  left: 0; top: -10px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4FD1E0, #FFC07A);
  transition: width .5s var(--ease);
}
.leader-grid.leader-grid-lg .leader:hover h4::before { width: 28px; }

/* Floating "↗" pill — bottom-right corner, sits inside the deep-blue area
   so it pops naturally next to the name + role. Always visible (subtle),
   intensifies on hover. */
.leader-grid.leader-grid-lg .leader .avatar::after {
  display: block;
  content: "";
  position: absolute;
  inset: auto;
  top: auto;
  left: auto;
  right: 22px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M9 7h8v8'/></svg>"),
    linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center, 0 0;
  background-size: 15px 15px, cover;
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0.85;
  transform: translateY(0) scale(1);
  transition:
    opacity .35s var(--ease),
    transform .35s var(--ease),
    border-color .35s var(--ease),
    background-color .35s var(--ease);
  z-index: 5;
  pointer-events: none;
}
.leader-grid.leader-grid-lg .leader:hover .avatar::after {
  opacity: 1;
  transform: translateY(-2px) scale(1.06);
  border-color: rgba(255,255,255,0.55);
}

@media (max-width: 760px) {
  .leader-grid.leader-grid-lg .leader {
    border-radius: 18px;
    padding-bottom: 22px;
  }
  .leader-grid.leader-grid-lg .leader h4 {
    font-size: 1rem;
    margin: 0 70px 4px 22px;
  }
  .leader-grid.leader-grid-lg .leader .role {
    font-size: 0.76rem;
    margin: 0 70px 0 22px;
  }
  .leader-grid.leader-grid-lg .leader .avatar::after {
    width: 38px;
    height: 38px;
    right: 18px;
    bottom: 22px;
  }
}
@media (max-width: 460px) {
  .leader-grid.leader-grid-lg .leader { padding-bottom: 24px; }
  .leader-grid.leader-grid-lg .leader h4 {
    font-size: 1.1rem;
    margin: 0 80px 6px 24px;
  }
  .leader-grid.leader-grid-lg .leader .role {
    font-size: 0.85rem;
    margin: 0 80px 0 24px;
  }
  .leader-grid.leader-grid-lg .leader .avatar::after {
    width: 42px;
    height: 42px;
    right: 22px;
    bottom: 26px;
  }
}

/* ============================================
   Team Member Profile Pages
   ============================================ */
.profile-hero {
  position: relative;
  padding: 200px 0 90px;
  background:
    radial-gradient(1200px 600px at 80% 0%, rgba(79,209,224,0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 30%, rgba(255,192,122,0.12), transparent 60%),
    linear-gradient(180deg, var(--c-navy-deep) 0%, var(--c-ink) 100%);
  overflow: hidden;
}
.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
}
.profile-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .profile-hero { padding: 160px 0 60px; }
  .profile-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
}
.profile-hero .breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.profile-hero .breadcrumb a { color: var(--c-amber); }
.profile-hero .breadcrumb a:hover { color: #fff; }

.profile-portrait {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 60px rgba(79,209,224,0.15);
}
@media (max-width: 880px) {
  .profile-portrait { margin: 0 auto; width: 280px; height: 280px; }
}
.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.profile-portrait:hover img { transform: scale(1.04); }
.profile-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6,20,41,0.55) 100%);
  pointer-events: none;
}
.profile-portrait::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(79,209,224,0.6), rgba(255,192,122,0.4), transparent);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.7;
}

.profile-meta .eyebrow {
  color: var(--c-amber);
  letter-spacing: 0.32em;
  margin-bottom: 14px;
  display: inline-block;
}
.profile-meta h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 12px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.profile-meta h1 .accent {
  background: var(--grad-text-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.profile-meta .role {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 24px;
  font-weight: 500;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
@media (max-width: 880px) { .profile-tags { justify-content: center; } }
.profile-tag {
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.profile-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (max-width: 880px) { .profile-social { justify-content: center; } }
.profile-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  transition: all .25s var(--ease);
}
.profile-social a:hover {
  background: var(--grad-cta);
  border-color: transparent;
  transform: translateY(-2px);
}
.profile-social a svg { width: 18px; height: 18px; }

/* Profile body */
.profile-body {
  padding: 80px 0 100px;
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 980px) {
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
}
.profile-bio h2 {
  font-size: 1.6rem;
  margin: 0 0 18px;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.profile-bio h3 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  color: var(--c-ink);
}
.profile-bio p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--c-text);
  margin: 0 0 18px;
}
.profile-bio ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.profile-bio ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.98rem;
  color: var(--c-text);
}
.profile-bio ul li:last-child { border-bottom: none; }
.profile-bio ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--grad-cta);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}
.profile-bio ul.checklist li::before {
  background: var(--grad-cta-orange);
  box-shadow: 0 4px 14px rgba(244,162,97,0.35);
}
.profile-bio blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--c-orange);
  background: var(--c-cream);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--c-ink);
}

/* Sidebar */
.profile-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 980px) { .profile-aside { position: static; } }
.profile-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.profile-card h4 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  font-weight: 700;
}
.profile-card .stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-line);
}
.profile-card .stat:last-child { border-bottom: none; }
.profile-card .stat .label {
  font-size: 0.82rem;
  color: var(--c-text-dim);
  flex: 1;
}
.profile-card .stat .value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-ink);
  text-align: right;
}
.profile-card.profile-card-dark {
  background: var(--c-ink);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}
.profile-card.profile-card-dark h4 { color: var(--c-amber); }
.profile-card.profile-card-dark .stat { border-color: rgba(255,255,255,0.08); }
.profile-card.profile-card-dark .stat .label { color: rgba(255,255,255,0.7); }
.profile-card.profile-card-dark .stat .value { color: #fff; }
.profile-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-card .chips span {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--c-cream);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}
.profile-card.profile-card-dark .chips span {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}

/* Other team members strip */
.profile-others {
  background: var(--c-cream);
  padding: 80px 0;
  border-top: 1px solid var(--c-line);
}
.profile-others .section-head { margin-bottom: 40px; }
.profile-others-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .profile-others-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .profile-others-grid { grid-template-columns: 1fr; } }
.profile-others-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--c-line);
  transition: all .3s var(--ease);
}
.profile-others-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(79,209,224,0.4);
}
.profile-others-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-others-card .info { min-width: 0; }
.profile-others-card .info h5 {
  margin: 0 0 2px;
  font-size: 0.95rem;
  color: var(--c-ink);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-others-card .info p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--c-text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   ATLAS page — section lede, integration tags
   ============================================ */
.section-head .section-lede {
  max-width: 820px;
  margin: 14px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text-dim);
  text-align: center;
}
.integration-tags {
  margin-top: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--c-text-mute);
  text-transform: uppercase;
}
.integration-tags strong { font-weight: 600; color: var(--c-ink-2); }

/* 3-column variant for cap-grid (used on ATLAS orchestration section) */
.cap-grid.cap-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .cap-grid.cap-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cap-grid.cap-grid-3 { grid-template-columns: 1fr; }
}

/* ============================================
   ATLAS comparison table
   ============================================ */
.atlas-compare {
  max-width: 980px;
  margin: 32px auto 0;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(241,236,227,0.55) 100%);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.atlas-compare-head,
.atlas-compare-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
}
.atlas-compare-head {
  background: var(--grad-cta);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}
.atlas-compare-head > div {
  padding: 18px 22px;
  text-align: center;
}
.atlas-compare-head .atlas-col-traditional { text-align: left; }
.atlas-compare-head .atlas-col-atlas { text-align: right; }

.atlas-compare-row {
  border-top: 1px solid var(--c-line);
  transition: background .25s var(--ease);
}
.atlas-compare-row:hover { background: rgba(79,209,224,0.06); }
.atlas-compare-row > div { padding: 18px 22px; font-size: 0.98rem; }

.atlas-compare-row .atlas-col-traditional {
  color: var(--c-text-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(228,90,90,0.55);
  text-decoration-thickness: 2px;
}
.atlas-compare-row .atlas-col-metric {
  text-align: center;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.atlas-compare-row .atlas-col-atlas {
  text-align: right;
  font-weight: 600;
  background: var(--grad-text-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 720px) {
  .atlas-compare-head { display: none; }
  .atlas-compare-row {
    grid-template-columns: 1fr;
    padding: 16px 4px;
    gap: 4px;
  }
  .atlas-compare-row > div { padding: 6px 18px; text-align: left !important; }
  .atlas-compare-row .atlas-col-metric { font-size: 0.78rem; color: var(--c-text-mute); }
}

/* ============================================
   FAQ accordion
   ============================================ */
.faq-list {
  max-width: 880px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: 0 4px 18px rgba(11,31,58,0.04);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] {
  border-color: rgba(79,209,224,0.45);
  box-shadow: 0 10px 30px rgba(11,31,58,0.08);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-right: 2px solid var(--c-text-dim);
  border-bottom: 2px solid var(--c-text-dim);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}
.faq-item[open] > summary::after { transform: rotate(-135deg) translateY(2px); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--c-text-dim);
  font-size: 0.96rem;
  line-height: 1.7;
}
.faq-body p { margin: 0; }

/* ============================================
   ATLAS pull quote
   ============================================ */
.atlas-quote {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.atlas-quote blockquote {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--c-ink);
  font-style: italic;
}
.atlas-quote blockquote p { margin: 0; }
.atlas-quote figcaption {
  font-size: 0.92rem;
  color: var(--c-text-mute);
  letter-spacing: 0.04em;
}

/* ============================================
   News page — card grid
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(241,236,227,0.6) 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--c-ink);
  box-shadow: 0 6px 22px rgba(11,31,58,0.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,209,224,0.45);
  box-shadow: 0 22px 46px rgba(11,31,58,0.14);
}

/* ---- Thumbnail ---- */
.news-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-navy);
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .7s var(--ease);
}
.news-card:hover .news-card-thumb img { transform: scale(1.06); }
.news-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0) 35%, rgba(11,31,58,0.35) 100%);
  pointer-events: none;
}

/* ---- Tag ---- */
.news-tag {
  display: inline-block;
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  background: rgba(11,31,58,0.06);
  border-radius: 999px;
}
.news-tag-product {
  color: #fff;
  background: var(--grad-cta);
}
.news-tag-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  color: var(--c-ink);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(11,31,58,0.18);
}
.news-tag-product.news-tag-overlay {
  color: #fff;
  background: var(--grad-cta);
}

/* ---- Body ---- */
.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--c-text-mute);
  letter-spacing: 0.02em;
}
.news-card-source { font-weight: 600; color: var(--c-text-dim); }
.news-card-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-text-mute);
  flex-shrink: 0;
}
.news-card-title {
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 12px;
  transition: color .25s var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-card-title {
  background: var(--grad-text-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.news-card-subtitle {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-text-dim);
  margin: 0 0 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-blue);
  margin-top: auto;
}
.news-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform .25s var(--ease);
}
.news-card:hover .news-card-cta svg { transform: translateX(4px); }

/* ============================================
   News article detail page
   ============================================ */
.article-hero {
  position: relative;
  padding: 120px 0 80px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(79,209,224,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(244,162,97,0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
  color: var(--c-text-on-dark);
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.article-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.article-hero-content { min-width: 0; }
.article-hero-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  aspect-ratio: 4 / 3;
  background: var(--c-navy-deep);
}
.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,209,224,0.18) 0%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .article-hero { padding: 100px 0 50px; }
  .article-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-hero-image { aspect-ratio: 16 / 9; order: -1; }
}
.article-hero .breadcrumb {
  margin-bottom: 24px;
  color: var(--c-text-on-dark-dim);
  font-size: 0.85rem;
}
.article-hero .breadcrumb a {
  color: var(--c-text-on-dark-dim);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.article-hero .breadcrumb a:hover { color: var(--c-cyan); }
.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.article-eyebrow .news-tag { background: rgba(255,255,255,0.12); color: #fff; }
.article-eyebrow .news-tag-product { background: var(--grad-cta); }
.article-hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: #fff;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--c-text-on-dark-dim);
}
.article-meta .meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-text-on-dark-dim);
  opacity: 0.6;
}
.article-meta strong { color: #fff; font-weight: 600; }

.article-body-section {
  padding: 70px 0 80px;
}
.article-body {
  max-width: none;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--c-text);
  column-count: 2;
  column-gap: 64px;
  column-rule: 1px solid var(--c-line);
}
.article-body > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--c-ink);
  font-weight: 400;
}
.article-body p {
  margin: 0 0 22px;
  break-inside: avoid-column;
}
.article-body h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--c-ink);
  margin: 36px 0 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  column-span: all;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}
.article-body > h2:first-child,
.article-body > *:first-child + h2 { border-top: none; padding-top: 0; }
.article-body h3 {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--c-ink);
  margin: 28px 0 14px;
  line-height: 1.4;
  break-after: avoid;
}
.article-body ul, .article-body ol {
  margin: 0 0 26px;
  padding-left: 22px;
}
.article-body li {
  margin-bottom: 10px;
  padding-left: 6px;
  break-inside: avoid;
}
.article-body ul li::marker { color: var(--c-cyan-2); }
.article-body strong { color: var(--c-ink); font-weight: 600; }
.article-body a {
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s var(--ease);
}
.article-body a:hover { color: var(--c-cyan-2); }

.article-pullquote {
  margin: 36px 0;
  padding: 28px 32px 28px 36px;
  border-left: 4px solid var(--c-cyan-2);
  background: linear-gradient(90deg, rgba(79,209,224,0.10) 0%, rgba(79,209,224,0) 100%);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--c-ink);
  font-style: italic;
  column-span: all;
  break-inside: avoid;
}
.article-pullquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-text-dim);
  letter-spacing: 0.02em;
}

.article-footer-cta {
  margin: 60px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .article-body {
    column-count: 1;
    column-gap: 0;
    font-size: 1.02rem;
  }
  .article-body h2 { padding-top: 24px; }
}
.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.article-back-link:hover { color: var(--c-blue); }
.article-back-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease);
}
.article-back-link:hover svg { transform: translateX(-3px); }

@media (max-width: 720px) {
  .article-hero { padding: 100px 0 50px; }
  .article-cover { margin-top: -28px; }
  .article-body-section { padding: 44px 0 60px; }
  .article-pullquote { margin: 28px 0; padding: 22px 24px; }
}
