@import url("/learn/fieldnotes/fieldnotes.css");
.theme-cookie {--paper:#fff4e2;--surface:#efdcc0;--ink:#3a2116;--muted:#684a37;--accent:#854621;color-scheme:light}
.theme-hill {--paper:#f4f5dd;--surface:#e4e9ca;--ink:#213425;--muted:#485c48;--accent:#395d35;color-scheme:light}
.theme-paper {--paper:#24263e;--surface:#353651;--ink:#fff1cd;--muted:#dfd8cd;--accent:#f9cf70;--display:inherit;--display-weight:750;color-scheme:dark}
.theme-cookie .edition-cover,.theme-paper .edition-cover {width:min(94%,84rem);padding:0;gap:0}
.theme-cookie .edition-cover {background:#f3dfbd}
.theme-paper .edition-cover {background:#302f50}
.theme-cookie .edition-copy,.theme-paper .edition-copy {padding:clamp(1.45rem,3.4vw,4rem)}
.theme-paper .edition-cover h1 {font-size:clamp(2.85rem,4.65vw,5.2rem)}
.theme-hill .edition-cover {width:var(--width);grid-template-columns:.86fr 1.14fr}
.bake-trial {display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.bake-trial figure {margin:0}
.bake-photo {background:url(cookie.webp) left center/200% auto no-repeat;aspect-ratio:.85}
.bake-photo.chilled {background-position:right center}
.bake-trial figcaption {font-size:.88rem;font-weight:650;margin-top:.4rem}
.hill-map {width:100%;max-height:40svh;display:block;background:#f4efda}
.theme-hill .story-canvas svg.hill-map text {font:bold 14px system-ui;fill:#243928;paint-order:stroke;stroke:#eeeecf;stroke-width:3px}
.one-contour,.climb,.east-climb {fill:none;stroke:#79332a;stroke-width:3;stroke-linecap:round}
.climb,.east-climb {stroke-dasharray:4 5}
.is-scrolling .hill-map :is(.climb,.east-climb,.one-contour) {opacity:0}
.is-scrolling[data-scroll-step="0"] .one-contour,.is-scrolling[data-scroll-step="1"] .climb,.is-scrolling[data-scroll-step="2"] :is(.climb,.east-climb) {opacity:1}
.samples {--gray:#88847d;position:relative;display:grid;grid-template-columns:1fr 1fr;place-items:center;aspect-ratio:2.3;background:linear-gradient(to right,#fff0b7 50%,#192040 50%)}
.swatch {width:34%;aspect-ratio:1;background:var(--gray)}
.bridge {display:none;position:absolute;top:46%;height:8%;left:25%;right:25%;background:var(--gray)}
.color-stages figure:nth-child(2) .bridge,.color-lab input:checked~.samples .bridge {display:block}
.color-stages figure:nth-child(3) .samples {background:#d6d2c6}
.color-lab .samples {margin:1rem 0;max-width:33rem}
.color-lab input {accent-color:#f9cf70;width:1.2rem;height:1.2rem;vertical-align:middle}
.color-lab label {cursor:pointer;font-weight:650}
@media(max-width:760px) {
 .theme-hill .edition-cover {grid-template-columns:1fr}
 .theme-cookie .edition-cover .edition-copy,.theme-paper .edition-cover .edition-copy {padding:1.4rem 5% .6rem}
 .theme-paper .edition-cover h1 {font-size:clamp(2.4rem,10vw,4rem)}
 .theme-cookie .edition-cover img,.theme-paper .edition-cover img {max-height:36svh;object-fit:contain;width:100%}
 .is-scrolling .bake-trial {max-width:min(100%,40svh);margin:auto}
 .hill-map {max-height:28svh}
}

.color-stages {display:grid;gap:.6rem}
.color-stages figure {margin:0}
.color-stages figcaption {font-size:.85rem;margin-top:.25rem}
.color-stages .samples {max-height:15rem}
.is-scrolling .color-stages figure {display:none}
.is-scrolling[data-scroll-step="0"] .color-stages figure:first-child,
.is-scrolling[data-scroll-step="1"] .color-stages figure:nth-child(2),
.is-scrolling[data-scroll-step="2"] .color-stages figure:last-child {display:block}
