:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #000;
  color: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; }

.bio {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  isolation: isolate;
}

.bio-art { display: block; width: 100%; height: auto; }

.hotspot {
  position: absolute;
  left: calc(var(--x) / 1080 * 100%);
  top: calc(var(--y) / 1920 * 100%);
  width: calc(var(--w) / 1080 * 100%);
  height: calc(var(--h) / 1920 * 100%);
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hotspot-instagram { border-radius: 25%; }
.hotspot:hover { background: rgb(255 255 255 / 9%); }
.hotspot:active { background: rgb(255 255 255 / 16%); }
.hotspot:focus-visible { outline: 3px solid #ffd477; outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

dialog {
  width: min(360px, calc(100% - 40px));
  padding: 28px;
  border: 1px solid #75665e;
  border-radius: 20px;
  background: #211d1b;
  color: #fff;
}

dialog::backdrop { background: rgb(0 0 0 / 75%); }
dialog h2 { margin: 0 0 12px; font-size: 1.35rem; }
dialog p { margin: 0 0 24px; line-height: 1.6; font-size: 1rem; }
.dialog-close {
  width: 100%;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #211d1b;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.dialog-close:focus-visible { outline: 3px solid #ffd477; outline-offset: 4px; }
.noscript { max-width: 540px; margin: 16px auto; padding: 16px; font-size: 1rem; }
