/* phone.css: the small "phone" that opens a talking reel (drawn by js/modules/lightbox.js).
   Empty slots (reel not produced yet) take no space. */
.reel-slot { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-block: 1.4rem; }
.reel-slot:empty { display: none; }

.phone {
  display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: .8rem;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer;
}
.phone__screen {
  position: relative; display: block; width: 88px; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 18px; border: 4px solid var(--ink); background: var(--lilac-deep);
  box-shadow: 0 18px 30px -18px rgba(47, 35, 64, .7);
  transition: transform .4s var(--ease-out);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone:hover .phone__screen { transform: translateY(-3px) rotate(-2deg); }
.phone__play {
  position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5);
}
.phone__play::after { /* triangle pointing right (play is universal, not mirrored) */
  content: ""; position: absolute; top: 50%; left: 54%; translate: -50% -50%;
  border-block: 7px solid transparent; border-left: 11px solid var(--plum);
}
.phone__label { display: grid; gap: .15rem; max-width: 11rem; }
.phone__label b { font: 400 1.05rem/1.2 var(--font-display); color: var(--plum); }
.phone__label small { font-size: .8rem; color: var(--soft); letter-spacing: .06em; }
.build .phone__label b, .section--plum .phone__label b { color: var(--white); }

/* featured reel (hero): a big card with a moving glow ring and a silent preview; opens by growing into the player */
.phone--feature { grid-template-columns: 1fr; justify-items: center; gap: .9rem; text-align: center; }
.phone--feature .phone__screen {
  width: clamp(150px, 12vw, 190px); border: 0; border-radius: 28px; padding: 0; isolation: isolate;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 60px -10px rgba(241, 184, 240, .45);
}
.phone--feature .phone__screen::before { /* glowing ring that slowly turns */
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 30px; padding: 2px;
  background: conic-gradient(from var(--ring, 0deg), #FFD3C2, #F1B8F0, #B9B5FF, #FFD3C2);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ring 6s linear infinite;
}
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ring { to { --ring: 360deg; } }
.phone--feature .phone__screen img, .phone__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone__preview { z-index: 1; }
.phone--feature .phone__play { z-index: 2; width: 58px; height: 58px; background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7) inset; }
.phone--feature .phone__play::after { border-left-color: #fff; border-block-width: 9px; border-left-width: 14px; }
.phone--feature:hover .phone__screen { transform: translateY(-6px) scale(1.02); }
.phone--feature .phone__label { max-width: 14rem; justify-items: center; }
.phone--feature .phone__label b { font-size: 1.25rem; }
html.a11y-no-motion .phone--feature .phone__screen::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .phone--feature .phone__screen::before { animation: none; } }
