/* Perslis Defense section pages (defense/defend, offense, robotics, evolution, timeline). */
.sect-video { margin: 0 0 18px; }
.sect-video video { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid #1d2a3d; background: #000; }
.sect-video figcaption { font-size: .92rem; line-height: 1.55; color: #aab6c8; margin-top: 8px; }
.band ol li, .band ul li { margin-bottom: 8px; line-height: 1.65; }
.restab td.pos { color: #6fe3a8; }
.restab td.neg { color: #ff8a8a; }
.band > ol, .band > ul { text-align: left; max-width: 820px; margin: 0 auto 18px; }
/* the live 3D hero: the canvas fills the hero band behind the text */
.d3-hero { position: relative; overflow: hidden; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
.d3-hero > :not(.d3-stage) { position: relative; z-index: 1; }
.d3-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.d3-stage canvas { width: 100%; height: 100%; display: block; }
.d3-stage.d3-off { display: none; }
.d3-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(4,6,11,.25) 0%, rgba(4,6,11,.72) 70%); }
@media (max-width: 700px) { .d3-hero { min-height: 64vh; } }
.sect-video-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .sect-video-pair { grid-template-columns: 1fr; } }
/* beat peel-site.css `.peel-site .peel-hero > :not(.peel-hero-fx) { position: relative }`, which otherwise puts
   the canvas in the flow and pushes the hero text below it */
.peel-site .peel-hero.d3-hero > .d3-stage { position: absolute; inset: 0; z-index: 0; }
.peel-site .peel-hero.d3-hero > :not(.d3-stage) { position: relative; z-index: 1; }
/* keep the footage in the first view: a shorter 3D hero (timeline sets its own) */
.peel-site .peel-hero.d3-hero { min-height: 62vh; }
/* wide footage: breaks out of the text column */
.band > .sect-wide { width: min(1400px, calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
/* magnifying glass over recorded consoles (assets/defense3d/magnifier.js) */
.mag-box { position: relative; }
.mag-wrap video[data-magnify] { cursor: zoom-in; }
.mag-lens { position: absolute; left: 0; top: 0; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .15s;
  border: 2px solid rgba(125, 255, 178, .85); box-shadow: 0 0 0 6px rgba(4, 6, 11, .55), 0 18px 48px rgba(0, 0, 0, .6), 0 0 28px rgba(125, 255, 178, .25); }
.mag-lens.on { opacity: 1; }
@media (hover: none) { .mag-wrap video[data-magnify] { cursor: default; } }
