/* Homepage overview video card. Scoped to .hm-video. */
.hm-video {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: 32px;
  margin-bottom: 14px;
  padding: 28px;
}

.hm-video-text { padding: 8px 4px 8px 8px; }
.hm-video-text h2 {
  margin: 0;
  color: var(--hd-ink);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.12;
}
.hm-video-text p { max-width: 400px; margin: 14px 0 0; color: #3c3d38; font-size: 14.5px; line-height: 1.6; }

.hm-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: var(--hd-warm);
  box-shadow: 0 10px 30px rgba(38,43,50,.08);
}
.hm-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hm-video-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hm-video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hm-video-poster:hover img { transform: scale(1.02); }

.hm-video-play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 16px;
  border-radius: 999px;
  background: var(--hd-ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(32,33,31,.2);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.hm-video-play svg { width: 16px; height: 16px; fill: var(--hd-accent); }
.hm-video-poster:hover .hm-video-play { transform: translateY(-1px); background: var(--hd-accent); color: var(--hd-ink); }
.hm-video-poster:hover .hm-video-play svg { fill: var(--hd-ink); }
.hm-video-poster:focus-visible { outline: 3px solid var(--hd-ink); outline-offset: -3px; border-radius: 22px; }

@media (max-width: 900px) {
  .hm-video { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .hm-video-text { padding: 4px; }
  .hm-video-play { top: 12px; bottom: auto; left: 12px; padding: 8px 16px 8px 12px; font-size: 13px; }
}
