* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; background: #fff; }
body { min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
/* Lienzo de referencia: 1920 × 1080. Se escala completo sin recortar. */
.canvas { position: relative; width: min(100vw, 177.777778svh); aspect-ratio: 16 / 9; container-type: inline-size; }
.photograph { position: absolute; inset: 0; width: 100%; height: 100%; }
h1 { margin: 0; font-weight: 400; }
h1 span { position: absolute; left: calc(var(--x) / 1920 * 100%); top: calc(var(--y) / 1080 * 100%); color: white; font-family: 'Times New Roman', Times, serif; font-size: 2.083333cqw; line-height: 1.15; font-weight: 400; white-space: nowrap; }
nav button { position: absolute; left: calc(var(--x) / 1920 * 100%); top: calc(var(--y) / 1080 * 100%); transform: translate(-50%, -50%); border: 0; margin: 0; padding: 0; background: transparent; cursor: pointer; display: block; }
nav img { display: block; width: calc(var(--frame-width) / 1920 * 100cqw); height: auto; }
nav button:focus-visible { outline: 2px solid #176346; outline-offset: 5px; }
.character { position: absolute; left: 95.208333%; top: 90.740741%; width: 2.864583%; height: 7.037037%; object-fit: fill; }
