/* ================================================================
   PRESCIENSE — Global Stylesheet v4
   Design: Premium, formal, authoritative with modern refinement
   Aesthetic: Dark purple, restrained luxury, subtle animation
   Updated: Accessibility, design system tokens, component states
   ================================================================ */

/* Google Fonts loaded via <link> in HTML for non-blocking parallel download */

/* ── Custom Properties ── */
:root {
  /* Shadow tokens — replaces hardcoded rgba in nav and dark section borders */
  --shadow-nav:   0 1px 40px rgba(0,0,0,0.06);
  --shadow-nav-dark: 0 1px 40px rgba(0,0,0,0.3);
  --border-dark:  rgba(255,255,255,0.06);
  --white:        #FFFFFF;
  --off-white:    #F8F7F5;
  --cream:        #F2F0ED;
  --rule:         #E2E0DC;
  --rule-light:   #EDEBE8;   /* reserved — subtle dividers on cream */
  --text-dark:    #0D0C0A;
  --text-mid:     #2E2C29;
  --text-light:   #52504C;
  --purple:       #312E81;
  --purple-light: #4F46E5;
  --purple-vivid: #6366F1;
  --purple-tint:  #EEF2FF;
  --purple-glow:  rgba(99, 102, 241, 0.15);
  --dark-bg:      #0F172A;
  --dark-bg-2:    #1E293B;
  --dark-bg-3:    #0B1120;   /* reserved — deepest dark layer */
  /* Dark section text tokens — WCAG AA compliant on dark-bg */
  --dark-text-primary:   rgba(255,255,255,0.92);
  --dark-text-secondary: rgba(255,255,255,0.62);
  --dark-text-muted:     rgba(255,255,255,0.52);
  --dark-text-rule:      rgba(255,255,255,0.08);
  /* Semantic states */
  --error:        #C0392B;
  --error-tint:   #FDECEA;   /* reserved — error field background */
  --success:      #27AE60;   /* reserved — success states */
  --focus-ring:   rgba(99, 102, 241, 0.45);
  --nav-h:        72px;
  --max-w:        1200px;
  --pad-h:        60px;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-med:  0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
  /* Shadow tokens — card elevations */
  --shadow-card:    0 10px 32px rgba(49,46,129,0.13);
  --shadow-card-md: 0 24px 56px rgba(49,46,129,0.16), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-card-lg: 0 28px 64px rgba(49,46,129,0.14), 0 8px 24px rgba(0,0,0,0.07);
  /* Purple border/glow variants */
  --purple-border-hover: rgba(99,102,241,0.28);
  --purple-shadow:       rgba(49,46,129,0.16);
  /* Dark section dividers */
  --dark-rule-light: rgba(255,255,255,0.1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* ── Typography ── */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
}

.display-1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.display-2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.display-3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}
.display-4 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
}

.body-lg  { font-size: 1.1rem;  line-height: 1.8;  color: var(--text-mid); }
.body-md  { font-size: 1rem;   line-height: 1.8;  color: var(--text-mid); }
.body-sm  { font-size: 0.9rem; line-height: 1.75; color: var(--text-mid); }
.body-xs  { font-size: 0.8rem; line-height: 1.65; color: var(--text-light); }

hr { border: none; border-top: 1px solid var(--rule); }

/* ── Accessibility utilities ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip navigation link — visible on focus only */
.skip-nav {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--purple);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
  transition: top 0.2s;
}
.skip-nav:focus { top: 16px; outline: 3px solid var(--white); outline-offset: 2px; }

/* Global focus-visible — keyboard navigation */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Windows High Contrast mode — restore gradient text (WCAG 1.4.3) */
@media (forced-colors: active) {
  .hero__title em,
  .gradient-italic {
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}
.rule-sm { width: 40px; height: 2px; background: var(--purple); border: none; display: block; }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
  will-change: opacity, transform, filter;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
  will-change: opacity, transform, filter;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); filter: blur(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
  will-change: opacity, transform, filter;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); filter: blur(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  will-change: opacity, transform, filter;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); filter: blur(0); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.btn:hover::before { opacity: 1; }

.btn-dark {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
}
.btn-dark:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--purple-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn-outline:hover {
  background: var(--text-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.08);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  border-color: transparent;
}
.btn-purple:hover {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-vivid));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--purple-glow), 0 0 0 1px rgba(99,102,241,0.2);
}

/* Button active (click) state */
.btn:active { transform: translateY(0); opacity: 0.9; }

/* Button disabled state */
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.link-arrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.link-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}
.link-arrow:hover {
  gap: 14px;
  color: var(--purple-light);
}
.link-arrow:hover::after {
  transform: translateX(4px);
}
/* Inline text link with underline — used in legal and article body copy */
.link--underline {
  color: var(--purple-vivid);
  text-decoration: underline;
  text-decoration-color: rgba(99,102,241,0.4);
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}
.link--underline:hover {
  color: var(--purple);
  text-decoration-color: rgba(49,46,129,0.6);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,224,220,0.6);
  z-index: 1000;
  transition: all var(--transition-med);
}
.nav.elevated {
  box-shadow: var(--shadow-nav);
  background: rgba(255,255,255,0.96);
}
.nav--dark {
  background: rgba(10,6,24,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav--dark.elevated {
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-nav-dark);
}
.nav--dark .nav__links a { color: rgba(255,255,255,0.5); }
.nav--dark .nav__links a:hover,
.nav--dark .nav__links a.active { color: var(--white); }
.nav--dark .nav__contact { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.3); }
.nav--dark .nav__contact:hover { color: var(--white); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo img {
  height: 32px;
  width: auto;
  transition: opacity var(--transition-fast);
}
.nav__logo:hover img { opacity: 0.8; }
.nav__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition-fast);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--purple);
  transition: width var(--transition-fast);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a:hover,
.nav__links a.active { color: var(--text-dark); }

.nav__contact {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  border-bottom: 1px solid var(--purple);
  padding-bottom: 2px;
  transition: all var(--transition-fast);
}
.nav__contact:hover { opacity: 0.7; }

/* Mobile menu toggle — 44×44px touch target (WCAG 2.5.5) */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 6px;
  position: relative;
  z-index: 1001;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  margin: 5px auto;
  transition: all var(--transition-fast);
}
.nav--dark .nav__toggle span { background: var(--white); }
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ── Page Sections ── */
.section { padding: 120px 0; }
.section--lg { padding: 150px 0; }
.section--sm { padding: 80px 0; }
.section--tinted {
  background: var(--off-white);
  position: relative;
}
.section--tinted::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.section--tinted > .wrap { position: relative; z-index: 1; }
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.section--dark > .wrap { position: relative; z-index: 1; }
.section--dark-2 { background: var(--dark-bg-2); }

/* ── Hero (Home) ── */
.hero {
  background: var(--dark-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
/* Animated gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, rgba(99,102,241,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(79,70,229,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 60% 80%, rgba(49,46,129,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 30% 70%, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: heroMesh 20s ease-in-out infinite alternate;
}
@keyframes heroMesh {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-30px, 20px) rotate(1deg); }
  66% { transform: translate(20px, -10px) rotate(-0.5deg); }
  100% { transform: translate(-10px, 30px) rotate(0.5deg); }
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
/* Grid pattern overlay */
.hero .wrap { position: relative; z-index: 2; }
.hero__eyebrow {
  color: var(--dark-text-muted); /* was rgba(255,255,255,0.4) = 3.72:1 ❌ → now 5.64:1 ✅ */
  margin-bottom: 32px;
  position: relative;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--purple-vivid);
  margin-right: 14px;
  vertical-align: middle;
}
.hero__title {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 36px;
  max-width: 820px;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(99,102,241,0.9), rgba(79,70,229,0.7));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite alternate;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero__body {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.48);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 48px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Hero visual (faded atmospheric image, right side) ── */
.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.8) 55%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.8) 55%, black 100%);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  display: block;
  filter: saturate(0.7) brightness(0.85);
  transition: opacity 1.2s var(--ease-out), filter 1.2s var(--ease-out);
}
.hero__visual img.loaded { opacity: 0.45; filter: saturate(0.8) brightness(0.9); }
/* Ensure hero text always sits above visual */
.hero > .wrap { position: relative; z-index: 2; }

/* ── Page Hero (Inner Pages) ── */
.page-hero {
  background: var(--off-white);
  padding: 160px 0 90px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 400px 400px at 30% 40%, rgba(99,102,241,0.08) 0%, transparent 70%),
    radial-gradient(circle, var(--purple-glow), transparent 70%);
  pointer-events: none;
  animation: heroMesh 20s ease-in-out infinite alternate;
}
.page-hero__eyebrow { margin-bottom: 24px; }
/* Faded right-side image for inner page heroes */
.page-hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 22%, rgba(0,0,0,0.8) 50%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 22%, rgba(0,0,0,0.8) 50%, black 100%);
}
.page-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  display: block;
  filter: saturate(0.6) brightness(0.85);
  transition: opacity 1.2s var(--ease-out), filter 1.2s var(--ease-out);
}
.page-hero__visual img.loaded {
  opacity: 0.65;
  filter: saturate(0.7) brightness(0.9);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero__title {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  max-width: 700px;
  margin-bottom: 24px;
}
.page-hero__body { max-width: 560px; }

/* ── Section Headers ── */
.section-head { margin-bottom: 64px; }
.section-head--rule::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-vivid));
  margin-bottom: 28px;
}

/* ── Grid Layouts ── */
.col-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.col-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.col-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; }
.col-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }

/* ── Text Columns ── */
.text-col { padding-top: 0; border-top: none; }
.text-col__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.text-col__heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.text-col__body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; }

/* ── Partner Logos ── */
.partners {
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.partners--dark { background: var(--dark-bg-2); }
.partners__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}
.partners__logos {
  display: flex;
  align-items: center;
  gap: 52px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.partners__logos-track {
  display: flex;
  align-items: center;
  gap: 52px;
  animation: marquee 120s linear infinite;
  will-change: transform;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partners__logos:hover .partners__logos-track { animation-play-state: paused; }
.partners__logo {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rule);
  text-transform: uppercase;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.partners__logo:hover {
  color: var(--white);
  transform: translateY(-1px);
}

/* ── Stat Row ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  padding: 48px 36px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule);
  transition: all 0.4s var(--ease-out);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-item::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(49,46,129,0.16), 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(99,102,241,0.30);
}
.stat-item:hover::after { opacity: 1; }
.stat-item__num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Expertise List ── */
.expertise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.expertise-item {
  padding: 40px 36px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.expertise-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(99,102,241,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.expertise-item::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.expertise-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(49,46,129,0.16), 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(99,102,241,0.28);
}
.expertise-item:hover::before { opacity: 1; }
.expertise-item:hover::after { opacity: 1; }
.expertise-item__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.expertise-item__body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }

/* ── Service Rows ── */
.service-row {
  padding: 48px;
  margin-bottom: 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-row::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.service-row:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(49,46,129,0.14), 0 8px 24px rgba(0,0,0,0.07);
  border-color: rgba(99,102,241,0.28);
}
.service-row:hover::after { opacity: 1; }
.service-row__num {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 12px;
}
.service-row__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}
.service-row__body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 20px; }
.service-row__list { display: flex; flex-direction: column; gap: 8px; }
.service-row__list li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.service-row__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--purple);
}

/* ── Leadership ── */
.leader-row {
  padding: 56px;
  margin-bottom: 32px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.leader-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-vivid), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.leader-row:hover {
  box-shadow: 0 28px 64px rgba(49,46,129,0.14), 0 8px 24px rgba(0,0,0,0.07);
  border-color: rgba(99,102,241,0.28);
  transform: translateY(-4px);
}
.leader-row:hover::before { opacity: 1; }
.leader-initials {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-tint), #C7D2FE);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
  transition: transform var(--transition-fast);
}
.leader-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(99,102,241,0.18);
  box-shadow: 0 4px 20px rgba(49,46,129,0.12);
  margin-bottom: 20px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.leader-row:hover .leader-photo {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(49,46,129,0.18);
}
.leader-row:hover .leader-initials { transform: scale(1.05); }
.leader-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.leader-role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.leader-tags { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; }
.leader-tag {
  font-size: 0.75rem;
  color: var(--text-light);
  padding-left: 12px;
  border-left: 2px solid var(--rule);
  transition: border-color var(--transition-fast);
}
.leader-tag:hover { border-left-color: var(--purple); }
.leader-bio { font-size: 0.9rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 28px; }
.leader-career-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.leader-career-list { display: flex; flex-direction: column; gap: 10px; }
.leader-career-item { font-size: 0.85rem; color: var(--text-mid); }
.leader-career-item strong { color: var(--text-dark); font-weight: 600; }

/* ── Values ── */
.value-row {
  padding: 36px 40px;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  align-items: start;
  transition: all 0.35s var(--ease-out);
}
.value-row:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 40px rgba(49,46,129,0.13);
  border-color: rgba(99,102,241,0.28);
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--purple-tint);
  line-height: 1;
  padding-top: 4px;
  transition: color 0.35s var(--ease-out);
  background: linear-gradient(135deg, var(--purple), var(--purple-vivid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
}
.value-row:hover .value-num { opacity: 1; }
.value-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.value-body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; }

/* ── Timeline ── */
.timeline { display: flex; flex-direction: column; gap: 16px; }
.t-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--rule);
  transition: all 0.35s var(--ease-out);
}
.t-item:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 32px rgba(49,46,129,0.13);
  border-color: rgba(99,102,241,0.28);
}
.t-year {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.t-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.t-body { font-size: 0.85rem; color: var(--text-mid); line-height: 1.75; }
/* Pull-quote text inside image-break sections */
.img-break__quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  max-width: 680px;
}
.img-break__quote-label {
  margin-top: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-text-muted);
}

/* ── Contact Form ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--rule);
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 8px;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-glow);
}
.form-textarea { min-height: 120px; resize: vertical; }

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: var(--off-white);
  color: var(--text-light);
  cursor: not-allowed;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.form-error-msg {
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.form-error-msg::before { content: '⚠'; font-size: 0.68rem; }

.form-note {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--purple);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.form-checkbox-label span {
  font-size: 0.75rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* Form success message — replaces inline styles on contact.html success state */
.form-success {
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px;
  padding: 40px;
  margin-top: 24px;
  background: linear-gradient(135deg, var(--purple-tint), var(--white));
}
.form-success__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Textarea tall variant */
.form-textarea--tall { min-height: 150px; }

/* ── Quote ── */
.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.55;
  border-left: 2px solid var(--purple);
  padding-left: 32px;
}
.pull-cite {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 20px;
  padding-left: 32px;
  display: block;
}

/* ── Band / CTA ── */
.band {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  inset: -100px;
  background:
    radial-gradient(ellipse 500px 500px at 10% 80%, rgba(99,102,241,0.12), transparent 70%),
    radial-gradient(ellipse 400px 400px at 90% 20%, rgba(79,70,229,0.08), transparent 70%);
  pointer-events: none;
  animation: heroMesh 25s ease-in-out infinite alternate;
}
.band__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 720px;
}
.band__body {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 40px;
}

/* ── Dark Sections ── */
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .body-md, .section--dark .body-lg { color: var(--dark-text-secondary); }
.section--dark hr { border-color: var(--dark-text-rule); }

/* Dark section text utilities — use instead of inline rgba */
.dark-text-primary   { color: var(--dark-text-primary); }
.dark-text-secondary { color: var(--dark-text-secondary); }
.dark-text-muted     { color: var(--dark-text-muted); }

/* ── Image Break ── */
.img-break {
  position: relative;
  overflow: hidden;
  height: 480px;
  background: var(--dark-bg-2);
}
/* Height modifiers — replaces inline style="height:Xpx" on service page breaks */
.img-break--sm { height: 380px; }
.img-break--md { height: 400px; }
.img-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
  display: block;
  transition: opacity 0.8s var(--ease-out);
}
.img-break:hover img { opacity: 0.5; }
.img-break__caption {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
}
.img-break__caption .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.img-break__stat { color: var(--white); }
.img-break__stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.img-break__stat-num.counted { opacity: 1; transform: translateY(0); }
.img-break__stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.img-break__rule {
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
  margin: 0 60px;
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq-item {
  padding: 28px 32px;
  margin-bottom: 12px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--rule);
  transition: all 0.35s var(--ease-out);
}
.faq-item:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 32px rgba(49,46,129,0.13);
  border-color: rgba(99,102,241,0.28);
}
.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.faq-a { font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; }

/* ── Checklist ── */
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.check-list li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding-left: 22px;
  position: relative;
  line-height: 1.65;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ── Legal & Article pages ── */
.legal-content,
.article-content {
  max-width: 760px;
}
.legal-content h2,
.article-content h2 {
  color: var(--purple);
  padding-top: 8px;
}
.legal-content p + h2,
.article-content p + h2 {
  margin-top: 48px;
}
.legal-content a,
.article-content a {
  color: var(--purple-vivid);
}
.legal-content a:hover,
.article-content a:hover {
  color: var(--purple);
}

/* ── Footer ── */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 44px;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.footer__logo img { height: 30px; width: auto; }
.footer__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
}
.footer__tagline {
  font-size: 0.85rem;
  color: var(--dark-text-muted); /* was rgba(255,255,255,0.3) ~2.8:1 ❌ → now 5.64:1 ✅ */
  line-height: 1.8;
  max-width: 280px;
}
.footer__col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark-text-secondary); /* was rgba(255,255,255,0.45) ~4.5:1 borderline → now 7.70:1 ✅ */
  margin-bottom: 22px;
}
.footer__links { display: flex; flex-direction: column; gap: 14px; }
.footer__links a {
  font-size: 0.85rem;
  color: var(--dark-text-secondary); /* was rgba(255,255,255,0.4) 3.74:1 ❌ → now 7.70:1 ✅ */
  transition: all var(--transition-fast);
}
.footer__links a:hover {
  color: var(--white);
  transform: translateX(2px);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 0.75rem; color: var(--dark-text-secondary); } /* was rgba(255,255,255,0.4) 3.74:1 ❌ */
.footer__legal { display: flex; gap: 24px; }
.footer__legal a {
  font-size: 0.72rem;
  color: var(--dark-text-secondary); /* was rgba(255,255,255,0.4) 3.74:1 ❌ → now 7.70:1 ✅ */
  transition: color var(--transition-fast);
}
.footer__legal a:hover { color: var(--white); }

/* ── Utility ── */
.mt-8  { margin-top: 8px;  }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px;  }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-purple  { color: var(--purple); }
.mw-680 { max-width: 680px; }
.mw-640 { max-width: 640px; }
.mw-560 { max-width: 560px; }
.mw-480 { max-width: 480px; }
.mb-4  { margin-bottom: 4px;  }
.mb-40 { margin-bottom: 40px; }
.mb-64 { margin-bottom: 64px; }
.mb-72 { margin-bottom: 72px; }
.mt-40 { margin-top: 40px; }
.pt-32 { padding-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.inline-flex { display: inline-flex; }
.align-start { align-items: start; }
.align-center { align-items: center; }
/* Gap utilities */
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.gap-60 { gap: 60px; }
.gap-80 { gap: 80px; }
.flex-wrap { display: flex; flex-wrap: wrap; }
/* Border utilities */
.border-top-none  { border-top: none !important; }
.border-top-rule  { border-top: 1px solid var(--rule); }

/* Service card (right-column cards on homepage "What We Do") */
.service-card {
  padding: 40px;
  margin-bottom: 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--purple), var(--purple-vivid));
  border-radius: 0 0 3px 0;
  transition: height 0.5s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(49,46,129,0.14), 0 8px 24px rgba(0,0,0,0.07);
  border-color: rgba(99,102,241,0.28);
}
.service-card:hover::before { height: 100%; }
.service-card:last-child { margin-bottom: 0; }

/* ── Innovation page: phone frame demo ── */
.phone-demo-section { background: var(--dark-bg); padding: 80px 0; }
.phone-demo-wrap { display: flex; align-items: flex-start; gap: 64px; }
.phone-demo-info { flex: 1; padding-top: 16px; }
.phone-demo-info h2 { margin-bottom: 20px; }
.phone-demo-info p { color: var(--text-muted, rgba(255,255,255,0.65)); margin-bottom: 16px; }
.phone-demo-list { list-style: none; padding: 0; margin: 28px 0 0; }
.phone-demo-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.phone-demo-list li:last-child { border-bottom: none; }
.phone-demo-list .pdl-icon { width: 32px; height: 32px; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phone-demo-list .pdl-name { font-weight: 600; color: var(--off-white); display: block; margin-bottom: 2px; font-size: 0.85rem; }
.phone-frame-wrap { flex-shrink: 0; width: 340px; }
.phone-frame { width: 340px; height: 737px; background: #0a0a14; border-radius: 44px; padding: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 30px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05); position: relative; }
.phone-frame::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; background: #0a0a14; border-radius: 18px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0a0a14; }
.phone-launch-card { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at top, rgba(99,102,241,0.1), transparent 40%), linear-gradient(180deg, rgba(7,10,28,0.98), rgba(3,5,18,1)); border-radius: 36px; }
.phone-launch-inner { width: 100%; padding: 24px 20px; border: 1px solid rgba(99,102,241,0.2); border-radius: 24px; background: rgba(8,10,35,0.8); box-shadow: 0 20px 40px rgba(0,0,0,0.3); text-align: left; }
.phone-launch-kicker { display: inline-block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple-vivid, #6366f1); margin-bottom: 12px; }
.phone-launch-inner h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 600; color: var(--off-white); line-height: 1.15; margin-bottom: 10px; }
.phone-launch-inner p { font-size: 0.8rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.phone-launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.phone-launch-grid span { font-size: 0.68rem; line-height: 1.4; color: rgba(255,255,255,0.75); padding: 9px 10px; border: 1px solid rgba(99,102,241,0.18); border-radius: 10px; background: rgba(255,255,255,0.03); }
.phone-launch-btn { width: 100%; border: 1px solid rgba(99,102,241,0.5); border-radius: 999px; background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(79,70,229,0.2)); color: var(--off-white); font-family: 'Inter', sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 13px 16px; cursor: pointer; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.phone-launch-btn:hover, .phone-launch-btn:focus-visible { transform: translateY(-1px); border-color: rgba(99,102,241,0.85); background: linear-gradient(135deg, rgba(99,102,241,0.38), rgba(79,70,229,0.3)); outline: none; }
.phone-launch-meta { font-size: 0.68rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.35); margin: 12px 0 0; text-align: center; }
.phone-screen iframe { width: 100%; height: 100%; border: none; border-radius: 36px; }
@media (max-width: 900px) { .phone-demo-wrap { flex-direction: column; align-items: center; } .phone-frame-wrap, .phone-frame { width: 100%; max-width: 340px; } .phone-frame { height: auto; aspect-ratio: 340 / 737; } }

/* ── Innovation page: video card ── */
.video-card { border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.video-card video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #050b13; }
.video-caption { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; }

/* ── Innovation page: feature tag pills ── */
.feature-tag-pill {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-tint);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 999px;
  padding: 5px 14px;
}

/* Platform section */
.section--platform { padding: 100px 0; }
.platform-head { text-align: center; margin-bottom: 64px; }
.platform-head h2 { margin: 0 auto; } /* centre max-width constrained headings */
.platform-foundation {
  margin-top: 48px;
  padding: 40px 48px;
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(30,41,59,0.6) 50%, rgba(99,102,241,0.04) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.platform-foundation::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.3), transparent 40%, rgba(99,102,241,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.platform-foundation::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.06), transparent 70%);
  pointer-events: none;
  animation: heroMesh 20s ease-in-out infinite alternate;
}
.platform-foundation:hover {
  border-color: rgba(99,102,241,0.45);
  box-shadow: 0 0 60px rgba(99,102,241,0.18), 0 20px 60px rgba(0,0,0,0.22);
}
.platform-foundation > * { position: relative; z-index: 1; }
.platform-foundation .icon-lg {
  width: 48px;
  height: 48px;
  color: var(--purple-vivid);
  flex-shrink: 0;
}
.platform-foundation__content { flex: 1; min-width: 280px; }
.platform-foundation__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.platform-foundation__stats {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-shrink: 0;
}
.platform-foundation__stat { text-align: center; }
.platform-foundation__stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.platform-foundation__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Icon utility */
.icon-md {
  width: 36px;
  height: 36px;
  color: var(--purple-vivid);
  display: block;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.icon-lg {
  width: 40px;
  height: 40px;
  color: var(--purple-vivid);
  flex-shrink: 0;
}

/* Gradient italic text */
.gradient-italic {
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(99,102,241,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* Insights header */
.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── SVG Icons ── */
.expertise-icon {
  width: 36px;
  height: 36px;
  color: var(--purple);
  display: block;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.expertise-item:hover .expertise-icon { transform: translateY(-2px) scale(1.1); color: var(--purple-vivid); }

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--purple);
  display: block;
  margin-bottom: 16px;
}

/* ── Platform Architecture Cards (dark section) ── */
.platform-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-text-rule);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-vivid));
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.platform-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.3), transparent 50%, rgba(79,70,229,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.platform-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(99,102,241,0.15), 0 0 40px rgba(99,102,241,0.05);
}
.platform-card:hover::before { opacity: 1; }
.platform-card:hover::after { opacity: 1; }
.platform-card .eyebrow { color: var(--dark-text-muted); }
.platform-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.platform-card .body-sm { color: var(--dark-text-secondary); }

/* ── Insights Cards ── */
.insight-card {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--white);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(49,46,129,0.16), 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(99,102,241,0.30);
}
.insight-card:hover .link-arrow { gap: 12px; }
.insight-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.35;
}

/* ── Services Sub-nav ── */
.sub-nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: var(--nav-h);
  z-index: 99;
}
.sub-nav__inner { display: flex; }
.sub-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 16px 28px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.sub-nav a:hover,
.sub-nav a.active {
  color: var(--text-dark);
  border-bottom-color: var(--purple);
}

/* ── Number Counter Animation ── */
@keyframes countFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.count-up { animation: countFade 0.6s var(--ease-out) forwards; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --pad-h: 40px; }
  .col-2, .col-2-1, .col-1-2 { grid-template-columns: 1fr; gap: 48px; }
  .col-4 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .leader-row { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .service-row { grid-template-columns: 1fr; gap: 24px; padding: 36px; }
  .expertise-list { grid-template-columns: 1fr 1fr; }
  .platform-card { padding: 32px; }
}

@media (max-width: 768px) {
  :root { --pad-h: 24px; --nav-h: 64px; }
  .section { padding: 80px 0; }
  .col-3, .col-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .expertise-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__contact { display: none; }

  /* Mobile nav overlay */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 48px var(--pad-h);
    gap: 28px;
    z-index: 999;
  }
  .nav--dark .nav__links.open { background: var(--dark-bg); }
  .nav__links.open a {
    font-size: 1.2rem;
    letter-spacing: 0.04em;
  }

  .hero__visual { width: 60%; opacity: 0.7; }
  .page-hero__visual {
    width: 100%;
    right: 0;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.5) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.5) 100%);
  }
  .page-hero__visual img.loaded { opacity: 0.45; }
  .t-item { grid-template-columns: 60px 1fr; gap: 20px; }
  .partners__logos { gap: 28px; }
  .img-break {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .img-break img {
    height: 220px;
    flex-shrink: 0;
  }
  .img-break__caption {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 40px 0;
    background: var(--dark-bg-2);
  }
  .img-break__caption .wrap {
    flex-direction: column;
    gap: 28px;
    align-items: center;
    text-align: center;
  }
  .img-break__stat-num { font-size: clamp(2rem, 6vw, 2.8rem); }
  .img-break__rule { width: 40px; height: 1px; margin: 0; }
  .hero__title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .page-hero { padding: 120px 0 60px; }
  .page-hero__title { font-size: clamp(2rem, 6vw, 3rem); }
  .band { padding: 72px 0; }
  .sub-nav__inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
  :root { --pad-h: 18px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.info-block {
  margin-bottom: 20px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--rule);
  transition: all 0.35s var(--ease-out);
}
.info-block:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
  border-color: var(--purple-border-hover);
}
.info-block__title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.info-block__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.info-block__role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.info-block__text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.info-block__text a {
  color: var(--purple);
  transition: color var(--transition-fast);
}
.info-block__text a:hover { color: var(--purple-light); }
.info-separator {
  border: none;
  margin: 8px 0;
}
.contact-form-card {
  padding: 48px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--rule);
  box-shadow: 0 8px 40px rgba(0,0,0,0.03);
}
.submit-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  width: 100%;
  margin-top: 8px;
}
.submit-btn:hover {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-vivid));
  box-shadow: 0 8px 30px var(--purple-glow), 0 0 0 1px rgba(99,102,241,0.2);
  transform: translateY(-2px);
}
.submit-btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Story Image (About Page) ── */
.story-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  opacity: 0.88;
  filter: saturate(0.75) brightness(0.92);
  box-shadow: 0 12px 40px rgba(49,46,129,0.10);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}
.story-image img:hover {
  opacity: 1;
  filter: saturate(0.9) brightness(1);
  transform: scale(1.01);
}

/* ── Innovation Page Tabs ── */
.innov-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
}
.innov-tab {
  padding: 20px 32px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.innov-tab.active,
.innov-tab:hover {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

/* ── Cookie Table ── */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cookie-table th {
  text-align: left;
  padding: 12px 16px;
  color: var(--purple);
  font-weight: 600;
}
.cookie-table td {
  padding: 12px 16px;
  color: var(--text-mid);
}
.cookie-table thead tr {
  border-bottom: 2px solid var(--rule);
}
.cookie-table tbody tr {
  border-bottom: 1px solid var(--rule);
}
