.real-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: flex-start;
  gap: 7vh 1.4vw;
}

.instagram-work {
  width: min(100%, 300px);
  min-width: 0;
}

.instagram-cover {
  position: relative;
  display: block;
  aspect-ratio: 441 / 644;
  background: #050505;
  border-radius: 12px;
  overflow: hidden;
}

.instagram-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(.82);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}

.instagram-cover:hover img { transform: scale(1.025); filter: saturate(1) brightness(.95); }

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.58));
}

.cover-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: rgba(5,5,5,.35);
  transform: translate(-50%,-50%);
  backdrop-filter: blur(8px);
  font-size: 15px;
  padding-left: 3px;
}

.cover-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: 9px;
  letter-spacing: .12em;
}

.instagram-work .meta a {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  transition: color .2s ease;
}

.instagram-work .meta a:hover {
  color: var(--fg);
}

.video-embed-frame {
  aspect-ratio: 16 / 9;
  background: #050505;
  border-radius: 12px;
  overflow: hidden;
}

.video-embed-work {
  width: 100%;
  min-width: 0;
}

.video-embed-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed-work .meta a {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  transition: color .2s ease;
}

.video-embed-work .meta a:hover {
  color: var(--fg);
}

@media (min-width: 1200px) {
  .real-work-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .instagram-work { width: 100%; grid-column: span 2; }
  .video-embed-work { grid-column: span 4; }
}

@media (max-width: 720px) {
  .real-work-grid { grid-template-columns: 1fr; gap: 9vh; }
  .instagram-work { width: min(82vw, 310px); }
  .video-embed-work { width: 100%; }
  .cover-play { display: none; }
}

.instagram-modal[hidden] { display: none; }
.instagram-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  background: rgba(4,6,8,.92);
  backdrop-filter: blur(16px);
}
.instagram-modal-window {
  position: relative;
  width: min(430px, 92vw);
  height: min(820px, 88vh);
  padding-top: 34px;
}
.instagram-modal-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}
.instagram-modal-frame iframe { width: 100%; height: 100%; border: 0; background: #111; }
.instagram-modal-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 9px Arial,sans-serif;
  letter-spacing: .13em;
  cursor: pointer;
}
.instagram-modal-close span { margin-left: 8px; font-size: 18px; vertical-align: -2px; }
