/* A compact workcell and a visible feedback cycle carry the hero. */
.concept-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:stretch;gap:38px;padding-top:12px;padding-bottom:12px;min-height:0}
.concept-copy{padding:0;min-height:0;display:flex;flex-direction:column;justify-content:center}
.concept-copy .hero-date{display:block;margin:0 0 16px;font-size:13px;line-height:1.4;font-weight:400;letter-spacing:0;color:var(--muted)}
.concept-copy h1{font-size:clamp(44px,4.5vw,68px);line-height:1.08;letter-spacing:-.05em;font-weight:600;margin:0}
.concept-copy .subtitle{font-size:21px;line-height:1.4;letter-spacing:-.5px;margin:46px 0 0}
.scene-exhibit{min-width:0;position:relative;width:100%;max-width:590px;justify-self:end}

.scene-rounds{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:2px;white-space:nowrap;font-size:var(--body-size);line-height:1.4}
.scene-rounds button{border:0;background:transparent;padding:5px 3px;min-height:32px;font:inherit;color:var(--muted);border-radius:5px}
.scene-rounds button[aria-pressed=true]{color:var(--blue);background:transparent;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.scene-viewport{position:relative;height:250px;isolation:isolate}
#hero-canvas{position:absolute;inset:0;overflow:hidden;touch-action:pan-y}
#hero-canvas canvas{display:block;width:100%;height:100%;outline:none}
#hero-canvas:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;border-radius:4px}
.scene-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.scene-reset{min-height:36px;padding:5px 10px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--ink);font-size:var(--body-size);font-weight:600;line-height:1.4;white-space:nowrap}
.scene-reset:hover{border-color:var(--blue);background:var(--polish-surface)}
.scene-explanation{--bubble-fill:var(--wash);position:relative;display:grid;gap:6px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bubble-fill)}
.scene-explanation::before{content:"";position:absolute;left:24px;top:-5px;width:8px;height:8px;border-top:1px solid var(--line);border-left:1px solid var(--line);background:var(--bubble-fill);transform:rotate(45deg)}
.scene-exhibit[data-outcome=retry] .scene-captions{color:#a36614}.scene-exhibit[data-outcome=retry] .scene-explanation{--bubble-fill:color-mix(in srgb,#c18024 5%,var(--wash))}
.scene-exhibit[data-outcome=success] .scene-captions{color:#247e65}.scene-exhibit[data-outcome=success] .scene-explanation{--bubble-fill:color-mix(in srgb,#25856d 5%,var(--wash))}
.scene-result{position:absolute;width:29px;height:29px;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 2px 3px #00000014)}
.scene-result svg{display:block;width:100%;height:100%;overflow:visible}.scene-result circle{fill:#eff9f4;stroke:#25856d;stroke-width:1.4}.scene-result path{fill:none;stroke:#25856d;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.scene-result[data-outcome=retry] circle{fill:#fff6e8;stroke:#c18024}.scene-result[data-outcome=retry] path{stroke:#b77319}
.scene-result .result-retry,.scene-result[data-outcome=retry] .result-check{display:none}.scene-result[data-outcome=retry] .result-retry{display:block}
.scene-request{font-size:var(--body-size);line-height:1.5;color:var(--ink);text-align:center;max-width:none;margin:8px 0 18px}
.scene-footer{display:grid;grid-template-columns:290px minmax(0,1fr);align-items:center;gap:18px;margin-top:6px}
.scene-phases{position:relative;min-width:0;width:290px;max-width:100%;height:112px}
.scene-cycle{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:color-mix(in srgb,var(--muted) 70%,var(--line));stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible;pointer-events:none}
.scene-cycle .scene-arrowhead{stroke:var(--muted)}
.scene-phase{position:absolute;transform:translate(-50%,-50%);background:var(--paper,#fff);border:0;border-radius:4px;padding:5px 8px;min-height:32px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--muted);font-size:var(--body-size);line-height:1.4;white-space:nowrap}
.scene-phase[data-scene-phase="0"]{left:14%;top:50%}.scene-phase[data-scene-phase="1"]{left:50%;top:14.2857%}.scene-phase[data-scene-phase="2"]{left:86%;top:50%}.scene-phase[data-scene-phase="3"]{left:50%;top:85.7143%}
.scene-phase .phase-index{display:none}.scene-phase[aria-pressed=true]{color:var(--blue);font-weight:600;background:color-mix(in srgb,var(--blue) 7%,var(--paper,#fff))}.scene-phase:hover{color:var(--ink)}
.scene-caption-row{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:14px;min-width:0;width:100%;padding:0;margin:0}
.scene-captions{display:grid;margin:0;max-width:none;font-size:var(--body-size);line-height:1.55;color:var(--muted)}
.scene-captions span{grid-area:1/1;visibility:hidden}.scene-captions span[aria-hidden=false]{visibility:visible}
.scene-toggle,.scene-replay{border:1px solid var(--line);background:transparent;width:36px;height:36px;border-radius:50%;font-size:var(--body-size);flex:none;display:grid;place-items:center;color:var(--ink)}
.scene-toggle:hover,.scene-replay:hover{border-color:var(--blue)}
.scene-playback{display:flex;align-items:center;justify-content:center;width:100%;gap:7px}.scene-toggle svg{width:10px;height:10px;fill:currentColor}.scene-replay svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.scene-toggle .play-icon{display:none}.scene-toggle[aria-pressed=true] .play-icon{display:block}.scene-toggle[aria-pressed=true] .pause-icon{display:none}
.scene-exhibit [hidden]{display:none!important}
.scene-exhibit button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
html[data-theme=dark] .scene-fallback{filter:invert(.85) hue-rotate(180deg)}
html[data-theme=dark] .scene-phase{background:var(--bg,#101722)}
html[data-theme=dark] .scene-phase[aria-pressed=true]{background:color-mix(in srgb,var(--blue) 15%,var(--bg,#101722))}
html[data-theme=dark] .scene-exhibit[data-outcome=retry] .scene-captions{color:#e4b364}html[data-theme=dark] .scene-exhibit[data-outcome=success] .scene-captions{color:#6ac6a9}
@media(pointer:fine){#hero-canvas{cursor:grab}#hero-canvas.is-dragging{cursor:grabbing}}
@media(pointer:coarse){.scene-phase{min-height:36px}.scene-rounds button{min-height:36px}.scene-toggle,.scene-replay{width:36px;height:36px}.scene-reset{min-height:36px}}
@media(min-width:1500px){.concept-hero{gap:40px}}
@media(max-width:1100px){.concept-hero{gap:24px}.concept-copy h1{font-size:48px}.concept-copy .subtitle{font-size:19px}.scene-footer{gap:12px}}
@media(min-width:851px) and (max-width:1000px){.scene-footer{grid-template-columns:minmax(0,1fr);justify-items:center;gap:10px}.scene-caption-row{align-items:center;width:100%;text-align:center}.scene-captions{justify-content:center}}
@media(max-width:850px){.concept-hero{grid-template-columns:1fr;gap:28px;padding-top:34px;padding-bottom:20px}.concept-copy{padding:0;max-width:620px;display:block}.concept-copy h1{font-size:58px}.concept-copy .subtitle{margin-top:30px}.scene-exhibit{width:100%;max-width:650px;justify-self:center}.scene-viewport{height:300px}.scene-footer{gap:20px}}
@media(max-width:600px){.concept-hero{gap:24px;padding-top:28px;padding-bottom:18px}.concept-copy h1{font-size:43px;line-height:1.1}.concept-copy .subtitle{font-size:17px;margin-top:28px}.scene-viewport{height:248px;margin:0 -10px}.scene-footer{grid-template-columns:minmax(0,1fr);justify-items:center;gap:10px}.scene-caption-row{align-items:center;width:100%;text-align:center}.scene-captions{justify-content:center}}
@media(max-width:360px){.concept-copy h1{font-size:37px}.scene-viewport{height:225px}.scene-phase{padding:5px 6px}.scene-rounds button{padding:5px 3px}}
@media(prefers-reduced-motion:reduce){.scene-phase{transition:none}}

.hero-resources{display:flex;align-items:stretch;gap:12px;margin-top:28px;max-width:352px}
.hero-resource{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0;min-height:40px;padding:8px 14px;border:1px solid color-mix(in srgb,var(--blue) 40%,var(--line));border-radius:7px;background:transparent;color:var(--blue);font-size:13px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;white-space:nowrap}
.hero-resource:hover{background:color-mix(in srgb,var(--blue) 6%,transparent);border-color:var(--blue)}
.hero-resource:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(max-width:600px){.hero-resources{gap:10px;margin-top:24px;max-width:340px}.hero-resource{padding:8px 10px;font-size:12px}}

@media(min-width:1001px){.hero-resources{transform:translateY(var(--resource-offset,0px))}}
