/* macOS Screenshot Framing & Presentation — Octarine Dark Aesthetic */

.mac-window {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--mac-shadow);
  border: 1px solid rgba(63, 63, 70, 0.4);
  background-color: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mac-window:hover {
  box-shadow: 0 30px 75px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-color: rgba(113, 113, 122, 0.5);
}

.shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  image-rendering: -webkit-optimize-contrast;
  object-fit: cover;
}

/* Responsive screenshot positioning & crops */
.hero-shot-wrap {
  margin-top: clamp(32px, 4.5vw, 56px);
}

.step-shot-wrap .shot {
  aspect-ratio: 800 / 540;
  object-fit: cover;
  object-position: top center;
}

.split-shot-wrap .shot {
  aspect-ratio: 500 / 360;
  object-fit: cover;
  object-position: top center;
}

.track-shot-wrap .shot {
  aspect-ratio: 1000 / 600;
  object-fit: cover;
  object-position: top center;
}

/* Mobile adjustments: maintain legibility */
@media (max-width: 640px) {
  .mac-window {
    border-radius: 8px;
  }
  .step-shot-wrap .shot,
  .track-shot-wrap .shot {
    aspect-ratio: 16 / 11;
  }
}
