/* Local front-view mockup, proportioned from Apple's iPhone 18 Pro Max drawing. */
.device, .phone.shell, .sample.shell {aspect-ratio:77.98 / 163.43;}
.shell {
  position:relative;
  isolation:isolate;
  overflow:visible;
  border:0;
  padding:0;
  border-radius:15.2% / 7.25%;
  background:
    linear-gradient(90deg, #54585d88, transparent 2.6% 97.4%, #1e252aad),
    linear-gradient(157deg, #e9e8e5 0%, #b0b2b4 12%, #6f7378 27%, #f3f1eb 41%, #93989a 54%, #51555a 71%, #bfc0bd 87%, #f2efe6 99%);
  box-shadow:inset 0 0 0 .7px #e1dfd8, inset 0 0 0 1.7px #686b6d, 1px 1px 1px #1a1d20, 0 9px 16px -9px rgb(0 0 0 / 38%);
}
.shell::before {
  content:"";
  position:absolute;
  inset:.72% 1.5%;
  border-radius:14.2% / 6.8%;
  background:#08090b;
  box-shadow:0 0 0 .7px #414449, inset 0 0 1px #56616a;
  pointer-events:none;
}
.shell > img, .shell.phone > .screen-reel, .shell > .dune-art {
  position:absolute;
  inset:1.57% 3.28%;
  width:93.44%;
  height:96.86%;
  border-radius:12.8% / 5.9%;
}
.shell::after {
  content:"";
  position:absolute;
  z-index:3;
  top:3%;
  left:50%;
  transform:translateX(-50%);
  width:17.5%;
  height:2.55%;
  border-radius:999px;
  background:radial-gradient(circle at 84% 49%, #36415b 0 2%, #14202c 4% 7%, transparent 10%),#07080a;
  box-shadow:inset 0 .5px 1px #25272d, 0 0 0 .4px #1b1c20;
  pointer-events:none;
}
.device-hardware {position:absolute;inset:0;z-index:2;pointer-events:none;}
.device-hardware::before {
  content:"";position:absolute;top:.6%;left:43%;width:14%;height:.35%;
  border-radius:999px;background:#282b2e;
}
.device-hardware i {
  position:absolute;
  width:1.55%;
  min-width:2px;
  border-radius:2px;
  background:linear-gradient(90deg,#54595c,#d6d7d4 42%,#95989a 75%,#565c5e);
  box-shadow:inset 0 .7px .6px #edece6, inset 0 -.8px .7px #30363a, 0 .5px 1px #0d1216;
}
.device-hardware .action,.device-hardware .volume-up,.device-hardware .volume-down {left:-1.1%;}
.device-hardware .action {top:19.2%;height:3.4%;}
.device-hardware .volume-up {top:26.5%;height:6%;}
.device-hardware .volume-down {top:35%;height:6%;}
.device-hardware .side {right:-1.15%;top:30.4%;height:10%;}
.device-hardware .camera {right:.1%;top:68%;height:12%;width:.9%;min-width:1.3px;background:linear-gradient(90deg,#343a3d,#767a7c);box-shadow:0 0 0 .55px #bbc0bf;}

/* A stationary pool of neutral light behind the whole stack. */
.collection, .bank, .sample-stage {
  background-image:radial-gradient(
    ellipse var(--light-width) var(--light-height) at 50% var(--light-center),
    rgb(232 230 225 / 32%) 0%, rgb(232 230 225 / 19%) 50%,
    rgb(232 230 225 / 7%) 75%, transparent 100%
  );
}
.collection {
  --light-width:calc(var(--phone-width) * 2.35);
  --light-height:calc(var(--phone-width) * 1.07);
  --light-center:calc(12px + var(--phone-width) * 1.05);
}
.bank {
  --light-width:calc(var(--w) * 3);
  --light-height:49%;
  --light-center:50%;
}
.sample-stage {
  --light-width:min(87vw, 400px);
  --light-height:50%;
  --light-center:50%;
  display:flow-root;
}
