.terrain-strata{position:absolute;inset:0;opacity:0;overflow:hidden;pointer-events:none;will-change:opacity}
.terrain-strata-world{position:absolute;width:min(92vw,145svh);aspect-ratio:1535/1024;left:53%;top:51%;transform:translate(-50%,-50%);mask-image:linear-gradient(to bottom,transparent,#000 7%,#000 94%,transparent),linear-gradient(to right,transparent,#000 5%,#000 96%,transparent);mask-composite:intersect}
.terrain-slice{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;will-change:transform}
.terrain-surface{clip-path:polygon(0 0,100% 0,100% 37%,49% 49%,28% 43%,0 43%);transform:translateY(calc((1 - var(--strata-open))*12%));z-index:3}
.terrain-roots{clip-path:polygon(0 43%,28% 43%,49% 49%,100% 37%,100% 53%,49% 65%,0 57%);transform:translateY(calc((1 - var(--strata-open))*6%));z-index:2}
.terrain-sediment{clip-path:polygon(0 57%,49% 65%,100% 53%,100% 69%,49% 81%,0 73%);z-index:1}
.terrain-bedrock{clip-path:polygon(0 73%,49% 81%,100% 69%,100% 100%,0 100%);transform:translateY(calc((1 - var(--strata-open))*-6%))}
.terrain-traces{position:absolute;inset:0;width:100%;height:100%;z-index:4;fill:none;stroke:#9de4e8;stroke-width:2;stroke-dasharray:6 8;opacity:.75}.terrain-traces path{opacity:0;transition:opacity .35s}.terrain-strata[data-topic="0"] .terrain-lot-trace,.terrain-strata[data-topic="1"] .terrain-water-trace,.terrain-strata[data-topic="2"] .terrain-forest-trace{opacity:1}.terrain-water-trace{stroke:#70d1ef;stroke-width:5}.terrain-forest-trace{stroke:#addcaf;stroke-width:3}
.terrain-label{position:absolute;z-index:5;font-size:12px;line-height:1.4;color:#d6ecf5;padding:7px 12px;background:#071521e8;border:1px solid #7496a855;border-radius:3px;opacity:0;transition:opacity .3s}
.terrain-label-surface{left:32%;top:32%}.terrain-label-water{left:36%;top:62%}.terrain-label-soil{left:45%;top:85%}.terrain-strata[data-topic="0"] .terrain-label-surface,.terrain-strata[data-topic="1"] .terrain-label-water,.terrain-strata[data-depth="true"] .terrain-label-soil{opacity:1}
.architectural-mode[data-chapter="2"] .data-index,.architectural-mode[data-chapter="3"] .data-index{background:none}
@media(min-width:701px) and (max-width:1200px) and (orientation:portrait){.terrain-strata-world{width:118vw;left:42%;top:57%}.terrain-label{font-size:11px}}
@media(max-width:700px){.terrain-strata-world{width:128vw;left:30%;top:54%}.terrain-label{font-size:9px;padding:4px 6px}.terrain-label-surface{left:34%;top:33%}.terrain-label-water{left:39%;top:61%}.terrain-label-soil{left:43%;top:85%}.terrain-traces{stroke-width:3}.terrain-strata[data-depth="true"] .terrain-strata-world{top:50%}}
@media(max-width:700px) and (max-height:740px) and (orientation:portrait){.terrain-strata-world{width:100vw;left:30%;top:55%}.terrain-label{display:none}.terrain-strata[data-depth="true"] .terrain-strata-world{top:51%}}
@media(max-height:600px) and (orientation:landscape){.terrain-strata-world{width:80vw;left:59%;top:43%}.terrain-label{font-size:9px}.architectural-mode[data-chapter="2"] .data-index,.architectural-mode[data-chapter="3"] .data-index{background:#071521eb}}
@media(prefers-reduced-motion:reduce){.terrain-slice,.terrain-strata{will-change:auto}.terrain-label,.terrain-traces path{transition:none}}
