/* V01 moved directly after the hero. More scroll travel slows the whole sequence. */
#inside{--tech-blue:#88bbf2;--tech-gold:#e3b45c;position:relative;height:460svh;padding:0;background:#020607;scroll-margin-top:var(--site-nav-height,94px)}
#inside .tech-pin{position:sticky;top:var(--site-nav-height,94px);height:min(760px,calc(100svh - var(--site-nav-height,94px)));min-height:0;overflow:hidden;isolation:isolate;background:#020607}
#inside .tech-media{position:absolute;inset:0;z-index:0}
#inside .tech-poster,#inside canvas{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#inside canvas{opacity:0;transition:opacity .2s ease}#inside.canvas-ready canvas{opacity:1}
#inside .tech-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(2,7,10,.95),rgba(2,7,10,.72) 30%,rgba(2,7,10,.1) 78%),linear-gradient(0deg,rgba(2,7,10,.8),transparent 30%);pointer-events:none}
#inside .tech-copy{position:relative;z-index:2;padding:48px 0 98px;margin-left:clamp(32px,6vw,110px);width:min(460px,46%)}
#inside .tech-eyebrow{font-size:10px;font-weight:800;letter-spacing:.18em;color:var(--tech-gold)}
#inside .tech-title{font-family:Arial,Helvetica,sans-serif;font-size:clamp(52px,6vw,96px);line-height:.98;letter-spacing:-.055em;margin:24px 0;color:#f4f5f5}
#inside .tech-title em{font-style:normal;color:var(--tech-gold)}
#inside .tech-desc{max-width:380px;font-size:13px;line-height:1.8;color:#d6dad4}
#inside .tech-flag{max-width:370px;font-size:9px;line-height:1.7;font-weight:800;letter-spacing:.1em;color:var(--tech-blue);margin-top:18px}
#inside .tech-stage{margin-top:25px;padding-top:20px;border-top:1px solid rgba(255,255,255,.28);min-height:110px}
#inside .tech-stage-index{font-size:10px;letter-spacing:.13em;color:var(--tech-blue);font-weight:800}
#inside .tech-stage h3{font-family:Arial,Helvetica,sans-serif;font-size:22px;text-transform:none;letter-spacing:-.02em;margin:10px 0}
#inside .tech-stage p{font-size:12px;line-height:1.65;color:#cfd6d9;max-width:380px}
#inside .tech-skip{position:absolute;top:22px;right:clamp(24px,5vw,90px);z-index:3;border:1px solid rgba(255,255,255,.4);padding:11px 14px;font-size:10px;letter-spacing:.07em;background:rgba(0,0,0,.38)}
#inside .tech-nav{position:absolute;z-index:3;right:clamp(24px,5vw,90px);top:48%;display:flex;flex-direction:column;gap:22px;align-items:flex-end}
#inside .tech-nav button{display:flex;align-items:center;justify-content:flex-end;gap:17px;border:0;background:transparent;color:#b9c2c7;font:600 10px Arial,sans-serif;cursor:pointer;min-height:24px;padding:4px 0}
#inside .tech-dot{width:8px;height:8px;border:1px solid currentColor;border-radius:50%}
#inside .tech-nav button[aria-pressed=true]{color:var(--tech-blue)}#inside .tech-nav button[aria-pressed=true] .tech-dot{background:currentColor}
#inside .tech-progress{position:absolute;z-index:3;bottom:27px;left:clamp(32px,6vw,110px);right:clamp(24px,5vw,90px);display:flex;align-items:center;gap:22px;color:#dce2e5}
#inside .tech-hint{font-size:9px;letter-spacing:.09em;white-space:nowrap}
#inside .tech-track{flex:1;height:2px;background:rgba(255,255,255,.28)}#inside .tech-fill{height:100%;width:100%;transform:scaleX(0);transform-origin:left;background:var(--tech-blue)}
#inside .tech-percent{font-size:11px;font-weight:800;color:var(--tech-blue);min-width:34px}
#inside .tech-nav button:focus-visible,#inside .tech-skip:focus-visible{outline:2px solid var(--tech-blue);outline-offset:5px}
@media(max-width:900px) and (min-width:601px){#inside .tech-copy{width:53%;padding-top:40px}#inside .tech-title{font-size:60px}}
@media(max-width:600px){
  #inside{height:440svh;scroll-margin-top:var(--site-nav-height,94px)}
  #inside .tech-pin{height:auto;min-height:0;display:flex;flex-direction:column;padding:24px 20px 22px;gap:18px;overflow:hidden}
  #inside .tech-media{position:relative;inset:auto;aspect-ratio:16/9;flex:none;width:100%;border-radius:10px;overflow:hidden;order:1}
  #inside .tech-shade{display:none}
  #inside .tech-copy{margin:0;padding:0;width:100%;order:0}
  #inside .tech-title{font-size:38px;line-height:1.03;margin:12px 0}
  #inside .tech-title br{display:none}#inside .tech-title em{margin-left:8px}
  #inside .tech-desc{font-size:12px;line-height:1.6;max-width:none}
  #inside .tech-flag{font-size:8px;margin-top:10px}
  #inside .tech-stage{margin-top:16px;padding-top:13px;min-height:108px}
  #inside .tech-stage h3{font-size:20px;margin:7px 0}#inside .tech-stage p{font-size:12px}
  #inside .tech-eyebrow{font-size:8px;letter-spacing:.11em;padding-right:108px;min-height:24px}
  #inside .tech-skip{top:16px;right:20px;font-size:8px;padding:8px 9px}
  #inside .tech-nav{position:relative;inset:auto;order:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:start}
  #inside .tech-nav button{flex-direction:column-reverse;justify-content:center;text-align:center;gap:8px;font-size:9px;min-height:38px}
  #inside .tech-progress{position:relative;inset:auto;order:3;gap:12px}#inside .tech-hint{font-size:8px}
}
@media(max-width:560px){#inside{scroll-margin-top:var(--site-nav-height,82px)}#inside .tech-pin{top:var(--site-nav-height,82px)}}
/* Keep slower pinned travel on short windows; compact the content instead of disabling it. */
@media(min-width:601px) and (max-height:800px){
  #inside .tech-copy{padding-top:30px;padding-bottom:65px;width:min(440px,48%)}
  #inside .tech-title{font-size:clamp(48px,5vw,70px);margin:16px 0}
  #inside .tech-desc{font-size:12px;line-height:1.6}
  #inside .tech-flag{font-size:8px;margin-top:12px}
  #inside .tech-stage{margin-top:16px;padding-top:14px;min-height:90px}
  #inside .tech-stage h3{font-size:20px;margin:8px 0}
  #inside .tech-progress{bottom:20px}
}
@media(min-width:601px) and (max-height:620px){
  #inside .tech-copy{padding-top:25px;padding-bottom:58px}
  #inside .tech-title{font-size:44px;margin:12px 0}
  #inside .tech-desc{display:none}
  #inside .tech-stage{margin-top:12px;padding-top:12px;min-height:74px}
  #inside .tech-stage p{font-size:11px;line-height:1.45}
  #inside .tech-nav{gap:10px;top:33%}
}
@media(min-width:601px) and (max-height:460px){
  #inside .tech-copy{padding-top:20px}
  #inside .tech-title{font-size:34px;margin:9px 0}
  #inside .tech-title br{display:none}#inside .tech-title em{margin-left:8px}
  #inside .tech-stage{min-height:0;padding-top:8px;margin-top:8px}
  #inside .tech-stage h3{font-size:16px;margin:6px 0}
  #inside .tech-stage p{display:none}
  #inside .tech-flag{max-width:260px;font-size:7px;margin-top:8px}
  #inside .tech-progress{bottom:14px}
}
@media(max-width:600px) and (max-height:780px){
  #inside .tech-pin{padding:17px 18px;gap:12px}
  #inside .tech-title{font-size:30px;margin:8px 0}
  #inside .tech-desc{display:none}
  #inside .tech-flag{font-size:7px;margin-top:7px}
  #inside .tech-stage{min-height:82px;margin-top:10px;padding-top:10px}
  #inside .tech-stage h3{font-size:18px;margin:6px 0}
  #inside .tech-stage p{font-size:11px;line-height:1.45}
  #inside .tech-media{max-height:170px}
  #inside .tech-nav button{min-height:32px;gap:6px}
}
@media(prefers-reduced-motion:reduce){#inside{height:auto}#inside .tech-pin{position:relative;top:0}#inside canvas{transition:none}}

/* Match the hero's final color instead of cutting directly into bright footage. */
#inside .tech-pin::after{content:"";position:absolute;z-index:1;inset:0 0 auto;height:90px;background:linear-gradient(to bottom,#020607,rgba(2,6,7,0));pointer-events:none}
@media(max-width:600px){#inside .tech-pin::after{height:36px}}


/* V14 AUTO PLAY: release the 4.6-screen scroll trap; keep cinematic layout. */
#inside{height:auto;min-height:0;scroll-margin-top:var(--site-nav-height,94px)}
#inside .tech-pin{position:relative;top:auto;min-height: min(760px,calc(100svh - var(--site-nav-height,94px)));height:auto}
#inside .tech-poster,#inside .tech-film{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#inside .tech-film{opacity:0;transition:opacity .22s ease;pointer-events:none}
#inside.video-ready .tech-film{opacity:1}
#inside .tech-progress .tech-toggle{display:inline-flex;justify-content:center;align-items:center;gap:7px;flex:none;border:1px solid rgba(136,187,242,.55);background:rgba(2,11,20,.85);color:#e8f4ff;border-radius:6px;padding:8px 13px;min-width:76px;cursor:pointer;font:700 11px Arial,sans-serif;letter-spacing:.02em}
#inside .tech-toggle:hover{border-color:#d9b46a}
#inside .tech-toggle:focus-visible{outline:2px solid #88bbf2;outline-offset:3px}
#inside .tech-error{position:absolute;z-index:4;bottom:72px;left:clamp(32px,6vw,110px);max-width:min(420px,70%);padding:10px 14px;border:1px solid rgba(255,170,100,.5);border-radius:8px;background:#121922;color:#ffcb96;font-size:12px}
#inside .tech-error[hidden]{display:none}
@media(max-width:600px){
  #inside{height:auto!important}
  #inside .tech-pin{position:relative;top:auto;height:auto;min-height:0}
  #inside .tech-progress{flex-wrap:wrap;gap:10px}
  #inside .tech-progress .tech-toggle{padding:7px 12px;min-width:66px}
  #inside .tech-hint{font-size:8px}
  #inside .tech-error{position:relative;inset:auto;order:4;max-width:100%}
}
@media(prefers-reduced-motion:reduce){#inside .tech-film{transition:none}}
