/* AI Receptionist walkthrough. Click loads youtube-nocookie; language swap does not. */
body.night .bd-video {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 1.5rem auto;
  aspect-ratio: 16 / 9;
  background: #071528;
  border: 1px solid #122a4a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.15), 0 20px 50px rgba(0, 0, 0, 0.45);
}

body.night .bd-video__facade,
body.night .bd-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: #0b1f3a;
  cursor: pointer;
  display: block;
}

body.night .bd-video__thumb {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}

body.night .bd-video__facade:hover .bd-video__thumb { opacity: 1; }

body.night .bd-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s;
  pointer-events: none;
}

body.night .bd-video__facade:hover .bd-video__play {
  transform: translate(-50%, -50%) scale(1.08);
}

body.night .bd-video__facade:focus-visible {
  outline: 3px solid #34d399;
  outline-offset: -3px;
}

/* Night CSS skips paint on every .section after the first. This block
   sits in front of the demo, so the demo must stay painted. */
#video.section + .section {
  content-visibility: visible;
}
