@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Loaded only by the Korean pages; Latin brand and research typography stays intact. */
html[lang="ko"] {
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

html[lang="ko"] :is(.display-title, .page-title, .section-title, .feature-title,
  .founder-intro h2, .career-overview h3, .privacy-policy h2,
  .privacy-policy-modal h2, .inquiry-success-modal h2) {
  font-family: var(--sans);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: none;
}

html[lang="ko"] .display-title { font-size: clamp(2.5rem, 5.5vw, 5rem); max-width: 13em; }
html[lang="ko"] .page-title { font-size: clamp(2.3rem, 4.3vw, 4rem); }
html[lang="ko"] .section-title { font-size: clamp(1.9rem, 3.3vw, 3rem); }
html[lang="ko"] .feature-title { font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
html[lang="ko"] .founder-intro h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); }
html[lang="ko"] .career-overview h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
html[lang="ko"] #leusilk-title { font-family: var(--display); font-size: clamp(3rem, 4.6vw, 5.4rem); font-weight: 400; }
html[lang="ko"] :is(.lead, .body-copy, .founder-intro__copy) {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.8;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
html[lang="ko"] .hero .lead { max-width: 36rem; }
html[lang="ko"] :is(.button, .text-link, .field label) { font-size: 0.9rem; letter-spacing: 0; }
html[lang="ko"] .eyebrow { font-size: 0.75rem; }
html[lang="ko"] .leadership-profile h3 { font-family: var(--sans); font-weight: 550; font-size: 1.55rem; }
html[lang="ko"] :is(.capability p, .model-step small, .career-item p, .transform-node p,
  .product-card__footer p, .document-card__note, .research-assay-card__summary) {
  font-size: 0.97rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
html[lang="ko"] .amino-analysis__summary { font-size: 1rem; line-height: 1.75; word-break: keep-all; }
html[lang="ko"] .amino-analysis__subtitle { font-size: 0.9rem; letter-spacing: 0; }
html[lang="ko"] :is(.fineprint, .privacy-consent, .field-error, .form-status, .research-disclaimer) { font-size: 0.85rem; line-height: 1.7; }
html[lang="ko"] :is(.privacy-policy, .inquiry-success-modal p) { font-size: 1rem; line-height: 1.8; word-break: keep-all; }
html[lang="ko"] .privacy-policy h2 { font-size: 1.4rem; }
html[lang="ko"] .inquiry-success-modal h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
html[lang="ko"] .footer-brand p { font-family: var(--sans); line-height: 1.65; font-size: 0.95rem; letter-spacing: -0.01em; }
html[lang="ko"] .ingredient-fact strong { overflow-wrap: anywhere; }
html[lang="ko"] .credential-list span { letter-spacing: 0.025em; line-height: 1.5; }
html[lang="ko"] .career-timeline__item p { overflow-wrap: break-word; }

@media (max-width: 820px) {
  html[lang="ko"] .display-title { font-size: clamp(2.15rem, 8.8vw, 2.625rem); }
  html[lang="ko"] .page-title { font-size: clamp(2rem, 8vw, 2.375rem); }
  html[lang="ko"] .section-title { font-size: clamp(1.65rem, 6.8vw, 2rem); }
  html[lang="ko"] .hero-copy { width: 100%; }
  html[lang="ko"] .hero .lead { max-width: 32rem; }
  html[lang="ko"] :is(.capability p, .model-step small, .career-item p, .product-card__footer p) { font-size: 0.95rem; }
  html[lang="ko"] .credential-list { gap: 0.65rem; }
}
