/* The same plan appears beneath the live model and as foil on the framework cover. */
.sites-page .ops-scene,
.sites-page .ops-scene-slot { isolation:isolate; }
.sites-page .ops-scene::before,
.sites-page .ops-scene-slot::before {
  content:"";
  position:absolute;
  pointer-events:none;
  inset:0;
  z-index:-1;
  background:url('/assets/workcell-plan.svg') 83% 32% / 86% auto no-repeat;
  transform:skewY(-5deg);
  mask-image:linear-gradient(115deg,transparent 4%,#000a 36%,black 79%,transparent);
  opacity:.24;
}
.sites-page .mission-brief {
  position:relative; isolation:isolate; overflow:clip;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:clamp(24px,6vw,110px); align-items:center;
  padding:clamp(80px,9vw,140px) var(--gutter);
  background:radial-gradient(ellipse at 77% 48%,#303a34 0%,#1e2621 32%,transparent 67%),
             linear-gradient(#161b14,#131813 55%,#1b2018);
}
.framework-copy { position:relative; z-index:1; min-width:0; }
.framework-copy .brief-action { margin-top:clamp(22px,2.4vw,34px); }
.framework-still {
  position:relative; display:grid; place-items:center;
  min-width:0; aspect-ratio:1.08; pointer-events:none; user-select:none;
  container-type:inline-size;
}
.framework-still::before {
  content:""; position:absolute; width:72%; height:42%; bottom:9%; left:19%;
  background:radial-gradient(ellipse closest-side,#030604b3,#0306046e 52%,transparent);
  filter:blur(10px); transform:rotate(11deg);
}
.framework-manual {
  position:relative; width:64%; max-width:365px; aspect-ratio:.76;
  transform:perspective(1100px) rotateY(-16deg) rotateX(15deg) rotateZ(9deg);
  border-radius:2px 4px 2px 2px;
  background:
    linear-gradient(90deg,#0f1719,transparent 2%,#a3b2a02a 4%,#0b1311a6 5.5%,transparent 7.5%),
    url('/assets/workcell-plan.svg') 60% 87% / 79% auto no-repeat,
    repeating-linear-gradient(93deg,#ffffff05 0 1px,transparent 1px 3px),
    repeating-linear-gradient(0deg,#070e1026 0 1px,transparent 1px 3px),
    linear-gradient(141deg,#54666a 0%,#3c5052 40%,#283a3d 76%,#263536);
  box-shadow:inset 0 1px 1px #d3ddc161,inset -1px -1px 1px #f3f2e144,
             1px 2px 0 #8e9588,2px 3px 0 #d1d0b9,3px 4px 0 #8c9183,
             4px 5px 0 #c2c2ac,5px 6px 0 #a0a292,6px 7px 0 #c1c2ad,
             7px 8px 0 #293b39,8px 10px 1px #12201b,12px 20px 16px -5px #05080573;
}
.framework-manual::before,.framework-manual::after {
  content:""; position:absolute; inset-block-end:-6%; width:3.2%; height:6%;
  clip-path:polygon(0 0,100% 0,100% 100%,53% 75%,0 100%);
}
.framework-manual::before { inset-inline-start:15%; background:linear-gradient(#08304d,#2774a4 80%); }
.framework-manual::after { inset-inline-start:19%; background:linear-gradient(#716233,#d8b653 80%); }
.manual-mark { position:absolute; top:9%; left:12%; width:8%; height:auto; }
.manual-title {
  position:absolute; top:23%; left:12%; right:7%;
  color:#ece9d5; font:600 clamp(20px,5cqw,36px)/1.04 var(--display); letter-spacing:-.018em;
  overflow-wrap:anywhere; user-select:none; text-shadow:0 1px #1526266b;
}
html[lang=uk] .manual-title { font-size:clamp(17px,4.25cqw,29px); line-height:1.13; }
@media(max-width:760px) {
  .sites-page .mission-brief { grid-template-columns:1fr; gap:12px; padding-block:clamp(56px,12vw,82px); }
  .framework-still { width:min(100%,410px); aspect-ratio:1.28; justify-self:center; }
  .framework-manual { width:53%; }
  .manual-title { font-size:clamp(14px,4.6cqw,20px); }
  html[lang=uk] .manual-title { font-size:clamp(12px,4.05cqw,17px); }
}

/* An optional first look leads directly into the implementation sequence. */
.framework-preview {
  display:flex; align-items:center; gap:16px; width:fit-content;
  min-height:44px; margin-top:24px; padding:4px 0;
  font:500 16px/1.4 Manrope,Arial,sans-serif; color:#d0d7cc;
  text-decoration:none;
}
.framework-preview svg {
  flex:none; width:18px; height:28px; fill:none; stroke:var(--orange);
  stroke-width:1.5; transition:transform 180ms ease;
}
.framework-preview:hover { color:var(--white); }
.framework-preview:hover svg { transform:translateY(3px); }
.framework-preview:focus-visible { outline:2px solid var(--orange); outline-offset:6px; }
.sites-page .mission-brief {
  background:radial-gradient(ellipse at 77% 48%,#303a34 0%,#1e2621 32%,transparent 67%),
             linear-gradient(#151815,#131813 55%,#161b14);
}
@media(prefers-reduced-motion:reduce) {
  .framework-preview svg { transition:none; }
  .framework-preview:hover svg { transform:none; }
}
