.portfolio-home .menu-overlay nav {
  max-height: calc(100svh - 8rem);
  overflow-y: auto;
}

.portfolio-home .menu-overlay nav span {
  font-size: clamp(1.85rem, min(7vw, 9svh), 5.5rem);
}

.video-projects .split-heading {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(2.4rem, 4.4vw, 5rem);
  line-height: 1.05;
}

.video-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.video-project {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1rem, 2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--panel) 85%, var(--cyan) 5%, transparent);
  backdrop-filter: blur(12px);
  transition: border-color .2s ease;
}

.video-project:is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--cyan) 45%, var(--line));
}

.video-project__media {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
}

.video-project__cover,
.video-project__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: .9rem;
  background: #080d15;
}

.video-project__cover img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.video-project__media iframe {
  z-index: 1;
}

.video-project__play {
  position: absolute;
  inset: auto .45rem .55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 44px;
  padding: .4rem;
  border: 1px solid #ffffff55;
  border-radius: .65rem;
  background: #080d15ed;
  color: #effcff;
  text-align: center;
  font-size: .82rem;
  font-weight: 650;
}

.video-project__avatar {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
}

.video-project__details h3 {
  margin: .65rem 0 .5rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.video-project__details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.video-project__feature {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.video-project__feature h4 { margin: 0 0 .25rem; line-height: 1.3; }
.video-project__feature p { font-size: .82rem; }

.video-project__details a {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  min-height: 44px;
  color: var(--cyan);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.video-project__details a[hidden] { display: none; }
.video-project a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 960px) {
  .video-projects__grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .video-project { grid-template-columns: minmax(0, 1fr); }
  .video-project__media { max-width: 13rem; justify-self: center; }
}
