/* Preview rhythm: images carry the transitions, text no longer repeats one card pattern. */
.preview-gap {
  height: 16vh;
}
.story {
  background: linear-gradient(
    180deg,
    #100e12 0%,
    #151016 24%,
    #100e12 58%,
    #171119 100%
  );
}
.prologue {
  padding-top: 160px;
  padding-bottom: 76px;
  max-width: 680px;
  margin-left: 18vw;
}
.prologue h2 {
  font-size: clamp(52px, 7vw, 94px);
  max-width: 680px;
}
.prologue .prose {
  max-width: 480px;
}
.room-figure {
  position: relative;
  margin-top: -24px;
}
.room-figure:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #b77f9e88 30%,
    transparent 72%
  );
  opacity: 0.7;
}
.street-figure {
  margin-top: 170px;
  margin-bottom: 50px;
}
.street-figure figcaption {
  padding-left: 12vw;
  padding-right: 12vw;
}
.memory-text {
  max-width: 900px;
  margin-right: 15vw;
  margin-left: auto;
  padding-top: 90px;
  padding-bottom: 70px;
}
.memory-text h2 {
  max-width: 820px;
}
.courtyard-figure {
  width: min(980px, 84vw);
  margin: 20px 9vw 160px auto;
}
.courtyard-figure figcaption {
  padding-left: 0;
}
.systems {
  max-width: 930px;
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(300px, 1.35fr);
  column-gap: 55px;
  align-items: start;
  padding-top: 125px;
  padding-bottom: 130px;
}
.systems .whisper,
.systems h2,
.systems blockquote {
  grid-column: 2;
}
.systems h2 {
  font-size: clamp(48px, 6.8vw, 88px);
  margin-top: 14px;
}
.systems .prose {
  grid-column: 2;
}
.systems:before {
  content: "2021 — 2026";
  grid-column: 1;
  grid-row: 1/6;
  position: sticky;
  top: 34vh;
  color: #7b6978;
  font: 10px var(--mono);
  letter-spacing: 0.12em;
  transform: rotate(-90deg);
  transform-origin: top left;
  margin-top: 55px;
}
.trace {
  max-width: 980px;
  padding-top: 130px;
  padding-bottom: 130px;
}
.trace-mark {
  font-size: 100px;
  color: #a9839b;
}
.synthetic {
  max-width: 940px;
  margin-left: 17vw;
  padding-top: 85px;
  padding-bottom: 130px;
}
.synthetic h2 {
  max-width: 730px;
}
.margin-whisper {
  right: 4vw;
  top: 48%;
  font-size: 15px;
}
.tension {
  max-width: 1000px;
  padding-top: 100px;
  padding-bottom: 70px;
}
.contrast {
  font-size: clamp(34px, 5vw, 66px);
  max-width: 830px;
}
.small-figure {
  width: min(470px, 57vw);
  margin: 5px 15vw 140px auto;
}
.small-figure figcaption {
  padding-left: 0;
  padding-right: 0;
}
.hall-figure {
  width: min(1080px, 90vw);
  margin: 0 auto 145px;
}
.temperament {
  max-width: 870px;
  margin-left: 18vw;
  padding-top: 65px;
}
.temperament h2 {
  max-width: 720px;
}
.loomiy {
  position: relative;
  padding-top: 145px;
  padding-bottom: 150px;
  background: linear-gradient(90deg, transparent, #251b26 42%, transparent);
}
.loomiy:before {
  content: "L. S.";
  position: absolute;
  right: 12vw;
  top: 70px;
  color: #8c6d83;
  font:
    italic 20px Georgia,
    serif;
  transform: rotate(-7deg);
}
.ending {
  max-width: 850px;
  padding-top: 150px;
  padding-bottom: 160px;
  margin-right: 15vw;
  margin-left: auto;
}
.ending h2 {
  max-width: 740px;
}
.visit-end {
  min-height: 620px;
  padding-top: 170px;
}
.caption-mark {
  position: relative;
  transition:
    transform 0.4s,
    color 0.3s;
}
.caption-mark:hover {
  transform: translateY(-3px) rotate(-3deg);
}
.mirror-scene {
  box-shadow: 0 18px 80px #0005;
}
.mirror-scene:hover {
  filter: contrast(1.08);
}
@media (max-width: 760px) {
  .prologue,
  .temperament {
    margin-left: 0;
    padding-top: 110px;
  }
  .prologue {
    padding-bottom: 52px;
  }
  .room-figure:after {
    bottom: 30px;
  }
  .street-figure {
    margin-top: 90px;
  }
  .street-figure figcaption {
    padding-left: 8vw;
    padding-right: 8vw;
  }
  .memory-text {
    margin: 0;
    padding-top: 70px;
    padding-bottom: 55px;
  }
  .courtyard-figure {
    width: 88vw;
    margin: 10px auto 95px;
  }
  .systems {
    display: block;
    padding-top: 80px;
    padding-bottom: 85px;
  }
  .systems:before {
    display: block;
    position: static;
    transform: none;
    margin: 0 0 38px;
  }
  .systems h2 {
    margin-top: 18px;
  }
  .trace {
    padding-top: 80px;
    padding-bottom: 85px;
  }
  .trace-mark {
    font-size: 60px;
  }
  .synthetic {
    margin-left: 0;
    padding-top: 70px;
    padding-bottom: 90px;
  }
  .margin-whisper {
    right: 8vw;
    top: auto;
    bottom: 30px;
  }
  .tension {
    padding-top: 75px;
  }
  .contrast {
    font-size: clamp(27px, 9vw, 43px);
  }
  .small-figure {
    width: 64vw;
    margin: 0 8vw 90px auto;
  }
  .hall-figure {
    width: 88vw;
    margin-bottom: 90px;
  }
  .loomiy {
    padding-top: 100px;
    padding-bottom: 105px;
  }
  .loomiy:before {
    top: 48px;
    right: 8vw;
  }
  .ending {
    margin: 0;
    padding-top: 95px;
    padding-bottom: 110px;
  }
  .visit-end {
    min-height: 540px;
    padding-top: 105px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .caption-mark:hover {
    transform: none;
  }
  .mirror-scene:hover {
    filter: none;
  }
}
