/* Choose a face by the language of the text, not the width of the screen.
   Each stack also covers names, punctuation and mixed-script guest input. */
:root, [lang="en"] {
  --reading: "Quicksand", "Zen Maru Gothic", sans-serif;
  --letter: "Dancing Script", "Zen Maru Gothic", cursive;
  --poster: "Wedding Bubble", "Zen Maru Gothic", sans-serif;
}

[lang="ja"] {
  --reading: "Zen Maru Gothic", "Quicksand", sans-serif;
  --letter: "Noto Serif JP", serif;
  --poster: "Zen Maru Gothic", sans-serif;
}

body { font-family: var(--reading); }
.hero h1, .hero h1 > span {
  font-family: var(--poster);
  font-weight: 400;
  text-wrap: balance;
}
.hero h1 > span:lang(ja) { font-weight: 700; }

body > section > h2, .paper h2 {
  font-size: clamp(1.875rem, 2.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.35;
}
body > section > h2, body > section > h2 > span,
.paper h2, .paper h2 > span { font-family: var(--letter); }

body > section > p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
}

.invitation-message > p {
  font-family: var(--letter);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.55;
}
.invitation-message > p:lang(ja) {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
}
.invitation-message > .signature {
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 500;
}

.announcement__details p > span, .announcement__venue > span,
.eyebrow > span { font-family: var(--reading); }
body > section > a { font-size: 1rem; font-weight: 700; }
