/*
 * Jinia Art — Japanese typography layer (i18n phase 1).
 *
 * Enqueued only for the Japanese locale (see inc/assets.php) and every rule
 * is additionally scoped to html[lang="ja"], so the default language is
 * structurally unaffected. The English design tokens assume Latin type:
 * Didone display faces, tight leading and real italics. Japanese needs a
 * Mincho display face, generous leading, strict line breaking and NO fake
 * italics (browsers oblique-synthesise kana/kanji, which reads as a defect).
 */

/* ── typefaces ────────────────────────────────────────────────────────── */
html[lang="ja"] {
	--font-display: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	--font-ui: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

/* ── rhythm ───────────────────────────────────────────────────────────── */
html[lang="ja"] body {
	line-height: 1.8;
	line-break: strict;
}

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4,
html[lang="ja"] h5,
html[lang="ja"] h6 {
	line-height: 1.5;
}

html[lang="ja"] p,
html[lang="ja"] li,
html[lang="ja"] dd {
	line-break: strict;
}

/* ── no fake italics ──────────────────────────────────────────────────── */
html[lang="ja"] em,
html[lang="ja"] i,
html[lang="ja"] cite,
html[lang="ja"] .entry-content blockquote,
html[lang="ja"] .home-interview__q,
html[lang="ja"] .artwork__note {
	font-style: normal;
}

/* ── long-string safety in controls ───────────────────────────────────── */
html[lang="ja"] .btn {
	white-space: normal;
	line-height: 1.5;
	text-align: center;
}

html[lang="ja"] .card__title,
html[lang="ja"] .artwork__section-title {
	overflow-wrap: break-word;
}

/* ── artwork information strip (template-parts/artwork/ja-info.php) ───── */
.artwork-ja-info {
	border-top: 1px solid var(--c-line, #e3ddd2);
	border-bottom: 1px solid var(--c-line, #e3ddd2);
	padding: var(--space-5) 0;
}

.artwork-ja-info .specs {
	margin: 0;
}

.artwork-ja-info__link {
	margin: var(--space-4) 0 0;
}
