:root{color-scheme:dark;background:#102d24;color:#edf0d8;font:16px/1.65 system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1120px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:24px;align-items:center;border-bottom:1px solid #cbdba947}a{color:#dcebb7;text-underline-offset:3px}button{cursor:pointer;background:#dce9b6;color:#173d31;border:1px solid #a8be90;border-radius:12px;padding:12px 18px;font:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e8bd78;outline-offset:3px}.brand{font:32px Georgia,serif;text-decoration:none}.brand span{display:block;font:12px system-ui;letter-spacing:.12em}h1{font:clamp(42px,7vw,76px)/1.08 Georgia,serif;max-width:800px;margin:12px 0 24px}h2{font:clamp(26px,4vw,38px)/1.25 Georgia,serif}h3{font-size:1.15rem;line-height:1.4}p{max-width:75ch}.eyebrow,.scope{font-size:.8rem;letter-spacing:.04em;color:#d5bd8d}.intro{font-size:1.15rem;max-width:690px}nav{display:flex;gap:8px;overflow:auto;padding:16px 2px}nav button{white-space:nowrap;background:#204a3b;color:#e8efce}nav button[aria-pressed=true]{background:#dce9b6;color:#173d31}#chapter{padding:24px;border-radius:20px;background:#1e4738;margin:18px 0}#chapter h2{margin:5px 0 18px}.when{font-weight:600;color:#d4bc86}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.card,article{border:1px solid #b7c79755;border-radius:16px;padding:20px;background:#173b30}.card p,article p{font-size:.95rem}figure{margin:16px 0}img{width:100%;height:auto;display:block;border-radius:12px}figcaption{font-size:.78rem;color:#c6d4b5;line-height:1.6;margin:8px 0}#process{margin:35px 0;padding:24px;background:#173b30;border:1px solid #b7c79744;border-radius:18px}#rock-model{height:360px;width:100%;touch-action:none;overflow:hidden;border-radius:12px;margin:20px 0;background:#b8cbc4}#rock-model canvas{width:100%;height:100%;display:block}#rock-stage{width:100%;accent-color:#ddb477}#rock-caption{font-weight:650}.muted{font-size:.85rem;color:#bdcdb0}.source-links{display:flex;gap:12px;flex-wrap:wrap;font-size:.85rem}.sources{border-top:1px solid #b7c79744;margin-top:32px;padding:20px 0}.sources a{display:block;margin:10px 0}footer{font-size:.8rem;color:#c3d1b4}section{scroll-margin-top:20px}[hidden]{display:none!important}@media(max-width:600px){header,main,footer{padding:18px}header>a:last-child{font-size:.8rem;text-align:right}#chapter,#process{padding:18px}#rock-model{height:280px}}
