/* ==========================================================
   DYCINE PHARMA — homepage styles  (v2)
   All sans-serif · gradients · realistic globe · webm video
   ========================================================== */

:root {
  --navy-900: #03045E;
  --navy-800: #023E8A;
  --navy-700: #0077B6;
  --cyan-500: #00B4D8;
  --cyan-300: #90E0EF;
  --ink:      #121212;
  --paper:    #FAFAFA;
  --paper-2:  #f0f3f8;
  --border:   rgba(18,18,18,0.08);
  --border-dark: rgba(250,250,250,0.16);
  --shadow-card: 0 1px 2px rgba(3,4,94,0.06), 0 12px 32px -8px rgba(3,4,94,0.18);
  --shadow-float: 0 2px 4px rgba(3,4,94,0.08), 0 20px 48px -12px rgba(3,4,94,0.32);
  --nav-clear: 72px;
}
@media (max-width: 820px) { :root { --nav-clear: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }

.display {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
  hyphens: none;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* =========================
   IST clock — live Hyderabad time in contact section
   ========================= */
.ist-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 2px 10px 2px 8px;
  background: rgba(0,180,216,0.10);
  border: 1px solid rgba(0,180,216,0.30);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cyan-500);
  vertical-align: middle;
  white-space: nowrap;
}
.ist-clock .ist-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ef0c1;
  box-shadow: 0 0 8px #7ef0c1;
  animation: istDotBlink 2s ease-in-out infinite;
}
.ist-clock.is-closed .ist-dot {
  background: #f5a13c;
  box-shadow: 0 0 8px #f5a13c;
}
.ist-clock .ist-status {
  opacity: 0.7;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@keyframes istDotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}


/* =========================
   SCROLL PROGRESS BAR — 1px reveal at viewport top
   ========================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  z-index: 9000;
  pointer-events: none;
}
.scroll-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-500), var(--cyan-300));
  box-shadow: 0 0 12px rgba(0,180,216,0.6);
  transform-origin: left center;
  transition: width 80ms linear;
  will-change: width;
}


/* =========================
   PAGE-LOAD REVEAL MASK — brand moment on first paint
   ========================= */
.page-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}
.page-mask-top,
.page-mask-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;          /* slight overlap to avoid hairline gap */
  background:
    radial-gradient(80% 100% at 50% 50%, rgba(0,180,216,0.10), transparent 60%),
    linear-gradient(135deg, #03045E 0%, #023E8A 60%, #0077B6 100%);
  z-index: 1;
  will-change: transform;
}
.page-mask-top    { top: 0; }
.page-mask-bottom { bottom: 0; }
.page-mask-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #FAFAFA;
  width: 90%;
  max-width: 720px;
}
.page-mask-logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 9vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  overflow: hidden;
  display: inline-block;
}
.page-mask-logo .pm-line {
  display: block;
  overflow: hidden;
  height: 1em;
  position: relative;
}
.page-mask-logo .pm-line::after {
  content: attr(data-text);
}
.page-mask-logo .pm-line {
  display: block;
}
.page-mask-logo .pm-line-2 {
  background: linear-gradient(90deg, #90E0EF, #00B4D8);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.page-mask-tag {
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: rgba(250,250,250,0.65);
  text-transform: uppercase;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-mask-tag span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(250,250,250,0.5);
}

/* When mask is done, allow body interactions + remove from layer */
body.is-loaded .page-mask { pointer-events: none; }

/* On reduced motion, hide instantly */
@media (prefers-reduced-motion: reduce) {
  .page-mask { display: none; }
}


/* =========================
   Floating logo card  — original SVG, untouched
   ========================= */
.logo-card {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 60;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(18,18,18,0.08);
  border-radius: 16px;
  padding: 6px 8px;
  box-shadow: var(--shadow-float);
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 196px;
  height: 48px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.logo-card:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 4px 8px rgba(3,4,94,0.1), 0 28px 56px -12px rgba(3,4,94,0.4); }
.logo-card img { width: 100%; height: auto; display: block; }
.logo-card .logo-white {
  position: absolute; top: 50%; left: 0;
  transform: translateY(-50%) scale(0.92);
  width: 100%; height: auto;
  opacity: 0;
  transition: opacity .45s ease;
}
.logo-card .logo-color {
  opacity: 1;
  transition: opacity .45s ease;
}

/* Hero-mode: matches top-nav hero style */
.logo-card.is-hero {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-color: rgba(250,250,250,0.20);
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
}
.logo-card.is-hero .logo-color { opacity: 0; }
.logo-card.is-hero .logo-white { opacity: 1; }

/* gentle drift / pulse on the floating card */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.logo-card { animation: logoFloat 6s ease-in-out infinite; }
.logo-card:hover { animation-play-state: paused; }

img, svg, video { display: block; max-width: 100%; }

/* =========================
   Top navigation card
   ========================= */
.top-nav {
  position: fixed;
  top: 24px;
  right: 72px;
  z-index: 60;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(18,18,18,0.08);
  border-radius: 16px;
  padding: 6px 8px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  height: 48px;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
/* Transparent style when over hero */
.top-nav.is-hero {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-color: rgba(250,250,250,0.20);
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: rgba(18,18,18,0.6);
  transition: background 0.3s cubic-bezier(.22,1,.36,1), color 0.25s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: transparent;
}
.nav-link:hover {
  background: rgba(18,18,18,0.06);
  color: var(--ink);
}
/* Light-on-dark when over hero */
.top-nav.is-hero .nav-link {
  color: rgba(255,255,255,0.95);
}
.top-nav.is-hero .nav-link:hover {
  background: rgba(255,255,255,0.20);
  color: #fff;
}
.nav-link i { font-size: 14px; opacity: 0.7; }
.nav-chevron { font-size: 10px !important; margin-left: 2px; opacity: 0.5 !important; transition: transform .3s; }

/* Sign In dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  font-family: 'Inter', sans-serif;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(18,18,18,0.08);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow-float);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s, visibility .25s, transform .25s cubic-bezier(.22,1,.36,1);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(18,18,18,0.7);
  transition: background .25s, color .25s;
}
.nav-dropdown-item:hover {
  background: rgba(18,18,18,0.06);
  color: var(--ink);
}
.nav-dropdown-item i {
  font-size: 14px;
  opacity: 0.6;
  width: 18px;
  text-align: center;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 10px;
  transition: background 0.25s;
}
.nav-burger:hover { background: rgba(18,18,18,0.06); }
.top-nav.is-hero .nav-burger:hover { background: rgba(250,250,250,0.12); }
.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), opacity 0.25s, background 0.3s;
  transform-origin: center;
}
.top-nav.is-hero .nav-burger span { background: var(--paper); }
.top-nav.is-open .nav-burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.top-nav.is-open .nav-burger span:nth-child(2) {
  opacity: 0;
}
.top-nav.is-open .nav-burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================
   Side navigation — minimal tick marks flush-right
   ========================= */
.sidenav {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidenav a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  text-decoration: none;
  color: currentColor;
  cursor: pointer;
  position: relative;
}
.sn-tick {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  opacity: 0.25;
  transition: width .45s cubic-bezier(.22,1,.36,1), opacity .35s, background .35s, box-shadow .35s;
  flex-shrink: 0;
}
.sidenav a:hover .sn-tick {
  width: 30px;
  opacity: 0.65;
}
.sidenav a.is-active .sn-tick {
  width: 40px;
  opacity: 1;
  background: var(--cyan-500);
  box-shadow: 0 0 12px rgba(0,180,216,0.55), 0 0 4px rgba(0,180,216,0.3);
}
.sn-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1);
  white-space: nowrap;
  pointer-events: none;
}
.sidenav a:hover .sn-label {
  opacity: 0.8;
  transform: translateX(0);
}
.sidenav a.is-active .sn-label {
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   Section base
   ========================= */
section {
  position: relative;
  min-height: 100vh;
  padding: 120px 7vw 100px;
  padding-right: max(7vw, var(--nav-clear));
  overflow: hidden;
}

/* =========================
   HERO  (designed-cells inspired)
   ========================= */
.hero {
  color: var(--paper);
  background:
    radial-gradient(60% 70% at 18% 28%, rgba(0,180,216,0.20), transparent 60%),
    radial-gradient(50% 50% at 95% 75%, rgba(144,224,239,0.10), transparent 60%),
    radial-gradient(80% 80% at 80% 0%, rgba(0,119,182,0.30), transparent 50%),
    linear-gradient(135deg, #03045E 0%, #023E8A 60%, #0077B6 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0; padding-bottom: 0;
}

/* Soft animated noise / grain overlay */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.04) 0, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(255,255,255,0.03) 0, transparent 40%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 140px 0 120px;
}

.hero-eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-eyebrow-row .eyebrow { opacity: 0.85; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(250,250,250,0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pill .blink {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-500); animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100% {opacity:1} 50% {opacity:.2} }

/* Designed-cells style giant headline + rotating phrase */
.hero h1.display {
  font-size: clamp(38px, 6.5vw, 110px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-weight: 700;
  margin: 0;
  max-width: 1100px;
  overflow-wrap: normal;
}
.hero h1.display em {
  font-style: normal;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(120deg, var(--cyan-300) 0%, var(--cyan-500) 60%, var(--paper) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}
.hero h1.display .pad-l { padding-left: 0.4em; }

.hero .rotator {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  overflow: visible;
  clip-path: inset(-5% 0 -10% 0);
}
.hero .rotator .rotator-ghost {
  visibility: hidden;
  display: inline-block;
  font-weight: 700;
  line-height: inherit;
  white-space: nowrap;
}
.hero .rotator span:not(.rotator-ghost) {
  position: absolute; left: 0; top: 0;
  line-height: inherit;
  font-weight: 700;
  background: linear-gradient(120deg, var(--cyan-300) 0%, var(--cyan-500) 60%, var(--paper) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(120%);
  white-space: nowrap;
  will-change: transform, opacity;
}

/* lower row of meta */
.hero-bottom {
  margin-top: 56px;
  max-width: 640px;
}
.hero-bottom .lede {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 0 24px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s;
  background: transparent;
  color: inherit;
}
.btn-primary {
  background: var(--cyan-500);
  border-color: var(--cyan-500);
  color: var(--navy-900);
  box-shadow: 0 0 24px rgba(0,180,216,0.25), 0 4px 14px rgba(0,180,216,0.15);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { background: var(--paper); border-color: var(--paper); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(250,250,250,0.18);
  padding-top: 28px;
  margin-top: 48px;
}
.hero-stats .s .num {
  font-weight: 600;
  font-size: clamp(32px, 3.5vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-stats .s .lbl {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* DNA video — right of hero, full-height prominent */
/* ===== Hero interactive particle canvas ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0; /* fades in once initialised */
  transition: opacity 1.2s ease;
}
.hero-particles.is-ready { opacity: 1; }

.hero-video-wrap {
  position: absolute;
  top: 0;
  right: -8vw;
  width: 72vw;
  max-width: 1250px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  overflow: hidden;
  transform: rotate(6deg);
  transform-origin: 65% 50%;
  -webkit-mask-image: linear-gradient(100deg,
    transparent 0%,
    rgba(0,0,0,0.35) 12%,
    rgba(0,0,0,0.85) 25%,
    #000 40%,
    #000 100%);
          mask-image: linear-gradient(100deg,
    transparent 0%,
    rgba(0,0,0,0.35) 12%,
    rgba(0,0,0,0.85) 25%,
    #000 40%,
    #000 100%);
}
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,180,216,0.10) 0%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Concentric rings — centered on the video */
.hero-video-wrap .ring {
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -42%);
  border-radius: 50%;
  aspect-ratio: 1;
}
.hero-video-wrap .ring.r1 {
  width: 88%;
  border: 1px solid rgba(250,250,250,0.10);
}
.hero-video-wrap .ring.r2 {
  width: 70%;
  border: 1px dashed rgba(0,180,216,0.28);
  animation: spinRing 80s linear infinite;
}
.hero-video-wrap .ring.r3 {
  width: 105%;
  border: 1px solid rgba(250,250,250,0.05);
}
.hero-video-wrap .ring.r4 {
  width: 52%;
  border: 1px solid rgba(0,180,216,0.18);
  box-shadow: 0 0 40px 0 rgba(0,180,216,0.06);
}
.hero-video-wrap .ring.r5 {
  width: 124%;
  border: 1px solid rgba(250,250,250,0.03);
  animation: spinRingReverse 120s linear infinite;
}
@keyframes spinRing {
  from { transform: translate(-50%, -42%) rotate(0deg); }
  to { transform: translate(-50%, -42%) rotate(360deg); }
}
@keyframes spinRingReverse {
  from { transform: translate(-50%, -42%) rotate(0deg); }
  to { transform: translate(-50%, -42%) rotate(-360deg); }
}
.hero-video {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 24px 80px rgba(0,180,216,0.22)) saturate(1.05);
}

/* meta strip at bottom of hero */
.hero-meta-strip {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  color: var(--paper);
  border-top: 1px solid rgba(250,250,250,0.12);
}

/* =========================
   ABOUT
   ========================= */
.about {
  min-height: auto;
  color: var(--ink);
  background:
    radial-gradient(42% 42% at 28% 50%, rgba(0,180,216,0.09), transparent 70%),
    radial-gradient(60% 50% at 100% 0%, rgba(0,180,216,0.10), transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(2,62,138,0.06), transparent 60%),
    linear-gradient(180deg, #FAFAFA 0%, #f0f3f8 100%);
}
.about-grid {
  position: relative; z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.globe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  margin: 0 auto;
}
.globe-wrap canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; position: relative; z-index: 1; }
.globe-wrap::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 115%; height: 115%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,180,216,0.13) 0%, rgba(2,62,138,0.06) 35%, transparent 62%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.globe-wrap.is-dragging canvas { cursor: grabbing; }
.globe-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(18,18,18,0.4);
}
.about h2, .products h2, .contact h2, .partners h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 20px 0 64px;
  text-wrap: balance;
  hyphens: none;
}
.about h2 em, .products h2 em, .contact h2 em {
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.035em;
}
.about p.lede {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(18,18,18,0.7);
  max-width: 540px;
  margin: 0 0 44px;
}

/* Flag grid (About section) */
.flag-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 40px;
  margin-top: 28px;
}
.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.flag-img-lg {
  width: 56px;
  height: 38px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
}
.flag-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(18,18,18,0.7);
  letter-spacing: 0.02em;
  text-align: center;
}
.about-stats {
  margin-top: 32px;
}

/* Hero pill repositioned */
.hero-pill {
  margin-top: 32px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.stat-row .num {
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}
.stat-row .lbl {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(18,18,18,0.55);
  margin-top: 6px;
}

/* =========================
   About — Tabbed panels
   ========================= */
.about-section-header {
  max-width: 1500px;
  margin: 0 auto 28px;
}

.about-tab-container {
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  display: grid;
}

.about-panel {
  grid-row: 1;
  grid-column: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(.22,1,.36,1), transform 0.55s cubic-bezier(.22,1,.36,1), visibility 0.55s;
  pointer-events: none;
}
.about-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}

/* Tab bar */
.about-tabs-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 48px;
  position: relative;
  z-index: 2;
}
.about-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(18,18,18,0.5);
  background: rgba(18,18,18,0.04);
  border: 1px solid rgba(18,18,18,0.1);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(.22,1,.36,1);
  white-space: nowrap;
}
.about-tab:hover {
  color: rgba(18,18,18,0.8);
  background: rgba(18,18,18,0.08);
  border-color: rgba(18,18,18,0.16);
}
.about-tab.is-active {
  color: var(--navy-900);
  background: var(--cyan-500);
  border-color: var(--cyan-500);
  box-shadow: 0 0 20px rgba(0,180,216,0.2);
}
.about-tab i { font-size: 14px; opacity: 0.7; }
.about-tab.is-active i { opacity: 1; }

/* =========================
   Mission & Vision panel
   ========================= */
.mv-heading {
  text-align: center;
  margin-bottom: 56px !important;
}

.mission-vision-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-card {
  text-align: center;
  padding: 36px 28px;
  border-radius: 20px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,180,216,0.1);
  backdrop-filter: blur(8px);
}

.mv-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,180,216,0.14), rgba(2,62,138,0.07));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 20px;
  color: var(--cyan-500);
}

.mv-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin: 0 0 14px;
}

.mv-statement {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0;
  text-wrap: balance;
}

.mv-video-wrap {
  width: clamp(220px, 26vw, 360px);
  flex-shrink: 0;
}
.mv-video-wrap video {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0,180,216,0.22));
}

/* =========================
   Our Team panel
   ========================= */
.team-heading {
  text-align: center;
  margin-bottom: 56px !important;
}

.team-section {
  position: relative;
  padding: 20px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.team-member { text-align: center; }

.team-img-wrap {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid rgba(0,180,216,0.25);
  box-shadow: 0 8px 28px rgba(0,180,216,0.12), 0 2px 8px rgba(3,4,94,0.06);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s;
  /* Clip-path reveal: image enters with a diagonal mask wipe */
  clip-path: inset(0 100% 0 0 round 50%);
  transition: clip-path 1.1s cubic-bezier(.65,.05,.36,1),
              transform 0.4s cubic-bezier(.22,1,.36,1),
              box-shadow 0.4s;
}
.team-img-wrap.is-revealed {
  clip-path: inset(0 0 0 0 round 50%);
}
.team-member:hover .team-img-wrap {
  transform: translateY(-4px) scale(1.03) perspective(800px);
  box-shadow: 0 14px 40px rgba(0,180,216,0.25), 0 4px 12px rgba(3,4,94,0.10);
}
/* Subtle 3D tilt based on cursor — JS sets --tilt-x and --tilt-y */
.team-member {
  perspective: 800px;
}
.team-member.is-tilting .team-img-wrap {
  transform: translateY(-4px)
             rotateX(var(--tilt-x, 0deg))
             rotateY(var(--tilt-y, 0deg))
             scale(1.04);
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--navy-900);
}
.team-member p {
  font-size: 12px;
  font-weight: 500;
  color: rgba(18,18,18,0.5);
  margin: 0;
  letter-spacing: 0.03em;
}

/* =========================
   Floating molecules (team bg)
   ========================= */
.team-molecules {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.team-molecules .mol {
  position: absolute;
  opacity: 0.7;
}

.mol-1 { top: 2%;  left: 2%;  animation: molFloat1 15s ease-in-out infinite; }
.mol-2 { top: 12%; right: 4%; animation: molFloat2 18s ease-in-out infinite; }
.mol-3 { bottom: 8%;  left: 6%;  animation: molFloat3 13s ease-in-out infinite; }
.mol-4 { bottom: 15%; right: 8%; animation: molFloat4 20s ease-in-out infinite; }
.mol-5 { top: 45%; left: 12%;  animation: molFloat2 14s ease-in-out infinite 2s; }
.mol-6 { top: 28%; right: 14%; animation: molFloat1 16s ease-in-out infinite 3s; }
.mol-7 { bottom: 30%; left: 22%;  animation: molFloat3 22s ease-in-out infinite 1s; }
.mol-8 { top: 6%;  left: 42%; animation: molFloat4 17s ease-in-out infinite 4s; }

@keyframes molFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(25px, -20px) rotate(12deg); }
  66%      { transform: translate(-15px, 15px) rotate(-8deg); }
}
@keyframes molFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(-20px, -25px) rotate(-15deg); }
  75%      { transform: translate(18px, 12px) rotate(10deg); }
}
@keyframes molFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(30px, -10px) rotate(20deg); }
}
@keyframes molFloat4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40%      { transform: translate(-22px, 18px) rotate(-12deg); }
  80%      { transform: translate(12px, -22px) rotate(8deg); }
}

/* About tabs responsive */
@media (max-width: 820px) {
  .mission-vision-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 480px;
  }
  .mv-video-wrap {
    width: 220px;
    margin: 0 auto;
    order: -1;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 500px;
  }
  .team-img-wrap { width: 130px; height: 130px; }
  .about-tabs-row { flex-wrap: wrap; gap: 8px; padding-top: 32px; }
  .about-tab { padding: 10px 18px; font-size: 12px; }
}
@media (max-width: 480px) {
  .about-tab i { display: none; }
  .about-tab { gap: 0; }
}

/* =========================
   PRODUCTS
   ========================= */
.products {
  color: var(--paper);
  background:
    radial-gradient(60% 50% at 100% 100%, rgba(0,180,216,0.18), transparent 60%),
    radial-gradient(40% 40% at 0% 0%, rgba(0,119,182,0.22), transparent 60%),
    linear-gradient(180deg, #03045E 0%, #022b5e 50%, #03045E 100%);
}
.products-head {
  max-width: 1500px;
  margin: 0 auto 72px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.products-head h2 { max-width: 760px; margin: 16px 0 0; }
.products-head .nav { display: flex; gap: 12px; }
.car-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(250,250,250,0.25);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, color .25s, border-color .25s;
  font-size: 16px;
}
.car-btn:hover { background: var(--cyan-500); color: var(--navy-900); border-color: var(--cyan-500); }

/* Product name tabs */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  max-width: 1500px;
  margin: 24px auto 0;
}
.product-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(250,250,250,0.5);
  background: rgba(250,250,250,0.06);
  border: 1px solid rgba(250,250,250,0.1);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(.22,1,.36,1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.product-tab:hover {
  color: rgba(250,250,250,0.85);
  background: rgba(250,250,250,0.1);
  border-color: rgba(250,250,250,0.2);
}
.product-tab.is-active {
  color: var(--navy-900);
  background: var(--cyan-500);
  border-color: var(--cyan-500);
  box-shadow: 0 0 20px rgba(0,180,216,0.3);
}
.product-tab i { font-size: 16px; }

.carousel {
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(250,250,250,0.1);
  box-shadow: var(--shadow-float);
}
.product-stage {
  display: flex;
  min-height: 580px;
  transition: transform 0.7s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.slide {
  position: relative;
  min-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.slide .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
}
video.img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slide.is-active .img { animation: slowZoom 12s linear forwards; }
@keyframes slowZoom { from { transform: scale(1.08); } to { transform: scale(1.18); } }
.slide .grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,4,94,0.10) 0%, rgba(3,4,94,0.55) 55%, rgba(3,4,94,0.92) 100%),
    linear-gradient(90deg, rgba(3,4,94,0.55) 0%, transparent 50%);
}
.slide .copy {
  position: absolute; bottom: 36px; left: 36px; right: 36px;
}
.slide .num {
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
  opacity: 0.35;
  margin-bottom: 12px;
  display: block;
}
.slide .tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.slide h3 {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 600px;
}
.slide .desc {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.86;
  max-width: 520px;
  margin: 0 0 22px;
}
.slide .specs {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.slide .specs span strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--paper);
  margin-top: 4px;
}

/* Thumb column */
.thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.thumb {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  flex: 1;
  cursor: pointer;
  border: 1px solid rgba(250,250,250,0.1);
  background: rgba(250,250,250,0.04);
  transition: border-color .25s, transform .25s;
  min-height: 180px;
}
.thumb:hover { transform: translateX(-4px); border-color: rgba(0,180,216,0.45); }
.thumb .timg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.55) saturate(1.1);
  transition: filter .35s;
}
.thumb.is-active .timg { filter: brightness(0.75) saturate(1.15); }
.thumb .tcopy {
  position: relative;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 1;
}
.thumb .tnum {
  font-weight: 600;
  font-size: 22px;
  opacity: 0.85;
  letter-spacing: -0.02em;
}
.thumb .tname {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.thumb.is-active { border-color: var(--cyan-500); }
.thumb.is-active .tname { color: var(--paper); }
.thumb .progress {
  position: absolute; left: 0; bottom: 0; height: 2px;
  background: var(--cyan-500); width: 0;
}
.thumb.is-active .progress { animation: prog 7s linear forwards; }
@keyframes prog { from { width: 0; } to { width: 100%; } }

/* Mobile carousel dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  padding-bottom: 48px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
.carousel-dots .cdot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(250,250,250,0.2);
  border: 1px solid rgba(250,250,250,0.25);
  cursor: pointer;
  transition: background .3s, transform .3s, border-color .3s;
}
.carousel-dots .cdot.is-active {
  background: var(--cyan-500);
  border-color: var(--cyan-500);
  transform: scale(1.3);
}

/* Explore Full Catalogue button */
.catalogue-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1px solid rgba(250,250,250,0.3);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .3s, border-color .3s, color .3s;
}
.catalogue-btn:hover {
  background: var(--cyan-500);
  border-color: var(--cyan-500);
  color: var(--navy-900);
}
.catalogue-btn i {
  font-size: 13px;
  transition: transform .3s;
}
.catalogue-btn:hover i {
  transform: translateX(4px);
}

/* Scroll-driven animation utility */
.anim-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.anim-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.anim-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   CONTACT
   ========================= */
.contact {
  color: var(--ink);
  background:
    radial-gradient(40% 40% at 100% 100%, rgba(0,180,216,0.10), transparent 60%),
    radial-gradient(50% 40% at 0% 0%, rgba(2,62,138,0.06), transparent 60%),
    linear-gradient(180deg, #f0f3f8 0%, #e6ecf5 100%);
}
.contact-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-info h2 { margin-top: 18px; }
.contact-info p.lede {
  font-size: 17px; line-height: 1.6; color: rgba(18,18,18,0.7);
  max-width: 480px;
  margin: 0 0 44px;
}
.contact-block {
  border-top: 1px solid var(--border);
  padding: 22px 0 18px;
}
.contact-block .ckey {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(18,18,18,0.5);
  margin-bottom: 8px;
}
.contact-block .cval {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.contact-block a {
  color: var(--navy-700); text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.contact-block a:hover { color: var(--cyan-500); }

.map-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--paper);
  min-height: 580px;
}
.map-card iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  filter: grayscale(0.4) contrast(0.95);
}
.map-card .map-pin {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 280px;
}
.map-card .map-pin .pdot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(0,180,216,0.25);
  flex-shrink: 0;
}
.map-card .map-pin .pcopy { font-size: 12px; line-height: 1.4; color: var(--ink); }
.map-card .map-pin .pcopy strong {
  display: block; font-weight: 600; margin-bottom: 2px;
}

/* =========================
   COLLABORATORS & PARTNERS
   ========================= */
.partners {
  color: var(--paper);
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(0,180,216,0.08), transparent 70%),
    linear-gradient(180deg, #03045E 0%, #021b4a 100%);
  min-height: auto;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.partners-head {
  max-width: 1500px;
  margin: 0 auto 56px;
  text-align: center;
}
.partners-head .eyebrow { justify-content: center; }
.partners-head h2 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(22px, 3.2vw, 42px);
}

.marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.marquee-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-fade-l {
  left: 0;
  background: linear-gradient(90deg, #03045E 0%, transparent 100%);
}
.marquee-fade-r {
  right: 0;
  background: linear-gradient(-90deg, #021b4a 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}
.marquee-set {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 40px;
  flex-shrink: 0;
}
.marquee-set img {
  height: 48px;
  min-width: 100px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.35s;
  content-visibility: auto;
}
.marquee-set img:hover {
  opacity: 0.9;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 820px) {
  .marquee-set { gap: 48px; }
  .marquee-set img { height: 36px; }
  .marquee-fade { width: 60px; }
}

/* =========================
   FOOTER
   ========================= */
.footer {
  color: var(--paper);
  background:
    radial-gradient(60% 50% at 100% 100%, rgba(0,180,216,0.10), transparent 60%),
    radial-gradient(40% 60% at 0% 0%, rgba(0,119,182,0.18), transparent 60%),
    linear-gradient(180deg, #021b4a 0%, #010234 100%);
  padding: 100px 7vw 40px;
  position: relative;
  z-index: 1;
  overflow: visible;
  margin-top: -2px;
}
.footer-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-dark);
}
.footer .flogo-wrap {
  display: inline-block;
  width: 220px;
  margin-bottom: 24px;
}
.footer .flogo-wrap img { width: 100%; height: auto; display: block; }
.footer .ftag {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.7;
  max-width: 340px;
}
.footer h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.55;
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  opacity: 0.85;
  transition: opacity .2s, color .2s;
}
.footer ul a:hover { color: var(--cyan-500); opacity: 1; }
.footer-bottom {
  max-width: 1500px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-massive {
  margin: 80px 0 0;
  padding: 0 2vw;
  font-weight: 700;
  font-size: clamp(36px, 10.5vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(0,180,216,0.32) 0%, rgba(2,62,138,0.0) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  text-align: center;
}

/* Ensure seamless dark-on-dark join between partners → footer */
.partners + .footer {
  border-top: none;
}

/* Icon spacing in labels */
.hero-stats .s .lbl i {
  margin-right: 5px;
  font-size: 16px;
  opacity: 0.75;
}
.contact-block .ckey i {
  margin-right: 6px;
  font-size: 16px;
  opacity: 0.75;
}
.hero-meta-strip i {
  margin-right: 5px;
  font-size: 16px;
  opacity: 0.75;
}
.eyebrow i {
  margin-right: 5px;
  font-size: 16px;
  opacity: 0.75;
}
.footer ul a i { margin-right: 8px; font-size: 16px; opacity: 0.75; }

/* =========================
   Scroll-driven vector graphics
   ========================= */
.scroll-vectors {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 820px) {
  section { padding: 100px 6vw 80px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-bottom { max-width: none; }
  /* Top nav mobile */
  .top-nav {
    right: 16px;
    top: 16px;
    padding: 4px;
  }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .top-nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(18px) saturate(1.8);
    -webkit-backdrop-filter: blur(18px) saturate(1.8);
    border: 1px solid rgba(18,18,18,0.08);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow-float);
    min-width: 200px;
  }
  .top-nav.is-open .nav-link { padding: 12px 16px; color: rgba(18,18,18,0.7); }
  .top-nav.is-open .nav-link:hover { color: var(--ink); background: rgba(18,18,18,0.06); }
  .top-nav.is-open .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 24px;
    backdrop-filter: none;
    background: transparent;
  }
  /* Mobile: dark translucent gradient for readability — ABOVE the video */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
      rgba(1,2,52,0.92) 0%,
      rgba(2,40,90,0.80) 35%,
      rgba(3,4,94,0.68) 60%,
      rgba(1,2,52,0.90) 100%);
    z-index: 2;
    pointer-events: none;
  }
  /* Mobile: DNA video stays BEHIND the darkening screen */
  .hero-video-wrap {
    position: absolute;
    top: 0; right: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    opacity: 0.35;
    z-index: 1;
  }
  .hero-inner { z-index: 3; padding: 80px 0 48px; }
  .hero-meta-strip { z-index: 3; padding: 12px 0 16px; }
  .hero { min-height: auto; }
  .hero-video { width: 100%; max-width: none; height: 100%; object-fit: cover; }
  .products-head { flex-direction: column; align-items: flex-start; }
  .product-stage { min-height: 420px; }
  .carousel-controls { gap: 16px; margin-top: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidenav { gap: 16px; }
  .sn-label { display: none; }
  .sn-tick { width: 12px; }
  .sidenav a.is-active .sn-tick { width: 28px; }
  .logo-card { width: 156px; padding: 5px 7px; top: 16px; left: 16px; }
  .hero-eyebrow-row { margin-bottom: 36px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}


/* =========================================================
   v3 ADDITIONS — confidence + energy pass
   Trust band · sticky CTA · founder quote · accent glow
   ========================================================= */

/* ---------- TRUST BAND (between hero and about) ---------- */
.trust-band {
  position: relative;
  color: var(--paper);
  padding: 80px 6vw 88px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 100% 100%, rgba(0,180,216,0.18), transparent 60%),
    radial-gradient(40% 40% at 0% 0%, rgba(0,119,182,0.22), transparent 60%),
    linear-gradient(180deg, #03045E 0%, #022b5e 50%, #03045E 100%);
  border-top: 1px solid rgba(0,180,216,0.18);
  border-bottom: 1px solid rgba(0,180,216,0.18);
}
.trust-band-head {
  position: relative; z-index: 2;
  text-align: center;
  margin-bottom: 56px;
}
.trust-band-head .eyebrow {
  color: var(--cyan-300);
  justify-content: center;
}
.trust-band-head h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 14px 0 0;
  line-height: 1.05;
}
.trust-band-head h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.trust-chips {
  position: relative; z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,180,216,0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FAFAFA;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s, background .35s;
}
.trust-chip i {
  color: var(--cyan-300);
  font-size: 15px;
}
.trust-chip strong {
  color: #FAFAFA;
  font-weight: 700;
}
.trust-chip span {
  opacity: 0.65;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.trust-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(0,180,216,0.55);
  background: rgba(0,180,216,0.07);
  box-shadow: 0 10px 30px -10px rgba(0,180,216,0.45);
}
/* Shimmer light pass on entry — set up the background, JS triggers replay */
.trust-chip {
  position: relative;
  overflow: hidden;
}
.trust-chip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg,
    transparent 20%,
    rgba(255,255,255,0.55) 50%,
    transparent 80%);
  transform: skewX(-18deg);
  pointer-events: none;
  opacity: 0;
}
.trust-chip.is-shimmer::after {
  animation: chipShimmer 1.2s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes chipShimmer {
  0%   { left: -120%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 140%; opacity: 0; }
}
.trust-counters {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.trust-counter {
  text-align: center;
  padding: 28px 16px;
  border-left: 1px solid rgba(250,250,250,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 140px;
}
.trust-counter:first-child { border-left: none; }
.trust-counter .tc-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(180deg, #FAFAFA 0%, var(--cyan-300) 120%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.trust-counter .tc-lbl {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.6);
}
@media (max-width: 820px) {
  .trust-band { padding: 56px 6vw 60px; }
  .trust-counters { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-counter { border-left: none; padding: 18px 8px; }
}

/* ---------- FOUNDER PULL-QUOTE (above team grid) ---------- */
.founder-quote {
  max-width: 920px;
  margin: 0 auto 64px;
  text-align: center;
  position: relative;
  padding: 0 24px;
}
.founder-quote .fq-mark {
  font-family: 'Space Grotesk', serif;
  font-size: 96px;
  line-height: 0.4;
  color: var(--cyan-500);
  opacity: 0.5;
  margin-bottom: 8px;
  display: block;
}
.founder-quote blockquote {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.founder-quote blockquote em {
  font-style: normal;
  background: linear-gradient(90deg, var(--navy-700), var(--cyan-500));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.founder-quote .fq-attr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.founder-quote .fq-attr img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan-300);
}
.founder-quote .fq-attr-text {
  text-align: left;
  font-size: 14px;
}
.founder-quote .fq-attr-text strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
.founder-quote .fq-attr-text span {
  display: block;
  color: rgba(18,18,18,0.55);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- STICKY "TALK TO SALES" CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: linear-gradient(135deg, var(--cyan-500) 0%, var(--navy-700) 100%);
  color: #FAFAFA;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px -4px rgba(0,180,216,0.45), 0 16px 48px -12px rgba(3,4,94,0.55);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, padding .35s;
  animation: stickyCtaPulse 2.6s ease-in-out infinite;
}
.sticky-cta i { font-size: 16px; }
.sticky-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px -4px rgba(0,180,216,0.65), 0 24px 64px -12px rgba(3,4,94,0.75);
  animation-play-state: paused;
}
.sticky-cta .sc-dot {
  width: 8px; height: 8px;
  background: #7ef0c1;
  border-radius: 50%;
  box-shadow: 0 0 12px #7ef0c1;
  animation: scDotBlink 1.4s ease-in-out infinite;
}
@keyframes scDotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes stickyCtaPulse {
  0%, 100% { box-shadow: 0 8px 24px -4px rgba(0,180,216,0.45), 0 16px 48px -12px rgba(3,4,94,0.55); }
  50%      { box-shadow: 0 8px 24px -4px rgba(0,180,216,0.75), 0 20px 60px -12px rgba(0,180,216,0.6); }
}
@media (max-width: 560px) {
  .sticky-cta { right: 16px; bottom: 16px; padding: 12px 18px 12px 14px; font-size: 13px; }
}

/* ---------- MAGNETIC CTAs ---------- */
/* JS sets inline transform; ensure smooth interpolation and override any
   existing transform on buttons (e.g., the sticky-cta pulse animation pauses
   its own transform-affecting hover state when magnetic is engaged). */
.is-magnetic {
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.is-magnetic:hover { transition-duration: 0.18s; }
.sticky-cta.is-magnetic {
  /* Magnetic class wins over the .sticky-cta pulse keyframes for transform */
  animation: none;
  /* keep the shadow pulse via a non-transform alternative */
  animation: stickyCtaPulse 2.6s ease-in-out infinite;
}


/* ---------- ACCENT GLOW ON INTERACTIVE ELEMENTS ---------- */
.btn-primary {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .35s;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(0,180,216,0.5), 0 10px 28px -6px rgba(0,180,216,0.55);
  transform: translateY(-2px);
}
.car-btn {
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s, color .3s;
}
.car-btn:hover {
  border-color: var(--cyan-500) !important;
  color: var(--cyan-500) !important;
  box-shadow: 0 0 0 1px rgba(0,180,216,0.4), 0 8px 22px -6px rgba(0,180,216,0.45);
  transform: translateY(-2px);
}
.nav-link {
  transition: color .3s, text-shadow .3s;
}
.nav-link:hover {
  color: var(--cyan-500) !important;
  text-shadow: 0 0 16px rgba(0,180,216,0.6);
}
.catalogue-btn {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .35s;
}
.catalogue-btn:hover {
  box-shadow: 0 0 0 1px rgba(0,180,216,0.5), 0 12px 32px -8px rgba(0,180,216,0.5);
  transform: translateY(-2px);
}


/* =========================================================
   PHILOSOPHY — "The Dycine Way"  (constellation · v3)
   Warm cream backdrop · amber accent · asymmetric triangle
   ========================================================= */
:root {
  --amber-500: #C99B5D;
  --amber-300: #E2BC8A;
  --paper-warm: #F7F3EB;
  --paper-warm-2: #EFE9DD;
}
/* =====  Section frame  ===== */
.philosophy {
  position: relative;
  color: var(--ink);
  background:
    radial-gradient(60% 40% at 15% 8%, rgba(201,155,93,0.10), transparent 70%),
    radial-gradient(60% 50% at 88% 92%, rgba(0,180,216,0.07), transparent 70%),
    var(--paper-warm);
  padding: 160px 6vw 180px;
  overflow: hidden;
}

/* =====  HEADER  ===== */
.phil-header {
  max-width: 1200px;
  margin: 0 auto 140px;
  text-align: center;
}
.phil-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 36px;
}
.phil-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  font-size: clamp(44px, 8.4vw, 132px);
  line-height: 0.92;
  margin: 0 0 36px;
  text-wrap: balance;
  color: var(--ink);
}
.phil-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-500);
}
.phil-intro {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.62;
  color: rgba(18,18,18,0.6);
  max-width: 720px;
  margin: 0 auto;
  text-wrap: balance;
  font-weight: 400;
}

/* =====  CONSTELLATION (desktop diagram)  ===== */
.phil-constellation {
  position: relative;
  max-width: 1200px;
  height: 820px;
  margin: 0 auto 140px;
  /* this is the desktop view */
}

/* SVG curves connecting the three nodes through the center */
.phil-curves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.phil-curves path {
  fill: none;
  stroke: rgba(18,18,18,0.22);
  stroke-width: 1;
  stroke-dasharray: 6 10;
  animation: phil-flow 6s linear infinite;
}
.phil-curves line {
  fill: none;
  stroke: rgba(18,18,18,0.14);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: phil-flow-fast 3.5s linear infinite;
}
@keyframes phil-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -32; }
}
@keyframes phil-flow-fast {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -20; }
}

/* Traveling particles: process-flow effect along the curves */
.phil-particle--amber { fill: var(--amber-500); }
.phil-particle--cyan  { fill: var(--cyan-500); }
.phil-particle--navy  { fill: var(--navy-700); }
.phil-particle--small { opacity: 0.6; }

/* Floating black-dot punctuation marks */
.phil-pin {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.85;
  z-index: 2;
}
.phil-pin-1 { top: 460px; left: 38%; }
.phil-pin-2 { top: 700px; left: 64%; width: 6px; height: 6px; opacity: 0.6; }
.phil-pin-3 { top: 110px; left: 52%; width: 5px; height: 5px; opacity: 0.5; }

/* CENTER : the unifying message — exists in the heart of the constellation */
.phil-core {
  position: absolute;
  top: 260px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(201,155,93,0.40);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  box-shadow:
    0 1px 2px rgba(18,18,18,0.05),
    0 24px 64px -16px rgba(201,155,93,0.22);
}
/* Outer rotating ring around the center core */
.phil-core::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(201,155,93,0.55);
  pointer-events: none;
  animation: phil-orbit-cw 28s linear infinite;
}
/* Inner orbital ring, opposite direction */
.phil-core::after {
  content: "";
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1px dotted rgba(0,180,216,0.35);
  pointer-events: none;
  animation: phil-orbit-ccw 44s linear infinite;
}
.phil-core-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  color: var(--amber-500);
  margin-bottom: 6px;
  display: block;
  animation: phil-mark-rotate 18s linear infinite;
}
@keyframes phil-mark-rotate {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
.phil-core p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.phil-core p em {
  font-style: italic;
  color: var(--amber-500);
  font-weight: 500;
}

/* =====  NODES (the three pillars)  ===== */
.phil-node {
  position: absolute;
  width: 360px;
  height: 360px;
  z-index: 3;
}
.phil-node--innovation { top: 80px; left: 60px; }
.phil-node--compliance { top: 80px; right: 60px; }
.phil-node--access     { bottom: 60px; left: calc(50% - 180px); }

/* Concept disc — text-only circle, the "label" */
.phil-disc {
  position: absolute;
  top: 0; left: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 36px;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1), box-shadow 0.5s;
}
/* Orbital ring around each concept disc — slow rotation */
.phil-disc::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px dashed rgba(18,18,18,0.18);
  pointer-events: none;
  animation: phil-orbit-cw 32s linear infinite;
}
.phil-disc::after {
  content: "";
  position: absolute;
  inset: -44px;
  border-radius: 50%;
  border: 1px dotted rgba(18,18,18,0.10);
  pointer-events: none;
  animation: phil-orbit-ccw 48s linear infinite;
}
.phil-disc--amber::before { border-color: rgba(201,155,93,0.32); }
.phil-disc--amber::after  { border-color: rgba(201,155,93,0.18); }
@keyframes phil-orbit-cw  { to { transform: rotate(360deg); } }
@keyframes phil-orbit-ccw { to { transform: rotate(-360deg); } }
.phil-disc--filled {
  background: linear-gradient(135deg, rgba(0,180,216,0.22), rgba(2,62,138,0.18));
  border: 1px solid rgba(0,180,216,0.45);
  box-shadow:
    0 1px 2px rgba(2,62,138,0.06),
    0 32px 80px -28px rgba(0,180,216,0.40);
}
.phil-disc--amber {
  background: rgba(255,255,255,0.5);
  border: 1.5px solid var(--amber-500);
  box-shadow:
    0 1px 2px rgba(201,155,93,0.06),
    0 32px 80px -28px rgba(201,155,93,0.30);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.phil-disc--dashed {
  background: rgba(255,255,255,0.45);
  border: 1.5px dashed rgba(3,4,94,0.65);
}
.phil-disc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(18,18,18,0.55);
  margin-bottom: 14px;
}
.phil-disc h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1;
}

/* Each node sits beside a small photo orb */
.phil-photo {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 1px 2px rgba(18,18,18,0.08),
    0 24px 48px -16px rgba(18,18,18,0.35);
  border: 4px solid var(--paper-warm);
  z-index: 4;
}
/* Slow rotating dotted ring around each photo orb */
.phil-photo::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(201,155,93,0.45);
  pointer-events: none;
  animation: phil-orbit-cw 24s linear infinite;
}
/* A small orbiting dot on the ring — like a satellite */
.phil-photo::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 10px rgba(201,155,93,0.7);
  top: -14px;
  left: 50%;
  margin-left: -4px;
  transform-origin: 4px 79px;
  animation: phil-satellite 18s linear infinite;
  pointer-events: none;
}
@keyframes phil-satellite { to { transform: rotate(360deg); } }
/* Position photos near their concept disc */
.phil-photo--1 { top: 200px; left: 220px; }
.phil-photo--2 { top: 200px; right: 220px; }
.phil-photo--3 { top: 240px; left: 220px; }

/* Sub-topic chips */
.phil-chip {
  position: absolute;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(18,18,18,0.10);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy-800);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(18,18,18,0.04), 0 6px 16px -6px rgba(18,18,18,0.10);
  z-index: 4;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.35s, box-shadow 0.35s;
}
.phil-chip:hover {
  transform: translateY(-2px);
  border-color: var(--amber-500);
  box-shadow: 0 1px 2px rgba(201,155,93,0.10), 0 10px 24px -6px rgba(201,155,93,0.28);
}
/* Innovation chips */
.phil-chip--1a { top: -20px;  left: 90px; }
.phil-chip--1b { top: 290px;  left: -10px; }
/* Compliance chips */
.phil-chip--2a { top: -20px;  right: 90px; }
.phil-chip--2b { top: 290px;  right: -10px; }
/* Access chips */
.phil-chip--3a { top: 200px;  left: -10px; }
.phil-chip--3b { top: 200px;  right: -10px; }

/* Hover behavior on whole node */
.phil-node:hover .phil-disc {
  transform: scale(1.03);
  box-shadow:
    0 4px 12px rgba(18,18,18,0.08),
    0 40px 96px -24px rgba(0,180,216,0.45);
}
.phil-node--compliance:hover .phil-disc {
  box-shadow:
    0 4px 12px rgba(201,155,93,0.10),
    0 40px 96px -24px rgba(201,155,93,0.45);
}

/* =====  MOBILE STACK (hidden on desktop) ===== */
.phil-stack {
  display: none;
}

/* =====  CLOSING coda  ===== */
.phil-coda {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.phil-coda-rule {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, var(--amber-500), transparent);
  margin: 0 auto 40px;
}
.phil-coda-rule + p {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.phil-coda-rule + p em {
  font-style: italic;
  color: var(--amber-500);
  font-weight: 500;
}
.phil-coda p + .phil-coda-rule { margin: 40px auto 0; }

/* =====  RESPONSIVE  ===== */
@media (max-width: 1100px) {
  .phil-constellation { height: 720px; }
  .phil-node { width: 320px; height: 320px; }
  .phil-disc { width: 220px; height: 220px; padding: 0 28px; }
  .phil-disc h3 { font-size: 26px; }
  .phil-photo { width: 110px; height: 110px; }
  .phil-photo--1 { top: 180px; left: 190px; }
  .phil-photo--2 { top: 180px; right: 190px; }
  .phil-photo--3 { top: 210px; left: 190px; }
  .phil-node--innovation { top: 60px; left: 30px; }
  .phil-node--compliance { top: 60px; right: 30px; }
  .phil-node--access     { bottom: 40px; left: calc(50% - 160px); }
  .phil-core { top: 220px; width: 140px; height: 140px; }
}

/* =========================================================
   MOBILE — hide the entire philosophy section
   (Desktop-only; on mobile it's removed completely)
   ========================================================= */

/* Desktop default: hide mobile SVG */
.phil-curves-mobile { display: none; }

@media (max-width: 900px) {
  /* Hide the whole "Three forces. One promise." section on mobile */
  #philosophy.philosophy { display: none; }

  /* Hide the side-nav link that targets the hidden philosophy section */
  .sidenav a[data-target="philosophy"] { display: none; }

  /* Hide editorial chapter stack — using constellation again */
  .phil-stack { display: none; }

  /* Show the constellation as the primary layout */
  .phil-constellation {
    display: block;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 360 / 560;
    height: auto;
    min-height: 0;
    margin: 0 auto 64px;
    position: relative;
  }

  /* Show mobile SVG; hide desktop SVG */
  .phil-curves-mobile {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  .phil-curves-mobile path {
    fill: none;
    stroke: rgba(18,18,18,0.22);
    stroke-width: 1;
    stroke-dasharray: 5 8;
    animation: phil-flow 6s linear infinite;
  }
  .phil-curves-mobile line {
    fill: none;
    stroke: rgba(18,18,18,0.14);
    stroke-width: 1;
    stroke-dasharray: 3 5;
    animation: phil-flow-fast 3.5s linear infinite;
  }
  .phil-curves { display: none; }
  .phil-pin    { display: none; }

  /* ----- NODES positioned in % so they scale with constellation ----- */
  .phil-node {
    width: 30.5%;     /* 110/360 */
    aspect-ratio: 1;
    height: auto;
  }
  .phil-node--innovation { top: 5.4%;  left: 1.4%;  bottom: auto; right: auto; }
  .phil-node--compliance { top: 5.4%;  right: 1.4%; bottom: auto; left: auto; }
  .phil-node--access     { top: 69.6%; left: 34.7%; bottom: auto; right: auto; }

  /* ----- DISCS ----- */
  .phil-disc {
    width: 100%;
    height: 100%;
    padding: 0 12px;
  }
  .phil-disc-num {
    font-size: 9px;
    letter-spacing: 0.20em;
    margin-bottom: 5px;
  }
  .phil-disc h3 { font-size: 17px; }
  .phil-disc::before { inset: -8px; }
  .phil-disc::after  { inset: -18px; }

  /* ----- PHOTOS positioned in % relative to node ----- */
  .phil-photo {
    width: 13.3%;     /* 48/360 of constellation */
    aspect-ratio: 1;
    height: auto;
    border-width: 3px;
  }
  .phil-photo::before { inset: -4px; }
  .phil-photo::after {
    width: 5px; height: 5px;
    top: -7px;
    margin-left: -2.5px;
    transform-origin: 2.5px 31px;
  }
  /* Photo positions (in % of constellation), placed independently of node */
  .phil-photo--1 {
    position: absolute;
    top: 23.2%;       /* 130/560 */
    left: 27.8%;      /* 100/360 */
  }
  .phil-photo--2 {
    position: absolute;
    top: 23.2%;
    right: 27.8%;
    left: auto;
  }
  .phil-photo--3 {
    position: absolute;
    top: 81.8%;       /* 458/560 */
    left: 56.9%;      /* 205/360 */
  }
  /* Lift photos out of nodes so they're positioned against constellation, not node */
  .phil-node .phil-photo { position: absolute; }

  /* ----- CHIPS positioned in % of constellation, allow text wrap ----- */
  .phil-chip {
    position: absolute;
    font-size: 9.5px;
    padding: 5px 9px;
    letter-spacing: 0;
    max-width: 100px;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
  }
  /* Chips also escape node positioning — placed against constellation */
  .phil-node .phil-chip { position: absolute; }

  .phil-chip--1a { top: -1%;    left: 0;        right: auto; }
  .phil-chip--1b { top: 30%;    left: 0;        right: auto; }
  .phil-chip--2a { top: -1%;    right: 0;       left: auto; }
  .phil-chip--2b { top: 30%;    right: 0;       left: auto; }
  .phil-chip--3a { top: 92.5%;  left: 0;        right: auto; }
  .phil-chip--3b { top: 92.5%;  right: 0;       left: auto; }

  /* ----- CENTER CORE ----- */
  .phil-core {
    width: 22.2%;      /* 80/360 */
    height: 14.3%;     /* 80/560 -> matches by aspect since ar 360/560 */
    aspect-ratio: 1;
    top: 39.3%;        /* 220/560 */
    padding: 0 6px;
    z-index: 5;
  }
  .phil-core-mark { font-size: 13px; margin-bottom: 3px; }
  .phil-core p { font-size: 9.5px; line-height: 1.2; }
  .phil-core::before { inset: -6px; }
  .phil-core::after  { inset: -14px; }
}

/* ----- 820px polish ----- */
@media (max-width: 820px) {
  .philosophy { padding: 88px 6vw 96px; }
  .phil-header { margin-bottom: 72px; }
  .phil-eyebrow { margin-bottom: 24px; }
  .phil-display { margin-bottom: 24px; }
  .phil-coda-rule { height: 48px; margin-bottom: 28px; }
  .phil-coda p + .phil-coda-rule { margin: 28px auto 0; }
}

/* ----- Small phones — constellation tightening ----- */
@media (max-width: 480px) {
  .philosophy { padding: 64px 5vw 80px; }
  .phil-header { margin-bottom: 56px; }
  .phil-disc h3 { font-size: 16px; }
  .phil-disc-num { font-size: 8.5px; }
  .phil-chip { font-size: 9px; padding: 4px 8px; max-width: 88px; }
  .phil-core-mark { font-size: 12px; }
  .phil-core p { font-size: 9px; line-height: 1.18; }
}

@media (max-width: 360px) {
  .phil-disc h3 { font-size: 15px; }
  .phil-chip { font-size: 8.5px; max-width: 80px; }
  .phil-core p { font-size: 8.5px; }
}

/* Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  .phil-core-mark { animation: none; }
  .phil-curves path, .phil-curves line { animation: none; stroke-dashoffset: 0; }
  .phil-curves-mobile path, .phil-curves-mobile line { animation: none; stroke-dashoffset: 0; }
}


/* =========================================================
   v4 — FULL MOBILE RESPONSIVE PASS
   Last in file so it overrides earlier media queries.
   Breakpoints: 1024 / 820 / 640 / 480 / 380
   ========================================================= */

/* ---- 1024px: tablet landscape ---- */
@media (max-width: 1024px) {
  .hero-inner { padding: 0 6vw; }
  .trust-band { padding: 72px 6vw 76px; }
  .about-section-header { padding: 0 6vw; }
}

/* ---- 820px: tablet portrait / large phone ---- */
@media (max-width: 820px) {
  /* Hide the right-side dot nav — burger menu covers the same function */
  .sidenav { display: none; }

  /* Hero: prevent the rotator from breaking layout, tighten meta-strip */
  .hero h1.display { font-size: clamp(34px, 8vw, 56px); line-height: 1.02; }
  .hero-eyebrow-row .eyebrow { font-size: 11px; }
  .hero-bottom { margin-top: 36px; }
  .hero-meta-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
  }
  .hero-meta-strip > div { padding: 0; }

  /* Trust band */
  .trust-band-head h2 { font-size: clamp(24px, 5.4vw, 36px); }
  .trust-chips { gap: 10px; }
  .trust-chip { padding: 11px 16px; font-size: 12px; }
  .trust-chip span { display: none; } /* keep just the cert name on tablet to avoid wrap */

  /* About: globe scaling + flag wrap */
  .globe-wrap { max-width: 420px; }
  .flag-grid { gap: 22px 28px; }
  .flag-item .flag-img-lg { width: 56px; }

  /* Products carousel: smaller numerals + tighter copy */
  .product-stage { min-height: 460px; }
  .slide .copy { bottom: 28px; left: 24px; right: 24px; }
  .slide .num { font-size: 42px; }
  .slide h3 { font-size: clamp(24px, 5.6vw, 34px); }
  .slide .desc { font-size: 14px; max-width: none; }
  .slide .specs { gap: 18px; font-size: 10.5px; }
  .slide .specs span strong { font-size: 13px; }

  /* Contact stacks; map fixed height so it doesn't collapse */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .map-card { min-height: 360px; aspect-ratio: 4 / 3; }

  /* Founder quote scaling */
  .founder-quote { margin-bottom: 48px; padding: 0 16px; }
  .founder-quote .fq-mark { font-size: 72px; }
  .founder-quote blockquote { font-size: clamp(18px, 3.4vw, 24px); }

  /* Footer: 2-col + tighten massive watermark */
  .footer { padding: 72px 7vw 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 48px; }
  .footer-massive { margin-top: 56px; font-size: clamp(40px, 13vw, 120px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Partners marquee — already handled, but tighten more */
  .partners { padding-top: 56px; padding-bottom: 56px; }
}

/* ---- 640px: phone landscape / standard phone ---- */
@media (max-width: 640px) {
  /* Logo card + top nav clearance */
  .logo-card { width: 136px; height: 40px; padding: 4px 6px; top: 12px; left: 12px; }
  .top-nav { right: 12px; top: 12px; }

  /* Hero polish */
  .hero { padding-top: 96px; }
  .hero-inner { padding: 0 5vw; }
  .hero h1.display { font-size: clamp(30px, 9.5vw, 44px); }
  .hero-bottom .lede { font-size: 14px; }
  .cta-row { flex-wrap: wrap; gap: 10px; }
  .cta-row .btn { font-size: 13px; padding: 11px 18px; }
  .hero-pill { font-size: 11px; padding: 6px 10px; }

  /* Trust band */
  .trust-band { padding: 48px 5vw 52px; }
  .trust-band-head { margin-bottom: 36px; }
  .trust-band-head h2 { font-size: clamp(22px, 6.4vw, 30px); }
  .trust-chips { margin-bottom: 40px; gap: 8px; }
  .trust-chip { padding: 10px 14px; font-size: 11.5px; }
  .trust-counter { min-height: 110px; padding: 14px 6px; }
  .trust-counter .tc-num { font-size: clamp(32px, 9vw, 44px); }
  .trust-counter .tc-lbl { font-size: 10.5px; letter-spacing: 0.12em; }

  /* About */
  .about-section-header { padding: 0 5vw; }
  .about-tab-container { padding: 0 5vw; }
  .mv-heading, .team-heading { font-size: clamp(24px, 6.4vw, 32px); padding: 0 5vw; }
  .globe-wrap { max-width: 340px; }
  .flag-grid { gap: 18px 22px; }
  .flag-name { font-size: 12px; }
  .flag-item .flag-img-lg { width: 50px; }

  /* Mission/vision */
  .mv-card { padding: 22px; }
  .mv-statement { font-size: 16px; }

  /* Team */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team-img-wrap { width: 110px; height: 110px; }
  .team-member h4 { font-size: 14px; }
  .team-member p { font-size: 11px; }

  /* Founder quote */
  .founder-quote { margin-bottom: 36px; }
  .founder-quote .fq-mark { font-size: 56px; }
  .founder-quote blockquote { font-size: 17px; line-height: 1.4; margin-bottom: 20px; }
  .founder-quote .fq-attr img { width: 40px; height: 40px; }
  .founder-quote .fq-attr-text { font-size: 13px; }
  .founder-quote .fq-attr-text span { font-size: 10.5px; }

  /* Products section */
  .products { padding-left: 0; padding-right: 0; }
  .products-head { padding: 0 5vw; }
  .carousel { border-radius: 0; }
  .product-stage { min-height: 440px; }
  .slide .copy { bottom: 22px; left: 18px; right: 18px; }
  .slide .num { font-size: 34px; margin-bottom: 6px; }
  .slide .tag { font-size: 10px; letter-spacing: 0.14em; }
  .slide h3 { font-size: 26px; margin: 6px 0 10px; }
  .slide .desc { font-size: 13.5px; line-height: 1.5; margin-bottom: 14px; }
  .slide .specs { gap: 12px; font-size: 10px; }
  .slide .specs span { min-width: auto; }
  .slide .specs span strong { font-size: 12px; }

  /* Product tabs */
  .product-tabs { flex-wrap: wrap; padding: 0 5vw; gap: 4px; }
  .product-tabs .product-tab { font-size: 12px; padding: 8px 12px; }
  .carousel-controls { padding: 0 5vw; gap: 14px; }
  .car-btn { width: 38px; height: 38px; }
  .carousel-dots .cdot { width: 8px; height: 8px; }

  /* Contact section */
  .contact { padding-left: 5vw; padding-right: 5vw; }
  .map-card { min-height: 280px; aspect-ratio: 4 / 3; }
  .map-card .map-pin { top: 14px; left: 14px; padding: 8px 12px; max-width: 70%; }
  .map-card .map-pin .pcopy { font-size: 11px; }
  .contact-info h2 { font-size: clamp(28px, 8vw, 40px); }
  .contact-block { margin-bottom: 18px; }
  .contact-block .ckey { font-size: 11px; }
  .contact-block .cval { font-size: 14px; }

  /* Footer */
  .footer { padding: 56px 6vw 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer .flogo-wrap { width: 180px; }
  .footer-massive { margin-top: 36px; font-size: clamp(38px, 14vw, 90px); padding: 0; }
  .footer-bottom { font-size: 11px; }

  /* Sticky CTA — keep but smaller + safer offset */
  .sticky-cta { right: 14px; bottom: 14px; padding: 11px 16px 11px 12px; font-size: 12px; }
  .sticky-cta i { font-size: 14px; }
}

/* ---- 480px: small phone ---- */
@media (max-width: 480px) {
  /* Hero h1 final size */
  .hero h1.display { font-size: 32px; }
  .hero-bottom .lede { font-size: 13.5px; }

  /* Hero stats — single column avoids cramped 2x2 grid on narrow phones */
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-stats .s { padding: 12px 0; border-bottom: 1px solid rgba(250,250,250,0.10); text-align: left; }
  .hero-stats .s:last-child { border-bottom: none; }
  .hero-stats .s .num { font-size: 28px; }

  /* Trust counters: 2-col → still 2-col here, but tighter */
  .trust-counters { gap: 8px; }
  .trust-counter { padding: 10px 4px; min-height: 96px; }
  .trust-counter .tc-num { font-size: 30px; }

  /* Founder quote */
  .founder-quote { padding: 0 8px; }
  .founder-quote .fq-mark { font-size: 48px; }
  .founder-quote blockquote { font-size: 16px; }
  .founder-quote .fq-attr { flex-wrap: wrap; justify-content: center; }

  /* Slide copy */
  .slide h3 { font-size: 22px; }
  .slide .desc { font-size: 13px; }
  .slide .specs { gap: 10px; }

  /* Sticky CTA — icon-priority */
  .sticky-cta { right: 12px; bottom: 12px; padding: 10px 14px 10px 11px; font-size: 11.5px; gap: 7px; }
  .sticky-cta .sc-dot { width: 6px; height: 6px; }
}

/* ---- 380px: extra-small phone (iPhone SE) ---- */
@media (max-width: 380px) {
  .hero h1.display { font-size: 28px; }
  .hero-eyebrow-row .eyebrow { font-size: 10px; gap: 6px; }
  .logo-card { width: 120px; height: 36px; }
  .trust-counter .tc-num { font-size: 26px; }
  .trust-chip { padding: 9px 12px; font-size: 11px; }
  .slide .copy { bottom: 16px; left: 14px; right: 14px; }
  .slide h3 { font-size: 20px; }
  .slide .num { font-size: 28px; }
  .product-stage { min-height: 400px; }
  .founder-quote blockquote { font-size: 15px; }
  /* Sticky CTA: very small phones — collapse to icon */
  .sticky-cta { padding: 11px 13px; font-size: 0; }
  .sticky-cta i { font-size: 17px; }
  .sticky-cta .sc-dot { display: none; }
}

/* ---- Prevent horizontal scrollbars on small viewports ---- */
html, body { overflow-x: hidden; }
section { max-width: 100vw; overflow-x: clip; }

/* ---- Touch-friendly tap targets (min 44px square) ---- */
@media (max-width: 820px) {
  .car-btn, .product-tab, .about-tab, .nav-link, .footer ul a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* =========================================================
   MOBILE FINAL POLISH (v5)
   - Hide scroll-vectors SVG (the X/cross + decorative shapes
     were cluttering every section on mobile)
   - Hide hero DNA video (can't replicate the desktop right-side
     composition on a narrow viewport)
   - Tighten trust band counter alignment
   - Cleaner about/team molecule decorations
   ========================================================= */
@media (max-width: 900px) {
  /* Kill the full-page scroll-driven decoration SVG on mobile.
     This removes the X/cross, hexagon, plus-signs, helix, and
     floating dots that were drifting across every section. */
  .scroll-vectors { display: none !important; }

  /* Hero DNA video — keep visible as a background layer on mobile,
     but contained and dimmed so it doesn't clutter the headline.
     Orbital rings hidden — just the animation in the background. */
  .hero-video-wrap {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    right: auto;
    top: auto;
    z-index: 0;
    opacity: 0.28;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-video-wrap .ring { display: none; }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
    object-position: center;
    filter: none;
  }
  /* Keep the dark gradient overlay above the video for text readability */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
      rgba(1,2,52,0.72) 0%,
      rgba(2,40,90,0.55) 40%,
      rgba(3,4,94,0.50) 70%,
      rgba(1,2,52,0.78) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .hero-inner    { position: relative; z-index: 2; }
  .hero-meta-strip { position: relative; z-index: 2; }

  /* Trust band: tighter on mobile */
  .trust-band { padding: 56px 6vw 64px; }
  .trust-band-head { margin-bottom: 36px; }
  .trust-band-head h2 { font-size: clamp(22px, 6vw, 28px); }
  .trust-chips { gap: 8px; margin-bottom: 36px; }
  .trust-chip { padding: 9px 14px; font-size: 11.5px; }
  .trust-counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    row-gap: 24px;
    border-top: 1px solid rgba(250,250,250,0.08);
    padding-top: 28px;
  }
  .trust-counter {
    min-height: auto;
    padding: 12px 4px;
    border-left: none;
  }
  .trust-counter .tc-num { font-size: clamp(30px, 8vw, 40px); }
  .trust-counter .tc-lbl { font-size: 10px; letter-spacing: 0.15em; }

  /* About: hide the molecule decorations (they overflow / look random) */
  .team-molecules { display: none; }
}

@media (max-width: 480px) {
  /* Trust band even tighter */
  .trust-counters { gap: 6px; row-gap: 20px; padding-top: 22px; }
  .trust-counter .tc-num { font-size: 30px; }
  .trust-chip { padding: 8px 12px; font-size: 11px; }
  .trust-chip span { display: none; } /* drop "CERTIFIED"/"COMPLIANT" sublabels */
}


/* =========================================================
   PHASE 2 — section refinement pass
   ========================================================= */

/* ---- Partner logos: 3D tilt + info card on hover ---- */
.marquee-set img {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), filter 0.4s;
  position: relative;
  z-index: 1;
}
.marquee-set img.is-tilting {
  transform: rotateX(var(--p-tilt-x, 0deg)) rotateY(var(--p-tilt-y, 0deg)) translateZ(8px);
  filter: drop-shadow(0 8px 20px rgba(0,180,216,0.35));
  z-index: 6;
}
.partner-tip {
  position: fixed;
  z-index: 9500;
  pointer-events: none;
  padding: 8px 14px;
  background: rgba(3,4,94,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,180,216,0.40);
  border-radius: 999px;
  color: #FAFAFA;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 12px 32px -10px rgba(0,180,216,0.45);
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.partner-tip.is-visible {
  opacity: 1;
  transform: translate(-50%, -12px);
}
.partner-tip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: rgba(3,4,94,0.92);
  border-right: 1px solid rgba(0,180,216,0.40);
  border-bottom: 1px solid rgba(0,180,216,0.40);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin-top: -4px;
}

/* ---- Mission/Vision morph: outgoing slides down + fades, incoming slides up ---- */
.about-panel { transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.22,1,.36,1); }
.about-panel:not(.is-active) {
  display: none;
}
.about-panel.is-active.is-morphing-in {
  opacity: 0;
  transform: translateY(28px);
}
.about-panel.is-morphing-out {
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}
.mv-video-wrap.is-pulsing {
  animation: mvPulse 0.9s cubic-bezier(.22,1,.36,1);
}
@keyframes mvPulse {
  0%   { transform: scale(1); filter: saturate(1); }
  50%  { transform: scale(1.04); filter: saturate(1.35) brightness(1.1); }
  100% { transform: scale(1); filter: saturate(1); }
}

/* ---- Founder quote typing caret ---- */
.founder-quote blockquote .typing-caret {
  display: inline-block;
  width: 0.07em;
  height: 0.9em;
  background: var(--cyan-500);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: typingCaret 0.7s steps(2) infinite;
}
@keyframes typingCaret {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ---- Footer aurora + horizontal-scroll watermark ---- */
.footer {
  position: relative;
  overflow: hidden;
}
.footer-aurora {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(45% 45% at 20% 20%, rgba(0,180,216,0.22), transparent 60%),
    radial-gradient(40% 50% at 80% 70%, rgba(144,224,239,0.16), transparent 70%),
    radial-gradient(35% 40% at 50% 100%, rgba(0,119,182,0.18), transparent 70%);
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
  animation: footerAurora 22s ease-in-out infinite alternate;
}
@keyframes footerAurora {
  0%   { transform: translate(0, 0)      scale(1); }
  50%  { transform: translate(3%, -2%)   scale(1.06); }
  100% { transform: translate(-2%, 2%)   scale(0.98); }
}
.footer > *:not(.footer-aurora) { position: relative; z-index: 1; }
.footer-massive {
  will-change: transform;
}


/* =========================================================
   PHASE 3 — ambient particles + section reveals + dark map
   ========================================================= */

/* ---- Ambient site-wide particle layer ---- */
.ambient-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.ambient-particles.is-ready { opacity: 0.32; }
/* Make sure all content sits ABOVE the ambient layer */
section, .footer { position: relative; z-index: 1; }
@media (max-width: 820px) { .ambient-particles { display: none; } }

/* ---- Section reveal masks DISABLED — was hiding content below hero.
   The clip-path animation depended on JS adding .is-revealed, and if
   anything in that chain failed (observer didn't fire, JS error, etc.)
   sections stayed invisible. Replaced with a tiny opacity reveal that
   starts visible by default. ---- */
section.section-reveal {
  /* leave fully visible; JS adds .is-revealed but it's now a no-op */
  clip-path: none;
}

/* Leaflet dark-map override removed — reverted to original OSM iframe */
