@font-face {
  font-family: 'Opening Garamond';
  src: url('assets/fonts/CormorantGaramond-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Opening Song';
  src: url('assets/fonts/NotoSerifSC-Opening-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
.world-entry h1, .intro-play {
  font-family: 'Opening Song', var(--serif);
  font-weight: 500;
}
.world-entry h1 { letter-spacing: .08em; }
html[lang='en'] .world-entry h1,
html[lang='en'] .intro-play {
  font-family: 'Opening Garamond', Baskerville, Georgia, serif;
  font-weight: 500;
  font-kerning: normal;
}
html[lang='en'] .world-entry h1 {
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.24;
  letter-spacing: .005em;
}
html[lang='en'] .intro-play { font-size: 23px; letter-spacing: .08em; text-indent: .08em; }
.opening-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 84px 28px;
  pointer-events: none;
  background: none;
}
.opening-caption p {
  margin: 0;
  max-width: 22em;
  color: #fff4e0;
  font-family: 'Opening Song', var(--serif);
  font-size: clamp(25px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .08em;
  text-align: center;
  white-space: pre-line;
  text-wrap: balance;
  text-shadow: 0 2px 5px #050d11e6, 0 0 18px #050d11a6;
  will-change: transform;
}
html[lang='en'] .opening-caption p {
  font-family: 'Opening Garamond', Baskerville, Georgia, serif;
  font-size: clamp(32px, 4.5vw, 64px);
  font-kerning: normal;
  letter-spacing: .015em;
  line-height: 1.2;
}
@media (max-width: 760px) {
  html[lang='en'] .world-entry h1 { font-size: clamp(28px, 6.8vw, 38px); line-height: 1.28; }
  .opening-caption { padding: 76px 24px; }
  .opening-caption p { font-size: clamp(22px, 5.8vw, 30px); letter-spacing: .06em; }
  html[lang='en'] .opening-caption p { font-size: clamp(29px, 7.2vw, 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .opening-caption p { will-change: auto; }
}
