/* Right-column spatial study; the approved cover text keeps its own styles. */
#project .page-body {
  grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);
  gap:24px;
}
#project .cover-motion {
  position:relative;
  min-width:0;
  width:100%;
  aspect-ratio:1.12;
  align-self:center;
  isolation:isolate;
}
.cover-motion__canvas {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.cover-motion__frame {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
  fill:none;
  stroke:#626ba0;
  stroke-width:1;
}
.cover-motion__fallback {
  position:absolute;
  left:7%;
  top:22%;
  width:86%;
  border:1px solid #41445a;
  border-radius:10px;
  overflow:hidden;
}
.cover-motion[data-ready] .cover-motion__fallback { visibility:hidden; }
@media(min-width:901px) {
  #project.cover { height:var(--opening-height); }
  #project .cover-motion { height:100%; max-height:100%; aspect-ratio:auto; }
}
@media(min-width:901px) and (max-width:1120px) {
  #project .page-body { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
  #project .cover-motion { margin-right:-16px; width:calc(100% + 16px); }
}
@media(max-width:900px) {
  #project .page-body { grid-template-columns:1fr; gap:24px; }
  #project .cover-motion { max-width:620px; justify-self:center; }
}
@media(max-width:620px) {
  #project .page-body { gap:12px; }
  #project .cover-motion { width:calc(100% + 24px); margin-inline:-12px; }
}
@media print {
  .cover-motion__canvas,.cover-motion__frame { display:none; }
  .cover-motion[data-ready] .cover-motion__fallback { visibility:visible; }
}
