/* An illustrated solar story; the existing site remains usable without WebGL. */
.solar-story{background:#f7f5ef;border-top:1px solid #e8e3d8;border-bottom:1px solid #e8e3d8;position:relative}
.solar-story .section-heading{align-items:end}
.solar-story .section-heading>p{max-width:320px}
.solar-story-flow{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr);gap:70px;align-items:start}
.solar-stage{position:relative;background:radial-gradient(ellipse at 30% 15%,#fffdf6,#eee9dd 80%);border:1px solid #d9d3c6;min-width:0;overflow:hidden;box-shadow:0 24px 60px #20355308}
.solar-stage-top{position:absolute;z-index:2;top:23px;left:26px;right:26px;display:flex;justify-content:space-between;gap:15px;align-items:center;pointer-events:none}
.solar-stage-top>span{font-size:10px;color:#7b6748;letter-spacing:.14em;font-weight:600}
.solar-scene-toggle{pointer-events:auto;background:#fff9;border:1px solid #d5c9b2;border-radius:30px;padding:8px 12px;color:var(--navy);font-size:12px;min-height:36px}
.solar-scene-toggle:hover{background:#fff}
.solar-scene-view{height:470px;position:relative}
.solar-scene-view canvas{width:100%;height:100%;display:block;position:absolute;inset:0;opacity:0;pointer-events:none}
.solar-scene-fallback{width:100%;height:100%;object-fit:contain;display:block;padding:40px 14px 5px}
.solar-story.is-rendered .solar-scene-view canvas{opacity:1}
.solar-story.is-rendered .solar-scene-fallback{visibility:hidden}
.solar-stage-bottom{position:relative;z-index:2;border-top:1px solid #d9d3c6;margin:0 26px;padding:20px 0 24px}
.solar-scene-status{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#6f706c;line-height:1.5;margin-bottom:14px}
.solar-scene-status strong{font-weight:600;color:var(--navy)}
.solar-stage-progress{height:2px;background:#d8d2c6;overflow:hidden}
.solar-stage-progress>span{display:block;width:100%;height:100%;background:var(--gold);transform:scaleX(var(--solar-progress,0));transform-origin:left}
.solar-stage-labels{display:flex;justify-content:space-between;gap:10px;margin-top:11px;font-size:9px;letter-spacing:.13em;color:#777972}
.solar-stage-labels .active{color:#896022;font-weight:700}
.solar-story-note{font-size:11px;line-height:1.6;color:#73756f;margin:16px 0 0}
.solar-steps{display:grid;gap:32px}
.solar-step{border-top:1px solid #d5d2c9;padding-top:27px}
.solar-step-number{font-size:11px;letter-spacing:.14em;font-weight:600;color:#9a753c;display:block;margin-bottom:17px}
.solar-step h3{font-size:30px;letter-spacing:-.045em;margin-bottom:18px}
.solar-step p{font-size:16px;line-height:1.85;color:var(--muted);max-width:340px}
.solar-step .text-link{margin-top:24px}
.solar-story.is-3d .solar-stage-wrap{position:sticky;top:112px}
.solar-story.is-3d .solar-step{min-height:430px;display:flex;flex-direction:column;justify-content:center;padding:40px 0;transition:opacity .3s}
.solar-story.is-3d .solar-step:last-child{min-height:540px}
.solar-story.is-3d .solar-step .text-link{align-self:flex-start}
.solar-story.is-3d .solar-step:not(.active){opacity:.62}
.solar-story.is-paused .solar-step{opacity:1}
@media(max-width:1100px){.solar-story-flow{gap:38px}.solar-scene-view{height:420px}.solar-stage-top{left:20px;right:20px}.solar-stage-bottom{margin:0 20px}.solar-step h3{font-size:27px}}
@media(max-width:800px){
 .solar-story-flow{grid-template-columns:1fr;gap:35px}
 .solar-scene-view{height:370px}
 .solar-story.is-3d .solar-stage-wrap{top:88px;z-index:3;background:var(--cream);padding-bottom:12px}
 .solar-story.is-3d .solar-scene-view{height:clamp(220px,34svh,340px)}
 .solar-story.is-3d .solar-step,.solar-story.is-3d .solar-step:last-child{min-height:62svh;padding:32px 0;justify-content:center}
 .solar-stage-bottom{padding:12px 0 15px}.solar-scene-status{font-size:11px;margin-bottom:10px}
 .solar-story-note{font-size:10px;margin-top:9px}.solar-stage-top{top:15px}
 .solar-stage-top>span{font-size:9px}.solar-scene-toggle{padding:6px 10px;min-height:36px}
 .solar-step p{max-width:520px}
}
@media(max-width:480px){.solar-scene-view{height:300px}.solar-stage-labels{font-size:8px}.solar-scene-status{font-size:10px}.solar-stage-top{left:16px;right:16px}.solar-stage-bottom{margin:0 16px}.solar-step h3{font-size:28px}}
@media(prefers-reduced-motion:reduce){.solar-story .solar-step{transition:none}.solar-story.is-3d .solar-stage-wrap{position:static}.solar-story.is-3d .solar-step,.solar-story.is-3d .solar-step:last-child{min-height:0;padding:26px 0;opacity:1}.solar-scene-toggle{display:none}}
@media print{.solar-scene-view canvas,.solar-scene-toggle{display:none!important}.solar-scene-fallback{visibility:visible!important}.solar-story.is-3d .solar-stage-wrap{position:static}.solar-story.is-3d .solar-step,.solar-story.is-3d .solar-step:last-child{min-height:0;opacity:1}}
