body {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.display,
.book-copy h2,
.page-title,
.portal-intro h2,
.portal h3,
.quote p,
.content h2,
.music-row h3,
.album h2,
.chapter-preview h2,
.gallery-guide h2,
.footer strong {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.055em;
  text-transform: none;
}

.display {
  max-width: 1000px;
  font-size: clamp(64px, 9.5vw, 150px);
  line-height: .84;
}

.display em {
  font-weight: 300;
  text-transform: none;
}

.book-copy h2,
.page-title {
  line-height: .88;
}

.hero-photo {
  animation: hero-breathe 16s ease-in-out infinite alternate;
  transform-origin: 62% 45%;
}

.hero-copy .eyebrow,
.hero-copy .lead,
.hero-copy .button {
  opacity: 0;
  animation: rise-in .9s ease forwards;
}

.hero-copy .eyebrow { animation-delay: .15s; }
.hero-copy .display { animation: title-in 1.15s cubic-bezier(.2,.75,.2,1) both; }
.hero-copy .lead { animation-delay: .65s; }
.hero-copy .button { animation-delay: .85s; }

@keyframes hero-breathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); }
}

@keyframes title-in {
  from { opacity: 0; transform: translateY(70px); clip-path: inset(100% 0 0 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.book-object img {
  animation: book-float 5.6s ease-in-out infinite;
}

@keyframes book-float {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-18px); }
}

.book-quote {
  position: relative;
  overflow: hidden;
  padding: 11vh 10vw;
  background: #17342e;
  color: #fffdf8;
}

.book-quote::before {
  content: "“";
  position: absolute;
  right: 4vw;
  top: -12vh;
  font: 400 42vw/1 Georgia, serif;
  color: rgba(255,255,255,.045);
}

.book-quote p {
  position: relative;
  max-width: 1200px;
  margin: 0;
  font-size: clamp(40px, 6.1vw, 92px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.book-quote small {
  display: block;
  margin-top: 32px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.75,.2,1);
}

.motion-reveal.in-view {
  opacity: 1;
  transform: none;
}

.portal:nth-child(2) { transition-delay: .12s; }
.portal:nth-child(3) { transition-delay: .24s; }

.portal img {
  transform: scale(1.06);
}

.portal:hover img {
  transform: scale(1.13) rotate(.35deg);
}

.marquee div {
  animation-duration: 18s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 900px) {
  .display { font-size: clamp(58px, 17vw, 105px); }
  .book-quote { padding: 10vh 7vw; }
  .book-quote p { font-size: clamp(38px, 11vw, 64px); }
}
