/* Shared phone shell (home page + contact page). Colours of the device itself are fixed. */
.hm-phone {
    position: absolute; left: 0; top: 0;
    width: 280px; height: 580px;
    border-radius: 48px;
    background: linear-gradient(145deg, #2E2A38, #0E0D13 42%, #1B1922);
    box-shadow: inset 0 0 0 2px #3A3546, inset 0 0 0 9px #0B0A10, 0 0 0 1px rgba(255,92,141,.12), 0 40px 80px rgba(0,0,0,.6), 0 0 90px rgba(255,30,106,.14);
    transform-origin: 0 0;
    transform-style: preserve-3d;
}
/* Thickness: two back plates give the phone a body when it turns */
.hm-phone::before, .hm-phone::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(145deg, #3A3546, #121118 50%, #24212D);
}
.hm-phone::before { transform: translateZ(-5px); }
.hm-phone::after { transform: translateZ(-10px); background: #0E0D13; box-shadow: 0 0 0 1px #2A2633; }
.hm-screen {
    position: absolute; inset: 10px;
    border-radius: 39px;
    background: #0B0A10;
    overflow: hidden;
    transform: translateZ(1px);
}
.hm-screen::after { /* glass reflection */
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4;
    background: linear-gradient(118deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 28%, transparent 42%);
}
.hm-island { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
