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

:root{
  --bg:#000d2c;
  --surface:rgba(255,255,255,0.06);
  --text:#f4f7fc;
  --text-dim:rgba(244,247,252,0.58);
  --accent:#0052F5;
  --accent-soft:#bbbbff;
  --deck-navy:#000d2c;
  --font:'Plus Jakarta Sans',system-ui,sans-serif;
  --c-light:#fff;
  --c-dark:#000;
  --grl:0.24;
  --grd:0.72;
}

html,body{width:100%;height:100%;overflow:hidden;font-family:var(--font);background:var(--bg);color:var(--text);}

/* ══════════════════════════════
   CURSOR (fine pointer only)
══════════════════════════════ */
@media (pointer:fine){
  body.deck-cursor-on{cursor:none;}
  #cursor-dot{
    width:8px;height:8px;
    background:#bbbbff;
    border-radius:50%;
    position:fixed;top:0;left:0;
    pointer-events:none;z-index:9999;
    transform:translate(-50%,-50%);
    transition:width .2s,height .2s,background .2s;
    mix-blend-mode:exclusion;
  }
  #cursor-ring{
    width:36px;height:36px;
    border:1.5px solid rgba(187,187,255,0.45);
    border-radius:50%;
    position:fixed;top:0;left:0;
    pointer-events:none;z-index:9998;
    transform:translate(-50%,-50%);
    transition:width .3s,height .3s,border-color .3s;
  }
  body.deck-cursor-on:has(.nav-item:hover) #cursor-dot,
  body.deck-cursor-on:has(.s2-team__roster-item:hover) #cursor-dot,
  body.deck-cursor-on:has(.s8-thumb:hover) #cursor-dot,
  body.deck-cursor-on:has(.s8-group-btn:hover) #cursor-dot,
  body.deck-cursor-on:has(.s2-team__thumb:hover) #cursor-dot{
    width:14px;height:14px;
    background:var(--accent);
  }
  body.deck-cursor-on:has(.nav-item:hover) #cursor-ring,
  body.deck-cursor-on:has(.s8-thumb:hover) #cursor-ring,
  body.deck-cursor-on:has(.s8-group-btn:hover) #cursor-ring,
  body.deck-cursor-on:has(.s2-team__roster-item:hover) #cursor-ring{
    width:56px;height:56px;
    border-color:var(--accent);
  }
}

/* ══════════════════════════════
   AURORA + NOISE
══════════════════════════════ */
.deck-aurora{
  position:fixed;
  left:72px;top:0;right:0;bottom:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}
.deck-aurora-blob{
  position:absolute;
  border-radius:50%;
  filter:blur(80px);
  opacity:0.12;
  animation:deckAuroraDrift 16s ease-in-out infinite alternate;
}
.deck-aurora-blob:nth-child(1){
  width:65vw;height:55vh;
  background:radial-gradient(circle,#bbbbff 0%,transparent 70%);
  top:-18%;left:-8%;
  animation-duration:14s;
}
.deck-aurora-blob:nth-child(2){
  width:48vw;height:62vh;
  background:radial-gradient(circle,#0052f5 0%,transparent 70%);
  top:18%;right:-12%;
  animation-duration:18s;
  animation-delay:-6s;
}
.deck-aurora-blob:nth-child(3){
  width:50vw;height:48vh;
  background:radial-gradient(circle,rgba(255,80,160,0.9) 0%,transparent 70%);
  bottom:-8%;left:28%;
  animation-duration:20s;
  animation-delay:-3s;
}
@keyframes deckAuroraDrift{
  0%{transform:translate(0,0) scale(1);}
  33%{transform:translate(5vw,-3vh) scale(1.06);}
  66%{transform:translate(-3vw,4vh) scale(0.96);}
  100%{transform:translate(2vw,1vh) scale(1.04);}
}
body.dark-mode .deck-aurora-blob{opacity:0.2;}
body:not(.dark-mode) .deck-aurora-blob{opacity:0.14;}

.deck-noise{
  position:fixed;
  left:72px;top:0;right:0;bottom:0;
  z-index:1;
  opacity:0.04;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:200px 200px;
}

/* ══════════════════════════════
   SCAN LINE (all slides)
══════════════════════════════ */
.deck-scan{
  position:fixed;
  left:72px;
  top:0;
  right:0;
  bottom:0;
  pointer-events:none;
  z-index:180;
  overflow:hidden;
}
.deck-scan::before{
  content:'';
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0,40,120,0.035) 2px,
    rgba(0,40,120,0.035) 4px
  );
  opacity:0.45;
}
.deck-scan__line{
  position:absolute;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(187,187,255,0.12) 20%,
    rgba(0,82,245,0.28) 50%,
    rgba(187,187,255,0.12) 80%,
    transparent 100%
  );
  box-shadow:0 0 12px rgba(187,187,255,0.15);
  animation:deckScanSweep 7s linear infinite;
}
@keyframes deckScanSweep{
  0%{top:-3%;opacity:0;}
  4%{opacity:0.85;}
  96%{opacity:0.85;}
  100%{top:103%;opacity:0;}
}
/* Slide 03 — keep cardbeam / GIF background pure #000d2c (no aurora tint) */
body.deck-mission-active .deck-aurora,
body.deck-mission-active .deck-noise,
body.deck-mission-active .deck-scan{
  opacity:0 !important;
  visibility:hidden;
  transition:opacity 0.45s ease, visibility 0.45s ease;
}
body.deck-mission-active #wireCanvas{
  opacity:0 !important;
  transition:opacity 0.45s ease;
}

body.dark-mode .deck-scan::before{
  background:repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(187,187,255,0.04) 2px,
    rgba(187,187,255,0.04) 4px
  );
}

/* ══════════════════════════════
   GLITCH TEXT (burst — calm most of the time)
══════════════════════════════ */
.glitch{
  position:relative;
  animation:glitchMain 6s infinite;
}
.glitch--light{color:var(--text);}
.glitch--dark{color:#fff;}
.glitch::before,
.glitch::after{
  content:attr(data-text);
  position:absolute;
  top:0;left:0;
  width:100%;height:100%;
  font-family:inherit;
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
  letter-spacing:inherit;
  pointer-events:none;
  white-space:inherit;
}
.glitch--light::before{color:#ff2a55;}
.glitch--light::after{color:#bbbbff;}
.glitch--dark::before{color:#ff6ef7;}
.glitch--dark::after{color:#5eadff;}
.glitch::before{
  clip-path:polygon(0 28%,100% 28%,100% 44%,0 44%);
  animation:glitchBefore 6s infinite;
}
.glitch::after{
  clip-path:polygon(0 62%,100% 62%,100% 78%,0 78%);
  animation:glitchAfter 6s infinite;
}
@keyframes glitchMain{
  0%,94%,100%{transform:none;}
  95%{transform:skewX(-0.4deg);}
  96%{transform:skewX(0.5deg) translateX(-2px);}
  97%{transform:none;}
  98%{transform:translateX(2px);}
  99%{transform:skewX(-0.2deg);}
}
@keyframes glitchBefore{
  0%,94%,100%{transform:none;opacity:0;}
  95%{transform:translateX(-5px);opacity:0.65;}
  96%{transform:translateX(3px) scaleY(1.01);opacity:0.65;}
  97%{transform:none;opacity:0;}
  98%,99%{transform:translateX(-2px);opacity:0.35;}
}
@keyframes glitchAfter{
  0%,95%,100%{transform:none;opacity:0;}
  96%{transform:translateX(5px);opacity:0.65;}
  97%{transform:translateX(-3px);opacity:0.65;}
  98%{transform:none;opacity:0;}
  99%{transform:translateX(2px);opacity:0.3;}
}

@media (prefers-reduced-motion:reduce){
  .deck-scan__line,
  .glitch,
  .glitch::before,
  .glitch::after,
  .s4-glitch-img > .s4-problem-hero-img:not(.s4-glitch-img-ghost),
  .s4-glitch-img-ghost,
  .deck-aurora-blob,
  .s1-logo-wrap.fx-brand::before,
  .s1-sym-wrap.fx-brand::before{
    animation:none !important;
    opacity:0;
  }
  #gagingLogo,
  #gagingSym{
    animation:logoReveal 1.2s ease forwards, symReveal 1s ease 1.5s forwards;
  }
  .deck-scan::before{opacity:0.25;}
  .s4-glitch-img > .s4-problem-hero-img:not(.s4-glitch-img-ghost),
  .s4-glitch-img-ghost{animation:none !important;}
  body.deck-cursor-on{cursor:auto;}
  #cursor-dot,#cursor-ring{display:none;}
}

/* ══════════════════════════════
   WIREFRAME CANVAS
══════════════════════════════ */
#wireCanvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.6;}

/* ══════════════════════════════
   SIDE NAV
══════════════════════════════ */
.sidenav{
  position:fixed;left:0;top:0;bottom:0;
  width:72px;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:6px;
  z-index:200;
  padding:20px 0;
}

/* Glass panel for sidenav */
.sidenav::before{
  content:'';
  position:absolute;inset:12px 8px;
  border-radius:20px;
  background:color-mix(in srgb,rgba(187,187,188,1) 14%,transparent);
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--grl)*10%),transparent),
    inset 1.5px 2.5px 0px -2px color-mix(in srgb,var(--c-light) calc(var(--grl)*85%),transparent),
    inset -1px -2px 0px -2px color-mix(in srgb,var(--c-light) calc(var(--grl)*70%),transparent),
    0px 4px 20px 0px color-mix(in srgb,var(--c-dark) calc(var(--grd)*8%),transparent);
}

.nav-item{
  position:relative;z-index:1;
  width:44px;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  padding:10px 0;
  cursor:pointer;
  border-radius:12px;
  transition:all .3s ease;
}

.nav-num{
  font-size:10px;font-weight:700;letter-spacing:0.5px;
  color:var(--text-dim);
  transition:color .3s ease;
}

.nav-dot{
  width:4px;height:4px;border-radius:50%;
  background:rgba(0,0,0,0.12);
  transition:all .3s ease;
}

.nav-label{
  font-size:7px;letter-spacing:1.5px;font-weight:600;
  color:transparent;
  white-space:nowrap;
  transition:all .3s ease;
  max-width:0;overflow:hidden;
  position:absolute;left:54px;
  background:color-mix(in srgb,rgba(187,187,188,1) 18%,transparent);
  backdrop-filter:blur(16px);
  padding:0;border-radius:8px;
  pointer-events:none;
}

.nav-item:hover .nav-label{
  color:var(--text-dim);
  max-width:120px;
  padding:5px 10px;
}

.nav-item.active .nav-num{color:var(--accent);}
.nav-item.active .nav-dot{
  background:var(--accent);
  width:16px;border-radius:2px;
  box-shadow:0 0 8px rgba(0,82,245,0.3);
}

.nav-divider{
  position:relative;z-index:1;
  width:20px;height:1px;
  background:rgba(0,0,0,0.08);
  margin:4px 0;
}

/* LOGO in nav */
.nav-logo{
  position:relative;z-index:1;
  font-size:7px;font-weight:800;letter-spacing:3px;
  color:var(--accent);
  writing-mode:vertical-rl;
  margin-bottom:12px;
}

/* ══════════════════════════════
   SLIDES CONTAINER
══════════════════════════════ */
.slides{
  position:fixed;
  left:72px;top:0;right:0;bottom:0;
  overflow:hidden;
}

.slide{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  background:var(--deck-navy);
  color:var(--text);
  opacity:0;
  pointer-events:none;
  transition:opacity .7s ease, transform .7s cubic-bezier(0.25,0.46,0.45,0.94);
  transform:translateY(30px);
}
.slide.active{
  opacity:1;pointer-events:all;
  transform:translateY(0);
}
.slide.exit-up{transform:translateY(-30px);opacity:0;}

/* ══════════════════════════════
   GLASS CARD MIXIN
══════════════════════════════ */
.glass{
  background:color-mix(in srgb,rgba(187,187,188,1) 14%,transparent);
  backdrop-filter:blur(24px) saturate(160%);
  -webkit-backdrop-filter:blur(24px) saturate(160%);
  border-radius:24px;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--grl)*10%),transparent),
    inset 1.8px 3px 0px -2px color-mix(in srgb,var(--c-light) calc(var(--grl)*90%),transparent),
    inset -2px -2px 0px -2px color-mix(in srgb,var(--c-light) calc(var(--grl)*80%),transparent),
    inset -3px -8px 1px -6px color-mix(in srgb,var(--c-light) calc(var(--grl)*60%),transparent),
    inset -0.3px -1px 4px 0px color-mix(in srgb,var(--c-dark) calc(var(--grd)*12%),transparent),
    inset -1.5px 2.5px 0px -2px color-mix(in srgb,var(--c-dark) calc(var(--grd)*20%),transparent),
    inset 0px 3px 4px -2px color-mix(in srgb,var(--c-dark) calc(var(--grd)*20%),transparent),
    inset 2px -6.5px 1px -4px color-mix(in srgb,var(--c-dark) calc(var(--grd)*10%),transparent),
    0px 1px 5px 0px color-mix(in srgb,var(--c-dark) calc(var(--grd)*10%),transparent),
    0px 8px 32px 0px color-mix(in srgb,var(--c-dark) calc(var(--grd)*7%),transparent);
}

.glass-accent{
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--grl)*10%),transparent),
    inset 1.8px 3px 0px -2px color-mix(in srgb,var(--c-light) calc(var(--grl)*90%),transparent),
    inset -2px -2px 0px -2px color-mix(in srgb,var(--c-light) calc(var(--grl)*80%),transparent),
    inset -3px -8px 1px -6px color-mix(in srgb,var(--c-light) calc(var(--grl)*60%),transparent),
    inset -0.3px -1px 4px 0px color-mix(in srgb,var(--c-dark) calc(var(--grd)*12%),transparent),
    inset -1.5px 2.5px 0px -2px color-mix(in srgb,var(--c-dark) calc(var(--grd)*20%),transparent),
    0px 12px 48px 0px color-mix(in srgb,#0052f5 10%,transparent),
    0px 4px 16px 0px color-mix(in srgb,var(--c-dark) calc(var(--grd)*8%),transparent);
}

/* pill label */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 20px;
  border-radius:99px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.24em;
  color:var(--accent-soft,#bbbbff);
  background:rgba(0,82,245,0.28);
  border:1px solid rgba(187,187,255,0.48);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 0 1px 0 rgba(187,187,255,0.22),
    0 0 22px rgba(0,82,245,0.6),
    0 0 44px rgba(0,82,245,0.32),
    0 4px 18px rgba(0,13,44,0.35);
}

/* Headline after pill — reference: slide 04 (THE PROBLEM) */
.deck-slide-title{
  margin:0;
  color:var(--text);
  white-space:normal;
  line-height:1.14;
  max-width:min(920px,94vw);
  font-size:clamp(26px,3.2vw,44px);
  font-weight:600;
  letter-spacing:-0.02em;
  text-align:center;
  display:block;
  overflow:visible;
  text-wrap:balance;
}
.deck-slide-title span{
  color:#bbbbff !important;
  font-weight:600;
}
.s4-problem-head,
.s4-header,
.s6-header,
.s7-header,
.s7-tam__head,
.s8-head,
.s09-head,
.s10-head,
.s11-head,
.s25-head,
.ph-slide{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:clamp(16px,2.5vh,24px);
}
.s4-header{margin-bottom:4px;}
.s6-header,
.s7-header{grid-column:1/-1;margin-bottom:4px;}
.ph-slide > .deck-slide-title{margin-top:0;}

/* ══════════════════════════════
   SLIDE 1 — COVER
══════════════════════════════ */
.s1-content{
  display:flex;flex-direction:column;
  justify-content:center;
  padding:0 80px;
  width:100%;height:100%;
}
.s1-tag{margin-bottom:32px;}
.s1-title{
  font-size:clamp(52px,7vw,88px);
  font-weight:800;line-height:1;
  color:var(--text);
  margin-bottom:28px;
}
.s1-title span{color:var(--accent);}
.s1-sub{
  font-size:18px;font-weight:400;color:var(--text-dim);
  max-width:480px;line-height:1.6;margin-bottom:48px;
}
.s1-cta{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 28px;border-radius:99px;
  font-size:13px;font-weight:700;letter-spacing:1px;
  color:white;background:var(--accent);
  cursor:pointer;border:none;
  box-shadow:0 8px 24px rgba(0,82,245,0.25);
  transition:transform .2s ease,box-shadow .2s ease;
}
.s1-cta:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(0,82,245,0.35);}
.s1-cta svg{width:16px;height:16px;}

/* Right avatar */
.s1-avatar{
  position:absolute;right:0;bottom:0;
  width:50%;height:90%;
  display:flex;align-items:flex-end;justify-content:center;
  pointer-events:none;
}
.s1-avatar img{
  height:100%;object-fit:contain;
  filter:drop-shadow(0 20px 60px rgba(0,82,245,0.1));
}

/* Stats row */
.s1-stats{
  display:flex;gap:20px;
  margin-top:8px;
}
.stat-card{
  padding:16px 22px;border-radius:16px;
}
.stat-num{font-size:26px;font-weight:800;color:var(--text);}
.stat-num span{font-size:14px;color:var(--accent);}
.stat-lbl{font-size:10px;font-weight:500;letter-spacing:1px;color:var(--text-dim);margin-top:2px;}

/* ══════════════════════════════
   SLIDE 04 — PROBLEM
══════════════════════════════ */
.slide[data-index="3"]{
  background:var(--deck-navy);
}
.s4-problem-layout{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(12px,2vh,24px);
  padding:clamp(48px,7vh,72px) 56px 0 80px;
  width:100%;
  height:100%;
  box-sizing:border-box;
}
.s4-problem-head{
  text-align:center;
  pointer-events:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(16px,2.5vh,24px);
  max-width:min(820px,100%);
  flex-shrink:0;
  z-index:10;
}
.s4-problem-hero{
  flex:1;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  width:100%;
  max-width:min(980px,96vw);
  min-height:0;
}
.s4-glitch-img{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  width:100%;
  height:100%;
}
.s4-problem-hero-img{
  display:block;
  width:auto;
  max-width:100%;
  max-height:min(70vh,720px);
  height:auto;
  object-fit:contain;
  object-position:center bottom;
  filter:none;
}
.s4-glitch-img > .s4-problem-hero-img{
  position:relative;
  z-index:2;
}
.s4-glitch-img-ghost{
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  pointer-events:none;
  opacity:0;
  z-index:1;
}
.s4-glitch-img-ghost--a{
  mix-blend-mode:screen;
  filter:sepia(1) saturate(8) hue-rotate(300deg) brightness(1.1);
  animation:s4ImgGlitchGhostA 6s infinite;
}
.s4-glitch-img-ghost--b{
  mix-blend-mode:screen;
  filter:sepia(1) saturate(8) hue-rotate(180deg) brightness(1.1);
  animation:s4ImgGlitchGhostB 6s infinite;
}
@keyframes s4ImgGlitchMain{
  0%,94%,100%{transform:none;filter:none;}
  95%{transform:translateX(-4px) skewX(-0.5deg);}
  96%{transform:translateX(3px) skewX(0.4deg);}
  97%{transform:none;}
  98%{transform:translateX(-2px);}
  99%{transform:skewX(-0.2deg);}
}
@keyframes s4ImgGlitchGhostA{
  0%,94%,100%{opacity:0;transform:translateX(-50%);}
  95%{opacity:0.55;transform:translateX(calc(-50% - 6px));}
  96%{opacity:0.45;transform:translateX(calc(-50% + 4px));}
  97%,98%{opacity:0;}
  99%{opacity:0.3;transform:translateX(calc(-50% - 3px));}
}
@keyframes s4ImgGlitchGhostB{
  0%,95%,100%{opacity:0;transform:translateX(-50%);}
  96%{opacity:0.55;transform:translateX(calc(-50% + 6px));}
  97%{opacity:0.45;transform:translateX(calc(-50% - 4px));}
  98%{opacity:0.35;transform:translateX(calc(-50% + 3px));}
  99%{opacity:0;}
}

/* ══════════════════════════════
   SLIDE 2 — PROBLEM (legacy stats grid)
══════════════════════════════ */
.s2-grid{
  display:grid;grid-template-columns:1fr 1fr 1fr;
  gap:20px;padding:0 60px;width:100%;
}
.s2-big{
  padding:40px 36px;border-radius:28px;
}
.s2-big-num{
  font-size:80px;font-weight:800;line-height:1;
  color:var(--text);margin-bottom:8px;
}
.s2-big-num span{color:var(--accent);}
.s2-big-label{font-size:13px;color:var(--text-dim);line-height:1.5;margin-top:12px;}
.s2-big-title{font-size:18px;font-weight:700;color:var(--text);margin-top:20px;}
.s2-section-title{
  grid-column:1/-1;
  padding:0 0 8px;
}
.s2-section-title h2{font-size:42px;font-weight:800;color:var(--text);}
.s2-section-title h2 span{color:var(--accent);}

/* ══════════════════════════════
   SLIDE 3 — SOLUTION
══════════════════════════════ */
.s3-layout{
  display:grid;grid-template-columns:1fr 1.1fr;
  gap:24px;padding:0 60px;width:100%;align-items:start;
}
.s3-header{grid-column:1/-1;margin-bottom:4px;}
.s3-header h2{font-size:42px;font-weight:800;color:var(--text);}
.s3-header h2 span{color:var(--accent);}
.s3-points{display:flex;flex-direction:column;gap:16px;}
.s3-point{
  padding:22px 24px;border-radius:20px;
  display:flex;gap:18px;align-items:flex-start;
}
.s3-icon{
  width:36px;height:36px;border-radius:10px;
  background:rgba(0,82,245,0.1);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;flex-shrink:0;margin-top:2px;
}
.s3-pt-title{font-size:15px;font-weight:700;color:var(--text);margin-bottom:4px;}
.s3-pt-body{font-size:12px;color:var(--text-dim);line-height:1.5;}
.s3-right{
  padding:32px;border-radius:28px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:340px;text-align:center;
}
.s3-right-big{font-size:62px;font-weight:800;color:var(--text);line-height:1;}
.s3-right-big span{color:var(--accent);}
.s3-right-sub{font-size:13px;color:var(--text-dim);margin-top:12px;line-height:1.5;}

/* ══════════════════════════════
   SLIDE 05 — SOLUTION (simple triptych)
══════════════════════════════ */
.slide[data-index="4"]{
  background:var(--deck-navy);
  --s5-accent:var(--accent);
  --s5-lilac:#bbbbff;
  --s5-dim:rgba(244,247,252,0.45);
  --s5-navy:var(--accent-soft);
  --s5-ink:var(--text);
}
.s5-layout{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(2px,0.5vh,8px);
  width:100%;
  height:100%;
  padding:clamp(24px,3.5vh,40px) 56px 0 80px;
  box-sizing:border-box;
}
.slide[data-index="4"] .s4-problem-head{
  margin-bottom:0;
  gap:clamp(6px,0.9vh,10px);
  flex:0 1 auto;
  min-height:0;
  overflow:visible;
}
.slide[data-index="4"] .s5-solution-title.deck-slide-title{
  display:block;
  -webkit-line-clamp:unset;
  line-clamp:unset;
  overflow:visible;
}
.s5-solution-title{
  max-width:min(880px,92vw);
}
.s5-solution-title__line{
  display:block;
  width:100%;
  overflow:visible;
}
.slide[data-index="4"] .s5-solution-title__line + .s5-solution-title__line{
  margin-top:0.35em;
}
.slide[data-index="4"] .s5-solution-title__line--accent{
  max-width:min(980px,90vw);
  margin-inline:auto;
}
.slide[data-index="4"] .s5-solution-title br{
  display:none;
}
.slide[data-index="4"] .s5-solution-title__line{
  color:#fff;
  font-weight:600;
}
.slide[data-index="4"] .s5-solution-title__accent{
  color:#bbbbff !important;
  font-weight:600;
}
.slide[data-index="4"] .s5-solution-title__sub{
  font-size:clamp(15px,1.55vw,20px);
  font-weight:500;
  line-height:1.45;
  color:rgba(255,255,255,0.88) !important;
  max-width:min(820px,92vw);
  margin-inline:auto;
}
.s5-split{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:0;
  padding:clamp(4px,1vh,12px) clamp(12px,3vw,32px) clamp(8px,2vh,20px);
}
.slide[data-index="4"] .s5-split{
  align-items:center;
  justify-content:center;
  flex:1 1 0;
  min-height:0;
  padding:clamp(4px,1vh,12px) clamp(16px,4vw,40px) clamp(12px,2vh,24px);
}
.s5-joystick-stage{
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(64vw,640px);
  max-width:100%;
  max-height:min(54vh,520px);
  margin:0 auto;
  position:relative;
  min-height:0;
  flex-shrink:1;
}
.s5-joystick-img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:min(54vh,520px);
  object-fit:contain;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
  filter:
    drop-shadow(0 0 12px rgba(0,82,245,0.65))
    drop-shadow(0 0 24px rgba(77,155,255,0.45))
    drop-shadow(0 0 40px rgba(0,82,245,0.32))
    drop-shadow(0 0 64px rgba(0,82,245,0.18));
}
@media (max-width:960px){
  .deck-slide-title{
    max-width:96vw;
  }
  .s5-joystick-stage{
    width:min(88vw,440px);
    max-height:min(46vh,400px);
  }
  .s5-joystick-img{
    max-height:min(46vh,400px);
  }
}

/* ══════════════════════════════
   SLIDE 06 — HOW IT WORKS (3 columns)
══════════════════════════════ */
.slide[data-index="5"]{
  background:var(--deck-navy);
}
.hiw-layout{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  height:100%;
  padding:clamp(48px,6vh,64px) clamp(24px,3vw,48px) clamp(20px,3vh,32px) 80px;
  box-sizing:border-box;
  gap:clamp(12px,2vh,20px);
  min-height:0;
}
.hiw-stage{
  flex:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(200px,300px) minmax(0,1fr);
  gap:clamp(14px,2vw,28px);
  align-items:center;
  width:100%;
  max-width:min(1280px,100%);
  min-height:0;
}
.hiw-col{
  display:flex;
  flex-direction:column;
  gap:clamp(10px,1.4vh,14px);
  min-height:0;
  min-width:0;
}
.hiw-col--center{
  align-items:center;
  justify-content:center;
}
.hiw-screen{
  display:block;
  width:100%;
  max-width:min(300px,22vw);
  height:auto;
  max-height:min(68vh,620px);
  object-fit:contain;
  border-radius:20px;
  box-shadow:0 24px 56px rgba(0,13,44,0.35);
}
.slide[data-index="5"] .s4-header{
  flex-shrink:0;
  margin-bottom:0;
}
.slide[data-index="5"] .s4-header--pill-only{
  margin-bottom:clamp(4px,0.8vh,10px);
}
.slide[data-index="5"] .hiw-layout{
  gap:clamp(8px,1.4vh,16px);
}
.slide[data-index="5"] .hiw-title.deck-slide-title{
  display:block;
  -webkit-line-clamp:unset;
  line-clamp:unset;
  overflow:visible;
}
.hiw-title__line{
  display:block;
}
.slide[data-index="5"] .hiw-title__lead{
  color:#fff !important;
  font-weight:600;
}
.slide[data-index="5"] .hiw-title__accent{
  color:#bbbbff !important;
  font-weight:600;
}
.slide[data-index="5"] .hiw-title__sub{
  display:block;
  margin-top:0.4em;
  font-size:clamp(15px,1.55vw,20px);
  font-weight:500;
  line-height:1.45;
  color:rgba(255,255,255,0.88) !important;
  max-width:min(720px,90vw);
  margin-inline:auto;
}
.slide[data-index="5"] .step-card{
  padding:clamp(14px,1.8vh,20px) clamp(14px,1.4vw,18px);
  border-radius:18px;
}
.slide[data-index="5"] .step-num{
  font-size:clamp(24px,2.8vw,32px);
  margin-bottom:10px;
}
.slide[data-index="5"] .step-divider{margin-bottom:10px;}
.slide[data-index="5"] .step-title{
  font-size:clamp(15px,1.35vw,17px);
  line-height:1.32;
  margin-bottom:10px;
}
.slide[data-index="5"] .step-body{
  font-size:clamp(13px,1.1vw,15px);
  line-height:1.45;
}
.slide[data-index="5"] .hiw-col--right .step-card{
  flex:1 1 0;
}
@media (max-width:1100px){
  .hiw-stage{
    grid-template-columns:minmax(0,1fr) minmax(160px,220px) minmax(0,1fr);
    gap:12px;
  }
  .hiw-screen{max-width:min(220px,28vw);}
}
@media (max-width:860px){
  .hiw-stage{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto auto;
    align-items:start;
  }
  .hiw-col--center{
    grid-column:1/-1;
    order:-1;
  }
  .hiw-screen{max-width:min(280px,70vw);max-height:min(40vh,360px);}
}

/* Legacy step card tokens (other slides) */
.s4-steps{
  display:grid;grid-template-columns:repeat(5,1fr);
  gap:14px;padding:0 50px;width:100%;
}
.s4-header{grid-column:1/-1;}
.step-card{padding:28px 22px;border-radius:24px;}
.step-num{font-size:36px;font-weight:800;color:var(--accent);line-height:1;margin-bottom:16px;}
.step-divider{width:100%;height:1px;background:rgba(0,82,245,0.1);margin-bottom:14px;}
.step-title{font-size:14px;font-weight:700;color:var(--text);line-height:1.3;margin-bottom:10px;}
.step-body{font-size:11px;color:var(--text-dim);line-height:1.5;}

/* ══════════════════════════════
   SLIDE 02 — TEAM
══════════════════════════════ */
.slide[data-index="1"]{
  background:var(--deck-navy);
}

.s2-team{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr);
  justify-items:center;
  align-content:start;
  padding:clamp(48px,6vh,64px) 48px clamp(16px,2vh,24px) 80px;
  box-sizing:border-box;
  font-family:var(--font);
  overflow:hidden;
}
.slide[data-index="1"] .s2-team{
  grid-template-rows:auto minmax(0,1fr);
  row-gap:clamp(28px,4vh,48px);
}
.slide[data-index="1"] .s2-team__head{
  grid-row:1;
  padding-bottom:2px;
}
.slide[data-index="1"] .s2-team__stage{
  grid-row:2;
  padding-top:0;
  overflow:hidden;
}
.slide[data-index="1"] > .deck-pill-slot{
  display:none;
}
.s2-team__head{
  text-align:center;
  margin:0;
  pointer-events:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(8px,1.4vh,14px);
  width:100%;
  max-width:min(920px,100%);
  position:relative;
  z-index:30;
}
.s2-team__pill{
  display:flex;
  justify-content:center;
  margin:0;
}
.s2-team__pill .pill-dark{
  position:relative;
  z-index:1;
}
.s2-team__tag{
  margin:0;
}
.slide[data-index="1"] .pill-dark{
  color:#eef1ff;
  background:rgba(0,82,245,0.34);
  border:1px solid rgba(187,187,255,0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    inset 0 1px 0 rgba(187,187,255,0.28),
    0 0 28px rgba(0,82,245,0.7),
    0 0 56px rgba(77,155,255,0.38),
    0 6px 22px rgba(0,13,44,0.42);
}
.s2-team__title{
  margin:0;
  font-size:clamp(32px,4.5vw,58px);
  font-weight:600;
  line-height:1.05;
  letter-spacing:-0.02em;
  color:var(--text);
  font-family:var(--font);
  white-space:nowrap;
}
.s2-team__title span{
  color:#bbbbff !important;
  font-weight:600;
}

.s2-team__layout{
  position:relative;
  width:min(1200px,100%);
  margin:0 auto;
}
.s2-team__layout:has(#founder-daniel:checked),
.s2-team__layout:has(#founder-uri:checked),
.s2-team__layout:has(#founder-afik:checked),
.s2-team__layout:has(#founder-team:checked){
  width:min(1280px,calc(100% - 24px));
}
.s2-team__input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

/* —— Default: all four —— */
.s2-team__roster{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(20px,3vw,36px);
  align-items:end;
  justify-items:center;
  width:fit-content;
  max-width:100%;
  margin-inline:auto;
  transform:translateX(16px);
  transition:opacity 0.35s ease,transform 0.35s ease;
}
.s2-team__roster-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  cursor:pointer;
  width:100%;
  max-width:200px;
}
.s2-team__roster-item img,
.s2-team__roster-icon{
  width:100%;
  aspect-ratio:3/4;
  max-height:min(46vh,420px);
  object-fit:cover;
  object-position:center top;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(165deg,#d8e2ee,#b8c8dc);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb,var(--c-light) 70%,transparent),
    0 12px 32px color-mix(in srgb,var(--c-dark) 10%,transparent);
  transition:transform 0.3s ease,box-shadow 0.3s ease;
}
.s2-team__roster-icon{
  font-size:clamp(48px,6vw,72px);
  font-weight:800;
  color:rgba(0,82,245,0.2);
}
.s2-team__roster-item:hover img,
.s2-team__roster-item:hover .s2-team__roster-icon{
  transform:translateY(-6px);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb,var(--c-light) 85%,transparent),
    0 20px 40px color-mix(in srgb,var(--accent) 18%,transparent);
}
.s2-team__roster-name{
  font-size:14px;
  font-weight:700;
  color:var(--text);
}
.s2-team__roster-role{
  font-size:10px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent);
}

/* —— Focus: card | page-centered hero | thumbs —— */
.s2-team__focus{
  display:none;
  position:relative;
  grid-template-columns:minmax(220px,280px) 1fr;
  gap:clamp(16px,2.5vw,32px);
  align-items:center;
  width:100%;
  min-height:min(54vh,520px);
  animation:s2FocusIn 0.4s ease;
}
@keyframes s2FocusIn{
  from{opacity:0;transform:translateY(12px);}
  to{opacity:1;transform:translateY(0);}
}
.s2-team__layout:has(#founder-daniel:checked) .s2-team__focus,
.s2-team__layout:has(#founder-uri:checked) .s2-team__focus,
.s2-team__layout:has(#founder-afik:checked) .s2-team__focus,
.s2-team__layout:has(#founder-team:checked) .s2-team__focus{
  display:grid;
}
.s2-team__layout:has(#founder-daniel:checked) .s2-team__roster,
.s2-team__layout:has(#founder-uri:checked) .s2-team__roster,
.s2-team__layout:has(#founder-afik:checked) .s2-team__roster,
.s2-team__layout:has(#founder-team:checked) .s2-team__roster{
  display:none;
}

.s2-team__panel-slot{
  position:relative;
  z-index:2;
  grid-column:1;
  min-height:min(440px,54vh);
}
.s2-team__card{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  padding:0;
  overflow:hidden;
  border-radius:24px;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px) scale(0.98);
  transition:opacity 0.35s ease,transform 0.35s ease,visibility 0.35s;
  pointer-events:none;
}
.s2-team__layout:has(#founder-daniel:checked) .s2-team__card--daniel,
.s2-team__layout:has(#founder-uri:checked) .s2-team__card--uri,
.s2-team__layout:has(#founder-afik:checked) .s2-team__card--afik,
.s2-team__layout:has(#founder-team:checked) .s2-team__card--team{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.s2-team__card-body{
  flex:1;
  padding:22px 22px 18px;
  overflow:auto;
}
.s2-team__card h2{
  margin:0 0 4px;
  font-size:20px;
  font-weight:800;
  color:var(--text);
  letter-spacing:-0.02em;
}
.s2-team__role{
  margin:0 0 16px;
  font-size:10px;
  font-weight:700;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--accent);
}
.s2-team__stat{margin-bottom:11px;}
.s2-team__stat span{
  display:block;
  margin-bottom:5px;
  font-size:10px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--text-dim);
}
.s2-team__stat i{
  display:block;
  height:8px;
  border-radius:99px;
  background:rgba(0,82,245,0.08);
  border:1px solid rgba(0,82,245,0.15);
  overflow:hidden;
}
.s2-team__stat i::before{
  content:"";
  display:block;
  height:100%;
  width:var(--w);
  background:linear-gradient(90deg,#003bb8,var(--accent),#6ba3ff);
  animation:s2StatFill 0.8s ease-out forwards;
}
.s2-team__skill{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  font-size:11px;
  font-weight:700;
  text-align:center;
  color:var(--text);
  background:rgba(0,82,245,0.08);
  border:1px solid rgba(0,82,245,0.12);
}
.s2-team__blurb{
  margin:0;
  font-size:13px;
  line-height:1.55;
  color:var(--text-dim);
}
.s2-team__card-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  align-items:center;
  padding:14px 16px;
  min-height:76px;
  background:#fff;
  border-top:1px solid rgba(0,0,0,0.06);
}
.s2-team__badge-slot{
  width:52px;
  height:52px;
  border-radius:12px;
  background:#f4f6f9;
  border:1px dashed rgba(0,0,0,0.1);
  flex-shrink:0;
}
@keyframes s2StatFill{
  from{width:0;}
  to{width:var(--w);}
}

.s2-team__hero-col{
  position:absolute;
  left:calc(50% + 16px);
  top:50%;
  transform:translate(-50%,-50%);
  z-index:1;
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
  pointer-events:none;
}
.s2-team__hero-col .s2-team__hero{
  pointer-events:auto;
}
.s2-team__hero{
  position:relative;
  width:min(100%,420px);
  height:min(54vh,520px);
  margin:0 auto;
  padding:0;
  border-radius:24px;
  overflow:hidden;
  flex-shrink:0;
}
.s2-team__hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  opacity:0;
  transition:opacity 0.4s ease;
}
.s2-team__hero-img--team{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(165deg,#d8e2ee,#b8c8dc);
}
.s2-team__hero-mark{
  font-size:clamp(72px,10vw,100px);
  font-weight:800;
  color:rgba(0,82,245,0.18);
}
.s2-team__layout:has(#founder-daniel:checked) .s2-team__hero-img--daniel,
.s2-team__layout:has(#founder-uri:checked) .s2-team__hero-img--uri,
.s2-team__layout:has(#founder-afik:checked) .s2-team__hero-img--afik,
.s2-team__layout:has(#founder-team:checked) .s2-team__hero-img--team{
  opacity:1;
}

/* —— Right thumbnails —— */
.s2-team__thumbs{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
  justify-content:center;
  padding:4px 0;
  grid-column:2;
  justify-self:end;
  position:relative;
  z-index:2;
}
.s2-team__thumb{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  cursor:pointer;
  width:72px;
  opacity:0.55;
  transition:opacity 0.25s ease,transform 0.25s ease;
}
.s2-team__thumb:hover{opacity:0.85;transform:translateX(-2px);}
.s2-team__thumb img,
.s2-team__thumb-icon{
  width:64px;
  height:64px;
  border-radius:14px;
  object-fit:cover;
  object-position:center top;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(165deg,#d8e2ee,#b8c8dc);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb,var(--c-light) 70%,transparent),
    0 6px 16px color-mix(in srgb,var(--c-dark) 8%,transparent);
  transition:box-shadow 0.25s ease,transform 0.25s ease;
}
.s2-team__thumb-icon{
  font-size:22px;
  font-weight:800;
  color:rgba(0,82,245,0.25);
}
.s2-team__thumb-name{
  font-size:10px;
  font-weight:700;
  color:var(--text);
  line-height:1.2;
  text-align:center;
}
.s2-team__thumb-role{
  font-size:8px;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent);
}
.s2-team__layout:has(#founder-daniel:checked) .s2-team__thumb[for="founder-daniel"],
.s2-team__layout:has(#founder-uri:checked) .s2-team__thumb[for="founder-uri"],
.s2-team__layout:has(#founder-afik:checked) .s2-team__thumb[for="founder-afik"],
.s2-team__layout:has(#founder-team:checked) .s2-team__thumb[for="founder-team"]{
  opacity:1;
}
.s2-team__layout:has(#founder-daniel:checked) .s2-team__thumb[for="founder-daniel"] img,
.s2-team__layout:has(#founder-daniel:checked) .s2-team__thumb[for="founder-daniel"] .s2-team__thumb-icon,
.s2-team__layout:has(#founder-uri:checked) .s2-team__thumb[for="founder-uri"] img,
.s2-team__layout:has(#founder-uri:checked) .s2-team__thumb[for="founder-uri"] .s2-team__thumb-icon,
.s2-team__layout:has(#founder-afik:checked) .s2-team__thumb[for="founder-afik"] img,
.s2-team__layout:has(#founder-afik:checked) .s2-team__thumb[for="founder-afik"] .s2-team__thumb-icon,
.s2-team__layout:has(#founder-team:checked) .s2-team__thumb[for="founder-team"] img,
.s2-team__layout:has(#founder-team:checked) .s2-team__thumb[for="founder-team"] .s2-team__thumb-icon{
  box-shadow:
    inset 0 0 0 2px var(--accent),
    0 8px 24px color-mix(in srgb,var(--accent) 22%,transparent);
  transform:scale(1.04);
}

@media (max-width:960px){
  .s2-team__roster{
    grid-template-columns:repeat(2,1fr);
    transform:translateX(0);
  }
  .s2-team__title{
    font-size:clamp(32px,8vw,52px);
    white-space:normal;
  }
  .s2-team__focus{
    grid-template-columns:1fr;
    justify-items:center;
    min-height:min(48vh,480px);
  }
  .s2-team__panel-slot{
    width:100%;
    max-width:320px;
    min-height:300px;
    grid-column:1;
  }
  .s2-team__hero-col{
    left:50%;
    transform:translate(-50%,-50%);
  }
  .s2-team__thumbs{
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    width:100%;
    grid-column:1;
    justify-self:center;
  }
  .s2-team__thumb{width:auto;flex-direction:column;}
  .s2-team__hero{height:min(38vh,360px);width:min(100%,320px);}
}
@media (max-width:600px){
  .s2-team{padding:0 20px 0 72px;}
  .s2-team__roster-name,.s2-team__roster-role{font-size:10px;}
}

/* —— Slide 02: card carousel (founders) —— */
.s2-team__stage{
  grid-row:3;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  width:min(920px,100%);
  min-height:0;
  position:relative;
  z-index:10;
  padding-top:clamp(4px,0.8vh,10px);
  padding-bottom:clamp(10px,1.5vh,18px);
}
.slide[data-index="1"] .s2-team__stage{
  margin-top:0;
}
.s2-team-carousel{
  position:relative;
  flex:1;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  width:100%;
  min-height:0;
  perspective:1200px;
  perspective-origin:50% 40%;
  padding:0 52px 22px;
}
.s2-team-carousel::after{
  content:"Swipe • ← / →";
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  font-size:11px;
  letter-spacing:0.1em;
  color:var(--text-dim);
  opacity:0.75;
}
.s2-team-deck{
  position:relative;
  width:min(272px,74vw);
  height:100%;
  min-height:clamp(380px,calc(100vh - 300px),640px);
  max-height:100%;
  transform-style:preserve-3d;
}
.slide[data-index="1"] .s2-team-deck{
  min-height:0;
}
.s2-team-deck > .s2-member-card{
  position:absolute;
  top:0;
  left:0;
  right:0;
  width:100%;
  margin:0;
  transform-origin:50% 42%;
  will-change:transform,opacity,filter;
  transition:
    transform 420ms cubic-bezier(0.22,0.61,0.36,1),
    opacity 300ms ease,
    filter 300ms ease,
    box-shadow 200ms ease;
}
.s2-team-deck .card-pos-0{
  transform:translate3d(0,0,0) rotateZ(0deg) scale(1);
  z-index:4;
  opacity:1;
  filter:none;
}
.s2-team-deck .card-pos-1{
  transform:translate3d(-58px,10px,-100px) rotateZ(-4deg) scale(0.93);
  z-index:3;
  opacity:0.94;
  filter:saturate(0.97) brightness(0.98);
  pointer-events:none;
}
.s2-team-deck .card-pos-2{
  transform:translate3d(58px,12px,-100px) rotateZ(4deg) scale(0.93);
  z-index:2;
  opacity:0.9;
  filter:saturate(0.95) brightness(0.96);
  pointer-events:none;
}
.s2-team-deck .card-pos-3{
  transform:translate3d(0,18px,-160px) rotateZ(0deg) scale(0.9);
  z-index:1;
  opacity:0.86;
  filter:saturate(0.92) brightness(0.94);
  pointer-events:none;
}
.s2-team-deck .deal-in{
  animation:dealIn 380ms cubic-bezier(0.22,0.61,0.36,1) both;
}
@keyframes dealIn{
  from{
    transform:translate3d(0,48px,-200px) rotateZ(6deg) scale(0.88);
    opacity:0;
    filter:blur(2px) brightness(0.92);
  }
  to{
    transform:translate3d(0,0,0) rotateZ(0deg) scale(1);
    opacity:1;
    filter:none;
  }
}
.s2-team-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border-radius:10px;
  border:1px solid rgba(0,82,245,0.2);
  background:linear-gradient(180deg,rgba(255,255,255,0.95),rgba(255,255,255,0.82));
  color:var(--text);
  box-shadow:0 6px 18px rgba(0,13,44,0.1);
  cursor:pointer;
  font-size:22px;
  line-height:1;
  display:grid;
  place-items:center;
  z-index:10;
}
.s2-team-nav--prev{left:0;}
.s2-team-nav--next{right:0;}
.s2-team-nav:hover{
  border-color:rgba(0,82,245,0.35);
  box-shadow:0 8px 22px rgba(0,82,245,0.12);
}

.s2-member-card{
  display:grid;
  grid-template-rows:minmax(0,46%) minmax(0,1fr) auto;
  min-height:100%;
  height:100%;
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(248,250,255,0.94));
  border:1px solid rgba(0,82,245,0.14);
  box-shadow:
    0 20px 48px rgba(0,13,44,0.14),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.s2-member-card__photo{
  position:relative;
  min-height:0;
  height:100%;
  max-height:100%;
  overflow:hidden;
  background:linear-gradient(165deg,#d8e2ee,#c5d4e8);
}
.s2-member-card__photo img,
.s2-member-card__photo video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
}
.s2-member-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.s2-member-card__photo img.is-logo{
  object-fit:contain;
  padding:22px 28px;
  background:linear-gradient(165deg,#e8eef8,#d4e0f0);
}
.s2-member-card__photo img.is-gif{
  object-fit:cover;
  object-position:center top;
}
.slide[data-index="1"].active .s2-member-card__photo img.is-gif{
  animation:none;
}
.s2-member-card__body{
  min-height:0;
  padding:8px 12px 6px;
  text-align:center;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.s2-member-card__role{
  margin:0 0 4px;
  font-size:10px;
  font-weight:700;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--accent);
}
.s2-member-card__name{
  margin:0 0 2px;
  font-size:17px;
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--text);
}
.s2-member-card__role-long{
  margin:0 0 6px;
  font-size:10px;
  color:var(--text-dim);
}
.s2-member-card__bio{
  margin:6px 0 0;
  padding:0 10px;
  flex:1;
  min-height:0;
  font-size:12px;
  line-height:1.55;
  color:#5a6d82;
  text-align:center;
  text-wrap:balance;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.s2-member-card__bio strong{
  font-weight:700;
  color:#0d1a2d;
}
.s2-member-card__bio .s2-bio-accent{
  font-weight:600;
  color:var(--accent,#0052f5);
}
.s2-member-card__bio .s2-bio-lilac{
  font-weight:600;
  color:#7b7bff;
}
.s2-member-card__logos{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  align-items:center;
  width:100%;
  padding:12px 16px;
  min-height:56px;
  background:#fff;
  border-top:1px solid rgba(0,0,0,0.06);
  box-sizing:border-box;
}
.s2-member-card__logo-slot{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border:none;
  background:transparent;
  padding:0;
  outline:none;
  box-shadow:none;
}
.s2-member-card__logo-slot img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  margin:0 auto;
  object-fit:contain;
  object-position:center center;
  border:none;
  outline:none;
}
.s2-member-card__logos--count-1{
  justify-content:center;
  align-items:center;
}
.s2-member-card__logos--count-1 .s2-member-card__logo-slot{
  width:min(148px,62%);
  height:40px;
  margin-inline:auto;
}
.s2-member-card__logos--count-1 .s2-member-card__logo-slot img{
  max-height:36px;
}
.s2-member-card__logos--count-2 .s2-member-card__logo-slot{
  width:56px;
  height:44px;
}
.s2-member-card__logos--count-3 .s2-member-card__logo-slot{
  width:48px;
  height:40px;
}
.s2-member-card__logos--count-4{
  gap:8px;
  padding:10px 12px;
}
.s2-member-card__logos--count-4 .s2-member-card__logo-slot{
  width:40px;
  height:36px;
}
.s2-member-card__logos--count-5{
  gap:6px;
  padding:10px 10px;
}
.s2-member-card__logos--count-5 .s2-member-card__logo-slot{
  width:36px;
  height:32px;
}

@media (max-width:720px){
  .s2-team__title{font-size:clamp(26px,7vw,40px);white-space:normal;}
  .s2-team-carousel{padding:0 40px 20px;}
  .s2-team-nav{width:32px;height:32px;font-size:18px;}
  .s2-team-deck{width:min(252px,78vw);min-height:clamp(340px,calc(100vh - 280px),560px);}
  .s2-member-card{grid-template-rows:minmax(0,44%) minmax(0,1fr) auto;}
  .s2-member-card__photo{min-height:0;}
}

/* ══════════════════════════════
   SLIDE 6 — BUSINESS MODEL
══════════════════════════════ */
.s6-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 60px;width:100%;align-items:start;}
.s6-header{grid-column:1/-1;}
.s6-tiers{display:flex;gap:16px;}
.tier-card{flex:1;padding:28px 24px;border-radius:22px;}
.tier-label{font-size:9px;letter-spacing:2.5px;font-weight:700;color:var(--text-dim);margin-bottom:8px;}
.tier-price{font-size:58px;font-weight:800;line-height:1;color:var(--text);}
.tier-price span{font-size:18px;font-weight:400;color:var(--text-dim);}
.tier-tag{font-size:9px;letter-spacing:2px;font-weight:700;margin-bottom:8px;}
.tier-divider{width:100%;height:1px;background:rgba(0,82,245,0.1);margin:14px 0;}
.tier-ltv{font-size:11px;color:var(--text-dim);line-height:1.6;}
.s6-b2b{padding:28px 24px;border-radius:22px;}
.s6-b2b-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:14px;}
.s6-b2b-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 0;border-bottom:1px solid rgba(0,82,245,0.07);
  font-size:13px;color:var(--text);
}
.s6-b2b-item:last-child{border-bottom:none;}
.s6-b2b-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0;}
.s6-callout{grid-column:1/-1;padding:22px 28px;border-radius:20px;text-align:center;}
.s6-callout p{font-size:17px;font-weight:700;color:var(--text);}

/* ══════════════════════════════
   SLIDE 7 — ROADMAP
══════════════════════════════ */
.s7-layout{padding:0 60px;width:100%;}
.s7-header{margin-bottom:24px;width:100%;}
.s7-rows{display:flex;flex-direction:column;gap:10px;}
.s7-row{
  display:grid;grid-template-columns:110px 1fr;
  align-items:center;gap:20px;
  padding:14px 22px;border-radius:16px;
}
.s7-q{font-size:9px;font-weight:700;letter-spacing:2px;color:var(--accent);}
.s7-desc{font-size:13px;font-weight:500;color:var(--text);}

/* ══════════════════════════════
   SLIDE 8 — THE ASK
══════════════════════════════ */
.s8-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:0 60px;width:100%;align-items:start;}
.s8-header{grid-column:1/-1;}
.s8-header h2{font-size:40px;font-weight:800;color:var(--text);}
.s8-header h2 span{color:var(--accent);}
.s8-layout .s8-hero{padding:32px;border-radius:24px;}
.s8-raise{font-size:72px;font-weight:800;line-height:1;color:var(--text);}
.s8-raise span{color:var(--accent);}
.s8-sub{font-size:14px;color:var(--text-dim);margin-top:10px;line-height:1.5;}
.s8-funds{display:flex;flex-direction:column;gap:12px;}
.fund-item{padding:18px 20px;border-radius:18px;}
.fund-cat{font-size:11px;font-weight:700;color:var(--accent);margin-bottom:3px;letter-spacing:1px;}
.fund-detail{font-size:12px;color:var(--text-dim);}

/* ══════════════════════════════
   SLIDE 9 — THANK YOU
══════════════════════════════ */
.s9-content{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:100%;height:100%;text-align:center;padding:0 80px;
}
.s9-big{font-size:clamp(64px,9vw,110px);font-weight:800;color:var(--text);line-height:1;margin:24px 0;}
.s9-line{width:80px;height:2px;background:var(--accent);border-radius:2px;margin:24px auto;}
.s9-contact a{
  font-size:16px;color:var(--accent);text-decoration:none;font-weight:500;
  display:block;margin-bottom:8px;
}
.s9-contact p{font-size:13px;color:var(--text-dim);}
.s9-logo{font-size:10px;letter-spacing:5px;font-weight:800;color:var(--text-dim);margin-top:32px;}

/* ══════════════════════════════
   SLIDE HEADER (shared)
══════════════════════════════ */
.slide-header{
  position:absolute;top:28px;right:36px;
  display:flex;align-items:center;gap:8px;
}
.slide-counter{font-size:11px;font-weight:600;color:rgba(255,255,255,0.42);letter-spacing:1px;}

/* Pill badge — same position on every slide */
.deck-pill-slot{
  position:absolute;
  top:clamp(52px,8vh,76px);
  left:80px;
  right:80px;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  z-index:40;
  pointer-events:none;
}

/* Center pill + headline blocks — gap/sizing via .deck-slide-title above */
.ph-slide{
  margin-left:auto;
  margin-right:auto;
}
.s4-header .pill,
.s6-header .pill,
.s7-header .pill,
.ph-slide > .pill{
  align-self:center;
}

/* ══════════════════════════════
   DARK THEME (slide 1)
══════════════════════════════ */
body{transition:background 1.2s cubic-bezier(1,0,0.4,1);}
body.dark-mode{background:#000d2c !important;}
.slide[data-theme="dark"]{
  display:block;
  position:absolute;
  inset:0;
  background:#000d2c;
  overflow:hidden;
}
.slide[data-theme="dark"] .slide-header{
  z-index:40;
  mix-blend-mode:normal;
}
.slide[data-theme="dark"] .slide-counter{color:rgba(255,255,255,0.4);}
body.dark-mode #wireCanvas{opacity:0.06;}
body.dark-mode .sidenav::before{
  background:color-mix(in srgb,rgba(0,50,120,1) 14%,transparent);
}
body.dark-mode .nav-num{color:rgba(255,255,255,0.25);}
body.dark-mode .nav-item.active .nav-num{color:var(--accent);}

/* ── Slide 01 — hands (no split columns = no center seam) ── */
.hands-wrap{
  position:absolute;
  inset:0;
  z-index:1;
  background:#000d2c;
  overflow:hidden;
}
.hand-img{
  position:absolute;
  top:-4%;
  height:112%;
  width:auto;
  max-width:min(72vw,820px);
  object-fit:contain;
  display:block;
  will-change:transform;
  pointer-events:none;
}
.hand-img-left{
  left:0;
  z-index:2;
  transform:translateX(-115%);
  animation:handSlideLeft 2.1s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.hand-img-right{
  right:0;
  z-index:1;
  transform:translateX(115%);
  animation:handSlideRight 2.1s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
@keyframes handSlideLeft{
  to{transform:translateX(0);}
}
@keyframes handSlideRight{
  to{transform:translateX(0);}
}

/* ── Text overlay on dark ── */
.s1-overlay{
  position:absolute;
  bottom:clamp(48px,8vh,88px);
  left:0;
  right:0;
  z-index:25;
  padding:0 48px 0 80px;
  pointer-events:none;
}
.pill-dark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 22px;
  border-radius:99px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.24em;
  color:#eef1ff;
  background:rgba(0,82,245,0.34);
  border:1px solid rgba(187,187,255,0.55);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  font-family:var(--font);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    inset 0 1px 0 rgba(187,187,255,0.28),
    0 0 28px rgba(0,82,245,0.7),
    0 0 56px rgba(77,155,255,0.38),
    0 6px 22px rgba(0,13,44,0.42);
  animation:fadeUp .8s ease 1.4s both;
}
.s1-title-dark{
  font-size:clamp(52px,7vw,82px);font-weight:600;line-height:1.0;
  color:#FFFFFF;margin:16px 0 12px;
  font-family:var(--font);
  text-shadow:0 2px 40px rgba(0,0,0,0.5);
  animation:fadeUp .8s ease 1.6s both;
}
.s1-title-dark span{color:#bbbbff !important;font-weight:600;}
.s1-sub-dark{
  font-size:16px;font-weight:400;
  color:rgba(255,255,255,0.5);
  font-family:var(--font);
  animation:fadeUp .8s ease 1.8s both;
}
.s1-logo-dark{
  position:absolute;bottom:32px;right:52px;
  font-size:11px;font-weight:800;letter-spacing:5px;
  color:rgba(255,255,255,0.2);
  font-family:var(--font);
  animation:fadeUp .6s ease 2s both;
}

@keyframes fadeUp{
  0%{opacity:0;transform:translateY(16px);}
  100%{opacity:1;transform:translateY(0);}
}

/* ── Background transition overlay ── */
#bgTransition{
  position:fixed;inset:0;
  pointer-events:none;z-index:300;
  background:var(--deck-navy);
  opacity:0;
  transition:opacity 0s;
}


/* ── Logo / symbol: holographic aura (not glitch) ── */
.s1-logo-wrap.fx-brand,
.s1-sym-wrap.fx-brand{
  isolation:isolate;
}
.s1-logo-wrap.fx-brand::before,
.s1-sym-wrap.fx-brand::before{
  content:'';
  position:absolute;
  inset:-18%;
  z-index:0;
  border-radius:50%;
  background:conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(187,187,255,0.22) 70deg,
    rgba(255,60,130,0.16) 140deg,
    transparent 210deg,
    rgba(0,82,245,0.2) 280deg,
    transparent 360deg
  );
  filter:blur(22px);
  opacity:0.75;
  animation:brandAuraSpin 9s linear infinite;
  pointer-events:none;
}
.s1-sym-wrap.fx-brand::before{
  inset:-35%;
  filter:blur(14px);
}
.s1-logo-wrap.fx-brand > img,
.s1-sym-wrap.fx-brand > img{
  position:relative;
  z-index:1;
}
@keyframes brandAuraSpin{
  to{transform:rotate(360deg);}
}

/* ── Logo top ── */
.s1-logo-wrap{
  position:absolute;
  top:clamp(88px,14vh,148px);
  left:50%;
  transform:translateX(-50%);
  z-index:30;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  pointer-events:none;
  padding:8px 24px 0;
  box-sizing:border-box;
}
.s1-logo-wrap .deck-pill-slot.s1-pill-below-logo{
  position:relative;
  top:auto;
  left:auto;
  right:auto;
  margin-top:clamp(14px,2.4vh,24px);
  width:100%;
}
#gagingLogo{
  width:min(520px,88vw);
  height:auto;
  display:block;
  opacity:0;
  filter:drop-shadow(0 0 20px rgba(187,187,255,0.4));
  animation:
    logoReveal 1.2s cubic-bezier(0.25,0.46,0.45,0.94) 0.45s forwards,
    brandShimmer 4.5s ease-in-out 2.2s infinite;
}
@keyframes brandShimmer{
  0%,100%{
    filter:drop-shadow(0 0 20px rgba(187,187,255,0.4));
  }
  50%{
    filter:
      drop-shadow(-2px 0 14px rgba(255,70,140,0.28))
      drop-shadow(2px 0 18px rgba(0,200,255,0.45))
      drop-shadow(0 0 28px rgba(0,82,245,0.5));
  }
}
@keyframes logoReveal{
  0%{
    opacity:0;
    transform:scale(0.92) translateY(-8px);
    filter:drop-shadow(0 0 0 rgba(187,187,255,0)) blur(4px);
  }
  100%{
    opacity:1;
    transform:scale(1) translateY(0);
    filter:drop-shadow(0 0 22px rgba(187,187,255,0.45)) blur(0);
  }
}
@keyframes logoPulse{
  0%,100%{filter:drop-shadow(0 0 18px rgba(187,187,255,0.35));}
  50%{filter:drop-shadow(0 0 32px rgba(187,187,255,0.55));}
}

/* ── Symbol between fingertips ── */
.s1-sym-wrap{
  position:absolute;
  left:50%;
  top:46%;
  transform:translate(-50%,-50%);
  z-index:15;
  pointer-events:none;
}
#gagingSym{
  width:min(120px,13vw);
  height:auto;
  display:block;
  opacity:0;
  filter:drop-shadow(0 0 18px rgba(187,187,255,0.5));
  animation:
    symReveal 1s cubic-bezier(0.25,0.46,0.45,0.94) 1.5s forwards,
    symFloat 3.8s ease-in-out 2.6s infinite,
    symShimmer 4s ease-in-out 2.4s infinite;
}
@keyframes symReveal{
  0%{opacity:0;transform:scale(0.75);}
  100%{opacity:1;transform:scale(1);}
}
@keyframes symFloat{
  0%,100%{transform:translateY(0) scale(1);}
  50%{transform:translateY(-5px) scale(1.03);}
}
@keyframes symShimmer{
  0%,100%{
    filter:drop-shadow(0 0 16px rgba(187,187,255,0.45));
  }
  50%{
    filter:
      drop-shadow(0 0 22px rgba(0,220,255,0.65))
      drop-shadow(0 0 36px rgba(0,82,245,0.35));
  }
}


/* ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•
   SLIDE 03 - HEALTHSPAN + card beam
ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג•ג• */
.slide[data-index="2"]{
  background:var(--deck-navy);
  isolation:isolate;
}
.slide[data-index="2"] .slide-counter{
  color:rgba(255,255,255,0.4);
}
.s25-layout{
  display:flex;flex-direction:column;align-items:center;
  justify-content:center;
  gap:clamp(24px,4vh,40px);
  padding:0 56px 0 80px;
  width:100%;height:100%;
  box-sizing:border-box;
}
.s25-head{
  text-align:center;
  pointer-events:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(16px,2.5vh,24px);
  max-width:min(820px,100%);
}
.s25-tag{margin:0;}
.slide[data-index="2"] .deck-slide-title{
  color:#fff;
}
.cardbeam-embed-wrap{
  --cardbeam-crop-w:min(600px,72vw);
  --cardbeam-src-w:980px;
  width:var(--cardbeam-crop-w);
  max-width:var(--cardbeam-crop-w);
  margin-inline:auto;
  height:clamp(260px,46vh,440px);
  border-radius:0;
  overflow:hidden;
  background:var(--deck-navy);
  isolation:isolate;
  position:relative;
  z-index:2;
}
.cardbeam-embed{
  position:relative;
  left:50%;
  width:var(--cardbeam-src-w);
  max-width:none;
  height:100%;
  transform:translateX(-50%);
  border:0;
  display:block;
  background:var(--deck-navy);
  color-scheme:dark;
}
.ph-slide{margin:0 auto;padding:48px 40px;border-radius:28px;max-width:900px;}
.ph-slide h2{color:var(--text);}
.ph-slide h2 span{color:var(--accent-soft);}
.ph-note{font-size:14px;color:var(--text-dim);margin-top:20px;line-height:1.5;}
