/* Client-directed revision. The shared Scroll Craft engine stays unchanged. */
.hero{--hero-p:0;--hero-x:0px;--hero-y:0px}
.hero-stage{height:348px}
.hero-site{left:0;top:64px;width:42%;transform:translate3d(calc(var(--hero-p)*-28px + var(--hero-x)*.4),calc(var(--hero-p)*-52px + var(--hero-y)*.4),0) rotate(calc(-4deg + var(--hero-p)*4deg))}
.hero-board{right:0;top:8px;width:62%;transform:translate3d(calc(var(--hero-p)*24px + var(--hero-x)*.65),calc(var(--hero-p)*-28px + var(--hero-y)*.65),0) rotate(calc(2deg - var(--hero-p)*2deg))}
.hero-bundle{left:30%;top:112px;width:264px;transform:translate3d(calc(var(--hero-p)*-16px + var(--hero-x)),calc(var(--hero-p)*-80px + var(--hero-y)),0) rotate(calc(-6deg + var(--hero-p)*6deg)) scale(calc(1 - var(--hero-p)*.02))}
.hero-stage .screen{transform:none;box-shadow:0 10px 20px rgba(0,0,0,.15)}
.hero-site .screen{height:264px}.hero-board .screen{height:306px}.hero-bundle .screen{height:232px}
.hero-bundle img{object-fit:contain;object-position:center;background:#F4F6F3}
.hero-image{display:block;width:100%;padding:0;text-align:left;cursor:zoom-in}
.hero-image:focus-visible{outline:3px solid #8FA8F0;outline-offset:5px}
.capability-note{color:var(--muted);font-size:16px;line-height:1.6;margin-top:24px;max-width:33ch}
.service-row .examples{font-size:13px;color:var(--muted);line-height:1.5}
.working-principles{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;border-top:1px solid #D1D1C9;margin-top:40px;padding-top:32px}
.working-principles h3{font-size:20px;line-height:1.2}.working-principles p{font-size:16px;color:var(--muted);margin-top:12px;max-width:37ch}
.shaper-kicker{color:#AFC1F5;margin-bottom:24px}.brief-section h2{font-size:64px;max-width:15ch}
.brief-intro{max-width:64ch}.project-shaper{background:var(--paper);color:var(--ink);border-radius:16px;margin-top:48px;overflow:hidden;border:1px solid #52555A}
.shaper-steps{display:flex;align-items:center;padding:24px 32px;gap:32px;border-bottom:1px solid #D5D4CD}
.shaper-steps button{border:0;padding:0;background:none;display:flex;align-items:center;gap:10px;color:#606366;font-size:15px;font-weight:500;white-space:nowrap}
.shaper-steps button span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid #858884;font-size:12px;font-weight:600}
.shaper-steps button[aria-current="step"]{color:var(--blue)}.shaper-steps button[aria-current="step"] span{color:white;background:var(--blue);border-color:var(--blue)}
.shaper-steps button:disabled{color:#666965;cursor:default}.shaper-steps button.is-complete span{color:var(--blue);border-color:var(--blue)}
.shaper-progress{height:3px;background:#DCDCD6;overflow:hidden}.shaper-progress span{display:block;height:100%;background:var(--blue);transform-origin:left;transform:scaleX(.333333);transition:transform 220ms var(--ease)}
.shaper-content{padding:40px 32px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:40px}
.shaper-questions{min-width:0}.question-stage[hidden]{display:none}.question-stage h3{font-size:29px;font-weight:600;letter-spacing:-.025em}.question-stage h3:focus{outline:none}
.question-help{font-size:15px;color:var(--muted);margin-top:12px;max-width:58ch}.question-stage.is-entering{animation:stage-in 220ms var(--ease) both}
@keyframes stage-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.project-shaper fieldset{padding:0;margin:0;border:0;min-width:0}.project-shaper legend{font-weight:600;font-size:16px;line-height:1.4;padding:0;margin-bottom:16px}
.project-shaper .choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
.choice{border:1px solid #858884;border-radius:10px;background:#FFFFFF;display:flex;align-items:flex-start;gap:12px;padding:16px 14px;min-height:100px;cursor:pointer;transition:background 160ms var(--ease),border-color 160ms var(--ease)}
.choice input{appearance:none;width:18px;height:18px;border:1.5px solid #747972;border-radius:4px;flex:none;margin:3px 0 0;display:grid;place-content:center;background:white}
.choice input:checked{background:var(--blue);border-color:var(--blue)}.choice input:checked::after{content:"";width:8px;height:5px;border-left:2px solid white;border-bottom:2px solid white;transform:translateY(-1px) rotate(-45deg)}
.choice:has(input:checked){background:#EDF1FC;border-color:var(--blue)}.choice:focus-within{outline:2px solid var(--blue);outline-offset:3px}.choice input:focus-visible{outline:none}
.choice b{font-weight:500;display:block;font-size:15px;line-height:1.3;letter-spacing:-.01em}.choice small{display:block;font-size:13px;line-height:1.4;color:var(--muted);margin-top:8px}
.project-shaper .audience-group,.project-shaper .systems-group,.project-shaper .timing-group{margin-top:28px}
.compact-choices{display:flex;flex-wrap:wrap;gap:8px}.compact-choices label{position:relative;cursor:pointer;display:inline-flex}
.compact-choices input{position:absolute;width:1px;height:1px;opacity:0;margin:0;inset:50%}
.compact-choices span{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #858884;border-radius:8px;font-size:14px;line-height:1.4;background:white;min-height:44px}
.compact-choices input:checked+span{background:#EDF1FC;border-color:var(--blue);color:var(--blue);font-weight:500}.compact-choices input:checked+span::before{content:"✓";font-size:13px}
.compact-choices input:focus-visible+span{outline:2px solid var(--blue);outline-offset:3px}
.project-shaper .feature-grid .choice{min-height:106px}.project-shaper .feature-grid .choice b{font-size:16px}.project-shaper .field textarea{min-height:80px}
.project-shaper .field label span{font-weight:400;font-size:12px;color:var(--muted);margin-left:6px}.project-shaper .prototype-note{text-align:left}
.shaper-status{font-size:13px;color:var(--blue);min-height:20px;margin-top:16px}.shaper-actions{display:flex;gap:16px;align-items:center;margin-top:12px;padding-top:24px;border-top:1px solid #D5D4CD;min-height:73px}
.shaper-actions p{font-size:13px;color:var(--muted);max-width:29ch;margin:0}.shaper-actions .primary{margin-left:auto}.shaper-actions .btn:disabled{background:#606366;color:white;opacity:1}.shaper-back{padding:0 12px;min-height:44px;border:1px solid #858884;background:white;color:var(--ink)}
.shaper-actions [hidden]{display:none}.shaper-foot{display:flex;align-items:center;gap:12px;padding:20px 32px;border-top:1px solid #D5D4CD;background:#E9E8E4;min-height:65px}
.shaper-foot p{font-size:14px;line-height:1.5;color:#4F5355}.shaper-foot-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--blue)}
.project-outline{border-left:1px solid #D5D4CD;padding-left:32px;position:relative;min-width:0}.outline-heading p{font-size:17px;font-weight:600;letter-spacing:-.01em}.outline-heading span{display:block;font-size:13px;color:var(--muted);margin-top:8px;line-height:1.4}
.outline-toggle{display:none}.outline-graphic{height:500px;position:relative;margin-top:24px}.outline-connections{position:absolute;width:100%;height:500px;inset:0}
.outline-node{position:absolute;left:0;right:0;text-align:center;border:1px solid #858884;border-radius:10px;background:var(--paper);padding:16px 12px;display:flex;flex-direction:column;justify-content:center}
.outline-node>span,.outline-context>span{font-size:12px;color:var(--muted);line-height:1.4}.outline-node b{font-size:20px;font-weight:500;line-height:1.25;letter-spacing:-.025em;margin-top:8px}.outline-node p{font-size:13px;line-height:1.5;color:var(--muted);margin-top:10px}
.outline-people{top:0;min-height:104px}.outline-core{top:150px;min-height:128px;border-color:var(--blue);background:#EDF1FC}.outline-core b{color:var(--blue);font-size:23px}.outline-core p{color:#4C5363}.outline-features{top:323px;min-height:76px;padding:12px}.outline-features p{font-size:14px;color:var(--ink);margin-top:6px}.outline-context{position:absolute;top:443px;left:0;right:0;text-align:center}.outline-context p{font-size:14px;color:var(--ink);line-height:1.4;margin-top:6px}
.outline-caption{color:var(--muted);font-size:12px;line-height:1.6;max-width:40ch;margin-top:24px}.outline-mobile-summary{display:none}
.outline-graphic.is-updating .outline-path{stroke-dasharray:180;animation:draw-outline 380ms var(--ease)}.outline-graphic.is-updating .outline-core{animation:node-settle 240ms var(--ease)}
@keyframes draw-outline{from{stroke-dashoffset:180}to{stroke-dashoffset:0}}@keyframes node-settle{from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.generated-brief{border-top:1px solid #D5D4CD;border-bottom:1px solid #D5D4CD;padding:24px 0;margin-top:24px}.generated-brief .brief-type{font-size:25px;color:var(--blue);line-height:1.2;font-weight:600;letter-spacing:-.025em}.generated-brief>p+p{font-size:16px;margin-top:16px;line-height:1.6}.generated-brief dl{display:grid;grid-template-columns:110px 1fr;gap:12px 16px;margin:20px 0 0;font-size:14px;line-height:1.5}.generated-brief dt{color:var(--muted)}.generated-brief dd{margin:0}.target-date-field[hidden]{display:none}
.image-dialog{padding:20px;border:1px solid #64686A;background:var(--paper);color:var(--ink);border-radius:16px;width:min(1240px,calc(100% - 40px));max-height:calc(100dvh - 40px)}
.image-dialog::backdrop{background:rgba(17,18,19,.78)}.image-dialog-bar{display:flex;align-items:center;gap:24px;justify-content:space-between;padding-bottom:16px}.image-dialog-bar p{font-size:15px;font-weight:500}.image-dialog-bar button{min-height:44px;background:white;border:1px solid #858884;border-radius:8px;padding:0 14px;white-space:nowrap;font-size:14px}.image-dialog>img{max-height:calc(100dvh - 140px);width:100%;height:auto;object-fit:contain;object-position:center}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.project-shaper :focus-visible{outline-color:var(--blue)}.question-stage h3{scroll-margin-top:32px}.review-dialog{max-height:calc(100dvh - 40px);overflow:auto}
@media(hover:hover) and (pointer:fine){.choice:hover{border-color:var(--blue);background:#F6F8FD}.choice:has(input:checked):hover{background:#EDF1FC}.compact-choices label:hover span{border-color:var(--blue)}.shaper-steps button:not(:disabled):hover{color:var(--blue)}}
@media(max-width:1100px){.shaper-content{gap:24px;padding:32px 24px;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}.project-outline{padding-left:24px}.choice{padding:14px 12px;gap:10px}.choice b{font-size:14px}.choice small{font-size:12px}.hero-bundle{width:220px}.hero-bundle .screen{height:194px}.shaper-steps{gap:20px;padding:24px}.working-principles{gap:24px}.shaper-actions{gap:12px}.shaper-actions p{max-width:20ch}}
@media(max-width:760px){.hero-stage{height:248px}.hero-board{width:88%;top:8px;right:0}.hero-board .screen{height:178px}.hero-board img{width:100%;max-width:100%;object-fit:cover;object-position:top left}.hero-site{width:50%;left:-1%;top:104px;z-index:3}.hero-site .screen{height:128px}.hero-bundle{display:block;width:126px;left:auto;right:3%;top:115px;z-index:4}.hero-bundle .screen{height:112px}.capability-note{font-size:15px;max-width:40ch;margin-top:16px}.service-row .examples{font-size:12px}.working-principles{grid-template-columns:1fr;gap:24px;padding-top:24px;margin-top:32px}.working-principles h3{font-size:19px}.working-principles p{font-size:15px;margin-top:8px;max-width:45ch}.brief-section h2{font-size:44px}.shaper-kicker{font-size:13px;margin-bottom:20px}.project-shaper{margin-top:32px;border-radius:12px}.shaper-steps{padding:20px 16px;gap:8px;justify-content:space-between}.shaper-steps button{font-size:12px;display:flex;flex-direction:column;align-items:start;gap:8px;white-space:normal;line-height:1.3;max-width:100px}.shaper-steps button span{width:22px;height:22px;font-size:11px}.shaper-content{display:flex;flex-direction:column;gap:24px;padding:24px 16px}.question-stage h3{font-size:26px;line-height:1.12}.question-help{font-size:14px;margin-top:12px}.project-shaper .choice-grid{gap:10px;margin-top:20px}.choice{padding:12px 10px;gap:8px;min-height:128px}.choice b{font-size:14px;line-height:1.3}.choice small{font-size:12px;line-height:1.45;margin-top:8px}.choice input{width:16px;height:16px;margin-top:2px}.project-shaper legend{font-size:15px;margin-bottom:12px}.project-shaper .audience-group,.project-shaper .systems-group,.project-shaper .timing-group{margin-top:24px}.compact-choices{gap:8px}.compact-choices span{font-size:13px;padding:10px 11px;min-height:44px}.project-shaper .feature-grid .choice{min-height:132px}.project-shaper .feature-grid .choice b{font-size:14px}.shaper-actions{flex-wrap:wrap;gap:12px;padding-top:20px}.shaper-actions p{font-size:12px;flex:1;max-width:22ch}.shaper-actions .btn{padding:0 16px;font-size:14px}.shaper-status{margin-top:12px;font-size:12px}.project-outline{border-left:none;border-top:1px solid #D5D4CD;padding:20px 0 0}.outline-heading p{font-size:16px}.outline-heading span{display:none}.outline-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;padding:0;margin-top:12px;min-height:44px;border:none;background:none;color:var(--blue);width:100%;text-align:left}.outline-toggle span{font-size:23px}.outline-graphic{display:none;margin-top:16px;max-width:380px;margin-inline:auto}.project-outline.is-open .outline-graphic{display:block}.outline-caption{display:none}.project-outline.is-open .outline-caption{display:block;max-width:none;margin-top:20px}.outline-mobile-summary{display:block;font-size:14px;color:var(--muted);margin-top:4px;line-height:1.55}.shaper-foot{padding:16px;align-items:flex-start;min-height:auto}.shaper-foot-dot{margin-top:7px}.shaper-foot p{font-size:12px;line-height:1.5}.generated-brief{padding:20px 0;margin-top:20px}.generated-brief .brief-type{font-size:24px}.generated-brief>p+p{font-size:15px}.generated-brief dl{grid-template-columns:1fr;gap:6px;font-size:14px}.generated-brief dd+dt{margin-top:12px}.project-shaper .field{margin-top:20px}.project-shaper .field-row{grid-template-columns:1fr}.project-shaper .field label{font-size:14px}.project-shaper .field input{font-size:16px}.image-dialog{padding:16px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.image-dialog-bar{gap:12px}.image-dialog-bar p{font-size:13px}.image-dialog-bar button{padding:0 10px;font-size:13px}.image-dialog>img{max-height:calc(100dvh - 150px)}}
@media(prefers-reduced-motion:reduce){.hero-stage>div{transform:none!important}.question-stage.is-entering,.outline-graphic.is-updating .outline-path,.outline-graphic.is-updating .outline-core{animation:none!important}.shaper-progress span{transition:none!important}}
