main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 2rem;
  font: 12px/1.65 var(--mono);
}

#story {
  width: min(100%, 65ch);
}

.question {
  display: block;
  width: fit-content;
  margin: 1.5em auto 0;
  padding-block: 4px;
}

main a { text-decoration-color: var(--marker); }
main a:hover { text-decoration-color: currentColor; }

#photo {
  display: none;
  width: min(100%, 42rem, 90vh);
  text-align: center;
}

#photo:target { display: block; }
#photo:target ~ #story { display: none; }
#photo:focus, #story:focus { outline: none; }

#photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  mix-blend-mode: multiply;
}

#photo a {
  display: inline-block;
  padding-block: 8px;
}

.spoken {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  user-select: none;
}

@media (prefers-reduced-motion: no-preference) {
  .syllable, .question {
    animation: appear 520ms ease-out var(--delay, 0ms) backwards;
  }
  .question:focus-visible, .question:focus-visible .syllable { animation: none; }
}

@keyframes appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
