/* Licensed, pinned subsets served by the same Cloudflare assets binding.
   UI glyph coverage only; saved private work and print exports are independent. */
@import url("/fonts/studio-cjk/fonts.css");
html:lang(ja) {
  --ds-sans:
    "Studio CJK Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ds-serif: "Studio CJK Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-break: strict;
}
html:lang(ko) {
  --ds-sans:
    "Studio CJK Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ds-serif: "Studio CJK Serif KR", "AppleMyungjo", serif;
  word-break: keep-all;
}
html:lang(zh-CN) {
  --ds-sans: "Studio CJK Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ds-serif: "Studio CJK Serif SC", "Songti SC", "SimSun", serif;
  line-break: strict;
}
html:is(:lang(ja), :lang(ko), :lang(zh-CN)) body {
  font-family: var(--ds-sans);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
html:is(:lang(ja), :lang(ko), :lang(zh-CN))
  :is(h1, h2, h3, .ds-kicker, .ds-eyebrow, .eyebrow) {
  letter-spacing: 0;
  line-height: 1.4;
}
html:is(:lang(ja), :lang(ko), :lang(zh-CN)) .ds-hero-copy h1 {
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.35;
}
html:is(:lang(ja), :lang(ko), :lang(zh-CN))
  :is(button, input, select, textarea) {
  font-family: var(--ds-sans);
}
/* Keep the approved two-line headline at the narrowest supported viewport. */
@media (max-width: 600px) {
  html:lang(ja) .ds-hero-copy h1 {
    font-size: clamp(26px, 7.5vw, 36px);
  }
}
html:is(:lang(ja), :lang(ko), :lang(zh-CN)) .ds-season-strip {
  height: auto;
  min-height: 40px;
  padding-block: 5px;
}

html:is(:lang(ja), :lang(ko), :lang(zh-CN)) .ds-season-strip a {
  white-space: nowrap;
}

/* Longer localized starter headings must not leave a single CJK glyph on a line. */
@media (max-width: 600px) {
  html:is(:lang(ja), :lang(ko), :lang(zh-CN)) .ds-create-copy h1 {
    font-size: clamp(28px, 7vw, 40px);
  }
}
