/* Case-study media shared with carlbrunson.design: gameplay clips in phone frames.
   Phone frame: an even bezel of 3.2% of the width and circular corners (vertical radii = radius / box height). */
.bc-phones { display: flex; justify-content: center; align-items: center; gap: 6%; padding: 6% 9%; background: radial-gradient(60% 80% at 50% 45%, #2c2638, #0d0b12 75%); }
.bc-phones .bc-slot { display: block; flex: none; width: 31%; }
.bc-slot .iphone-frame { width: 100%; } /* percent padding resolves against the slot, which is the phone's own width */
.project-image-row .bc-phones { height: 100%; padding: 10% 14%; }
.project-image-row .bc-phones .iphone-frame { width: 100%; }
.iphone-frame { position: relative; display: block; flex: none; padding: 3.2%; border-radius: 16% / 7.66%; background: linear-gradient(150deg, #4a4a52, #1a1a1e 30%, #0e0e10 70%, #2a2a30); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 3px #0a0a0c, 0 30px 50px -24px rgba(0, 0, 0, 0.75); }
.iphone-screen { position: relative; display: block; overflow: hidden; border-radius: 13.68% / 6.32%; background: #000; }
.project-gallery .bc-phones .iphone-frame video { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1298; object-fit: cover; background: #0d0f16; }

/* SlateRoom interface studies (css/sr-studies.css, js/sr-studies.js), live HTML rather than images */
.project-study { width: 100%; flex-shrink: 0; }
.project-image-row .project-study { flex: 1; min-width: 0; display: flex; }
.project-image-row .project-study > .sx-stage { flex: 1; }
.project-image-row .sx-tip { left: 34%; top: 32%; width: 132px; }
@media (max-width: 767px) { .project-image-row:has(.project-study) { flex-direction: column; } }

/* Product screens on a flat colour field, as on carlbrunson.design */
.bc-stage { display: flex; justify-content: center; align-items: center; padding: 6%; background: var(--stage, #ece9f5); }
