.device-section { background:#000; padding:clamp(54px,8vw,112px) 0; overflow:clip; }
.device-section .intro {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:20px; margin:0 auto clamp(23px,3vw,44px);
}
.device-section .intro h2 { max-width:none; margin:0; }
.device-section h2 em { --ink:#9FD3FD; }
.device-stage {
  position:relative; isolation:isolate; width:min(100%,1100px);
  aspect-ratio:1.80; margin-inline:auto;
}
.device { position:absolute; margin:0; background:#212226; border:1px solid #595b60; box-shadow:inset 0 0 0 1px #0e0e10; }
.device img { display:block; width:100%; height:auto; border-radius:inherit; }
.device-desktop {
  width:69%; top:0; left:15.5%; padding:.7%;
  border-radius:clamp(5px,1vw,14px);
}
.device-desktop::after {
  content:""; position:absolute; z-index:-1; top:100%; left:40%; width:20%; height:12%;
  background:#323439; clip-path:polygon(33% 0,67% 0,73% 80%,100% 91%,100% 100%,0 100%,0 91%,27% 80%);
}
.device-tablet {
  width:31.2%; left:0; bottom:0; padding:.62%; z-index:1;
  border-radius:clamp(6px,1.3vw,19px);
}
.device-phone {
  width:17%; right:2%; bottom:0; padding:.52%; z-index:2;
  border-radius:clamp(6px,1.35vw,22px);
}
.device-caption { max-width:1100px; margin:26px auto 0; align-items:center; }
.device-caption h3 { margin:0; font-size:clamp(16px,2.1vw,23px); }
a.keratex-visit { --ink:#000; background:#fff; }
a.keratex-visit:hover { background:#e7eaf0; }
.device-caption p { margin:5px 0 0; }
.endless-toggle { border:0; background:none; right:max(14px,env(safe-area-inset-right)); }
@media (min-width:768px) and (max-width:900px) {
  #navigation { gap:14px; }
  #navigation .nav-contact { padding-inline:12px; }
}
@media (max-width:767px) {
  .device-stage { aspect-ratio:1.49; }
  .device-desktop { width:73%; left:13.5%; }
  .device-tablet { width:33.8%; }
  .device-caption { flex-direction:column; align-items:flex-start; }
  .device-phone { width:19%; }
}
@media (prefers-reduced-motion:no-preference) {

  .device-motion .device-scroll::after { content:""; display:block; height:var(--device-travel); }
  .device-motion .device-pin { position:sticky; top:var(--device-pin-top); }
  .device-motion .device-tablet { transform:translateX(calc((var(--device-tablet,0) - 1) * var(--device-tablet-travel,100vw))); }
  .device-motion .device-phone { transform:translateX(calc((1 - var(--device-phone,0)) * var(--device-phone-travel,100vw))); }
  .device-motion .device-caption { opacity:var(--device-caption,0); transform:translateY(calc((1 - var(--device-caption,0)) * 18px)); }
  .device-motion .device-caption:focus-within { opacity:1; transform:none; }
}
