html { scroll-behavior: smooth; }

body {
  background: #000619;
}

.site-header { position: relative; z-index: 20; }

.headframe-hero-content .headframe-hero-copy {
  width: 50%;
  flex: 0 0 50%;
}
.headframe-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 3.65vw, 3.8rem);
  text-wrap: balance;
}
.headframe-hero-content .headframe-hero-art {
  position: relative;
  inset: auto;
  width: 50%;
  height: auto;
  flex: 0 0 40%;
  aspect-ratio: 640 / 472;
  transform: none;
  z-index: auto;
  opacity: .5;
  mix-blend-mode: screen;
}
.headframe-hero-content .headframe-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.headframe-hero-art img {
  border-radius: 200px;
}
.camera-rails {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  overflow: hidden;
}
.cctv-camera {
  position: absolute;
  width: 104px;
  aspect-ratio: 1664 / 936;
  margin-top: -29.25px;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .6));
}
.cctv-camera { top: var(--camera-position); }
.cctv-camera[data-side="left"] { left: -17px; }
.cctv-camera[data-side="right"] { right: -17px; }
.cctv-assembly { position: relative; width: 100%; height: 100%; }
.cctv-camera[data-side="right"] .cctv-assembly { transform: scaleX(-1); }
.cctv-assembly img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
}
.cctv-head {
  z-index: 1;
  transform-origin: 55.3% 100%;
  will-change: transform;
}
.cctv-body { z-index: 2; }

@media (min-width: 1100px) {
  .wrap { width: calc(100% - 168px); }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .wrap { width: calc(100% - 140px); }
  .cctv-camera { width: 90px; margin-top: -25.3px; }
  .cctv-camera[data-side="left"] { left: -15px; }
  .cctv-camera[data-side="right"] { right: -15px; }
}
@media (max-width: 1000px) {
  .headframe-hero-content .headframe-hero-copy { width: 50%; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 112px); }
  .headframe-hero-content { flex-direction: column; align-items: stretch; }
  .headframe-hero-content .headframe-hero-copy { width: 100%; flex-basis: auto; }
  .headframe-hero-copy h1 { max-width: 16ch; font-size: clamp(2.25rem, 7.2vw, 3.3rem); }
  .headframe-hero-content .headframe-hero-art {
    width: 100%;
    flex-basis: auto;
    margin-top: 24px;
  }
  .cctv-camera { width: 64px; margin-top: -18px; }
  .cctv-camera[data-side="left"] { left: -11px; }
  .cctv-camera[data-side="right"] { right: -11px; }
}
