/* ==========================================================================
   ARKITECT MEDIA HOUSE (AMH) — HOME FURNISHINGS VIDEOS PAGE STYLES
   Strict Palette: #050505 Black · #FFFFFF White · #F4F4F2 Sole Grey · #C83717
   100% Original Lossless Video Quality & True Colors
   ========================================================================== */

.page-hf-videos video,
.page-hf-videos img {
  filter: none !important;
}

.hfv-hero {
  background-color: var(--off-white);
  color: var(--black);
  padding-top: clamp(6.5rem, 11vh, 8.75rem);
  padding-bottom: clamp(3rem, 5.5vh, 4.5rem);
  border-bottom: 1px solid var(--border-light);
}

.hfv-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vh, 3.25rem);
}

.hfv-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.25s ease;
}

.hfv-back-link:hover {
  color: var(--vermilion);
}

.hfv-kicker {
  color: var(--vermilion);
}

.hfv-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7.2vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hfv-hero__sub {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--black);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 58ch;
  color: var(--black);
}

.hfv-gallery {
  background-color: var(--white);
  color: var(--black);
  padding-block: clamp(3.5rem, 6.5vh, 5.5rem);
}

.hfv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem);
  align-items: start;
}

.hfv-card {
  border: 1px solid var(--border-light);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hfv-card__stage {
  width: 100%;
  aspect-ratio: 9 / 16;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hfv-card__stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hfv-card__meta {
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.hfv-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--black);
}

.hfv-card__index {
  color: var(--vermilion);
  flex-shrink: 0;
}

.hfv-back-slot {
  grid-column: 3;
  align-self: end;
  justify-self: end;
}

.hfv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.9rem;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s ease;
}

.hfv-btn:hover {
  background-color: var(--vermilion);
}

@media (max-width: 1024px) {
  .hfv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hfv-back-slot {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .hfv-grid {
    grid-template-columns: 1fr;
  }

  .hfv-back-slot {
    grid-column: auto;
    justify-self: start;
  }
}