.home #opening { height: 235svh; }
#street-distance { height: 460svh; }
.descent-note {
  position: absolute;
  left: clamp(30px, 7vw, 125px);
  width: min(34vw, 490px);
  pointer-events: auto;
}
.name-reading { top: 108svh; }
.name-reading h2, .interval-reading p:first-child {
  font-size: clamp(29px, 3.05vw, 52px);
  font-weight: 430;
  line-height: 1.1;
  letter-spacing: -.046em;
  text-wrap: balance;
}
.name-reading p, .interval-reading p + p {
  font-size: clamp(17px, 1.32vw, 23px);
  letter-spacing: -.023em;
  line-height: 1.44;
  max-width: 34ch;
  margin-top: .78em;
}
.interval-reading { top: 198svh; width: min(37vw, 555px); }
.interval-reading p:first-child { font-size: clamp(25px, 2.2vw, 39px); }

.inscription .interval-mark {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5px;
  transform-origin: left center;
  background: #393b3b;
}
.interval-mark::after {
  content: "";
  position: absolute;
  inset: 0 -1.5px;
  transform: scaleY(.42);
  transform-origin: bottom;
  background: #363737;
  opacity: 0;
}
.playing-intervals .interval-mark::after {
  animation: interval-note 3.7s linear infinite;
  animation-delay: var(--onset);
}
@keyframes interval-note {
  0%, 11% { opacity: 0; }
  2% { opacity: 1; }
  6% { opacity: .65; }
}

#street-reading .street-plate { z-index: 2; }
#street-reading .encounter-phrase { padding: 14svh var(--edge) 8svh; }
#street-reading .encounter-phrase p {
  font-size: clamp(29px, 3.1vw, 53px);
  line-height: 1.13;
  letter-spacing: -.044em;
  text-wrap: balance;
  font-weight: 420;
  margin: 0;
}
#attention-beat p { max-width: 23ch; }
#street-reading #moment-beat { padding-left: 43%; background: linear-gradient(0deg, #000b, transparent); }
#moment-beat p { max-width: 28ch; }
#street-reading #whole-beat h2, #street-reading #sound-beat h2, #street-reading #note-beat h2 {
  max-width: 23ch;
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1.085;
}
#street-reading :is(#whole-beat, #sound-beat, #note-beat) > p { font-size: clamp(16px, 1.25vw, 21px); max-width: 41ch; }
#street-reading .street-plate { background: linear-gradient(0deg, rgb(0 0 0 / .8), rgb(0 0 0 / .45) 60%, transparent); }
#street-reading .exposure-fragment {
  position: absolute; z-index: 1; top: 48%; left: 56%;
  font-size: 12px; line-height: 1.25; color: white; text-shadow: 0 1px 4px black;
}
#street-reading .exposure-fragment img { display:none; }
#street-reading #sound-paper { bottom: 23svh; right: 6vw; width: min(23vw, 345px); }
#street-reading #note-paper { right: 15vw; bottom: 45svh; width: min(14vw, 218px); }
#street-reading .street-imprint { z-index: 3; }
#street-reading .save-score, .thought-source summary { display: inline-block; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
#street-reading .save-score, .thought-source { margin-top: .65rem; }
.thought-source summary:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.thought-source summary { list-style: none; }
.thought-source summary::-webkit-details-marker { display: none; }
#street-reading:has(#listening-place:not([hidden])) :is(#note-paper, .exposure-fragment, .save-score), #street-reading:has(.thought-source[open]) #note-paper { visibility: hidden; }
#street-reading .film-transport { z-index: 4; }
#street-reading[data-beat="street"]:not(:focus-within):not(.transport-awake) .film-transport { opacity: 0; }
@media (max-aspect-ratio: 85/100) {
  .home #opening { height: 242svh; }
  .descent-note { width: min(86vw, 540px); left: 7vw; }
  .name-reading { top: 112svh; }
  .interval-reading { top: 205svh; }
  .name-reading p, .interval-reading p + p { max-width: 29ch; font-size: 17px; }
  #street-reading #moment-beat { padding-left: var(--edge); }
  #street-reading .encounter-phrase p { font-size: clamp(27px, 6.6vw, 40px); }
  #street-reading .encounter-phrase { padding-bottom: 12svh; }
  #street-reading #sound-paper { right: 6vw; bottom: 48svh; width: min(40vw, 214px); }
  #street-reading #note-paper { right: 52vw; bottom: 58svh; width: min(26vw, 160px); }
  #street-reading .exposure-fragment { left: 51%; max-width: 12ch; top: 43%; }
  #street-reading #whole-beat h2, #street-reading #sound-beat h2, #street-reading #note-beat h2 { font-size: clamp(26px, 6.2vw, 39px); }
}
@media (max-height: 530px) and (min-aspect-ratio: 86/100) {
  .descent-note { width: 40vw; }
  .name-reading { top: 104svh; }
  .interval-reading { top: 193svh; }
  .name-reading h2, .interval-reading p:first-child { font-size: 23px; }
  .name-reading p, .interval-reading p + p { font-size: 14px; }
  #street-reading .encounter-phrase p, #street-reading #whole-beat h2, #street-reading #sound-beat h2, #street-reading #note-beat h2 { font-size: 25px; }
  #street-reading :is(#whole-beat, #sound-beat, #note-beat) > p { font-size: 14px; }
  #street-reading .thought-source[open] { max-height: 32svh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { .playing-intervals .interval-mark::after { animation: none; } }

#street-reading .street-imprint img {
  filter: brightness(0) invert(1) drop-shadow(0 0 1px #161819) drop-shadow(0 2px 3px #151515);
}
body:not(.walking) #street-distance { height: 0; }
