@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-300.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root{
  --blue:#1850e1;
  --blue-dim:#0f3aa8;
  --teal:#0f9e8e;
  --teal-dim:#0a6e63;
  --lime:#bce138;
  --ink:#0b0e14;
  --gray-900:#12151c;
  --gray-700:#3a3f4b;
  --gray-500:#6b7180;
  --gray-300:#c7cbd4;
  --gray-100:#f2f3f6;
  --white:#ffffff;
  --max:1180px;
  --radius:18px;
  --ease:cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
video{-webkit-tap-highlight-color:transparent;outline:none;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-0.02em;}
p{margin:0;line-height:1.6;color:var(--gray-700);}
.wrap{max-width:var(--max);margin:0 auto;padding:0 32px;}
section{position:relative;}

/* ---------- Nav ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 32px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  border-bottom:1px solid rgba(11,14,20,.06);
  transition:padding .3s var(--ease);
}
.nav.scrolled{padding:12px 32px;box-shadow:0 8px 24px -16px rgba(11,14,20,.15);}
.nav__brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;letter-spacing:-0.01em;}
.nav__brand img{height:44px;width:auto;}
.nav__links{display:flex;gap:8px;align-items:center;}
.nav__links a{
  font-size:14px;font-weight:500;color:var(--gray-700);
  padding:8px 14px;border-radius:999px;transition:all .25s var(--ease);
}
.nav__links a:hover{color:var(--ink);background:var(--gray-100);}
.nav__links a.active{color:var(--white);background:var(--blue);}
.nav__cta{
  font-size:14px;font-weight:600;color:var(--white)!important;
  background:var(--ink);padding:9px 18px;border-radius:999px;
  background-size:200% auto;background-position:0 0;
  transition:transform .25s var(--ease), background-position .5s var(--ease), box-shadow .25s var(--ease);
}
.nav__cta:hover{
  background-image:linear-gradient(100deg,var(--blue) 0%,var(--blue-dim) 50%,var(--blue) 100%);
  background-position:100% 0;transform:translateY(-1px);
  box-shadow:0 10px 24px -10px rgba(24,80,225,.5);
}
.nav__toggle{display:none;}

@media (max-width:860px){
  .nav__links{position:fixed;top:64px;left:16px;right:16px;background:var(--white);
    flex-direction:column;align-items:stretch;padding:12px;border-radius:16px;
    box-shadow:0 20px 40px -16px rgba(0,0,0,.2);transform:translateY(-12px);opacity:0;
    pointer-events:none;transition:all .3s var(--ease);border:1px solid var(--gray-100);}
  .nav__links.open{transform:translateY(0);opacity:1;pointer-events:auto;}
  .nav__links a{padding:12px 14px;}
  .nav__toggle{display:block;background:none;border:none;cursor:pointer;padding:6px;}
  .nav__toggle span{display:block;width:22px;height:2px;background:var(--ink);margin:5px 0;transition:.3s;}
}

/* ---------- Hero / 3D canvas ---------- */
.hero{
  min-height:100vh;display:flex;flex-direction:column;justify-content:center;
  padding:140px 32px 80px;position:relative;z-index:0;overflow:hidden;
}
.hero__canvas{
  position:absolute;inset:0;z-index:0;
}
.hero__content{position:relative;z-index:2;max-width:var(--max);margin:0 auto;width:100%;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;
  text-transform:uppercase;letter-spacing:.12em;color:var(--blue);
  background:rgba(24,80,225,.08);padding:7px 14px;border-radius:999px;margin-bottom:24px;
}
.eyebrow::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--lime);}
.hero h1{
  font-size:clamp(38px,6vw,74px);line-height:1.04;font-weight:600;
  max-width:16ch;letter-spacing:-0.03em;
}
.hero h1 em{font-style:normal;color:var(--blue);}
.hero__lede{font-size:19px;max-width:52ch;margin-top:24px;color:var(--gray-700);}
.hero__actions{display:flex;gap:14px;margin-top:40px;flex-wrap:wrap;}

.btn{
  display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;
  padding:14px 26px;border-radius:999px;transition:all .28s var(--ease);cursor:pointer;border:none;
}
.btn-primary{background:var(--ink);color:var(--white);}
.btn-primary:hover{background:var(--blue);box-shadow:0 12px 28px -12px rgba(24,80,225,.5);}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--gray-300);}
.btn-ghost:hover{border-color:var(--ink);}
.btn-lime{background:var(--lime);color:var(--ink);}
.btn-lime:hover{box-shadow:0 12px 28px -12px rgba(188,225,56,.6);}

/* ---------- Clean hero (no video/product image/decorative background —
   single centered column on a flat white background) ---------- */
.hero--clean{min-height:100vh;min-height:100dvh;}
.hero--clean .hero__content{max-width:800px;text-align:center;}
.hero--clean .hero__content .eyebrow{margin:0 auto 24px;}
.hero--clean .hero__content h1{max-width:22ch;margin:0 auto;}
.hero--clean .hero__content .hero__lede{margin:24px auto 0;}
.hero--clean .hero__content .hero__actions{justify-content:center;}
/* object-fit:contain avoided cropping but left visible black letterbox bars
   above/below the 16:9 clip whenever the box (text-driven height, esp. tall
   on mobile portrait) doesn't match the video's ratio. Switch back to cover
   so the video always fills the box edge-to-edge with no bars; the footage
   is abstract DNA/product loop imagery (no off-center face/subject), so the
   symmetric center crop this produces is not visually distracting. */
.hero--clean .hero__video{object-fit:cover;}

/* Multi-paragraph About copy in the hero needs tighter type than the default
   single-lede hero so 3 paragraphs stay legible without feeling like a wall
   of text (corporate.html hero currently uses this). */
.hero__content--about{max-width:720px;}
.hero__content--about h1{font-size:clamp(30px,5.2vw,56px);}
.hero__content--about .hero__lede{font-size:17px;line-height:1.6;max-width:none;}
.hero__content--about .hero__lede + .hero__lede{margin-top:14px;}
@media (max-width:640px){
  .hero__content--about .hero__lede{font-size:15px;line-height:1.55;}
  .hero__content--about .hero__lede + .hero__lede{margin-top:10px;}
}

/* ---------- Corporate hero (gradient mesh + scientific motif + scroll cue) ---------- */
.hero--corporate{background:linear-gradient(170deg,#f8faff 0%,var(--white) 46%,#f5f8ff 100%);}
.hero__mesh{
  position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;
}
.hero__mesh::before,.hero__mesh::after{
  content:'';position:absolute;border-radius:50%;filter:blur(60px);
  animation:meshDrift 22s ease-in-out infinite;
}
.hero__mesh::before{width:46vw;height:46vw;left:-12vw;top:-8vw;background:radial-gradient(circle,rgba(24,80,225,.16),transparent 70%);}
.hero__mesh::after{width:38vw;height:38vw;right:-10vw;bottom:-6vw;background:radial-gradient(circle,rgba(188,225,56,.18),transparent 70%);animation-delay:-11s;}
.hero__grid{
  position:absolute;inset:0;z-index:0;opacity:.5;pointer-events:none;
  background-image:radial-gradient(rgba(11,14,20,.06) 1px, transparent 1px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 75%);
  mask-image:radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 75%);
}
@keyframes meshDrift{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(4%,3%) scale(1.08);}}

.hero__content [data-cine-text]{opacity:0;transform:translateY(22px);animation:heroReveal .9s var(--ease) forwards;}
.hero__content .eyebrow{animation-delay:.05s;}
.hero__content h1{animation-delay:.16s;}
.hero__content .hero__lede{animation-delay:.3s;}
.hero__content .hero__actions{animation-delay:.44s;}
.hero__content .hero__scroll-cue{animation-delay:.7s;}
@keyframes heroReveal{to{opacity:1;transform:translateY(0);}}

.hero__scroll-cue{
  position:absolute;left:50%;bottom:36px;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;z-index:2;
  font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gray-500);
  opacity:0;animation:heroReveal .9s var(--ease) forwards;animation-delay:.7s;
}
.hero__scroll-cue span{
  width:1px;height:26px;background:linear-gradient(180deg,var(--blue),transparent);
  animation:scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue{0%{transform:scaleY(.3);transform-origin:top;opacity:.4;}50%{transform:scaleY(1);opacity:1;}100%{transform:scaleY(.3);transform-origin:bottom;opacity:.4;}}

/* ---------- Cinematic hero video + product foreground (corporate.html) ----------
   No <source> in markup; js/video.js attaches sources conditionally (skipped for
   prefers-reduced-motion / navigator.connection.saveData, in which case the
   <video poster> stays visible as a static image). Degrades to the .hero--corporate
   gradient background if the video and poster both fail. ---------- */
.hero__video-layer{position:absolute;inset:0;z-index:0;overflow:hidden;}
.hero__video{width:100%;height:100%;object-fit:cover;display:block;background:#0b0e14;}
.hero__video-overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  /* Darkened for WCAG 1.4.3: measured against a screenshot of the live hero,
     the old .3-alpha midpoint let a bright video frame push background
     luminance high enough that white text dropped to ~3:1 (real sample: a
     139/151/155 pixel directly behind the headline). This floor (.70 alpha,
     worst-case = pure-white video frame) keeps every hero text color >=3:1
     (large text) / >=4.5:1 (body text) — see WCAG-AUDIT.md for the numbers. */
  background:linear-gradient(180deg,rgba(8,10,16,.78) 0%,rgba(8,10,16,.70) 40%,rgba(8,10,16,.80) 100%);
}
.hero--video-active .hero__content .eyebrow{background:rgba(11,14,20,.72);color:var(--lime);}
.hero--video-active .hero__content h1,.hero--video-active .hero__content .hero__lede{color:var(--white);}
.hero--video-active .hero__content h1 em{color:#8fb4ff;}
/* Blue focus outline measures ~1.2:1 against the video (fails the 3:1 UI
   non-text contrast minimum) — swap to white, which holds >=7.6:1 even in
   the worst-case bright-frame scenario used above. */
.hero--video-active .hero__actions .btn:focus-visible{
  outline-color:var(--white);
  box-shadow:0 0 0 5px rgba(255,255,255,.22);
}

.hero__video-disclosure{
  position:absolute;left:20px;bottom:20px;z-index:3;
  font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--white);background:rgba(11,14,20,.75);
  padding:6px 12px;border-radius:999px;line-height:1;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  pointer-events:none;
}
@media (max-width:640px){
  .hero__video-disclosure{left:14px;bottom:14px;font-size:12px;padding:5px 9px;letter-spacing:.05em;}
}


/* ---------- Hero DNA-inspired particles (CSS-only, transform/opacity only) ---------- */
.hero__particles{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;}
.hero__particles span{
  position:absolute;border-radius:50%;opacity:0;
  background:var(--blue);box-shadow:0 0 10px 1px rgba(24,80,225,.5);
  animation:particleDrift 9s ease-in-out infinite;
}
.hero__particles span:nth-child(odd){background:var(--lime);box-shadow:0 0 10px 1px rgba(188,225,56,.45);}
.hero__particles span:nth-child(1){width:5px;height:5px;left:8%;top:22%;animation-delay:0s;}
.hero__particles span:nth-child(2){width:3px;height:3px;left:16%;top:64%;animation-delay:.6s;}
.hero__particles span:nth-child(3){width:6px;height:6px;left:24%;top:38%;animation-delay:1.2s;}
.hero__particles span:nth-child(4){width:4px;height:4px;left:33%;top:78%;animation-delay:1.8s;}
.hero__particles span:nth-child(5){width:3px;height:3px;left:41%;top:14%;animation-delay:2.4s;}
.hero__particles span:nth-child(6){width:5px;height:5px;left:49%;top:52%;animation-delay:3s;}
.hero__particles span:nth-child(7){width:4px;height:4px;left:57%;top:30%;animation-delay:3.6s;}
.hero__particles span:nth-child(8){width:3px;height:3px;left:64%;top:68%;animation-delay:4.2s;}
.hero__particles span:nth-child(9){width:6px;height:6px;left:71%;top:20%;animation-delay:4.8s;}
.hero__particles span:nth-child(10){width:4px;height:4px;left:78%;top:58%;animation-delay:5.4s;}
.hero__particles span:nth-child(11){width:3px;height:3px;left:85%;top:36%;animation-delay:6s;}
.hero__particles span:nth-child(12){width:5px;height:5px;left:91%;top:74%;animation-delay:6.6s;}
.hero__particles span:nth-child(13){width:4px;height:4px;left:12%;top:88%;animation-delay:7.2s;}
.hero__particles span:nth-child(14){width:3px;height:3px;left:60%;top:10%;animation-delay:7.8s;}
@keyframes particleDrift{
  0%{opacity:0;transform:translate(0,0) scale(.6);}
  15%{opacity:.55;}
  50%{opacity:.85;transform:translate(6px,-16px) scale(1);}
  85%{opacity:.4;}
  100%{opacity:0;transform:translate(-4px,-30px) scale(.6);}
}
@media (max-width:640px){.hero__particles span:nth-child(n+9){display:none;}}

/* ---------- Product figure (real-alpha PNG, floating + parallax) ---------- */
.product-figure{
  position:relative;display:flex;align-items:center;justify-content:center;
  padding:56px;min-height:280px;
}
.product-figure__glow{
  position:absolute;inset:8%;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(24,80,225,.14) 0%,rgba(188,225,56,.08) 45%,transparent 72%);
  filter:blur(36px);
}
.product-figure__shadow{
  position:absolute;left:50%;bottom:14%;width:56%;height:22px;transform:translateX(-50%);
  background:radial-gradient(ellipse,rgba(11,14,20,.22) 0%,transparent 72%);
  filter:blur(4px);
}
.product-figure{--parallax-x:0px;--parallax-y:0px;}
.product-figure img{
  position:relative;z-index:1;max-width:78%;
  filter:drop-shadow(0 26px 32px rgba(11,14,20,.16)) drop-shadow(0 2px 8px rgba(24,80,225,.1));
  animation:productFloat 7s ease-in-out infinite;
  will-change:transform;
}
@keyframes productFloat{
  0%,100%{transform:translate(var(--parallax-x),var(--parallax-y)) translateY(0) rotate(-1.4deg);}
  50%{transform:translate(var(--parallax-x),var(--parallax-y)) translateY(-9px) rotate(1.6deg);}
}
.product-figure__sweep{
  position:absolute;z-index:2;inset:8% 30%;pointer-events:none;overflow:hidden;
  -webkit-mask-image:linear-gradient(#000,#000);mask-image:linear-gradient(#000,#000);
}
.product-figure__sweep::after{
  content:'';position:absolute;top:-20%;bottom:-20%;left:-60%;width:36%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  animation:productSweep 6s ease-in-out infinite;animation-delay:2s;
}
@keyframes productSweep{0%,60%{left:-60%;}90%,100%{left:120%;}}

/* ---------- Leadership video (investor.html #team) ---------- */
#team .product-figure--video{min-height:400px;padding:24px 0;}
#team .product-figure__glow,#team .product-figure__shadow{display:none;}
#team .product-figure--video video{
  position:relative;z-index:1;width:auto;max-width:100%;height:520px;max-height:64vh;
  display:block;
}
@media (max-width:640px){#team .product-figure--video video{height:380px;}}
@media (min-width:901px){#team .split{grid-template-columns:1fr 1.15fr;}}

/* ---------- Chips (identity / stat pills) ---------- */
.chip-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;}
.chip{
  display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--gray-700);
  background:rgba(255,255,255,.7);border:1px solid rgba(24,80,225,.14);
  padding:9px 16px 9px 12px;border-radius:999px;backdrop-filter:blur(6px);
  box-shadow:0 8px 20px -14px rgba(11,14,20,.2);
}
.chip svg{width:16px;height:16px;flex:none;color:var(--blue);}
.chip--tagline{background:linear-gradient(100deg,rgba(24,80,225,.1),rgba(188,225,56,.14));border-color:rgba(24,80,225,.18);color:var(--ink);font-weight:700;}
.chip--tagline svg{color:var(--lime);}

/* ---------- Editorial narrative: "science exists, access is missing" ---------- */
.section--narrative .section-head{max-width:680px;}
.narrative-track{position:relative;margin-top:16px;}
.narrative-track__base,.narrative-track__progress{
  position:absolute;left:7px;top:14px;bottom:14px;width:2px;border-radius:2px;
}
.narrative-track__base{background:var(--gray-300);opacity:.45;}
.narrative-track__progress{
  background:linear-gradient(180deg,var(--blue),var(--lime));
  transform:scaleY(0);transform-origin:top;
}
.narrative-beats{list-style:none;margin:0;padding:0;position:relative;}
.narrative-beat{
  position:relative;display:flex;gap:28px;padding:30px 0;
  opacity:0;transform:translateY(24px);
  transition:opacity .8s var(--ease),transform .8s var(--ease);
}
.narrative-beat.in{opacity:1;transform:translateY(0);}
.narrative-beat__node{
  flex:none;width:14px;height:14px;margin-top:7px;border-radius:50%;
  background:var(--white);border:2px solid var(--gray-300);position:relative;z-index:1;
  transition:background .5s var(--ease),border-color .5s var(--ease),box-shadow .5s var(--ease);
}
.narrative-beat.in .narrative-beat__node{
  border-color:var(--blue);background:var(--blue);box-shadow:0 0 0 6px rgba(24,80,225,.14);
}
.narrative-beat--outcome.in .narrative-beat__node{
  border-color:var(--lime);background:var(--lime);box-shadow:0 0 0 6px rgba(188,225,56,.2);
}
.narrative-beat__body{flex:1;min-width:0;}
.narrative-beat__index{
  display:block;font-size:12.5px;font-weight:700;letter-spacing:.1em;color:var(--blue);margin-bottom:8px;
}
.narrative-beat--outcome .narrative-beat__index{color:var(--blue-dim);}
.narrative-beat h3{font-size:clamp(19px,2.2vw,25px);letter-spacing:-0.015em;margin-bottom:10px;}
.narrative-beat--outcome h3{color:var(--blue);}
.narrative-beat p{font-size:16px;max-width:58ch;}
@media (max-width:640px){
  .narrative-beat{gap:18px;padding:22px 0;}
  .narrative-track__base,.narrative-track__progress{left:6px;}
}

/* ---------- Story / how-it-works pipeline ---------- */
.pipeline{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 8px;
  margin:8px 0 0;padding:18px 22px;border-radius:16px;
  background:rgba(255,255,255,.65);border:1px solid rgba(24,80,225,.14);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  box-shadow:0 16px 32px -24px rgba(11,14,20,.2);
}
.pipeline__node{font-size:13.5px;font-weight:600;color:var(--gray-700);white-space:nowrap;}
.pipeline__arrow{color:var(--blue);font-weight:700;opacity:.55;}
@media (max-width:640px){.pipeline{padding:16px;}}

.pathway-card{position:relative;}
.pathway-badge{
  width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;color:var(--white);margin-bottom:18px;
  background:linear-gradient(135deg,var(--blue),var(--blue-dim));
  box-shadow:0 10px 20px -10px rgba(24,80,225,.5);
}
.pathway-badge svg{width:20px;height:20px;}
.pathway-num{position:absolute;top:26px;right:26px;font-size:12.5px;font-weight:700;color:var(--gray-300);letter-spacing:.04em;}

/* ---------- Pathway flow: animated 5-node clinical pathway (product.html) ---------- */
.pathway-flow{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-top:40px;}
.pathway-flow__line{position:absolute;left:32px;right:32px;top:29px;height:2px;z-index:0;}
.pathway-flow__line-base,.pathway-flow__line-progress{position:absolute;inset:0;border-radius:2px;}
.pathway-flow__line-base{background:var(--gray-300);opacity:.5;}
.pathway-flow__line-progress{
  background:linear-gradient(90deg,var(--blue),var(--lime));
  transform:scaleX(0);transform-origin:left;transition:transform 1.4s var(--ease);
}
.pathway-flow.in .pathway-flow__line-progress{transform:scaleX(1);}
.pathway-flow__node{
  position:relative;z-index:1;flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;
  opacity:0;transform:translateY(14px);transition:opacity .7s var(--ease),transform .7s var(--ease);
}
.pathway-flow.in .pathway-flow__node{opacity:1;transform:translateY(0);}
/* nth-child counts the preceding .pathway-flow__line div too (child 1), so
   node stagger indices start at 3, not 2 — this is NOT nth-of-type because
   .pathway-flow__line is also a <div>. */
.pathway-flow.in .pathway-flow__node:nth-child(3){transition-delay:.12s;}
.pathway-flow.in .pathway-flow__node:nth-child(4){transition-delay:.24s;}
.pathway-flow.in .pathway-flow__node:nth-child(5){transition-delay:.36s;}
.pathway-flow.in .pathway-flow__node:nth-child(6){transition-delay:.48s;}
.pathway-flow__icon{
  width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none;
  background:var(--white);border:1px solid var(--gray-100);color:var(--blue);
  box-shadow:0 14px 24px -16px rgba(11,14,20,.25);
}
.pathway-flow__icon svg{width:26px;height:26px;}
.pathway-flow__node:last-child .pathway-flow__icon{color:var(--blue-dim);}
.pathway-flow__label{font-size:14px;font-weight:600;color:var(--gray-700);}
@media (max-width:760px){
  .pathway-flow{flex-direction:column;align-items:stretch;gap:0;margin-top:28px;}
  .pathway-flow__line{display:none;}
  .pathway-flow__node{flex-direction:row;text-align:left;justify-content:flex-start;padding:14px 0;border-bottom:1px solid var(--gray-100);}
  .pathway-flow__node:last-child{border-bottom:none;}
  .pathway-flow__icon{width:46px;height:46px;}
  .pathway-flow__icon svg{width:20px;height:20px;}
}

/* ---------- Video panel: lazy, pausable ambient background loops ---------- */
.video-panel{
  position:relative;border-radius:20px;overflow:hidden;aspect-ratio:16/7;
  margin:48px 0 0;background:#0b0e14;border:1px solid var(--gray-100);
  box-shadow:0 24px 48px -28px rgba(11,14,20,.28);
}
.video-panel__video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
}
.video-panel__overlay{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(11,14,20,.05) 0%,rgba(11,14,20,.05) 55%,rgba(11,14,20,.55) 100%);
}
.video-panel__caption{
  position:absolute;left:16px;bottom:16px;font-size:12px;font-weight:600;color:var(--white);
  background:rgba(11,14,20,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  padding:6px 12px;border-radius:999px;letter-spacing:.01em;
}
.video-panel--outcome{margin-top:56px;}
@media (max-width:640px){
  .video-panel{aspect-ratio:4/3;margin-top:32px;}
  .video-panel--outcome{margin-top:36px;}
}

/* ---------- Film card: portrait CarciScan film, autoplay-with-sound while in view ---------- */
.film-card{max-width:min(34vw,420px);margin:0 auto;}
/* --inline: sits as the right column of a .split grid (e.g. next to Mission copy)
   instead of a standalone full-width section, so it sizes off the column, not the viewport. */
.film-card--inline{max-width:380px;}
.film-card__frame{
  position:relative;width:100%;aspect-ratio:9/16;border-radius:28px;overflow:hidden;
  background:var(--gray-100);
  box-shadow:0 32px 64px -30px rgba(11,14,20,.32),0 10px 24px -12px rgba(11,14,20,.18);
}
.film-card__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:var(--ink);}
.film-card__sound{
  position:absolute;right:14px;bottom:14px;z-index:2;width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:rgba(11,14,20,.55);
  backdrop-filter:blur(8px) saturate(140%);-webkit-backdrop-filter:blur(8px) saturate(140%);
  border:1px solid rgba(255,255,255,.2);color:var(--white);cursor:pointer;
  transition:background .25s var(--ease), transform .25s var(--ease);
}
.film-card__sound:hover{background:rgba(11,14,20,.78);transform:scale(1.06);}
.film-card__sound:focus-visible{outline:2px solid var(--blue);outline-offset:2px;}
.film-card__sound.is-unmuted{background:var(--blue);border-color:transparent;}
.film-card__sound.is-unmuted:hover{background:var(--blue-dim);}
.film-caption{margin:24px auto 0;max-width:60ch;text-align:center;font-size:16px;color:var(--gray-700);}

/* ---------- Video frame: ambient clip as the right column of a .split grid (e.g. How it works) ---------- */
.video-frame{
  position:relative;width:100%;aspect-ratio:1/1;border-radius:28px;overflow:hidden;
  background:var(--gray-100);
  box-shadow:0 32px 64px -30px rgba(11,14,20,.32),0 10px 24px -12px rgba(11,14,20,.18);
}
.video-frame__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:var(--ink);}
@media (max-width:640px){.video-frame{aspect-ratio:4/3;}}

.section-tagline{
  margin-top:56px;padding-top:36px;border-top:1px solid var(--gray-100);
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;
}
.section-tagline p{font-size:22px;font-weight:600;color:var(--ink);letter-spacing:-0.01em;}
.section-tagline p em{font-style:normal;color:var(--blue);}
@media (max-width:640px){.section-tagline{padding-top:28px;}.section-tagline p{font-size:19px;}}

/* ---------- Section scientific-motif background (mission) ---------- */
.section--motif{position:relative;overflow:hidden;}
.section--motif::before{
  content:'';position:absolute;top:0;right:0;width:52%;height:100%;pointer-events:none;
  background-image:
    radial-gradient(rgba(24,80,225,.08) 1.5px, transparent 1.5px),
    radial-gradient(rgba(188,225,56,.12) 1.5px, transparent 1.5px);
  background-size:34px 34px, 34px 34px;
  background-position:0 0, 17px 17px;
  -webkit-mask-image:radial-gradient(ellipse 70% 80% at 75% 50%, #000 0%, transparent 75%);
  mask-image:radial-gradient(ellipse 70% 80% at 75% 50%, #000 0%, transparent 75%);
}

/* ---------- Team profile cards ---------- */
.team-card{
  position:relative;background:var(--white);border:1px solid var(--gray-100);border-radius:20px;
  padding:30px 26px;display:flex;flex-direction:column;height:100%;
  transition:box-shadow .35s var(--ease);
}
.team-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(135deg,rgba(24,80,225,.4),rgba(188,225,56,.4));
  -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 .35s var(--ease);
}
.team-card:hover{box-shadow:0 28px 48px -26px rgba(11,14,20,.22);}
.team-card:hover::before{opacity:1;}
.team-card__avatar{
  width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-size:16px;font-weight:700;color:var(--white);margin-bottom:18px;letter-spacing:.02em;
  background:linear-gradient(135deg,var(--blue),var(--teal));
  box-shadow:0 10px 20px -10px rgba(15,158,142,.4);
}
.team-card h3{font-size:17px;margin-bottom:6px;}
.team-card p{font-size:13.5px;color:var(--gray-500);margin-top:2px;}
.team-card p.team-card__bio{margin-top:12px;color:var(--gray-700);font-size:13.5px;line-height:1.6;padding-top:12px;border-top:1px solid var(--gray-100);}
.team-card__group{margin-bottom:64px;}
.team-card__group:last-child{margin-bottom:0;}

/* ---------- Partner ecosystem: real logo cards, even grid, restrained ---------- */
.card--partner{position:relative;text-align:center;}
.partner-logo{
  display:block;height:52px;width:auto;max-width:100%;margin:0 auto 22px;object-fit:contain;
}
.card--partner h3{font-size:17px;}
.card--partner .tag{margin-top:10px;margin-bottom:14px;margin-right:0;}
.card--partner p{font-size:14px;}
.grid-partners{grid-template-columns:repeat(5,1fr);}
@media (max-width:1100px){.grid-partners{grid-template-columns:repeat(3,1fr);}}
@media (max-width:640px){.grid-partners{grid-template-columns:1fr;}}
.partners-disclaimer{margin-top:32px;font-size:12.5px;color:var(--gray-500);text-align:center;}

/* ---------- Contact icons ---------- */
.contact-icon{
  width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:rgba(24,80,225,.1);color:var(--blue);margin-bottom:18px;flex:none;
}
.contact-icon svg{width:19px;height:19px;}

/* ---------- Accent section ambient motion ---------- */
.section--accent{position:relative;overflow:hidden;}
.section--accent .accent-blob{
  position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none;z-index:0;
  animation:meshDrift 26s ease-in-out infinite;
}
.section--accent .accent-blob--1{width:34vw;height:34vw;left:-8vw;top:-14vw;background:radial-gradient(circle,rgba(24,80,225,.16),transparent 70%);}
.section--accent .accent-blob--2{width:30vw;height:30vw;right:-8vw;bottom:-16vw;background:radial-gradient(circle,rgba(188,225,56,.16),transparent 70%);animation-delay:-13s;}
.section--accent .wrap{position:relative;z-index:1;}

/* ---------- Focus visibility ---------- */
a:focus-visible,button:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:8px;}

/* ---------- Skip link (WCAG 2.4.1 Bypass Blocks) ---------- */
.skip-link{
  position:absolute;top:-48px;left:12px;z-index:1000;
  background:var(--ink);color:var(--white);font-size:14px;font-weight:600;
  padding:12px 20px;border-radius:8px;transition:top .2s ease;
}
.skip-link:focus{top:12px;}

@media (prefers-reduced-motion:reduce){
  .hero__mesh::before,.hero__mesh::after,.product-figure img,.product-figure__sweep::after,
  .hero__scroll-cue span,.accent-blob,.marquee__track,.hero__particles span{animation:none!important;}
  .hero__particles{display:none!important;}
  .hero__content [data-cine-text],.hero__scroll-cue{opacity:1!important;transform:none!important;animation:none!important;}
  .narrative-beat{opacity:1!important;transform:none!important;transition:none!important;}
  .narrative-track__progress{transform:scaleY(1)!important;}
  .video-panel__video{transition:none!important;}
  .pathway-flow__node,.pathway-flow__line-progress{opacity:1!important;transform:none!important;transition:none!important;}
  .growth-chart__bar-fill,.growth-chart__line,.growth-chart__value{transition:none!important;}
}
@media (max-width:640px){
  .hero__scroll-cue{display:none;}
}

/* ---------- Sections generic ---------- */
.section{padding:120px 32px;}
.section--tight{padding:80px 32px;}
.section--accent{
  background:linear-gradient(160deg,#eef3fd 0%,#f6f8fc 100%);
  color:var(--ink);border-top:1px solid var(--gray-100);border-bottom:1px solid var(--gray-100);
}
.section--accent p{color:var(--gray-700);}
.section--gray{background:var(--gray-100);}
.section-head{max-width:640px;margin-bottom:64px;}
.section-head .eyebrow{margin-bottom:18px;}
.section-head h2{font-size:clamp(28px,4vw,44px);letter-spacing:-0.025em;}
.section-head p{margin-top:16px;font-size:17px;}

/* ---------- Legal pages (Legal Notice / Privacy Notice / Cookie Policy) ---------- */
.legal-header{padding:156px 32px 64px;background:linear-gradient(170deg,#f8faff 0%,var(--white) 46%,#f5f8ff 100%);}
.legal-header .wrap{max-width:820px;}
.legal-header h1{font-size:clamp(30px,4.4vw,46px);letter-spacing:-0.02em;line-height:1.15;}
.legal-header h1 small{display:block;margin-top:10px;font-size:.48em;font-weight:500;color:var(--gray-500);letter-spacing:0;text-transform:none;}
.legal-header .legal-updated{margin-top:24px;font-size:14.5px;color:var(--gray-500);}
.section--legal .section-head{max-width:760px;}
.legal-body{max-width:760px;}
.legal-body h3{font-size:19px;margin:28px 0 8px;color:var(--ink);}
.legal-body h3:first-child{margin-top:0;}
.legal-body p{margin-top:14px;}
.legal-body p:first-child{margin-top:0;}
.legal-body ul{margin:14px 0 0;padding-left:22px;}
.legal-body li{margin-top:10px;color:var(--gray-700);line-height:1.6;}
.legal-body a{color:var(--blue);text-decoration:underline;text-decoration-color:rgba(24,80,225,.35);}
.legal-note{margin-top:24px;background:var(--gray-100);border-radius:12px;padding:20px 24px;font-size:14.5px;color:var(--gray-700);}
.legal-note p{margin-top:8px;}
.legal-note p:first-child{margin-top:0;}
@media (max-width:640px){.legal-header{padding:132px 20px 48px;}}

.reveal{opacity:0;transform:translateY(36px);transition:opacity .9s var(--ease),transform .9s var(--ease);}
.reveal.in{opacity:1;transform:translateY(0);}
.product-figure.reveal{transform:translateY(20px) scale(.94);}
.product-figure.reveal.in{transform:translateY(0) scale(1);}
.reveal-stagger > *{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal-stagger.in > *{opacity:1;transform:translateY(0);}
.reveal-stagger.in > *:nth-child(1){transition-delay:.05s;}
.reveal-stagger.in > *:nth-child(2){transition-delay:.14s;}
.reveal-stagger.in > *:nth-child(3){transition-delay:.23s;}
.reveal-stagger.in > *:nth-child(4){transition-delay:.32s;}
.reveal-stagger.in > *:nth-child(5){transition-delay:.41s;}
.reveal-stagger.in > *:nth-child(6){transition-delay:.5s;}
.reveal-stagger.in > *:nth-child(7){transition-delay:.59s;}
.reveal-stagger.in > *:nth-child(8){transition-delay:.68s;}

/* ---------- Grids / cards ---------- */
.grid{display:grid;gap:24px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:920px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);} .grid-2{grid-template-columns:1fr;}}
@media (max-width:600px){.grid-3,.grid-4,.grid-2{grid-template-columns:1fr;}}

.card{
  background:var(--white);border:1px solid var(--gray-100);border-radius:var(--radius);
  padding:32px;transition:box-shadow .35s var(--ease),border-color .35s;
}
.card:hover{box-shadow:0 24px 48px -24px rgba(11,14,20,.18);border-color:transparent;}
.card__icon{width:44px;height:44px;border-radius:12px;background:var(--gray-100);display:flex;align-items:center;justify-content:center;margin-bottom:20px;color:var(--blue);}
.card h3{font-size:19px;margin-bottom:10px;}
.card p{font-size:15px;}

.stat{padding:0;}
.stat__num{font-size:clamp(30px,4vw,48px);font-weight:700;letter-spacing:-0.03em;color:var(--ink);}
.stat__num span{color:var(--blue);}
.stat__label{margin-top:8px;font-size:14px;color:var(--gray-500);}
.stat__note{margin-top:6px;font-size:12px;color:var(--gray-500);font-style:italic;}

/* ---------- Animated 5-year growth chart (investor.html) ----------
   Bars + connecting line are plain CSS/SVG, no chart library. Bar heights
   (--h, 0-100) and the polyline points are pre-computed percentages of Year 5
   revenue (the model max) baked into the markup — Year 1's true 2.9% share is
   floored to 6% purely so it renders as a visible bar; the exact figure is
   always shown in the value label + detail panel, so nothing is misrepresented. */
.growth-chart{margin-top:12px;background:transparent;--chart-ease:cubic-bezier(.19,1,.22,1);}
.growth-chart__toggle{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:var(--gray-100);margin-bottom:32px;}
.growth-chart__toggle-btn{
  border:none;background:transparent;padding:8px 20px;border-radius:999px;font-size:13px;font-weight:600;
  color:var(--gray-500);cursor:pointer;transition:all .25s var(--ease);
}
.growth-chart__toggle-btn.is-active{background:var(--white);color:var(--ink);box-shadow:0 6px 16px -8px rgba(11,14,20,.25);}
.growth-chart__stage{position:relative;height:280px;margin-bottom:4px;background:transparent;}
/* Self-playing "video" build: JS steps a --line-clip custom property from
   100% -> 0% once per year (see js/main.js growthChart timeline), so the
   line draws in five synced segments instead of one single reveal. Eased
   with --chart-ease (a slow-settling "expo out" curve) instead of linear —
   matches the bar-fill/value transitions below for one continuous, fluid
   build rather than five discrete steps. */
.growth-chart__line{
  position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:2;pointer-events:none;
  --line-clip:100%;clip-path:inset(0 var(--line-clip) 0 0);
  transition:clip-path .75s var(--chart-ease);
  opacity:.85;
}
.growth-chart__bars{
  position:relative;z-index:1;display:grid;grid-template-columns:repeat(5,1fr);
  align-items:end;height:100%;gap:0;
}
.growth-chart__bar{
  border:none;background:transparent;cursor:pointer;display:flex;flex-direction:column;
  align-items:center;justify-content:flex-end;height:100%;padding:0 6px;font:inherit;
}
.growth-chart__bar-track{
  width:100%;max-width:64px;height:100%;display:flex;align-items:flex-end;
  background:linear-gradient(180deg,rgba(11,14,20,.03) 0%,rgba(11,14,20,.05) 100%);
  border-radius:16px 16px 6px 6px;
}
.growth-chart__bar-fill{
  position:relative;width:100%;height:0;border-radius:16px 16px 6px 6px;
  background:linear-gradient(180deg,#8fb0f7 0%,var(--blue) 58%,var(--blue-dim) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 18px 34px -20px rgba(24,80,225,.55);
  transition:height .75s var(--chart-ease);
}
/* Each bar is "built" individually by JS on its own step of the timeline
   (data-growth-chart's playTimeline), not all at once — that per-bar stagger
   is what makes the reveal read as a video building year by year. Steps now
   overlap slightly (js/main.js STEP_MS < this transition's duration) so the
   five bars cascade into one fluid wave instead of five separate jumps. */
.growth-chart__bar.is-built .growth-chart__bar-fill{height:calc(var(--h) * 1%);}
.growth-chart__value{
  position:absolute;bottom:100%;left:50%;transform:translateX(-50%) translateY(4px);margin-bottom:10px;
  font-size:14.5px;font-weight:700;letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:var(--ink);
  white-space:nowrap;opacity:0;transition:opacity .45s var(--chart-ease) .2s,transform .45s var(--chart-ease) .2s;
}
.growth-chart__bar.is-built .growth-chart__value{opacity:1;transform:translateX(-50%) translateY(0);}
.growth-chart__bar.is-selected .growth-chart__bar-fill{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 0 2px var(--blue),0 18px 34px -18px rgba(24,80,225,.65);}
.growth-chart__bar:hover .growth-chart__bar-fill,.growth-chart__bar:focus-visible .growth-chart__bar-fill{filter:brightness(1.06);}
.growth-chart__axis{margin-top:14px;font-size:12.5px;font-weight:500;letter-spacing:.01em;color:var(--gray-500);}
.growth-chart__detail{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;padding:20px 2px 0;margin-top:12px;
  background:transparent;border-top:1px solid var(--gray-200,rgba(11,14,20,.08));
}
.growth-chart__detail-period{font-size:12.5px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--blue);}
.growth-chart__detail-rev{font-size:23px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink);}
.growth-chart__detail-tests{font-size:13.5px;color:var(--gray-500);}
.growth-chart__source{margin-top:16px;font-size:12px;color:var(--gray-500);font-style:italic;max-width:72ch;}
@media (max-width:640px){
  .growth-chart__stage{height:220px;}
  .growth-chart__bar-track{max-width:40px;}
  .growth-chart__value{font-size:12px;}
  .growth-chart__detail{padding:16px 18px;}
}

.tag{display:inline-block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;
  padding:4px 10px;border-radius:999px;background:var(--gray-100);color:var(--gray-700);margin-right:6px;margin-bottom:6px;}
.tag--warn{background:#fff3d6;color:#8a5a00;}
.tag--ok{background:rgba(188,225,56,.25);color:#4d5f0e;}
.tag--blue{background:rgba(24,80,225,.1);color:var(--blue);}

.caveat{
  border-left:3px solid var(--gray-300);padding:14px 18px;background:var(--gray-100);
  border-radius:0 10px 10px 0;font-size:13.5px;color:var(--gray-700);margin-top:14px;
}
.caveat b{color:var(--ink);}

.divider{height:1px;background:var(--gray-100);margin:0 auto;max-width:var(--max);}

/* ---------- Timeline / evidence rows ---------- */
.evidence-row{
  display:grid;grid-template-columns:140px 1fr;gap:28px;padding:32px 0;
  border-bottom:1px solid var(--gray-100);align-items:start;
}
.evidence-row:first-of-type{border-top:1px solid var(--gray-100);}
.evidence-row__date{font-size:13px;font-weight:600;color:var(--gray-500);letter-spacing:.04em;text-transform:uppercase;padding-top:3px;}
.evidence-row h3{font-size:19px;margin-bottom:8px;}
.evidence-row p{font-size:15px;}
@media (max-width:640px){.evidence-row{grid-template-columns:1fr;gap:10px;}}

/* ---------- Footer ---------- */
.footer{background:var(--gray-100);color:var(--ink);padding:88px 32px 32px;border-top:1px solid var(--gray-100);position:relative;}
.footer::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,var(--blue),var(--lime));opacity:.7;
}
.footer__top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:48px;padding-bottom:56px;}
.footer h4{font-size:14px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:18px;color:var(--gray-500);font-weight:600;}
.footer__links{display:flex;flex-direction:column;gap:12px;}
.footer__links a{color:var(--gray-700);font-size:14.5px;transition:color .2s, transform .2s;display:inline-block;}
.footer__links a:hover{color:var(--blue);transform:translateX(2px);}
.footer__bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:28px;border-top:1px solid var(--gray-300);font-size:13px;color:var(--gray-500);}
.footer__brand{max-width:360px;}
.footer__brand>a{display:inline-block;}
.footer__brand img{display:block;height:48px;margin-bottom:18px;}
.footer__brand p{color:var(--gray-500);font-size:14.5px;line-height:1.65;}
.footer__legal-item{color:var(--gray-700);font-size:14.5px;line-height:1.6;}
.footer__placeholder{color:var(--gray-500);font-style:italic;}

/* ---------- misc ---------- */
.pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;}
@media (max-width:900px){.split{grid-template-columns:1fr;gap:40px;}}
.kicker-num{font-size:13px;font-weight:700;color:var(--blue);letter-spacing:.06em;}
.marquee{overflow:hidden;white-space:nowrap;border-top:1px solid var(--gray-100);border-bottom:1px solid var(--gray-100);padding:20px 0;}
.marquee__track{display:inline-flex;gap:64px;animation:marquee 28s linear infinite;}
.marquee__track span{font-size:14px;font-weight:600;color:var(--gray-500);text-transform:uppercase;letter-spacing:.06em;}
@keyframes marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* ---------- Leadership messages page (premium "message card" treatment) ---------- */
.msg-card h3{letter-spacing:-.01em;}
.msg-card{
  position:relative;background:var(--white);border:1px solid var(--gray-100);border-radius:26px;
  padding:40px;display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:start;
  box-shadow:0 1px 2px rgba(11,14,20,.04),0 24px 48px -34px rgba(11,14,20,.12);
  transition:box-shadow .4s var(--ease),transform .4s var(--ease);
}
.msg-card:hover{transform:translateY(-4px);box-shadow:0 2px 4px rgba(11,14,20,.05),0 40px 64px -28px rgba(11,14,20,.2);}
.msg-card__avatar{
  width:64px;height:64px;border-radius:20px;display:flex;align-items:center;justify-content:center;
  font-size:19px;font-weight:700;color:var(--white);letter-spacing:.02em;flex:none;
  background:linear-gradient(135deg,var(--blue),var(--teal));
  box-shadow:0 12px 22px -12px rgba(15,158,142,.45);
}
.msg-card__group .msg-card:nth-of-type(3n+2) .msg-card__avatar{background:linear-gradient(135deg,var(--teal),var(--blue-dim));box-shadow:0 12px 22px -12px rgba(24,80,225,.4);}
.msg-card__group .msg-card:nth-of-type(3n) .msg-card__avatar{background:linear-gradient(135deg,var(--blue-dim),var(--teal-dim));box-shadow:0 12px 22px -12px rgba(10,110,99,.45);}
.msg-card__avatar--photo{overflow:hidden;box-shadow:0 14px 28px -16px rgba(11,14,20,.22);}
.msg-card__avatar--photo img{width:100%;height:100%;object-fit:cover;object-position:center 14%;display:block;transition:transform .6s var(--ease);}
.msg-card:hover .msg-card__avatar--photo img{transform:scale(1.12);}
.msg-card__head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;}
.msg-card__head h3{font-size:18px;}
.msg-card__title{font-size:11.5px;text-transform:uppercase;letter-spacing:.07em;font-weight:600;color:var(--gray-500);margin-top:4px;}
.msg-card__body{position:relative;font-size:15px;color:var(--gray-700);margin-top:14px;line-height:1.7;padding-left:24px;}
.msg-card__body::before{
  content:'\201C';position:absolute;top:-14px;left:-4px;font-weight:700;font-size:52px;line-height:1;
  color:var(--blue);opacity:.14;pointer-events:none;
}
.msg-card__body p{margin:0;}
.msg-card__body p+p{margin-top:12px;}
.msg-card__group{display:grid;gap:28px;}
.msg-card--featured{grid-template-columns:180px 1fr;gap:32px;}
.msg-card--featured .msg-card__avatar--photo{width:180px;height:180px;border-radius:28px;}
.msg-card__person{display:flex;flex-direction:column;gap:14px;}
.msg-card__person .msg-card__identity h3{font-size:18px;}
.msg-card__person .msg-card__identity .msg-card__title{margin-top:0;}
.msg-card--featured .msg-card__body{margin-top:0;}
@media (max-width:640px){
  .msg-card{grid-template-columns:1fr;padding:26px 22px;}
  .msg-card__avatar{width:52px;height:52px;font-size:16px;}
  .msg-card__avatar--photo{width:112px;height:112px;border-radius:22px;}
  .msg-card__body{padding-left:16px;}
  .msg-card__body::before{font-size:36px;top:-10px;left:-2px;}
  .msg-card--featured{grid-template-columns:106px 1fr;gap:14px;}
  .msg-card--featured .msg-card__avatar--photo{width:106px;height:106px;border-radius:22px;}
  .msg-card--featured .msg-card__person{gap:8px;}
  .msg-card--featured .msg-card__identity h3{font-size:14px;line-height:1.3;}
  .msg-card--featured .msg-card__title{font-size:9.5px;letter-spacing:.05em;line-height:1.35;margin-top:1px;}
  .msg-card--featured .msg-card__body{font-size:13.5px;line-height:1.55;}
}

.msg-hero-card{
  position:relative;background:linear-gradient(170deg,#f8faff 0%,var(--white) 60%);
  border:1px solid var(--gray-100);border-radius:28px;padding:56px;overflow:hidden;
  box-shadow:0 1px 2px rgba(11,14,20,.03),0 48px 90px -48px rgba(11,14,20,.16);
}
.msg-hero-card::before{
  content:'';position:absolute;top:-20%;right:-10%;width:44%;height:80%;pointer-events:none;
  background:radial-gradient(circle,rgba(15,158,142,.12),transparent 70%);
}
.msg-hero-card::after{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,var(--blue),var(--lime));opacity:.6;
}
.msg-hero-card__top{display:flex;align-items:center;gap:28px;margin-bottom:32px;position:relative;z-index:1;}
.msg-hero-card__avatar{
  width:84px;height:84px;border-radius:20px;display:flex;align-items:center;justify-content:center;
  font-size:26px;font-weight:700;color:var(--white);flex:none;
  background:linear-gradient(135deg,var(--blue),var(--teal));box-shadow:0 16px 30px -14px rgba(15,158,142,.5);
}
.msg-hero-card__avatar--photo{width:152px;height:152px;border-radius:32px;overflow:hidden;background:none;box-shadow:0 24px 44px -20px rgba(11,14,20,.3);}
.msg-hero-card__avatar--photo img{width:100%;height:100%;object-fit:cover;object-position:center 14%;display:block;}
.msg-hero-card__name{font-size:22px;margin-bottom:4px;letter-spacing:-.01em;}
.msg-hero-card__role{font-size:13px;color:var(--gray-500);text-transform:uppercase;letter-spacing:.06em;font-weight:600;}
.msg-hero-card__body{position:relative;z-index:1;font-size:16.5px;color:var(--gray-700);line-height:1.75;}
.msg-hero-card__body p{margin-top:20px;color:inherit;font-size:inherit;line-height:inherit;}
.msg-hero-card__body p:first-child{margin-top:0;}
.msg-hero-card__sign{margin-top:32px;padding-top:24px;border-top:1px solid var(--gray-100);font-weight:600;color:var(--ink);font-size:15px;position:relative;z-index:1;}
.msg-hero-card__sign span{display:block;font-weight:400;color:var(--gray-500);font-size:13px;margin-top:2px;}
.pull-quote{
  position:relative;background:linear-gradient(135deg,rgba(24,80,225,.05),rgba(15,158,142,.05));
  border-radius:18px;padding:22px 26px 22px 58px;margin:28px 0;
  font-size:17px;font-weight:600;color:var(--ink);letter-spacing:-0.01em;line-height:1.55;
}
.pull-quote::before{
  content:'\201C';position:absolute;left:20px;top:6px;font-weight:700;font-size:40px;line-height:1;
  color:var(--blue);opacity:.35;
}
@media (max-width:640px){
  .msg-hero-card{padding:30px 24px;border-radius:24px;}
  .msg-hero-card__top{gap:16px;}
  .msg-hero-card__avatar{width:64px;height:64px;font-size:20px;}
  .msg-hero-card__avatar--photo{width:110px;height:110px;border-radius:24px;}
  .pull-quote{padding:18px 20px 18px 46px;border-radius:16px;}
  .pull-quote::before{font-size:32px;left:16px;top:4px;}
}

.unite-tagline{font-size:clamp(26px,3.6vw,40px);font-weight:600;letter-spacing:-0.02em;color:var(--ink);text-align:center;max-width:760px;margin:0 auto;line-height:1.3;}
.unite-tagline em{font-style:normal;color:var(--blue);}

.loader{position:fixed;inset:0;z-index:9999;background:var(--white);display:flex;align-items:center;justify-content:center;transition:opacity .6s var(--ease), visibility .6s;}
.loader.hide{opacity:0;visibility:hidden;pointer-events:none;}
.loader__mark{width:10px;height:10px;border-radius:50%;background:var(--blue);animation:pulse 1s ease-in-out infinite;}
@keyframes pulse{0%,100%{transform:scale(1);opacity:1;}50%{transform:scale(1.8);opacity:.4;}}

/* ---------- Mobile gutters (placed last so it wins the cascade over every
   base .section/.card/.footer/.hero__cinematic-text rule above, regardless
   of source order) ---------- */
@media (max-width:640px){
  .product-figure{padding:24px;}
  .wrap{padding:0 20px;}
  .nav{padding:16px 20px;}
  .nav.scrolled{padding:10px 20px;}
  .hero{padding:120px 20px 64px;}
  .hero__cinematic-text{padding:120px 20px 90px;}
  .section{padding:72px 20px;}
  .section--tight{padding:56px 20px;}
  .footer{padding:64px 20px 24px;}
  .card{padding:22px;}
  .team-card{padding:24px 20px;}
}
@media (max-width:430px){
  .wrap{padding:0 16px;}
  .nav{padding:14px 16px;}
  .nav.scrolled{padding:10px 16px;}
  .hero{padding:110px 16px 56px;}
  .hero__cinematic-text{padding:110px 16px 80px;}
  .section{padding:64px 16px;}
  .section--tight{padding:48px 16px;}
  .footer{padding:56px 16px 24px;}
  .product-figure{padding:16px;}
}

@media (max-width:900px){
  .film-card{max-width:min(72vw,320px);}
}

/* ---------- Closing CTA band (site-wide "Get in touch" closer) ---------- */
.cta-band{
  background:var(--ink);border-radius:var(--radius);
  padding:64px 48px;text-align:center;color:var(--white);
}
.cta-band h2{color:var(--white);font-size:clamp(24px,3vw,34px);letter-spacing:-0.02em;}
.cta-band p{color:var(--gray-300);margin:12px auto 0;font-size:16px;max-width:520px;}
.cta-band__actions{margin-top:28px;display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.cta-band .btn-primary{background:var(--white);color:var(--ink);}
.cta-band .btn-primary:hover{background:var(--blue);color:var(--white);}
.cta-band .btn-ghost{border-color:rgba(255,255,255,.35);color:var(--white);}
.cta-band .btn-ghost:hover{border-color:var(--white);}
@media (max-width:640px){.cta-band{padding:48px 24px;}}

/* ---------- Investor deck download + inline viewer (investor.html) ---------- */
.deck-actions{display:flex;gap:16px;flex-wrap:wrap;margin:8px 0 32px;}
.deck-viewer{
  position:relative;width:100%;aspect-ratio:1/1.3;max-height:900px;
  border-radius:var(--radius);overflow:hidden;border:1px solid var(--gray-100);
  background:var(--gray-100);box-shadow:0 24px 48px -32px rgba(11,14,20,.18);
}
.deck-viewer iframe{width:100%;height:100%;border:0;display:block;}
.deck-viewer__mobile-note{display:none;}
@media (max-width:760px){
  .deck-viewer{display:none;}
  .deck-viewer__mobile-note{
    display:block;background:var(--gray-100);border-radius:var(--radius);
    padding:28px 24px;text-align:center;font-size:15px;color:var(--gray-700);
  }
  .deck-viewer__mobile-note a{color:var(--blue);font-weight:600;}
}
