/* Treatment Video — poster and play button until asked. */

.hmt-video__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hmt-video--wide .hmt-video__grid { grid-template-columns: 1fr; gap: 34px; }
.hmt-video--wide .hmt-video__copy { max-width: 700px; }

.hmt-video__copy h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin: 14px 0 18px; }
.hmt-video__text { font-size: 17px; font-weight: 300; color: var(--hm-ink-soft); }
.hmt-video__cta { margin-top: 28px; }

.hmt-video__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #1A1A18;
  box-shadow: 0 30px 60px -40px rgba(26, 26, 24, 0.6);
}
.hmt .hmt-video__frame img,
.hmt-video__frame video,
.hmt-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.hmt-video__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 18, 0) 40%, rgba(20, 20, 18, 0.45));
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.hmt-video__frame.is-playing::after { opacity: 0; }

.hmt .hmt-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  min-height: 0;
  margin: -42px 0 0 -42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--hm-gold);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(193, 171, 109, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.hmt .hmt-video__play:hover { background: var(--hm-gold-dark); transform: scale(1.06); }
.hmt .hmt-video__play svg { width: 30px; height: 30px; margin-left: 4px; }

@media (max-width: 900px) {
  .hmt-video__grid { grid-template-columns: 1fr; }
  .hmt-video__frame { border-radius: 18px; }
  .hmt .hmt-video__play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
}
