/* Historic Preservation — a continuous architectural stage, not a canvas panel. */
.sandridge-explorer{padding:100px 6% 64px;background:radial-gradient(ellipse at 70% 38%,#3e5445 0,#203b32 65%);color:#f3f0e8;scroll-margin-top:88px}
.sandridge-heading{display:grid;grid-template-columns:1.1fr 1fr;gap:10%;align-items:end;margin-bottom:12px}
.sandridge-heading h2{font-size:clamp(38px,4.5vw,68px);line-height:1.02;letter-spacing:-.055em;font-weight:400;max-width:700px;color:#f3f0e8}
.sandridge-heading .eyebrow{font-size:10px;letter-spacing:.1em;color:#c4cbb7;margin-bottom:24px}
.sandridge-heading p:not(.eyebrow){font-size:15px;line-height:1.8;max-width:480px;color:#d1d8cb}
.sandridge-heading .sandridge-note{font-size:11px!important;color:#bdc9b8;margin-top:15px}
.sandridge-layout{display:flex;flex-direction:column;border:0;background:transparent}
.sandridge-explorer .sandridge-stage{height:650px;position:relative;cursor:grab;touch-action:pan-y;overflow:visible;background:transparent;border:0;border-radius:0;isolation:isolate}
.sandridge-stage:active{cursor:grabbing}.sandridge-stage:focus-visible{outline:2px solid #c4cbb7;outline-offset:4px}
#sandridge-canvas{position:absolute;inset:0}.sandridge-stage canvas{display:block;width:100%;height:100%;outline:0}
.sandridge-caption,.sandridge-hint{position:absolute;font-family:var(--mono,monospace);font-size:9px;letter-spacing:.1em;pointer-events:none;color:#c4cbb7}
.sandridge-caption{top:28px;left:0}.sandridge-hint{bottom:16px;right:0;letter-spacing:.02em}
.sandridge-retained{position:absolute;top:54px;left:0;font-size:11px;color:#d5ddce;pointer-events:none;padding-left:14px;border-left:2px solid #c4cbb7;background:none}
.sandridge-status{position:absolute;inset:45% 15% auto;font-size:14px;line-height:1.7;text-align:center;color:#f3f0e8;pointer-events:none}.sandridge-ready .sandridge-status{display:none}
.sandridge-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px 60px;padding:24px 0 20px;background:transparent;min-width:0;border-top:1px solid #c4cbb74d}
.sandridge-controls button{font:inherit;font-size:12px;cursor:pointer;min-height:44px;color:#d8e0d2}
.sandridge-controls button:focus-visible,.sandridge-controls input:focus-visible{outline:2px solid #f3f0e8;outline-offset:5px}
.sandridge-view-buttons{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.sandridge-view-buttons button{padding:9px 16px;background:transparent;border:1px solid transparent;color:#c4cbb7}
.sandridge-view-buttons button[aria-pressed=true]{border-color:#b8c2a577;background:#c4cbb717;color:#f3f0e8}
.sandridge-view-buttons button:hover{background:#c4cbb71f}
.sandridge-progress-heading .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:12px;color:#c4cbb7}
.sandridge-progress-heading h3{font-size:30px;font-weight:400;line-height:1.15;letter-spacing:-.03em;color:#f3f0e8}
#sandridge-build-description{font-size:13px;line-height:1.8;min-height:70px;color:#d1d8cb;margin:0;max-width:500px;align-self:end}
#sandridge-progress{grid-column:1/-1;width:100%;accent-color:#c4cbb7;min-height:32px;cursor:ew-resize;margin:10px 0 0}
.sandridge-steps{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}
.sandridge-steps button{border:0;background:none;border-bottom:1px solid transparent;color:#c4cbb7;font-size:11px;padding:8px 0}
.sandridge-steps button[aria-current=step]{color:#f3f0e8;border-bottom-color:#c4cbb7}
#sandridge-play{background:transparent;color:#f3f0e8;border:1px solid #c4cbb777;padding:12px 18px;display:flex;gap:28px;justify-content:space-between;align-items:center;justify-self:start;min-width:205px}
#sandridge-play:hover{background:#c4cbb717}.sandridge-toggles{display:flex;gap:28px;justify-content:flex-end;align-items:center}
.sandridge-toggles button{border:0;background:transparent;padding:5px 0;color:#d1d8cb;font-size:11px}.sandridge-toggles button[aria-pressed=true]{text-decoration:underline}
.sandridge-roof-label{grid-column:1/-1;border-top:1px solid #c4cbb72d;padding-top:24px;margin-top:12px;display:flex;gap:24px;align-items:center;font-size:11px;color:#c4cbb7}
.sandridge-roof-label input{accent-color:#c4cbb7;width:220px;min-height:32px}.sandridge-roof-label input:disabled{opacity:.35}
.sandridge-explorer .model-disclosure{max-width:680px;color:#bdc9b8;font-size:10px;line-height:1.7;margin:24px 0 0}
.sandridge-explorer>.motion-button{border-color:#c4cbb75c;color:#d1d8cb;background:transparent;margin-top:20px}
.sandridge-explorer.sandridge-dusk{background:radial-gradient(ellipse at 70% 38%,#3c4c4d,#1c3432 70%)}
.sandridge-explorer.sandridge-dusk .sandridge-stage{background:transparent}
@media(min-width:1500px){.sandridge-explorer{padding-inline:9%}.sandridge-explorer .sandridge-stage{height:720px}}
@media(max-width:1000px){.sandridge-heading{gap:6%}.sandridge-controls{gap:14px 35px}.sandridge-explorer .sandridge-stage{height:560px}}
@media(max-width:720px){.sandridge-explorer{padding:64px 5% 42px}.sandridge-heading{grid-template-columns:1fr;gap:22px}.sandridge-heading h2{font-size:43px;max-width:500px}.sandridge-heading .eyebrow{font-size:9px;margin-bottom:18px}.sandridge-heading p:not(.eyebrow){font-size:14px;max-width:540px}.sandridge-explorer .sandridge-stage{height:460px}.sandridge-caption{top:25px;font-size:8px}.sandridge-retained{top:47px;font-size:10px}.sandridge-hint{font-size:8px;bottom:15px}.sandridge-controls{grid-template-columns:1fr;gap:16px;padding-top:18px}.sandridge-view-buttons{grid-column:1;margin-bottom:2px;gap:4px}.sandridge-view-buttons button{padding:9px 12px;font-size:11px}.sandridge-progress-heading h3{font-size:28px}.sandridge-controls #sandridge-build-description{grid-column:1;grid-row:auto;font-size:13px;min-height:70px;margin:0}.sandridge-steps{flex-wrap:wrap;justify-content:space-between;gap:4px 18px;margin-bottom:8px}.sandridge-steps button{font-size:10px}.sandridge-toggles{justify-content:flex-start;gap:30px}.sandridge-roof-label{flex-wrap:wrap;gap:8px 20px}.sandridge-roof-label input{flex:1;min-width:120px}#sandridge-play{min-width:100%;grid-column:1}.sandridge-explorer .model-disclosure{margin-top:20px}}
@media(max-width:420px){.sandridge-explorer .sandridge-stage{height:410px}.sandridge-heading h2{font-size:39px}.sandridge-steps button{min-width:25%;text-align:left}}
@media(prefers-reduced-motion:reduce){.sandridge-explorer *{scroll-behavior:auto!important}}

/* Keep the construction control beside the model on narrow screens. */
@media(min-width:721px){
  .sandridge-view-buttons{grid-row:1}
  .sandridge-progress-heading,#sandridge-build-description{grid-row:2}
  #sandridge-progress{grid-row:3}
}
@media(max-width:720px){
  .sandridge-explorer .sandridge-stage{height:clamp(230px,49svh,380px)}
  .sandridge-controls{padding-top:4px}
  #sandridge-progress{min-height:44px;margin:0;touch-action:pan-y}
}
