:root { color-scheme: dark; font-family: Arial, sans-serif; background: #000; color: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; position: relative; }
.composition { --ratio: 1.40625; width: min(100%, calc(100vh * var(--ratio))); width: min(100%, calc(100svh * var(--ratio))); aspect-ratio: var(--ratio); position: relative; }
picture, picture img, canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
picture img { object-fit: contain; }
canvas { opacity: 0; }
.composition[data-state="ready"] canvas, .composition[data-state="paused"] canvas { opacity: 1; }
.composition[data-state="ready"] picture, .composition[data-state="paused"] picture { visibility: hidden; }
.contact { position: absolute; z-index: 2; display: block; min-width: 24px; min-height: 24px; border-radius: 3px; }
.instagram { left: 4.2%; top: 92.5%; width: 5.4%; height: 4.5%; }
.email { left: 12.3%; top: 92.5%; width: 5.4%; height: 4.5%; }
.contact:hover { background: #ffffff18; }
.contact:focus-visible, button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
#playback { position: fixed; z-index: 3; left: 50%; bottom: max(7px, env(safe-area-inset-bottom)); transform: translateX(-50%); border: 1px solid #666; border-radius: 20px; padding: 7px 13px; background: #000d; color: #fff; font: 12px/1.2 Arial, sans-serif; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 768px) and (max-width: 1199px) {
  .composition { --ratio: 1.4316546763; }
  .instagram { left: 4.2%; top: 91%; width: 7%; height: 6%; }
  .email { left: 11.7%; top: 91%; width: 5.8%; height: 6%; }
}
@media (max-width: 767px) {
  .composition { --ratio: 0.5268096515; }
  .instagram { left: 29%; top: 72.6%; width: 16%; height: 5%; }
  .email { left: 54%; top: 72.6%; width: 15%; height: 5%; }
}
