.scene[hidden] { display: none; }

h1 {
  margin: 0;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  line-height: .92;
  letter-spacing: -.02em;
  min-height: 1.84em;
}

.sub {
  margin: 1.1rem 0 0;
  font: 400 .72rem/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.sub[hidden] { display: none; }

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2.5rem;
  margin-top: clamp(2rem, 6vh, 4rem);
  padding: 0;
  list-style: none;
}
.choices li {
  opacity: 0;
  transform: translateY(.6rem);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.choices.on li { opacity: 1; transform: none; }
.choices.on li:nth-child(2) { transition-delay: .09s; }
.choices.on li:nth-child(3) { transition-delay: .18s; }
.choices li[hidden] { display: none; }
.nothing .choice { color: var(--dim); font-size: .78em; }
.nothing .choice kbd { opacity: 0; }
#nothing .say { font-size: clamp(2.4rem, 6vw, 4.6rem); }
#nothing .more { margin-top: clamp(2rem, 6vh, 4rem); }
#nothing .more[hidden] { display: none; }
#nothing .more .say { color: var(--dim); font-size: clamp(1.6rem, 3.5vw, 2.6rem); }

.answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}

.answer figure {
  margin: 0;
  justify-self: start;
  width: min(100%, 34rem);
}
.answer img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
}
.scene.in .answer img { clip-path: inset(0 0 0 0); }
/* Un-printing: the wipe runs backwards with a two-pixel misregistration ghost; the clip reaches out so the ghost survives it. */
.scene.in.out .answer img {
  clip-path: inset(0 -2px 100% -2px);
  transition: clip-path .5s var(--ease);
  filter: drop-shadow(2px 0 0 var(--hot)) drop-shadow(-2px 0 0 var(--paper));
}

.wide figure { width: min(100%, 44rem); }
.wide img { aspect-ratio: auto; }
/* The Gwen frame is nearly as dark as the page; a hairline of paper keeps its edge. */
#no img { border: 1px solid var(--paper); }

.side { padding-bottom: .5rem; }

.label {
  font: 400 .72rem/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hot);
  margin: 0 0 1.25rem;
}

.say {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  font-weight: 400;
}
.say em { color: var(--hot); }

.spidey {
  font-size: clamp(3.4rem, 12vw, 10.5rem);
  line-height: .9;
  letter-spacing: -.025em;
  margin: 0;
  font-weight: 400;
}
.spidey > span { display: block; }
.spidey .is { font-style: italic; color: var(--dim); font-size: .5em; line-height: 1.3; }
.spidey .who { color: var(--hot); font-style: italic; }

.back {
  margin-top: clamp(2rem, 6vh, 3.5rem);
}
#spider-man .next { visibility: hidden; margin-top: clamp(2rem, 6vh, 3.5rem); margin-right: 2.5rem; }
#spider-man.next .next { visibility: visible; }
.slide {
  opacity: 0;
  transform: translateX(8vw);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.scene.in .slide { opacity: 1; transform: none; }

.side .choices { margin-top: clamp(1.5rem, 4vh, 2.5rem); }
.side .back { margin-top: .75rem; }

@media (max-width: 52rem) {
  .answer { grid-template-columns: 1fr; align-items: start; }
  .choices { flex-direction: column; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .answer img { clip-path: none; }
}
