/* Locally drawn vector scenes; all colours follow the existing theme. */
.art-wash{fill:var(--mint);opacity:.62}.art-soft{fill:var(--mint)}.art-paper{fill:var(--paper)}.art-accent{fill:#d5a487;stroke:#a16f50}html[data-theme=dark] .art-accent{fill:#a77757;stroke:#d7ad8c}
.audience-art{width:100%;height:135px;margin:0 0 1.3rem;color:var(--ink);transition:transform .25s}.audience:hover .audience-art{transform:translateY(-3px)}.audience h2{font-size:1.06rem}
.habitat-compare{table-layout:fixed}.habitat-compare th:first-child{width:16%;min-width:0}.habitat-compare td{width:28%}.habitat-compare th,.habitat-compare td{padding:1.1rem .8rem}.habitat-compare th a{white-space:nowrap}.ifwf-note{border-left:2px solid var(--accent);padding:0 0 0 1.4rem;max-width:82ch}.ifwf-note p{color:var(--muted)}.demo-reserve{max-width:850px}.demo-reserve p{color:var(--muted)}
/* Without JavaScript or with reduced motion the final scene is a normal section. */
.space-story{--header-height:73px;position:relative;border-bottom:1px solid var(--line)}
.space-sticky{background:var(--paper)}.space-layout{padding-top:2rem;padding-bottom:1rem;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.75rem}
.space-intro{display:grid;grid-template-columns:.85fr 1.4fr;gap:3rem;align-items:start}.space-intro h1{font-size:2.05rem;margin:0}.space-intro .lead{font-size:.97rem;line-height:1.65;margin:0;max-width:79ch}
.space-picture{min-height:0;display:flex;justify-content:center;overflow:hidden}.space-scene{width:100%;height:100%;max-height:550px;display:block;overflow:hidden;color:var(--ink)}
.space-floor{fill:var(--mint);stroke:var(--line)}.space-wall{fill:var(--mint)}.space-grid{stroke:var(--line);opacity:.65}.space-surface{fill:var(--paper)}.space-soft{fill:var(--mint)}.space-timber{fill:#e5d1b7;stroke:#8d775e}.space-skin{fill:#cfa17e;stroke:#6a5346}.space-shirt{fill:#698b7b;stroke:var(--ink)}.space-shadow{fill:var(--ink);opacity:.08}.space-room-edge{stroke:var(--muted);opacity:.6}.space-window{fill:#e7efea}.space-foliage{fill:#d0dfc8;stroke:#789073}.space-light{fill:#ebdebb}.space-land{fill:var(--mint);opacity:.65}.space-paths{stroke:var(--muted);opacity:.45;stroke-width:1.4}.space-choices{stroke:var(--accent);opacity:.55;stroke-dasharray:2 7}.space-choices circle{fill:var(--paper);stroke-dasharray:none}.space-thread{stroke:var(--accent);stroke-width:2.4}.space-arm{stroke-width:3}.space-glow{fill:#eadba2;opacity:.3}
html[data-theme=dark] .space-timber{fill:#564b3b;stroke:#bbaa91}html[data-theme=dark] .space-skin{fill:#ba8c6c;stroke:#dab595}html[data-theme=dark] .space-shirt{fill:#607f70}html[data-theme=dark] .space-window{fill:#354f47}html[data-theme=dark] .space-foliage{fill:#344e36;stroke:#8fac88}html[data-theme=dark] .space-light{fill:#766d47}html[data-theme=dark] .space-glow{fill:#d3bf78}
.space-institution{opacity:0}.space-copy{text-align:center;min-height:78px;display:flex;flex-direction:column;justify-content:center}.space-caption{font-size:1.23rem;line-height:1.45;letter-spacing:-.015em;margin:0}.space-caption[hidden]{display:none}.space-products{font-size:.8rem;margin:.5rem 0 0;color:var(--muted)}
.space-controls{display:flex;align-items:center;gap:1.3rem;min-height:40px;color:var(--muted);font-size:.75rem}.space-controls a{text-decoration:none}.space-skip{margin-left:auto;white-space:nowrap}.space-progress{width:100px;height:2px;background:var(--line);overflow:hidden}.space-progress span{display:block;width:100%;height:100%;background:var(--accent);transform-origin:left;transform:scaleX(1)}.space-toggle{font:inherit;background:transparent;border:1px solid var(--line);color:var(--ink);padding:.4rem .8rem;border-radius:3px;cursor:pointer;min-width:90px}.space-toggle,.space-scroll,.space-progress{display:none}
.space-story[data-mode=scroll]{height:500svh}.space-story[data-mode=scroll] .space-sticky{position:sticky;top:var(--header-height);height:calc(100svh - var(--header-height))}.space-story[data-mode=scroll] .space-layout{height:100%}.space-story[data-mode=scroll] .space-scroll,.space-story[data-mode=scroll] .space-progress{display:block}
.space-story[data-mode=auto] .space-toggle,.space-story[data-mode=auto] .space-progress{display:block}.space-story[data-mode=auto] .space-scene{height:auto;aspect-ratio:1.4}
@media(max-width:1150px){.space-intro h1{font-size:1.85rem}.space-intro{gap:2rem;grid-template-columns:1fr 1.6fr}}
@media(max-width:1050px){.audience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.audience h2{font-size:.95rem}}
@media(max-width:850px){.space-intro{grid-template-columns:minmax(0,1fr);gap:1rem}.space-layout{padding-top:2rem;gap:1rem}.space-picture{margin:0 -1rem}.space-scene{aspect-ratio:1.4;height:auto;max-height:550px}.space-copy{min-height:95px}.habitat-compare{min-width:680px}}
@media(max-width:640px){.space-story{--header-height:66px}.space-intro h1{font-size:1.4rem}.space-intro .lead{font-size:1rem}.space-caption{font-size:1.04rem}.space-products{font-size:.72rem}.space-controls{gap:.65rem;font-size:.7rem}.space-progress{width:40px}.space-copy{min-height:105px}.space-skip{white-space:normal;text-align:right}.space-toggle{min-width:82px}.audience-grid{grid-template-columns:minmax(0,1fr)}.audience-art{height:140px}.audience h2{font-size:1rem}.ifwf-note{padding-left:1rem}}
@media(max-width:360px){.space-intro h1{font-size:1.28rem}.audience h2{font-size:.84rem}}
@media(min-width:851px) and (max-height:720px){.space-layout{padding-top:1rem;gap:.3rem}.space-intro .lead{font-size:.83rem}.space-copy{min-height:58px}.space-caption{font-size:1.06rem}}
@media(prefers-reduced-motion:reduce){.audience-art{transition:none}}
@media print{.space-story{height:auto!important}.space-sticky{position:static!important;height:auto!important}.space-controls{display:none}.space-scene{height:350px}}
