:root{color-scheme:dark;--bg:#06141b;--panel:#0d222b;--panel-soft:#102b33;--line:rgba(174,223,215,.14);--text:#e9f0e7;--muted:#94aea9;--bright:#76edc9;--gold:#efca8b;--rose:#f6a6a0;--navy:#081c24}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 55% -10%,#12343d 0%,transparent 32%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.5}button,select,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--bright);outline-offset:3px}main{max-width:1840px;margin:auto;padding:0 24px}.site-header{border-bottom:1px solid var(--line);padding:16px max(24px,calc((100vw - 1792px)/2));display:flex;justify-content:space-between;align-items:center;gap:18px;background:#061922b5}.brand-lockup,.edition{display:flex;align-items:center;gap:12px;letter-spacing:.13em;font-size:12px;font-weight:800}.brand-icon{font-size:26px;color:var(--bright);font-weight:400;line-height:1}.brand-accent{color:var(--bright)}.brand-lockup small{font-size:8px;letter-spacing:.1em}.brand-separator{width:1px;height:20px;background:#426166;margin:0 12px}.brand-context{font-size:9px;font-weight:600;color:#a9bfb9}.edition{font-size:9px;color:#9bb9b2}.edition-dot{font-size:7px;color:var(--bright)}.hero{padding:34px 0 30px}.hero-eyebrow,.section-overline,.viewport-overline,.strip-heading{font-size:10px;letter-spacing:.21em;color:#8ecbb9;font-weight:800}.hero-eyebrow{display:flex;align-items:center;gap:10px}.eyebrow-line{width:30px;height:1px;background:var(--bright)}h1,h2,h3,p{margin-top:0}.hero h1{font-family:Georgia,serif;letter-spacing:-.04em;font-weight:500;font-size:clamp(32px,3.9vw,61px);line-height:1.1;margin:13px 0}.hero h1 em,.editorial-intro h2 em,.literature h2 em,.faq-section h2 em{color:#7ce4bf;font-weight:400}.hero h1 em{font-size:.57em;letter-spacing:-.025em;white-space:nowrap}.hero>p{max-width:760px;color:#adc7c1;font-size:14px;line-height:1.75;margin:0 0 22px}.hero-meta{display:flex;gap:12px 26px;flex-wrap:wrap;color:#789b98;font-size:9px;letter-spacing:.12em;font-weight:800}.hero-meta span{display:inline-flex;align-items:center;gap:8px}.meta-pulse,.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--bright);box-shadow:0 0 13px var(--bright)}.simulation-shell{display:grid;grid-template-columns:minmax(255px,292px) minmax(440px,1fr) minmax(255px,302px);gap:13px;align-items:stretch}.panel{border:1px solid var(--line);border-radius:5px;background:linear-gradient(155deg,#112c35 0%,#0b2029 70%);min-width:0}.control-panel,.readout-panel{padding:20px 19px}.panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:17px}.panel-heading h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:5px 0 0}.panel-symbol{font-size:29px;color:#a4d8c4}.live-indicator{color:var(--bright);font-size:9px;font-weight:800;letter-spacing:.12em;border:1px solid #286356;padding:4px 7px}.control-group{display:block;margin-bottom:14px}.control-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#dceae2;font-weight:600;margin-bottom:6px}.control-row output{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#91edce;font-size:11px;white-space:nowrap}.control-row small{color:#70968e;font-size:9px;letter-spacing:.1em}input[type=range]{appearance:none;width:100%;height:3px;display:block;margin:11px 0 8px;background:linear-gradient(90deg,#62d9b5 var(--fill,50%),#33545b var(--fill,50%));outline:0;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;background:#c4f4df;border:2px solid #0b2c31;border-radius:50%;width:13px;height:13px;box-shadow:0 0 0 1px #3e9f89}input[type=range]::-moz-range-thumb{background:#c4f4df;border:2px solid #0b2c31;border-radius:50%;width:10px;height:10px}.range-labels{display:flex;justify-content:space-between;color:#638985;font-size:10px;line-height:1}.scenario-group{margin-bottom:24px}select{width:100%;background:#122e36;border:1px solid #2a4a4c;border-radius:3px;color:#e1eee6;padding:11px 27px 11px 11px;font-size:11px;outline:none}.control-footnote{color:#789a95;font-size:10px;border-top:1px solid var(--line);padding-top:13px;line-height:1.7}.stage-wrap{min-width:0;display:flex;flex-direction:column;gap:10px}.stage{height:min(67vh,690px);min-height:525px;position:relative;overflow:hidden;border:1px solid #3c706b;background:radial-gradient(ellipse at 50% 25%,#185d66,#041822 80%);border-radius:5px;touch-action:none}#glCanvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#glCanvas:active{cursor:grabbing}.stage-grain{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,#06182044 0%,transparent 23%,transparent 70%,#03151b88 100%)}.viewport-top-left,.viewport-top-right,.stage-bottom,.view-tools,.compass{position:absolute;pointer-events:none}.viewport-top-left{top:21px;left:24px}.viewport-overline{color:#a6cfc7;font-size:10px}.viewport-label{font-family:Georgia,serif;font-size:22px;margin-top:4px;text-shadow:0 2px 12px #022329}.viewport-top-right{top:24px;right:22px;border:1px solid #356264a8;background:#06232a8c;border-radius:2px;padding:7px 9px;font-size:9px;letter-spacing:.13em;color:#b6dfcc;display:flex;gap:8px;align-items:center}.live-dot{width:6px;height:6px}.compass{right:23px;top:89px;border:1px solid #85bca56b;border-radius:50%;width:56px;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#b2ead5;font-size:9px;gap:0;background:#0526317a}.compass-arrow{font-size:21px;line-height:21px;transform:rotate(var(--north,0deg));transition:transform .08s}.compass small{font-size:7px}.view-tools{bottom:60px;left:20px;display:flex;gap:6px;pointer-events:auto}.view-btn{border:1px solid #719d9a70;background:#0c2832d9;color:#aac7c1;border-radius:2px;padding:8px 10px;font-size:9px;letter-spacing:.05em;font-weight:800;transition:.2s}.view-btn span{color:#e8f3e7}.view-btn.active{background:#b7e7ce;color:#143b39;border-color:#b7e7ce}.view-btn.active span{color:#143b39}.stage-bottom{bottom:15px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#aac9c2;font-size:8px;letter-spacing:.1em}.stage-legend{display:flex;align-items:center;gap:7px;white-space:nowrap}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:4px}.legend-dot.coral{background:#f6a49d}.legend-dot.kelp{background:#9ccc9a}.legend-dot.light{background:#c4eddd}#pointerHint{text-align:right;color:#8faeac}.stage-center-error{position:absolute;inset:22% 12%;padding:20px;z-index:10;text-align:center;background:#091b26d9;border:1px solid var(--line)}.stage-center-error[hidden]{display:none}.event-toast{position:absolute;top:85px;left:24px;max-width:270px;opacity:0;transform:translateY(-6px);transition:opacity .3s,transform .3s;pointer-events:none;color:#f7e1b6;font-size:11px;background:#15363beb;border-left:3px solid var(--gold);padding:10px 13px;line-height:1.5}.event-toast.visible{opacity:1;transform:translateY(0)}.command-bar{border:1px solid var(--line);background:#0d2530;padding:11px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}.command-group{display:flex;gap:8px;align-items:center}.btn{border:1px solid #365760;background:#142e37;color:#d5eee1;border-radius:2px;font-size:10px;letter-spacing:.09em;font-weight:800;padding:12px 14px;white-space:nowrap;transition:background .2s,color .2s}.btn:hover:not(:disabled),.event-actions button:hover{background:#2b5655}.btn-primary{background:#a2e8c4;color:#0b3031;border-color:#a2e8c4}.btn-primary:hover:not(:disabled){background:#ccf6dc;color:#052421}.btn-quiet{background:transparent}.command-time label{font-size:9px;letter-spacing:.12em;font-weight:800;color:#8aa8a1;margin-right:4px}.command-time select{width:76px;padding:8px;font-size:11px}.command-time strong{font-size:10px;color:#b1dfd1;white-space:nowrap;font-variant-numeric:tabular-nums}.experiment-strip{border:1px solid var(--line);background:#0d222b;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px}.strip-heading{font-size:9px;color:#e8ca95}.experiment-strip p{font-size:10px;color:#8fabaa;margin:3px 0 0}.event-actions{display:flex;gap:6px;flex-wrap:wrap}.event-actions button{border:1px solid #5b5b4d;background:#273538;color:#efdfbc;padding:9px 10px;font-size:9px;font-weight:800;letter-spacing:.04em}.vitality-card{padding:15px 15px 13px;border:1px solid #38564e;background:linear-gradient(140deg,#183a38,#102d33);margin-bottom:16px}.vitality-label{font-size:9px;letter-spacing:.13em;color:#98c4b4;font-weight:800}.vitality-number{display:flex;align-items:baseline;gap:8px;margin:7px 0}.vitality-number strong{font-family:Georgia,serif;font-size:57px;line-height:1;color:#c3f1d5;font-weight:400}.vitality-number span{font-size:11px;color:#87b3a3}.meter{height:5px;background:#2e5851}.meter-fill{height:100%;width:1%;background:linear-gradient(90deg,#e1a678,#a6efca);transition:width .2s}.vitality-status{margin-top:9px;font-size:11px;color:#b3d6b7}.metric-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line);margin-bottom:15px}.metric{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 10px}.metric>div{color:#83aaa4;font-size:8px;letter-spacing:.07em;font-weight:800}.metric strong{font-family:Georgia,serif;color:#eef1df;font-size:26px;font-weight:400;display:block;margin-top:4px}.metric small{font-size:9px;color:#82a19d}.spark-heading{display:flex;justify-content:space-between;gap:5px;font-size:8px;letter-spacing:.11em;color:#98b4aa;font-weight:800;margin-bottom:5px}#trendCanvas{width:100%;height:66px;display:block;border-bottom:1px solid var(--line);margin-bottom:18px}.inspect-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.inspect-header h3{font:400 23px Georgia,serif;margin:5px 0 0}.dossier-pin{font-size:24px;color:#7dafa4}.colony-card{border:1px solid #314b52;min-height:128px;padding:14px;background:#102c33}.empty-inspection{color:#829f9e;font-size:11px;line-height:1.8;margin:0}.species-name{font:400 20px Georgia,serif;margin-bottom:3px}.species-id{color:#83b6aa;font-size:9px;letter-spacing:.08em;margin-bottom:11px}.dossier-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dossier-stats div{border-top:1px solid #285056;padding-top:6px}.dossier-stats span{display:block;font-size:9px;color:#83aaa5}.dossier-stats strong{display:block;font-size:14px;color:#f3e4c9;margin-top:3px}.budget{margin-top:16px}.budget>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.09em;font-weight:800;color:#8fada4}.budget>div:first-child strong{font-size:23px;color:#f1d39b;font-family:Georgia,serif;font-weight:400}.budget-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:9px}.budget-actions button{width:100%;display:flex;justify-content:space-between}.btn-action{background:#244940;border-color:#426b59}.btn-secondary{background:#24383b;border-color:#4f6060}.budget-actions span{color:#f2cb9c}.budget p{font-size:10px;display:none;color:#e4cda4;line-height:1.5;margin:10px 0 0}.budget p.visible{display:block}.legend-note{border-top:1px solid var(--line);padding-top:14px;margin-top:17px;color:#7a9b96;font-size:10px;line-height:1.6}.legend-note strong{color:#b2cec2}.editorial-intro{text-align:center;margin:95px auto 0;max-width:960px}.editorial-intro h2,.literature h2,.faq-section h2{font:400 clamp(33px,4vw,55px)/1.13 Georgia,serif;letter-spacing:-.04em;margin:15px 0 22px}.editorial-intro>p{max-width:770px;margin:auto;color:#a1bcb6;font-size:14px;line-height:1.95}.index-row{margin:42px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:21px 0;display:flex;justify-content:space-around;gap:20px;flex-wrap:wrap;color:#81a69c;font-size:9px;letter-spacing:.12em;font-weight:800}.literature{padding:78px 0 50px}.literature-head{max-width:740px;margin:0 0 42px}.literature-head p,.faq-intro p{color:#97b6ad;line-height:1.85;font-size:14px}.chapters{display:grid;grid-template-columns:1fr 1fr;gap:27px 64px}.chapters article{padding:19px 0 21px;border-top:1px solid #2a4c4c}.chapter-num{font-size:9px;letter-spacing:.14em;color:#73cba9;font-weight:800}.chapters h3{font:400 25px/1.25 Georgia,serif;margin:11px 0 12px;color:#e6eadc}.chapters p{font-size:13px;color:#a3bdb6;line-height:1.87;margin:0}.faq-section{padding:56px 0 110px;display:grid;grid-template-columns:minmax(225px,.55fr) minmax(0,1.25fr);gap:75px;border-top:1px solid var(--line)}.faq-intro{max-width:350px}.faq-list{border-top:1px solid var(--line)}.faq-list details{border-bottom:1px solid var(--line)}.faq-list summary{cursor:pointer;display:grid;grid-template-columns:35px 1fr 20px;align-items:center;gap:15px;padding:21px 3px;list-style:none;font:400 19px/1.4 Georgia,serif;color:#e2ede2}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary span{font:700 10px system-ui;color:#8ac5af}.faq-list summary b{color:#8ecbb6;font:400 22px system-ui;text-align:center;transition:transform .2s}.faq-list details[open] summary b{transform:rotate(45deg)}.faq-answer{padding:0 42px 19px 53px;color:#a5c1b9;font-size:13px;line-height:1.95}.faq-answer p{margin:0}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:25px;align-items:center;flex-wrap:wrap;padding:30px 0 45px;color:#6f9490}footer>div{display:flex;align-items:center;gap:12px}footer strong{color:#aadcc4;font:400 21px Georgia,serif}footer span,footer p{font-size:9px;letter-spacing:.09em;margin:0}
@media(max-width:1450px){.simulation-shell{grid-template-columns:255px minmax(380px,1fr) 260px;gap:9px}.control-panel,.readout-panel{padding:17px 13px}.stage{height:590px}.stage-bottom{flex-wrap:wrap}.view-btn span{display:none}}@media(max-width:1120px){main{padding:0 16px}.simulation-shell{grid-template-columns:minmax(230px,.65fr) minmax(0,1.35fr)}.readout-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.2fr;column-gap:20px}.readout-panel .panel-heading{grid-column:1/-1}.vitality-card{grid-column:1}.metric-grid{grid-column:2}.spark-heading,#trendCanvas,.inspect-header,.colony-card,.budget,.legend-note{grid-column:1/-1}.spark-heading{margin-top:8px}.budget-actions{grid-template-columns:1fr 1fr}.stage{min-height:510px}.chapters{gap:25px}.faq-section{gap:35px}}@media(max-width:760px){.brand-context,.edition{display:none}.hero{padding-top:23px}.hero h1 em{display:block;white-space:normal;font-size:.57em;margin-top:8px}.simulation-shell{display:flex;flex-direction:column}.stage-wrap{order:0}.readout-panel{order:1;display:block}.control-panel{order:2}.stage{height:57svh;min-height:410px;max-height:600px}.control-panel #sliderControls{display:grid;grid-template-columns:1fr 1fr;column-gap:23px}.stage-bottom{bottom:10px;left:12px;right:12px}.stage-legend{display:none}.view-tools{bottom:36px;left:12px}.view-btn span{display:inline}.viewport-top-left{left:14px;top:15px}.viewport-top-right{top:16px;right:12px}.viewport-overline{font-size:8px}.viewport-label{font-size:18px}.command-bar{flex-wrap:wrap}.experiment-strip{display:block}.event-actions{margin-top:12px}.chapters{grid-template-columns:1fr}.faq-section{grid-template-columns:1fr;gap:15px}.faq-intro{max-width:100%}.editorial-intro{margin-top:60px}.literature{padding:60px 0 30px}}@media(max-width:490px){main{padding:0 11px}.hero h1{font-size:37px}.hero-meta{gap:8px 12px}.hero-meta span{font-size:8px}.stage{height:51svh;min-height:370px}.viewport-label{font-size:15px}.viewport-top-right{font-size:7px;padding:6px}.compass{top:70px;right:12px;width:43px;height:43px}.view-btn{padding:8px 7px;font-size:8px}.command-group{gap:5px}.command-bar{padding:9px}.command-time{justify-content:space-between;width:100%}.btn{padding:10px;font-size:9px}.control-panel #sliderControls{gap:0 12px}.control-row{font-size:10px}.control-row output{font-size:10px}.event-actions button{flex:1;font-size:8px;padding:8px 6px}.faq-list summary{font-size:17px;grid-template-columns:25px 1fr 17px;gap:9px}.faq-answer{padding-left:33px;padding-right:12px}.stage-bottom{font-size:7px}.index-row{justify-content:center;gap:15px}.metric-grid{margin-bottom:20px}}
