.hh-recordings {
  margin: 100px 0;
  color: #171514;
}
.hh-recordings > header {
  margin-bottom: 28px;
}
.hh-recordings h2 {
  font: 600 var(--hh-heading)/1 var(--sans);
  letter-spacing: var(--hh-tracking-heading);
  margin: 0;
}
.hh-recording-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.hh-recording {
  margin: 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #d8d3cb;
  border-radius: 0;
  overflow: hidden;
}
.hh-recording:first-child {
  grid-column: 1/-1;
}
.hh-recording video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 0;
  max-height: none;
}
.hh-recording figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid #d8d3cb;
  font: 600 var(--text-sm)/1.4 var(--sans);
}

@media (max-width: 640px) {
  .hh-recording-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hh-recording:first-child {
    grid-column: auto;
  }
  .hh-recording figcaption {
    padding: 12px;
    gap: 10px;
  }
  .hh-recordings {
    margin: 64px 0;
  }
}

.hh-mobile-recording {
  background: #f0ede7;
}
.hh-phone-stencil {
  position: relative;
  width: calc(100% - 32px);
  max-width: 390px;
  margin: 16px auto;
  padding: 7px;
  border: 2px solid #171514;
  background: #171514;
  border-radius: 22px;
  box-sizing: border-box;
}
.hh-phone-stencil:before,
.hh-phone-stencil:after {
  content: '';
  position: absolute;
  left: -5px;
  width: 3px;
  background: #171514;
  border-radius: 2px;
}
.hh-phone-stencil:before {
  top: 92px;
  height: 32px;
}
.hh-phone-stencil:after {
  top: 140px;
  height: 48px;
}
.hh-phone-stencil video {
  border-radius: 12px;
}

.hh-case .hh-editorial-video {
  min-width: 0;
  width: 100%;
  align-self: start;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.hh-editorial-video > video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.hh-case .hh-editorial-phone {
  max-width: 240px;
  justify-self: center;
}
.hh-editorial-phone .hh-phone-stencil {
  width: 100%;
  margin: 0;
  max-width: 240px;
  padding: 5px;
  border-color: #a8a19a;
  background: #171514;
  border-radius: 20px;
}
.hh-editorial-phone video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390/844;
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .hh-editorial-phone {
    max-width: 220px !important;
  }
  .hh-editorial-video {
    grid-column: 2;
  }
}

.hh-site-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1120/844;
  object-fit: contain;
}

.hh-app-frame {
  background: transparent !important;
  border-radius: 0 !important;
}
.hh-app-frame .hh-phone-stencil {
  max-width: 320px;
  margin: 0 auto;
}
.hh-app-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390/844;
}

.hh-case .hh-app-preview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.hh-case .hh-app-frame {
  margin: 0;
}

@media (max-width: 720px) {
  .hh-case .hh-app-preview {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hh-app-frame .hh-phone-stencil {
    max-width: 260px;
  }
}
