/* Case-study reel (Superior CO-OP HVAC video). Loaded only on pages that carry a .cs-reel. */
.cs-reel{display:grid;gap:clamp(1.5rem,3vw,2.5rem);align-items:center}
@media(min-width:900px){
  .cs-reel.has-ch{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:start}
  .cs-reel.has-ch figure{position:sticky;top:110px}
}
.cs-reel figure{margin:0}
.cs-reel-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:var(--r2,14px);overflow:hidden;background:#071426;box-shadow:0 30px 60px -25px rgba(0,0,0,.8),0 0 0 1px rgba(25,184,255,.35)}
.cs-reel.solo .cs-reel-frame{max-width:960px;margin-inline:auto}
.cs-reel video{display:block;width:100%;height:100%;object-fit:contain;background:#071426}
@media(max-width:760px){
  .cs-reel-frame,.cs-reel.solo .cs-reel-frame{aspect-ratio:9/16;width:min(100%,calc(78svh * 9 / 16));margin-inline:auto}
}
.cs-reel-ctl{position:absolute;right:.75rem;bottom:.75rem;display:flex;gap:.5rem;z-index:2}
.cs-reel-ctl button{display:inline-flex;align-items:center;gap:.4rem;min-height:40px;padding:.4rem .85rem;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(7,20,38,.72);color:#fff;font:700 .8rem/1 var(--body,system-ui,sans-serif);cursor:pointer}
.cs-reel-ctl button:hover{border-color:var(--neon,#19b8ff)}
.cs-reel-ctl button:focus-visible,.cs-reel-ch button:focus-visible{outline:3px solid var(--neon,#19b8ff);outline-offset:2px}
.cs-reel-ctl svg{width:16px;height:16px;flex:none}
.cs-reel[data-js] video[controls]~.cs-reel-ctl,.cs-reel:not([data-js]) .cs-reel-ctl{display:none}
.cs-reel figcaption{margin-top:.8rem;font-size:.9rem;line-height:1.5;color:var(--muted,#4f5b6b);max-width:960px;margin-inline:auto}
.dark .cs-reel figcaption{color:#a9bbd3}
.cs-reel figcaption a{font-weight:700}
/* chapter list */
.cs-reel-ch h3{margin:0 0 .8rem;font-size:1.05rem}
.cs-reel-ch ol{list-style:none;margin:0;padding:0;display:grid;gap:.2rem}
.cs-reel-ch button{display:grid;grid-template-columns:2.1rem 1fr;gap:.2rem .6rem;width:100%;text-align:left;padding:.55rem .75rem;border:0;border-left:3px solid transparent;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background .2s,border-color .2s}
.cs-reel-ch button:hover{background:rgba(25,184,255,.08)}
.cs-reel-ch button[aria-current="true"]{background:rgba(25,184,255,.12);border-left-color:var(--neon,#19b8ff)}
.cs-reel-ch .n{grid-row:span 2;font:700 .8rem/1.9 var(--body,system-ui,sans-serif);color:#f28c28;letter-spacing:.06em}
.cs-reel-ch b{font-size:.98rem;line-height:1.35}
.cs-reel-ch small{font-size:.86rem;line-height:1.45;color:var(--muted,#4f5b6b)}
.dark .cs-reel-ch small{color:#a9bbd3}
.cs-reel-ch p.note{margin:.9rem 0 0}
@media(prefers-reduced-motion:reduce){.cs-reel-ch button{transition:none}}
