/* Home-only immersive experiment. Other pages use the existing theme. */
.theme-immersive .site-header {
  position:fixed;
  inset:0 0 auto;
  z-index:30;
  background:transparent;
  border:0;
  backdrop-filter:none;
  box-shadow:none;
  transition:background-color .25s ease,backdrop-filter .25s ease;
}
.theme-immersive .site-header.is-scrolled { background:#06152bea; backdrop-filter:blur(16px); }
.theme-immersive .skip-link { z-index:50; color:#103351; }
.theme-immersive .site-header .container { max-width:1440px; width:calc(100% - 112px); }
.theme-immersive .main-nav a { color:#b8cbe2; }
.theme-immersive .main-nav a:hover,.theme-immersive .main-nav a[aria-current] { color:#fff; }
.theme-immersive .nav-cta { background:#fff; color:#092c55; border-color:#fff; }
.theme-immersive .menu-toggle { background:#ffffff08; border-color:#ffffff30; }
.theme-immersive .menu-toggle>span:not(.sr-only) { background:#fff; }
.immersive-hero {
  --pointer-x:0;
  --pointer-y:0;
  position:relative;
  isolation:isolate;
  display:grid;
  min-height:700px;
  min-height:max(700px,100svh);
  overflow:hidden;
  background:#06152b;
  color:#fff;
}
.immersive-hero::after {
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,#06152b 0%,#06152bf2 24%,#06152b99 43%,transparent 65%),linear-gradient(0deg,#06152b 0%,transparent 16%);
}
.hero-atmosphere { position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; background:radial-gradient(ellipse at 80% 38%,#007bf473,transparent 48%),radial-gradient(ellipse at 60% 92%,#0059cf35,transparent 50%); }
.hero-atmosphere::after { content:""; position:absolute; inset:0; opacity:.15; background-image:radial-gradient(#a4d4ff 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(90deg,transparent 35%,black); }
.hero-background-word { position:absolute; top:13%; right:-2%; font-size:clamp(220px,26vw,450px); font-weight:600; letter-spacing:-.09em; line-height:1; color:#73b6ff0b; transform:rotate(-9deg); }
.hero-orbit { position:absolute; width:660px; aspect-ratio:1; top:50%; left:77%; border:1px solid #61b7ff22; border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 70px #0074ff0b,inset 0 0 70px #0074ff0a; }
.orbit-two { width:810px; border-color:#61b7ff0d; }
.hero-character-track { position:absolute; z-index:1; right:-4%; top:10%; bottom:-15%; width:64%; transform:translate3d(calc(var(--pointer-x)*25px),calc(var(--pointer-y)*15px),0) rotate(calc(var(--pointer-x)*2deg)); will-change:transform; }
.hero-character-float { width:100%; height:100%; animation:you-robot-float 7s ease-in-out infinite; }
.hero-character { width:100%; height:100%; object-fit:contain; object-position:60% center; filter:drop-shadow(0 25px 55px #0088ff28); }
.immersive-inner { position:relative; z-index:3; display:flex; flex-direction:column; justify-content:center; max-width:1440px; width:calc(100% - 112px); margin-inline:auto; padding:145px 0 115px; pointer-events:none; }
.immersive-copy { max-width:590px; width:49%; pointer-events:auto; }
.immersive-kicker { display:flex; align-items:center; gap:10px; color:#8fbcdf; letter-spacing:2.2px; font-size:10px; margin-bottom:33px; }
.immersive-kicker>span { width:24px; height:1px; background:#3d9bf1; }
.immersive-intro { color:#bdd6ee; font-size:17px; margin-bottom:12px; }
.immersive-copy h1 { color:#fff; font-size:clamp(42px,4.6vw,70px); line-height:1.17; letter-spacing:-1.7px; }
.immersive-copy h1 span { color:#67c3ff; }
.immersive-copy h1::after { display:none; }
.hero-typewriter { margin-top:25px; min-height:108px; }
.hero-typed-copy { color:#c0d0e3; font-size:20px; line-height:1.7; font-weight:400; max-width:520px; }
.hero-typed-copy.is-typing::after { content:""; display:inline-block; width:2px; height:1em; margin-left:4px; vertical-align:-.1em; background:#83d3ff; animation:you-cursor 1s step-end infinite; }
.hero-pill-group { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:24px; }
.hero-pill { display:inline-flex; align-items:center; justify-content:center; min-height:40px; border:1px solid #fff; border-radius:999px; background:#fff; color:#102d4b; padding:8px 17px; font-size:13px; line-height:1.4; white-space:nowrap; transition:background-color .2s,color .2s,border-color .2s,transform .2s; }
.hero-pill:hover { background:#102d4b; color:#fff; border-color:#81c9ff; transform:translateY(-2px); }
.hero-phone { gap:9px; color:#d6e7fa; border-color:#6e8baa; background:transparent; }
.hero-phone .icon { width:15px; height:15px; }
.hero-phone:hover { background:#fff; color:#102d4b; border-color:white; }
.hero-pill-group.is-entering { animation:you-pills-enter .6s ease both; }
.immersive-bottom { position:absolute; bottom:27px; left:0; right:0; display:flex; justify-content:space-between; align-items:center; gap:20px; color:#8ca9c7; font-size:11px; pointer-events:auto; }
.hero-scroll-link { display:flex; align-items:center; gap:12px; color:#b7cee4; font-size:11px; }
.hero-scroll-link>span { height:32px; width:1px; background:linear-gradient(#99ceff,#99ceff00); }
.hero-scroll-link:hover { color:white; }
.immersive-bottom p span { margin-left:18px; color:#6c93b9; }
@keyframes you-robot-float { 0%,100% { transform:translateY(0) rotate(-1deg); } 50% { transform:translateY(-16px) rotate(1deg); } }
@keyframes you-cursor { 0%,100% { opacity:1; } 50% { opacity:0; } }
@keyframes you-pills-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(min-width:1600px) { .hero-character-track { right:0; width:62%; } .immersive-copy { max-width:650px; } .hero-typed-copy { max-width:570px; } }
@media(max-width:1100px) and (min-width:701px) {
  .theme-immersive .site-header .container { width:calc(100% - 72px); }
  .immersive-inner { width:calc(100% - 72px); padding-top:130px; }
  .immersive-copy { width:52%; }
  .immersive-copy h1 { font-size:clamp(37px,4.7vw,52px); }
  .hero-typed-copy { font-size:17px; }
  .hero-typewriter { min-height:110px; }
  .hero-character-track { width:68%; right:-15%; top:14%; bottom:-5%; }
  .hero-pill { font-size:12px; padding:8px 13px; }
  .immersive-intro { font-size:15px; }
}
@media(max-width:820px) {
  .theme-immersive:has(.main-nav.open) { overflow:hidden; }
  .theme-immersive .site-header:has(.main-nav.open) { backdrop-filter:none; }
  .theme-immersive .site-header .container { width:calc(100% - 40px); }
  .immersive-inner { width:calc(100% - 40px); }
  .theme-immersive .main-nav { background:#081d37; border-color:#ffffff15; }
  .theme-immersive .main-nav.open { position:fixed; inset:0; z-index:10; height:100dvh; min-height:100%; padding:100px 32px 40px; overflow-y:auto; overscroll-behavior:contain; flex-direction:column; flex-wrap:nowrap; justify-content:center; align-items:flex-start; gap:17px; background:#06152bf7; backdrop-filter:blur(18px); font-size:27px; }
  .theme-immersive .main-nav.open a { padding:7px 0; }
  .theme-immersive .main-nav.open a[aria-current]::after { bottom:0; }
  .theme-immersive .brand,.theme-immersive .header-actions,.theme-immersive .menu-toggle { position:relative; z-index:12; }
  .theme-immersive .site-header:not(.nav-ready) .main-nav { background:transparent; }
  .immersive-bottom p span { display:none; }
}
@media(max-width:820px) and (max-height:600px) {
  .theme-immersive .main-nav.open { justify-content:flex-start; padding-top:90px; gap:10px; }
}
@media(max-width:700px) {
  .immersive-hero { min-height:max(820px,100svh); }
  .immersive-inner { width:calc(100% - 40px); padding:365px 0 65px; justify-content:flex-end; }
  .immersive-copy { width:100%; max-width:520px; }
  .immersive-kicker { font-size:9px; letter-spacing:1.6px; margin-bottom:15px; }
  .immersive-intro { font-size:13px; margin-bottom:9px; }
  .immersive-copy h1 { font-size:clamp(33px,8.5vw,48px); line-height:1.2; letter-spacing:-1px; }
  .hero-typewriter { margin-top:16px; min-height:83px; }
  .hero-typed-copy { font-size:16px; line-height:1.7; max-width:420px; }
  .hero-pill-group { margin-top:16px; gap:8px; }
  .hero-pill { font-size:12px; padding:9px 13px; min-height:38px; }
  .hero-phone { font-size:12px; }
  .hero-character-track { width:112%; height:460px; right:-26%; top:67px; bottom:auto; }
  .hero-character { object-position:center top; }
  .immersive-hero::after { background:linear-gradient(0deg,#06152b 0%,#06152b 39%,#06152bd9 48%,#06152b15 70%,transparent 90%); }
  .hero-background-word { top:13%; right:1%; font-size:51vw; }
  .hero-orbit { top:28%; left:68%; width:400px; }
  .orbit-two { width:510px; }
  .hero-atmosphere { background:radial-gradient(ellipse at 75% 25%,#007bf475,transparent 55%); }
  .immersive-bottom { bottom:18px; gap:10px; font-size:9px; }
  .hero-scroll-link { font-size:10px; gap:8px; }
  .hero-scroll-link>span { height:22px; }
}
@media(max-width:370px) { .immersive-inner { width:calc(100% - 32px); } .immersive-copy h1 { font-size:31px; } .hero-pill { font-size:11px; padding-inline:12px; } }
@media(prefers-reduced-motion:reduce) {
  .hero-character-float,.hero-pill-group.is-entering,.hero-typed-copy.is-typing::after { animation:none; }
  .hero-character-track { transform:none; will-change:auto; }
  .hero-pill { transition:none; }
  .hero-pill:hover { transform:none; }
}
