/* A distinct editorial serif paired with a precise, readable business sans. */
@font-face {
  font-family: 'Samudra Editorial';
  src: url('fonts/samudra-editorial.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'Samudra Editorial';
  src: url('fonts/samudra-editorial-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/public-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/public-sans-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif Thai';
  src: url('fonts/noto-serif-thai.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --display: 'Samudra Editorial', Georgia, serif;
  --body: 'Public Sans', 'Samudra Editorial', Arial, sans-serif;
}
body {
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.7;
}
h1, h2 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 450;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-wrap: balance;
}
h3, h4 {
  font-family: var(--body);
  font-weight: 550;
  letter-spacing: -.025em;
  line-height: 1.3;
  text-wrap: balance;
}
.brand, .brand small, .about-emblem span {
  font-family: var(--body);
}
.brand { font-weight: 700; letter-spacing: .04em; }
.brand small { font-weight: 400; letter-spacing: .32em; }
.primary-nav, .button, .text-link, .eyebrow, .sg-language-switcher {
  font-family: var(--body);
}
.eyebrow { font-weight: 500; letter-spacing: .12em; }
.button, .text-link { font-weight: 550; letter-spacing: -.01em; }
.primary-nav > a:not(.button) { font-weight: 500; letter-spacing: -.015em; }
.hero-grid { min-height: 690px; }
.hero-copy { padding-top: 74px; padding-bottom: 52px; }
.hero-copy h1 {
  font-size: clamp(52px, 5.35vw, 78px);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -.035em;
  max-width: 640px;
  margin: 28px 0;
}
.hero-description { font-size: 15px; line-height: 1.85; max-width: 415px; }
.hero-foot { margin-top: 42px; }
.hero-foot p { font-size: 11px; }
.hero-image-tag { letter-spacing: .09em; }
.sector-strip span:not(.strip-label):not(.strip-star) {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.intro-grid h2 { font-size: clamp(38px, 3.65vw, 54px); line-height: 1.14; }
.muted-heading { font-style: italic; font-weight: 400; color: #536b80; }
.intro-bottom p { font-size: 14px; line-height: 1.9; }
.section-heading h2 { line-height: 1.15; }
.solution-feature h3 { font-family: var(--display); font-size: 34px; font-weight: 450; line-height: 1.14; }
.sector-row h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.sector-row p { font-size: 12px; line-height: 1.65; }
.product-copy h3 { font-size: 23px; font-weight: 550; line-height: 1.25; letter-spacing: -.03em; }
.product-copy p { font-size: 13px; line-height: 1.85; }
.product-copy .eyebrow { font-size: 9px; }
.approach-grid h2 { font-size: clamp(40px, 4.2vw, 61px); line-height: 1.12; letter-spacing: -.025em; }
.approach-grid h2 > span { font-style: italic; font-weight: 400; }
.steps-list h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }
.steps-list p { font-size: 13px; }
.cta-inner h2 { font-size: clamp(42px, 4.2vw, 60px); line-height: 1.12; }
.footer-top > p { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.3; letter-spacing: -.015em; }
.footer-label { font-size: 9px; }
.footer-columns a { font-size: 12px; line-height: 1.6; }
.footer-summary p { line-height: 1.8; }
.page-hero h1, .article-header h1 { font-size: clamp(44px, 4.8vw, 69px); line-height: 1.12; letter-spacing: -.03em; }
.page-lead { font-size: 15px; line-height: 1.85; }
.detail-copy h1 { font-size: clamp(44px, 4.35vw, 63px); line-height: 1.1; letter-spacing: -.03em; }
.detail-content.prose { font-size: 14px; }
.detail-content.prose h2 { font-size: 30px; line-height: 1.2; }
.detail-content.prose h3 { font-size: 21px; line-height: 1.3; }
.about-grid h2 { font-size: 42px; line-height: 1.15; }
.values-grid h3 { font-size: 25px; }
.sector-detail h2 { font-size: 45px; line-height: 1.15; }
.contact-copy h2 { font-size: 46px; line-height: 1.15; }
.form-heading h2 { font-family: var(--body); font-size: 24px; font-weight: 550; letter-spacing: -.025em; }
.insight-card h2 { font-size: 31px; line-height: 1.2; }
.prose h2 { line-height: 1.22; }
.prose h3 { font-size: 23px; line-height: 1.3; }
.certificate-overview h2 { font-size: 34px; line-height: 1.2; }
.certificate-standard { font-weight: 500; }

/* The Thai pairing retains the same serif/sans distinction and native letterforms. */
html[lang="th"] { --display: 'Noto Serif Thai', 'Samudra Editorial', Georgia, serif; --body: 'Noto Sans Thai', 'Public Sans', 'Samudra Editorial', sans-serif; }
html[lang="th"] body { font-family: var(--body); }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] .solution-feature h3, html[lang="th"] .footer-top > p {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.38;
}
html[lang="th"] h3, html[lang="th"] h4, html[lang="th"] .form-heading h2 {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}
html[lang="th"] .hero-copy h1 { font-size: clamp(46px, 4.7vw, 68px); line-height: 1.36; }
html[lang="th"] .muted-heading, html[lang="th"] .approach-grid h2 > span { font-style: normal; font-weight: 450; }
html[lang="th"] .eyebrow, html[lang="th"] .hero-image-tag { letter-spacing: .02em; }
html[lang="th"] .brand, html[lang="th"] .brand small { font-family: 'Public Sans', Arial, sans-serif; }
html[lang="vi"] h1, html[lang="vi"] h2 { line-height: 1.2; }
html[lang="vi"] .hero-copy h1 { line-height: 1.13; }
.sg-language-switcher select { font-family: 'Public Sans', 'Noto Sans Thai', sans-serif; }

@media (min-width: 621px) {
  .sg-language-switcher select { width: 156px; }
}

@media (min-width: 1600px) {
  .hero-copy h1 { font-size: 82px; }
}
@media (min-width: 621px) and (max-width: 1000px) {
  .hero-grid { min-height: 630px; }
  .hero-copy { padding-top: 52px; padding-bottom: 40px; }
  .hero-copy h1 { font-size: clamp(44px, 5.5vw, 58px); }
  .hero-description { font-size: 14px; }
  .hero-foot { margin-top: 28px; }
  .sector-strip span:not(.strip-label):not(.strip-star) { font-size: 13px; }
  .product-copy h3 { font-size: 21px; }
  .product-copy p { font-size: 12px; }
  .sector-row h3 { font-size: 20px; }
  .sector-row p { font-size: 11px; }
  .steps-list h3 { font-size: 20px; }
  .about-grid h2 { font-size: 36px; }
  .detail-copy h1 { font-size: 43px; }
  .contact-copy h2 { font-size: 40px; }
  html[lang="th"] .hero-copy h1 { font-size: 44px; }
}
@media (max-width: 620px) {
  h1, h2 { letter-spacing: -.025em; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding: 45px 0 36px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 62px); line-height: 1.08; letter-spacing: -.035em; margin: 25px 0 24px; max-width: 500px; }
  .hero-description { font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 15px 22px; margin-top: 28px; }
  .hero-actions .button { font-size: 12px; min-height: 50px; }
  .sector-strip span:not(.strip-label):not(.strip-star) { font-size: 12px; }
  .intro-grid h2 { font-size: 35px; line-height: 1.2; }
  .intro-bottom p { font-size: 13px; line-height: 1.85; }
  .section-heading h2 { font-size: 36px; line-height: 1.16; }
  .sector-row h3 { font-size: 21px; line-height: 1.3; }
  .sector-row p { font-size: 11px; }
  .product-copy h3 { font-size: 25px; line-height: 1.3; }
  .product-copy p { font-size: 13px; }
  .approach-grid h2 { font-size: 43px; line-height: 1.13; }
  .steps-list h3 { font-size: 22px; }
  .cta-inner h2 { font-size: 40px; line-height: 1.15; }
  .footer-top > p { font-size: 25px; line-height: 1.3; }
  .page-hero h1, .article-header h1, .prose h1 { font-size: clamp(38px, 10.7vw, 50px); line-height: 1.16; }
  .detail-copy h1 { font-size: 44px; line-height: 1.14; }
  .detail-excerpt { font-size: 15px; }
  .about-grid h2 { font-size: 36px; }
  .values-grid h3 { font-size: 25px; }
  .sector-detail h2 { font-size: 37px; }
  .contact-copy h2 { font-size: 37px; }
  .form-heading h2 { font-size: 23px; }
  .insight-card h2 { font-size: 33px; }
  .certificate-overview h2 { font-size: 32px; }
  html[lang="th"] .hero-copy h1 { font-size: clamp(37px, 10.4vw, 48px); line-height: 1.4; }
  html[lang="th"] h1, html[lang="th"] h2 { line-height: 1.4; }
  html[lang="vi"] .hero-copy h1 { line-height: 1.19; }
}

@media (max-width: 360px) {
  .hero-copy h1 { font-size: 40px; }
  .intro-grid h2, .section-heading h2 { font-size: 32px; }
  .approach-grid h2, .cta-inner h2 { font-size: 36px; }
  .detail-copy h1 { font-size: 39px; }
  .product-copy h3 { font-size: 23px; }
}
