.shop-phone-fan {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  width: min(1440px, calc(100% - 48px));
  min-height: 650px;
  margin: 24px auto 72px;
  padding: clamp(48px, 6vw, 92px);
  overflow: hidden;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 76% 42%, rgba(31, 125, 255, .25), transparent 30%),
    radial-gradient(circle at 58% 105%, rgba(66, 107, 173, .2), transparent 35%),
    linear-gradient(145deg, #050608 0%, #0a101b 54%, #061328 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: clamp(30px, 4vw, 48px);
  box-shadow: 0 32px 80px rgba(5, 13, 30, .18);
}

.shop-phone-fan::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, .055), transparent 30%, transparent 72%, rgba(255, 255, 255, .025));
}

.phone-fan__copy {
  position: relative;
  z-index: 4;
  max-width: 540px;
}

.shop-phone-fan .phone-fan__copy .eyebrow {
  margin: 0 0 16px;
  color: #58a6ff;
}

.phone-fan__copy h2 {
  max-width: 10.5ch;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}

.phone-fan__copy > p:not(.eyebrow) {
  max-width: 48ch;
  margin: 26px 0 0;
  color: rgba(245, 245, 247, .72);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}

.phone-fan__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 34px;
}

.shop-phone-fan .phone-fan__actions .button.primary {
  border-color: #1687ff;
  background: #1687ff;
  box-shadow: 0 12px 30px rgba(0, 113, 227, .25);
}

.phone-fan__text-link {
  color: #58a6ff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.phone-fan__text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.phone-fan__text-link:hover,
.phone-fan__text-link:focus-visible {
  color: #91c7ff;
}

.phone-fan__text-link:hover span,
.phone-fan__text-link:focus-visible span {
  transform: translateX(4px);
}

.phone-fan__visual {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 530px;
  margin: -20px -42px -54px 0;
  overflow: hidden;
}

.phone-fan__glow {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(88%, 650px);
  aspect-ratio: 1.65;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(26, 116, 242, .3), rgba(7, 30, 65, .08) 50%, transparent 74%);
  filter: blur(16px);
  transform: translateX(-50%);
}

.phone-fan__device {
  --fan-shift: 0%;
  --fan-angle: 0deg;
  --fan-rise: 0px;
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 2;
  width: clamp(230px, 38%, 322px);
  aspect-ratio: 1;
  margin: 0;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, .42));
  transform: translateX(calc(-50% + var(--fan-shift))) translateY(var(--fan-rise)) rotate(var(--fan-angle));
  transform-origin: 50% 92%;
}

.phone-fan__device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.phone-fan__device--one {
  --fan-shift: -72%;
  --fan-angle: -16deg;
  --fan-rise: 16px;
  z-index: 1;
}

.phone-fan__device--two {
  --fan-shift: 0%;
  --fan-angle: -1deg;
  --fan-rise: -16px;
  z-index: 3;
}

.phone-fan__device--three {
  --fan-shift: 72%;
  --fan-angle: 16deg;
  --fan-rise: 16px;
  z-index: 2;
}

.phone-fan--motion .phone-fan__device {
  opacity: .82;
  transform: translateX(-50%) translateY(38px) rotate(0deg) scale(.9);
  transition:
    transform 1100ms cubic-bezier(.16, 1, .3, 1),
    opacity 500ms ease,
    filter 1100ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--fan-delay, 0ms);
}

/* shop.html intentionally suppresses catalog motion; this is the one approved
   editorial exception and remains disabled by the reduced-motion query below. */
.no-motion-page .shop-phone-fan.phone-fan--motion .phone-fan__device {
  transition:
    transform 1100ms cubic-bezier(.16, 1, .3, 1),
    opacity 500ms ease,
    filter 1100ms cubic-bezier(.16, 1, .3, 1) !important;
  transition-delay: var(--fan-delay, 0ms) !important;
}

.phone-fan--motion .phone-fan__device--one {
  --fan-delay: 60ms;
}

.phone-fan--motion .phone-fan__device--two {
  --fan-delay: 130ms;
}

.phone-fan--motion .phone-fan__device--three {
  --fan-delay: 200ms;
}

.phone-fan--motion.is-fanned .phone-fan__device {
  opacity: 1;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, .42));
  transform: translateX(calc(-50% + var(--fan-shift))) translateY(var(--fan-rise)) rotate(var(--fan-angle)) scale(1);
}

.phone-fan__caption {
  position: absolute;
  right: 7%;
  bottom: 8px;
  left: 7%;
  z-index: 5;
  margin: 0;
  color: rgba(245, 245, 247, .56);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
}

@media (max-width: 1050px) {
  .shop-phone-fan {
    grid-template-columns: minmax(0, .86fr) minmax(430px, 1.14fr);
    min-height: 590px;
    padding: 54px 46px;
  }

  .phone-fan__visual {
    min-height: 480px;
    margin-right: -30px;
  }

  .phone-fan__device {
    width: clamp(215px, 42%, 278px);
  }
}

@media (max-width: 820px) {
  .shop-phone-fan {
    display: block;
    width: min(100% - 28px, 720px);
    min-height: 0;
    margin: 14px auto 56px;
    padding: 48px 28px 18px;
    border-radius: 32px;
  }

  .phone-fan__copy {
    max-width: 620px;
  }

  .phone-fan__copy h2 {
    max-width: 12ch;
    font-size: clamp(40px, 10vw, 62px);
  }

  .phone-fan__visual {
    min-height: clamp(340px, 77vw, 490px);
    margin: 20px -18px 0;
  }

  .phone-fan__device {
    bottom: 34px;
    width: clamp(190px, 47vw, 285px);
  }

  .phone-fan__device--one {
    --fan-shift: -55%;
    --fan-angle: -13deg;
  }

  .phone-fan__device--three {
    --fan-shift: 55%;
    --fan-angle: 13deg;
  }
}

@media (max-width: 520px) {
  .shop-phone-fan {
    width: calc(100% - 20px);
    margin-bottom: 42px;
    padding: 38px 20px 12px;
    border-radius: 26px;
  }

  .phone-fan__copy h2 {
    font-size: clamp(38px, 12.5vw, 52px);
  }

  .phone-fan__copy > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 16px;
  }

  .phone-fan__actions {
    display: grid;
    align-items: start;
    justify-items: start;
    margin-top: 28px;
  }

  .phone-fan__visual {
    min-height: clamp(310px, 88vw, 390px);
    margin: 16px -14px 0;
  }

  .phone-fan__device {
    bottom: 30px;
    width: min(56vw, 220px);
  }

  .phone-fan__device--one {
    --fan-shift: -47%;
    --fan-angle: -11deg;
    --fan-rise: 12px;
  }

  .phone-fan__device--two {
    --fan-rise: -8px;
  }

  .phone-fan__device--three {
    --fan-shift: 47%;
    --fan-angle: 11deg;
    --fan-rise: 12px;
  }

  .phone-fan__caption {
    right: 3%;
    left: 3%;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-fan__device,
  .phone-fan--motion .phone-fan__device,
  .phone-fan--motion.is-fanned .phone-fan__device,
  .phone-fan__text-link,
  .phone-fan__text-link span {
    transition: none !important;
  }

  .no-motion-page .shop-phone-fan.phone-fan--motion .phone-fan__device {
    transition: none !important;
  }
}
