/* Two scroll stories: an AI workspace and a coordinated web/advertising design. */
.motion-visual{position:relative;width:100%;min-width:0;margin:0;isolation:isolate}
.motion-window{position:relative;width:100%;aspect-ratio:600/440;perspective:1100px}
.motion-scene{position:absolute;left:50%;top:0;width:600px;height:440px;transform:translateX(-50%) scale(var(--motion-scale,.8));transform-origin:50% 0;perspective:1100px}
.motion-plane{position:absolute;inset:0;transform-style:preserve-3d}
.motion-visual-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.service-motion-toggle{min-height:32px;border:0;padding:5px 0 5px 10px;background:none;color:inherit;font:inherit;font-size:.58rem;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.service-motion-toggle:focus-visible{outline:2px solid #af925e;outline-offset:3px}
.service-motion-toggle[hidden]{display:none}
.motion-visual .ai-visual-note{margin:0}
.motion-visual .ai-scene-caption{padding:12px 0;min-height:43px}
.motion-visual .ai-scene-caption p{font-size:.72rem;letter-spacing:.02em}
.motion-visual .ai-progress i{background:rgba(151,140,117,.25)}
.motion-visual[data-phase="1"] .ai-progress i:first-child,
.motion-visual[data-phase="2"] .ai-progress i:nth-child(-n+2),
.motion-visual[data-phase="3"] .ai-progress i{background:#b39359}
/* White: keep typography and the illustration inside one pinned composition. */
.scroll-film .film-stage{height:100svh;min-height:0;padding:84px max(2.8vw,24px) 14px}
.scroll-film .film-overline{padding-bottom:12px}
.scroll-film .film-chapters{padding-top:12px;padding-bottom:2px}
.scroll-film .film-chapters>div{padding-bottom:8px}
.scroll-film .film-layout{min-height:0;grid-template-columns:.98fr 1fr;gap:24px}
.scroll-film .film-beats{min-width:0}
.scroll-film .workflow-visual{width:min(100%,calc((100svh - 250px) * 1.111));max-width:735px;justify-self:center;align-self:center}
.workflow-visual .ai-visual-top{display:none;color:#58717e;font-size:.57rem;letter-spacing:.13em;border-color:#b5a78566;padding-bottom:10px}
.workflow-visual .ai-visual-top span:first-child{color:#826434}
.workflow-visual{--warm:#d8bb76}
.workflow-visual .ai-scene-window{margin-inline:auto;background:radial-gradient(ellipse at 52% 39%,#d8eaf4b8,transparent 68%),radial-gradient(ellipse at 65% 85%,#eee6d840,transparent 65%);overflow:visible}
.workflow-visual .ai-orbit{position:absolute;left:75px;top:65px;width:450px;height:450px;border:1px solid rgba(68,126,155,.23);border-radius:50%;transform:rotateX(58deg) rotateZ(-23deg);pointer-events:none}
.workflow-visual .ai-orbit::after{content:"";position:absolute;inset:33px;border:1px dashed rgba(68,126,155,.18);border-radius:50%}
.workflow-visual .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)}
.workflow-visual .ai-core{position:absolute;left:145px;top:150px;width:310px;height:210px;transform:translateZ(35px);transform-style:preserve-3d}
.workflow-visual .ai-core::before{content:"";position:absolute;inset:-20px;border-radius:50%;background:radial-gradient(ellipse,#c4e2f170,transparent 68%);transform:translateZ(-18px)}
.workflow-visual .ai-core img{filter:none;display:block;width:100%;height:100%;object-fit:cover;object-position:center 46%;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse,#000 60%,transparent 78%)}
.workflow-visual .ai-connector{position:absolute;inset:0;width:600px;height:540px;overflow:visible;fill:none;stroke:rgba(67,120,148,.25);stroke-width:1;pointer-events:none}
.workflow-visual .ai-connector .ai-link-lit{stroke:#9b875c;stroke-width:1.4;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--flow-progress,0));opacity:.75}
.workflow-visual .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}
.workflow-visual .ai-panel::before{content:"";position:absolute;top:-1px;left:18px;right:18px;height:1px;background:linear-gradient(90deg,transparent,#9fcee3,transparent)}
.workflow-visual .ai-panel-mail{transform:translate3d(15px,95px,35px) rotateX(8deg) rotateY(15deg) rotateZ(-7deg)}
.workflow-visual .ai-panel-calendar{transform:translate3d(407px,117px,-25px) rotateX(8deg) rotateY(-17deg) rotateZ(8deg)}
.workflow-visual .ai-panel-document{transform:translate3d(333px,365px,45px) rotateX(10deg) rotateY(-12deg) rotateZ(6deg)}
.workflow-visual .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}
.workflow-visual .ai-panel-head svg{width:20px;height:20px;fill:none;stroke:var(--warm);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.workflow-visual .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}
.workflow-visual .ai-panel-dot{width:5px;height:5px;flex:none;border-radius:50%;background:#6bacc6}
.workflow-visual .ai-panel-line{display:block;height:3px;width:100%;background:rgba(139,181,203,.3);border-radius:2px}
.workflow-visual .ai-panel-line.short{width:64%}
.workflow-visual .ai-panel-time{font-size:9px;letter-spacing:.04em;color:#e3cd98}
.workflow-visual .ai-panel-document .ai-panel-row{margin:8px 0}
.workflow-visual .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}
.workflow-visual .ai-scene-caption{border-color:#b5a78566;padding:9px 0;min-height:32px}
.workflow-visual .ai-scene-caption p{color:#405b69}
.workflow-visual .motion-visual-bottom{display:none;color:#776d5b}
.workflow-visual .ai-visual-note{color:#788087;font-size:.56rem}
.ai-summary .hero-frame{display:block;min-height:0;padding:75px 0 85px;max-width:1050px}
.ai-summary .hero-copy{max-width:850px}
.ai-summary .hero-lead{max-width:46em}
.ai-summary .marquee-wrap{position:relative;bottom:auto}
/* Black: components assemble inside a browser, then expand to mobile and print. */
.web-motion-hero.motion-ready{min-height:560svh}
.web-motion-hero.motion-ready .hero-frame{height:100svh;min-height:0;position:sticky;top:0;padding-top:98px;padding-bottom:64px}
.web-motion-hero .creative-visual{width:min(100%,calc((100svh - 270px) * 1.3));justify-self:center}
.creative-visual::before{content:"";position:absolute;inset:0 -10%;z-index:-1;background:radial-gradient(ellipse,#27435452,transparent 68%);pointer-events:none}
.creative-grid{position:absolute;left:30px;top:280px;width:540px;height:175px;transform:rotateX(65deg);background:linear-gradient(#a7bdca14 1px,transparent 1px),linear-gradient(90deg,#a7bdca14 1px,transparent 1px);background-size:45px 45px;mask-image:radial-gradient(ellipse,#000,transparent 73%)}
.creative-orbit{position:absolute;inset:25px 20px;border:1px solid #bea47118;border-radius:50%;transform:rotateX(18deg) rotateZ(-20deg)}
.creative-browser{position:absolute;left:64px;top:85px;width:450px;height:284px;border:1px solid #ab997769;border-radius:12px;background:linear-gradient(145deg,#172c3a,#0b1723);box-shadow:0 25px 55px #0009,5px 8px 0 -3px #284350;transform-style:preserve-3d}
.browser-bar{height:31px;display:flex;align-items:center;gap:5px;padding:0 13px;border-bottom:1px solid #9aafa22d;background:#ffffff04;border-radius:12px 12px 0 0}
.browser-bar i{width:5px;height:5px;border-radius:50%;background:#a79160}.browser-bar i:nth-child(2){opacity:.5}.browser-bar i:nth-child(3){opacity:.25}
.browser-bar span{font-size:8px;letter-spacing:1.2px;color:#a0b4bf;margin:auto}
.browser-wire{position:absolute;inset:50px 20px 40px;display:grid;grid-template-columns:.85fr 1fr;grid-template-rows:65px 1fr;gap:13px;opacity:1}
.browser-wire i{border:1px dashed #afbdc744;border-radius:5px}.browser-wire i:first-child{grid-row:span 2}
.browser-footer{position:absolute;left:20px;right:20px;bottom:14px;font-size:7px;letter-spacing:1px;color:#7998aa;display:flex;justify-content:space-between;border-top:1px solid #adbdca24;padding-top:10px}
.creative-piece{position:absolute;left:0;top:0;transform-style:preserve-3d;border:1px solid #d0c09944;border-radius:6px;box-shadow:0 15px 35px #0005;backface-visibility:hidden}
.piece-art{width:170px;height:136px;background:#f1f3f7;overflow:hidden}
.piece-label{position:absolute;left:12px;top:10px;z-index:1;font-size:7px;letter-spacing:1.5px;color:#294a61}
.creative-visual .creative-logo{display:block;width:100%;height:100%;object-fit:contain}
.piece-title{width:220px;height:84px;padding:7px 11px;background:#132631}
.piece-title>span{font-size:7px;letter-spacing:1.8px;color:#ad9873;display:block;margin-bottom:5px}
.piece-title strong{font:600 26px/1.18 var(--display);letter-spacing:.03em;color:#f0ece3}.piece-title em{font-style:normal;color:#d6bd85}
.piece-copy{width:220px;height:53px;padding:9px 11px;background:#122430}
.piece-copy span{font-size:9px;color:#cad5da;display:block;margin-bottom:8px}
.piece-copy i{display:block;width:88%;height:2px;background:#849dab5e;margin-top:4px}.piece-copy i:last-child{width:65%}
.piece-button{width:123px;height:30px;padding:6px 12px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#dfcea1,#b49962);color:#112333;font-size:10px;font-weight:600;border-color:#decb9a}
.creative-phone{position:absolute;left:441px;top:168px;width:111px;height:219px;background:linear-gradient(145deg,#203441,#0c1e2b);border:2px solid #768389;border-radius:17px;padding:24px 10px 12px;box-shadow:0 20px 35px #0008;transform-style:preserve-3d}
.phone-speaker{position:absolute;top:7px;left:39px;width:30px;height:5px;border-radius:4px;background:#040b12}
.creative-phone>span{font-size:6px;letter-spacing:.7px;color:#b6c9d3;display:block;margin-bottom:8px}
.phone-art{height:58px;border:1px solid #b4a37c44;background:#f1f3f7;border-radius:3px;overflow:hidden}
.creative-phone strong{font:600 14px/1.35 var(--display);display:block;color:#d6c392;margin:9px 0 6px}
.phone-lines i{display:block;height:2px;background:#8ba2ae66;margin:4px 0;width:88%}.phone-lines i:last-child{width:65%}
.creative-phone b{display:block;background:#c6ae7c;color:#17313f;font-size:6px;padding:4px;margin-top:9px}.creative-phone small{font-size:6px;letter-spacing:.4px;color:#768d9c;display:block;margin-top:9px}
.creative-flyer{position:absolute;left:25px;top:256px;width:135px;height:165px;border:1px solid #b2a27f;background:linear-gradient(140deg,#e0d1ad,#a9956c);padding:13px;color:#1b3542;box-shadow:0 18px 35px #0007;transform-style:preserve-3d}
.creative-flyer>span{display:block;font-size:7px;letter-spacing:.6px}.creative-flyer strong{display:block;font:600 12px/1.5 var(--display);margin:12px 0 10px}.creative-flyer em{font-style:normal}
.flyer-art{height:38px;background:#f1f3f7;border-radius:3px;position:relative;overflow:hidden}
.creative-flyer small{display:block;font-size:5px;letter-spacing:.3px;margin-top:9px}
.creative-finish{position:absolute;left:170px;bottom:5px;right:20px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:8px;letter-spacing:1.5px;color:#c4ad78}
.creative-finish i{width:25px;height:1px;background:#a48e5866}
.creative-visual .ai-visual-top{font-size:.55rem;letter-spacing:.13em;padding-bottom:10px}
.creative-visual .ai-scene-caption p{color:#cad4d8}
.creative-visual .motion-visual-bottom{color:#93a6b4}
.creative-visual .ai-visual-note{font-size:.56rem}
.web-motion-hero.code-is-open{min-height:0}.web-motion-hero.code-is-open .hero-frame{position:relative;height:auto;min-height:100svh}
@media(max-width:767px){
 .scroll-film .film-stage{padding:74px 18px 74px;height:100svh;min-height:0}
 .scroll-film .film-overline{padding-bottom:8px}
 .scroll-film .film-layout{display:flex;flex-direction:column;justify-content:center;gap:4px;flex:1;min-height:0}
 .scroll-film .film-beats{flex:none;width:100%;padding:4px 0;min-height:206px}
 .scroll-film .film-beat .eyebrow{margin-bottom:10px}
 .scroll-film .film-beat p{font-size:.75rem;line-height:1.7;margin-top:12px}
 .scroll-film .film-topics{margin-top:12px;font-size:.75rem}.scroll-film .film-topics li{padding:5px 0}
 .scroll-film .workflow-visual{flex:none;width:min(100%,calc((100svh - 492px) * 1.04));max-width:430px}
 .workflow-visual .ai-visual-top{display:none}
 .motion-visual .ai-scene-caption{padding:7px 0;min-height:29px}
 .motion-visual .ai-scene-caption p{font-size:.62rem}
 .workflow-visual .motion-visual-bottom{display:none}
 .workflow-visual .ai-scene-caption{padding:5px 0;min-height:25px}
 .scroll-film .film-chapters{padding-top:5px;gap:10px}.scroll-film .film-chapters>div{padding-bottom:4px}
 .scroll-film .film-chapters small{display:none}.scroll-film .film-chapters span{grid-row:auto;font-size:1.05rem}.scroll-film .film-chapters b{font-size:.55rem}
 .scroll-film .film-bottom{min-height:32px}.scroll-film .ambient-toggle{min-height:32px}
 .ai-summary .hero-frame{padding:60px 0 70px}
 .web-motion-hero.motion-ready{min-height:560svh}
 .web-motion-hero.motion-ready .hero-frame{height:100svh;min-height:0;position:sticky;top:0;display:flex;flex-direction:column;justify-content:center;gap:18px;padding-top:84px;padding-bottom:82px}
 .web-motion-hero h1{font-size:clamp(1.6rem,7.2vw,2.3rem);line-height:1.4}
 .web-motion-hero .hero-lead{font-size:.72rem;line-height:1.8;margin:12px 0}
 .web-motion-hero .hero-actions .button{font-size:.72rem;min-height:40px;padding:7px 13px}
 .web-motion-hero .hero-actions .secondary-link{font-size:.7rem}.web-motion-hero .scroll-note{font-size:.5rem}
 .web-motion-hero .creative-visual{width:min(100%,calc((100svh - 425px) * 1.15));max-width:390px;margin:auto;flex:none}
 .creative-visual .ai-visual-top{font-size:.43rem;padding-bottom:7px}
 .creative-visual .motion-visual-bottom{margin-top:2px}
 .creative-visual .service-motion-toggle{min-height:28px;font-size:.51rem}
 .creative-visual .ai-visual-note{font-size:.48rem}
 .web-motion-hero.code-is-open .hero-frame{height:auto;position:relative;min-height:100svh}
}
@media(max-width:767px) and (max-height:740px){
 .scroll-film .film-stage{padding-top:72px;padding-bottom:70px}
 .scroll-film .film-beats{min-height:170px}
 .scroll-film .film-beat h1,.scroll-film .film-beat h2{font-size:1.9rem}
 .scroll-film .film-beat p{font-size:.69rem;margin-top:9px}
 .scroll-film .film-topics{font-size:.7rem;margin-top:9px}.scroll-film .film-topics li{padding:4px 0}
 .scroll-film .workflow-visual{width:min(100%,calc((100svh - 413px) * 1.04))}
 .web-motion-hero.motion-ready .hero-frame{gap:10px;padding-top:78px;padding-bottom:76px}
 .web-motion-hero .hero-lead{font-size:.66rem;line-height:1.65;margin:9px 0}
 .web-motion-hero h1{font-size:1.55rem}.web-motion-hero .creative-visual{width:min(100%,calc((100svh - 370px) * 1.15))}
}
@media(prefers-reduced-motion:reduce){
 .scroll-film{min-height:0}.scroll-film .film-stage{height:auto;min-height:0;position:relative}
 .scroll-film .film-layout{min-height:0;gap:32px}.scroll-film .film-beats{display:flex;flex-direction:column;gap:35px}
 .scroll-film .workflow-visual{width:100%;max-width:560px}
 .web-motion-hero.motion-ready{min-height:0}.web-motion-hero.motion-ready .hero-frame{height:auto;min-height:100svh;position:relative}
 .motion-plane{transform:none!important}
 .marquee{animation:none!important}
}
