/* The approved 1024×1536 day portrait has Alexander's hair near y=416.
   Keep the original width-based scale and reserve sky above both faces.
   A short in-app viewport may scroll rather than cover a face with controls. */
@media (max-width:650px) {
 html[data-theme=light] #contacts {
  min-height:max(540px,135vw,calc(var(--contact-controls-bottom,240px) + 112vw + 16px));
  max-height:none;
 }
 html[data-theme=light] #contacts .contact-visual .contact-photo {
  inset:auto 0 0;
  width:100%;height:auto;max-height:none;
  object-fit:contain;object-position:center bottom;
 }
}

html[data-theme] #contacts .whatsapp-link{font-size:14px;min-height:44px}
