/* Approved Korean type hierarchy · 2026-11-05.
   English Hill House and the approved logo artwork retain their existing rules. */
@font-face {
  font-family: 'Noto Sans KR';
  src: url('./assets/fonts/NotoSansKR-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif KR';
  src: url('./assets/fonts/NotoSerifKR-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
html[lang=ko] {
  --ko-sans: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ko-serif: 'Noto Serif KR', serif;
  --font: var(--ko-sans);
  --body: var(--ko-sans);
  --display: var(--ko-serif);
}
html[lang=ko] body {
  font-family: var(--ko-sans);
  font-weight: 400;
}
html[lang=ko] .legacy-services[lang=ko] {
  --display: var(--ko-serif);
  --body: var(--ko-sans);
  font-family: var(--ko-sans);
  font-weight: 400;
}

/* Representative titles and major sections. Keep existing sizes and spacing. */
html[lang=ko] :is(#main-content, #admin-main) h1 {
  font-family: var(--ko-serif);
  font-weight: 700;
}
html[lang=ko] :is(#main-content, #admin-main) h2 {
  font-family: var(--ko-serif);
  font-weight: 600;
}
html[lang=ko] :is(#main-content, #admin-main) :is(h3, h4) {
  font-family: var(--ko-sans);
  font-weight: 600;
}
html[lang=ko] #main-content :is(.founder-summary, .about-evidence) > h3 {
  font-family: var(--ko-serif);
  font-weight: 600;
}

/* Founder quotations and brand statements. Logo elements are deliberately absent. */
html[lang=ko] #main-content :is(blockquote, .brand-line, .principle, .original-vision-line),
html[lang=ko] #main-content .mission-statement :is(h3, p),
html[lang=ko] .footer-identity .footer-tagline {
  font-family: var(--ko-serif);
  font-weight: 500;
}

/* Descriptive subtitles and service/process names. */
html[lang=ko] #main-content :is(.intro, .article-lead, .original-lead, .hero-explainer, .experience-label) {
  font-family: var(--ko-sans);
  font-weight: 500;
}
html[lang=ko] #main-content .original-process-step strong,
html[lang=ko] #main-content :is(.service-row, .original-service-card, .process-step, .benefit-grid, .future-steps, .future-supporting) :is(h3, h4) {
  font-family: var(--ko-sans);
  font-weight: 600;
}

/* Body and supporting text, including captions with nested date/source spans. */
html[lang=ko] #main-content :is(p, li, dd, pre, .story-prose, .original-archive-content) {
  font-family: var(--ko-sans);
  font-weight: 400;
}
html[lang=ko] #main-content :is(figcaption, small, .small, .media-source, .media-context-note, .record-context, .article-meta, .original-photo-caption),
html[lang=ko] #main-content :is(figcaption, .media-source) :is(span, time),
html[lang=ko] #main-content .survey-note small {
  font-family: var(--ko-sans);
  font-weight: 400;
}
/* These declarations follow the body reset so subtitle/statement weights remain exact. */
html[lang=ko] #main-content :is(p.intro, p.article-lead, p.original-lead, p.hero-explainer, p.experience-label) {
  font-weight: 500;
}
html[lang=ko] #main-content :is(p.brand-line, p.principle, p.original-vision-line),
html[lang=ko] #main-content .mission-statement p {
  font-family: var(--ko-serif);
  font-weight: 500;
}

/* Navigation and controls: readable sans, with labels/inputs kept at medium. */
html[lang=ko] :is(.main-nav a, .footer-links a, .chapter-nav a, .admin-nav a, .lang-switch a, .mobile-ask, .menu-button) {
  font-family: var(--ko-sans);
  font-weight: 500;
}
html[lang=ko] :is(button, .button, .link, .original-button, .original-text-link) {
  font-family: var(--ko-sans);
  font-weight: 600;
}
html[lang=ko] :is(#main-content, #admin-main) :is(input, textarea, select, label, legend),
html[lang=ko] #main-content .form-heading h2 {
  font-family: var(--ko-sans);
  font-weight: 500;
}
html[lang=ko] .dialog h2 { font-family: var(--ko-sans); font-weight: 600; }
html[lang=ko] .dialog :is(p, pre) { font-family: var(--ko-sans); font-weight: 400; }
/* The original upload control forces 400 with !important. Override only its Korean label. */
html[lang=ko] #main-content .upload-label { font-weight: 500 !important; }
html[lang=ko] .partner-tabs [role=tab] {
  font-family: var(--ko-sans);
  font-weight: 500;
}
html[lang=ko] .partner-tabs [aria-selected=true] { font-weight: 600; }
html[lang=ko] :is(.map-country-label, .map-compass) { font-family: var(--ko-sans); }

/* Tables, specifications and contact details. Values retain their exact text. */
html[lang=ko] :is(table, td, dl, address, .contact-address, .footer-email, .original-email, .experience-number, .story-factline strong) {
  font-family: var(--ko-sans);
  font-weight: 400;
}
html[lang=ko] :is(#main-content, #admin-main) :is(th, dt, .contact-address, .original-email) {
  font-family: var(--ko-sans);
  font-weight: 500;
}
