.cutaway {
  --scene-accent: #835321;
  --scene-travel: 105svh;
}
.cutaway .hero { background: radial-gradient(ellipse at 72% 50%, #f7edd9, #f3ece1 72%); }
.cutaway .hero-frame { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.cutaway .hero h1 span { color: var(--scene-accent); }
.cutaway .hero-art { position: relative; }
/* The canvas stays transparent until its first frame is drawn, then fades in over the neutral placeholder. */
.cutaway-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.cutaway[data-drawn] .cutaway-canvas { opacity: 1; }
/* No WebGL, or the scene failed: a still of the current cutaway, fetched only in this case. */
.cutaway[data-fallback] .cutaway-placeholder {
  background: url(/cutaway/still.webp) center / contain no-repeat;
  filter: drop-shadow(0 1.2rem 1.2rem #57402b35);
}
@media (prefers-reduced-motion: no-preference) {
  .cutaway[data-drawn] .cutaway-canvas { transition: opacity .35s ease-out; }
  .cutaway[data-ready] .hero { min-height: calc(100svh - 64px + var(--scene-travel)); }
  .cutaway[data-ready] .hero-frame { position: sticky; top: 0; }
}
@media (max-width: 760px) {
  .cutaway { --scene-travel: 84svh; }
  .cutaway .hero-frame { grid-template-columns: 1fr; }
  .cutaway .hero-copy { padding: .65rem 0 0; }
  .cutaway .hero h1 { font-size: clamp(2.75rem, 10.5vw, 4.65rem); }
  .cutaway .hero-search { margin-top: .85rem; }
  .cutaway .hero-art { height: clamp(270px, calc(100svh - 270px), 580px); }
  .cutaway .cutaway-placeholder { height: 100%; }
}
