.cover-motion { overflow: hidden; background: #244944; }
.cover-motion .cover-photo, .cover-video { object-position: center 62%; }
.cover-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; pointer-events: none; transition: opacity 450ms ease; }
.cover-video.has-frame { opacity: 1; }
.cover-motion::after { background: linear-gradient(90deg, rgba(8,30,33,.83), rgba(8,30,33,.60) 38%, rgba(8,30,33,.10) 75%); }
.cover-motion .cover-copy { padding-bottom: 82px; }
.cover-controls { position: absolute; bottom: 16px; right: 24px; left: 24px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.cover-controls .cover-caption { position: static; max-width: 100%; padding: 6px 9px; line-height: 1.4; }
.motion-toggle { position: relative; flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffffa6; border-radius: 50%; background: #17302ae8; color: #fff; cursor: pointer; }
.motion-toggle:hover { background: #0d4f4c; }
.motion-toggle:focus-visible { outline-color: var(--sun); outline-offset: 3px; }
.motion-tooltip { position: absolute; bottom: 54px; right: 0; width: max-content; max-width: 230px; padding: 7px 10px; background: #17302a; color: white; border-radius: 3px; font: 13px/1.4 ui-sans-serif, system-ui, sans-serif; opacity: 0; visibility: hidden; pointer-events: none; }
.motion-toggle:hover .motion-tooltip, .motion-toggle:focus-visible .motion-tooltip { opacity: 1; visibility: visible; }
@media (max-width:760px) {
  .cover-motion .cover-copy { padding-bottom: 84px; }
  .cover-motion::after { background: linear-gradient(90deg, rgba(8,30,33,.82), rgba(8,30,33,.56) 75%, rgba(8,30,33,.38)); }
  .cover-controls { left: 20px; right: 20px; bottom: 14px; gap: 10px; }
  .cover-controls .cover-caption { margin-right: auto; max-width: calc(100% - 54px); font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .cover-video { transition: none; }
}
