/* Mobile is a separate composition of the same story, not a scaled desktop. */
.menu-toggle,.mobile-copy,.mobile-team-summary{display:none}
.scene-image{background:none}.scene-image img{width:100%;height:100%;object-fit:cover;display:block}
#mobile-menu{padding:0;border:0;color:var(--ink);background:var(--bg);width:100%;max-width:none;height:100dvh;max-height:none;margin:0;overflow:auto}
#mobile-menu::backdrop{background:#060d13}
.menu-head{height:calc(72px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 6% 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.menu-close,.menu-toggle{width:44px;height:44px;padding:10px;border:0;background:transparent;color:var(--ink);cursor:pointer}
.menu-close{font-size:32px;font-weight:300;line-height:1}
.menu-body{padding:44px 7% max(28px,env(safe-area-inset-bottom))}
.menu-body nav{display:grid;margin:20px 0 36px}
.menu-body nav a{min-height:76px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);font-family:var(--heading);font-size:27px;letter-spacing:-1px}
.menu-body nav a>span{font:10px var(--body);letter-spacing:1px;color:#819dab}
.menu-body nav a b{font-size:23px;font-weight:400;color:#92b8c3;margin-left:auto}
.menu-body .button{width:100%;min-height:52px;font-size:13px}
.menu-caption{margin:28px 0 0;font-size:12px;line-height:1.7}
html.menu-open{overflow:hidden}
@media(max-width:767px){
  :root{--mobile-header:calc(72px + env(safe-area-inset-top))}
  html{scroll-padding-top:calc(var(--mobile-header) + 20px)}
  .header{position:fixed;top:0;left:0;right:0;height:var(--mobile-header);z-index:80;background:#060d13f5;backdrop-filter:blur(14px);padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left));border-color:#b9d2e622}
  .header .brand,.menu-head .brand{min-height:44px;font-size:18px;letter-spacing:-.6px;gap:9px}
  .header nav{display:none}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;align-items:center}
  .menu-toggle span{display:block;width:23px;height:1px;background:#d7e3e8}
  .desktop-copy{display:none}.mobile-copy{display:inline}
  .story{height:650svh}.stage{height:100svh;min-height:0}
  #scene,.scene-image{top:var(--mobile-header);height:calc(100% - var(--mobile-header))}
  .scene-image img{object-position:center}.scene-image{inset-inline:0}
  .shade{background:linear-gradient(0deg,#060d13f0 0%,#060d1370 15%,transparent 31%,transparent 72%,#060d1340 100%)}
  .stage.is-connected .shade{background:linear-gradient(0deg,#060d13fa 0%,#060d13cc 17%,#060d1360 29%,transparent 48%)}
  .stage-top,.hero .eyebrow,.hero>p,.hero-foot,.story-rail,.agent-labels,.collab-signal{display:none!important}
  .chapter{left:max(24px,env(safe-area-inset-left));width:calc(100% - 48px);max-width:500px;top:auto;bottom:calc(90px + env(safe-area-inset-bottom));transform:none}
  .hero{top:calc(var(--mobile-header) + 28px);bottom:auto;text-align:center;width:calc(100% - 40px);left:20px}
  .hero h1{font-size:clamp(38px,10.8vw,53px);letter-spacing:-2.3px;line-height:1.08}
  .hero .button{margin-top:20px;min-height:46px;padding:12px 20px;gap:28px;font-size:12px}
  .agent-chapter .eyebrow,.agent-chapter>p,.agent-chapter .task-list,.agent-chapter .handoff{display:none}
  .agent-chapter .agent-id{margin-bottom:16px;gap:10px}
  .agent-id span{font-size:10px;padding:5px 7px}.agent-id strong{font-size:13px}
  .agent-chapter h2{font-size:clamp(33px,9.8vw,45px);line-height:1.08;letter-spacing:-1.8px}
  .agent-chapter .human-review{font-size:11px;line-height:1.5;margin-top:20px;max-width:290px;color:#c9d8df}
  .resolution{width:calc(100% - 48px);bottom:calc(88px + env(safe-area-inset-bottom))}
  .resolution .eyebrow,.resolution>p{display:none}.resolution h2{font-size:clamp(32px,8.8vw,43px);letter-spacing:-1.7px;line-height:1.1}
  .resolution .button{margin-top:20px;min-height:48px;font-size:12px}
  .stage-bottom{left:24px;right:16px;bottom:max(14px,env(safe-area-inset-bottom));font-size:8px;letter-spacing:1px;min-height:44px;gap:12px}
  .scroll-cue{font-size:8px;line-height:1.6;max-width:170px}.scroll-icon{display:none}
  .chapter-counter{display:none}.skip-story{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:80px;font-size:10px;letter-spacing:.4px}
  .progress{bottom:env(safe-area-inset-bottom)}
  .section{padding:72px max(24px,env(safe-area-inset-left));scroll-margin-top:0}
  .section h2{font-size:clamp(33px,8.8vw,44px);line-height:1.15;letter-spacing:-1.6px}
  .section .eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:20px}
  .section p,.section-heading p,.workflow-intro p,.workflow-steps p,.principles p,.pilot p{font-size:14px;line-height:1.8}
  .principles,.pilot-steps{grid-template-columns:1fr;gap:32px;margin-top:40px}
  .principles h3,.pilot h3,.workflow-steps h3{font-size:20px;line-height:1.35}
  .workflow{grid-template-columns:1fr;gap:30px}.workflow-intro p{max-width:none}
  .workflow-steps article{gap:18px}.workflow-steps small{font-size:9px;line-height:1.6}
  .workflow-steps article:not(:last-child):before{bottom:-24px}.tag{font-size:9px}
  .mobile-team-summary{display:block;border-bottom:1px solid var(--line)}
  .mobile-team-summary>p{margin:20px 0 28px}.mobile-team-summary details{border-top:1px solid var(--line)}
  .mobile-team-summary details:last-child{border-bottom:1px solid var(--line)}
  .mobile-team-summary summary{list-style:none;display:flex;align-items:center;min-height:76px;gap:16px;cursor:pointer;font-size:21px;font-family:var(--heading);letter-spacing:-.6px}
  .mobile-team-summary summary::-webkit-details-marker{display:none}
  .agent-number{font:10px var(--body);color:var(--accent);letter-spacing:1px}
  .detail-plus{margin-left:auto;font-weight:400;color:var(--accent);font-size:25px}
  details[open] .detail-plus{transform:rotate(45deg)}
  .agent-detail-body{padding:0 0 24px 30px}.agent-detail-body .task-list{font-size:12px;gap:11px;line-height:1.5}.agent-detail-body .detail-review{font-size:12px;color:var(--accent)}
  .closing .button{min-height:52px;line-height:1.5;font-size:12px;gap:20px}.closing .text-link{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;line-height:1.5}
  footer{padding:28px 24px max(24px,env(safe-area-inset-bottom));font-size:11px;gap:8px 20px}footer a{display:flex;align-items:center;min-height:44px}footer .brand{width:100%}
  .skip-link:focus{top:calc(var(--mobile-header) + 8px)}
  .reduced .story{height:auto}.reduced .stage{padding-top:var(--mobile-header);min-height:0}
  .reduced .scene-image{height:calc(100svh - var(--mobile-header));opacity:1;top:var(--mobile-header)}
  .reduced .hero{height:calc(100svh - var(--mobile-header));min-height:480px;padding-top:28px;margin:0 20px;text-align:center;width:calc(100% - 40px);border:0}
  .reduced .chapter{top:auto;bottom:auto;left:auto;width:auto;padding:42px 0;margin:0 24px}
  .reduced .hero{margin:0 20px;width:calc(100% - 40px);padding-top:28px}
  .reduced .hero h1{font-size:clamp(38px,10.8vw,53px)}
  .reduced .shade{height:100svh;background:linear-gradient(0deg,#060d13,transparent 30%)}
  .reduced .agent-chapter>p,.reduced .agent-chapter .task-list{display:block}
  .reduced .agent-chapter>p{font-size:14px;line-height:1.8;margin:20px 0}.reduced .task-list{font-size:13px;line-height:2}
  .reduced .mobile-team-summary{display:none}.reduced .resolution{padding-bottom:70px}
}
@media(max-width:767px) and (max-height:680px){
  .hero{top:calc(var(--mobile-header) + 15px)}.hero h1{font-size:36px}.hero .button{margin-top:12px;min-height:44px;padding:10px 17px}
  .agent-chapter{bottom:78px}.agent-chapter h2{font-size:33px}.agent-chapter .human-review{margin-top:12px;font-size:10px}.agent-chapter .agent-id{margin-bottom:12px}
  .resolution{bottom:76px}.resolution h2{font-size:31px}.resolution .button{margin-top:13px;min-height:44px}
  .menu-body{padding-top:24px}.menu-body nav{margin-bottom:24px}.menu-body nav a{min-height:62px;font-size:24px}
}
@media(prefers-reduced-motion:reduce){.detail-plus{transition:none}}
