/* A scroll-led, dimensional illustration using the existing brand artwork. */
.hero.ai-hero{display:block;min-height:0;padding:0;overflow:clip}
.ai-hero::before{background:radial-gradient(ellipse at 80% 40%,rgba(16,67,103,.2),transparent 56%),linear-gradient(90deg,rgba(2,7,16,.94),rgba(2,7,16,.68))}
.ai-hero .hero-frame{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;min-height:100svh;padding-top:112px;padding-bottom:112px}
.ai-hero .hero-copy{width:100%;padding:0;min-width:0}
.ai-hero .hero-copy::before{display:none}
.ai-hero h1{font-size:clamp(2.6rem,3.65vw,3.65rem);letter-spacing:.025em;line-height:1.5;max-width:12em}
.ai-hero .hero-line{white-space:normal;max-width:none}
.ai-hero .hero-lead{font-size:clamp(.85rem,1.1vw,1rem);line-height:2;margin:24px 0}
.ai-hero .eyebrow{font-size:.7rem;letter-spacing:.17em}
.ai-hero .scroll-note{display:block;width:100%;font-size:.65rem;letter-spacing:.14em;color:#94aabd}
.ai-hero .hero-mobile-break{display:inline}
.ai-hero .code-panel{width:100%;max-width:100%;margin-top:24px}
.ai-hero .outline-word{display:none}
.ai-visual-track{display:contents}
.ai-visual{position:relative;min-width:0;width:100%;margin:0;isolation:isolate}
.ai-visual::before{content:"";position:absolute;inset:2% -3% 10%;z-index:-1;background:radial-gradient(ellipse,rgba(55,125,157,.14),transparent 68%);pointer-events:none}
.ai-visual-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.61rem;letter-spacing:.2em;color:#a7bacc;border-bottom:1px solid rgba(162,195,214,.2);padding:0 0 15px}
.ai-visual-top span:first-child{color:var(--warm)}
.ai-scene-window{position:relative;width:100%;aspect-ratio:600/540;overflow:visible;perspective:1100px}
.ai-scene{position:absolute;left:50%;top:0;width:600px;height:540px;transform:translateX(-50%) scale(var(--scene-scale,.9));transform-origin:50% 0;perspective:1000px}
.ai-plane{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(var(--scene-rx,0deg)) rotateY(var(--scene-ry,0deg))}
.ai-orbit{position:absolute;left:75px;top:65px;width:450px;height:450px;border:1px solid rgba(125,184,211,.17);border-radius:50%;transform:rotateX(58deg) rotateZ(-23deg);pointer-events:none}
.ai-orbit::after{content:"";position:absolute;inset:33px;border:1px dashed rgba(125,184,211,.13);border-radius:50%}
.ai-orbit::before{content:"";position:absolute;left:35px;top:63px;width:6px;height:6px;border-radius:50%;background:var(--warm);box-shadow:0 0 15px rgba(216,187,118,.65)}
.ai-core{position:absolute;left:145px;top:150px;width:310px;height:210px;transform:translateZ(35px);transform-style:preserve-3d}
.ai-core::before{content:"";position:absolute;inset:-20px;border-radius:50%;background:radial-gradient(ellipse,rgba(99,195,243,.18),transparent 65%);transform:translateZ(-18px)}
.ai-core img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:screen;mask-image:radial-gradient(ellipse,#000 40%,transparent 75%)}
.ai-connector{position:absolute;inset:0;width:600px;height:540px;overflow:visible;fill:none;stroke:rgba(148,195,219,.2);stroke-width:1;pointer-events:none}
.ai-connector .ai-link-lit{stroke:var(--warm);stroke-width:1.4;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--flow-progress,0));opacity:.75}
.ai-panel{position:absolute;left:0;top:0;width:170px;height:142px;padding:17px 18px;background:linear-gradient(135deg,rgba(20,43,62,.97),rgba(5,15,29,.97));border:1px solid rgba(126,177,203,.43);border-radius:9px;box-shadow:9px 15px 0 -10px #08182a,10px 16px 0 -9px rgba(129,178,204,.24),0 20px 38px rgba(0,0,0,.27);backface-visibility:hidden;transform-style:preserve-3d}
.ai-panel::before{content:"";position:absolute;top:-1px;left:18px;right:18px;height:1px;background:linear-gradient(90deg,transparent,#9fcee3,transparent)}
.ai-panel-mail{transform:translate3d(15px,95px,35px) rotateX(8deg) rotateY(15deg) rotateZ(-7deg)}
.ai-panel-calendar{transform:translate3d(407px,117px,-25px) rotateX(8deg) rotateY(-17deg) rotateZ(8deg)}
.ai-panel-document{transform:translate3d(333px,365px,45px) rotateX(10deg) rotateY(-12deg) rotateZ(6deg)}
.ai-panel-head{display:flex;align-items:center;gap:9px;color:#e6edf0;line-height:1;font-size:17px;font-weight:500;letter-spacing:.12em;margin-bottom:17px}
.ai-panel-head svg{width:20px;height:20px;fill:none;stroke:var(--warm);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.ai-panel-row{display:flex;align-items:center;gap:9px;margin:10px 0;font-size:10px;color:#a9becd;line-height:1.4;letter-spacing:.05em}
.ai-panel-dot{width:5px;height:5px;flex:none;border-radius:50%;background:#6bacc6}
.ai-panel-line{display:block;height:3px;width:100%;background:rgba(139,181,203,.3);border-radius:2px}
.ai-panel-line.short{width:64%}
.ai-panel-time{font-size:9px;letter-spacing:.04em;color:#e3cd98}
.ai-panel-document .ai-panel-row{margin:8px 0}
.ai-panel-foot{position:absolute;bottom:12px;left:18px;right:18px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;color:#708b9f}
.ai-scene-caption{margin:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-top:1px solid rgba(162,195,214,.2)}
.ai-scene-caption p{font-size:.78rem;letter-spacing:.07em;color:#c4d4de;margin:0}
.ai-progress{display:flex;gap:6px;flex-shrink:0}
.ai-progress i{height:3px;width:20px;background:rgba(166,189,202,.22)}
.ai-progress i:first-child{background:var(--warm)}
.ai-visual[data-step="organized"] .ai-progress i{background:var(--warm)}
.ai-visual-note{font-size:.62rem;letter-spacing:.08em;color:#8ca1b4;margin:12px 0 0}
.ai-visual-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ai-motion-toggle{min-height:44px;padding:6px 0 6px 12px;border:0;background:none;color:#b6c6d1;font:inherit;font-size:.62rem;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.ai-motion-toggle[hidden]{display:none}
.site-motion-paused .marquee{animation-play-state:paused}
.site-motion-paused [data-reveal]{transition:none!important}
.ai-hero.motion-ready{min-height:240svh}
.ai-hero.motion-ready .hero-frame{position:sticky;top:0}
.ai-hero.code-is-open{min-height:0}
.ai-hero.code-is-open .hero-frame{position:relative}
@media(min-width:1100px){.ai-hero .hero-frame{width:min(1280px,calc(100% - 100px));grid-template-columns:1fr 1.05fr;gap:38px}}
@media(min-width:768px) and (max-height:820px){
  .ai-hero .hero-frame{padding-top:90px;padding-bottom:74px}
  .ai-hero .ai-visual{max-width:min(100%,calc((100svh - 320px) * 1.111));justify-self:center}
  .ai-hero h1{font-size:clamp(2rem,3.3vw,3rem)}
  .ai-hero .hero-lead{margin:18px 0;font-size:.86rem}
}
@media(max-width:1023px){
  .ai-hero .hero-frame{gap:12px}.ai-hero h1{font-size:clamp(2rem,4.3vw,2.8rem)}
  .ai-hero .hero-lead span{display:inline}.ai-hero .hero-lead span+span::before{content:" "}
}
@media(max-width:767px){
  .ai-hero.motion-ready{min-height:0}.ai-hero.motion-ready .hero-frame{position:relative}
  .ai-hero .hero-frame{display:flex;flex-direction:column;align-items:stretch;gap:34px;padding-top:114px;padding-bottom:94px;min-height:0}
  .ai-hero h1{font-size:clamp(1.85rem,7.8vw,2.65rem);line-height:1.46;max-width:12em}
  .ai-hero .hero-lead{font-size:.85rem;line-height:1.95;max-width:30em;margin:20px 0}
  .ai-hero .hero-actions{gap:10px 20px}.ai-hero .scroll-note{font-size:.58rem}
  .ai-hero .eyebrow{font-size:.59rem;margin-bottom:18px}
  .ai-visual{max-width:520px;align-self:center}
  .ai-visual-track{display:block;position:relative;min-width:0;width:100%}
  .ai-visual-track .ai-visual{margin-inline:auto}
  .ai-hero.motion-ready .ai-visual-track{height:calc(var(--ai-visual-height,435px) + 160svh)}
  .ai-hero.motion-ready .ai-visual{position:sticky;top:max(88px,calc((100svh - var(--ai-visual-height,435px) - 8px) / 2));max-width:min(100%,520px,calc((100svh - 320px) * 1.111))}
  .ai-visual-top{font-size:.52rem;padding-bottom:10px}
  .ai-scene{transform:translateX(-50%) scale(var(--scene-scale,.48))}
  .ai-scene-caption{padding:12px 0;gap:8px}.ai-scene-caption p{font-size:.68rem}
  .ai-progress i{width:15px}.ai-visual-note{font-size:.56rem}
}
@media(prefers-reduced-motion:reduce){
  .ai-hero.motion-ready{min-height:0}.ai-hero.motion-ready .hero-frame{position:relative}
  .ai-plane{transform:none!important}
}
