/* CHODAT INVEST · Signature Homestay Bao Loc · Typography F4.1
 * Scope: Premium landing page ONLY; existing CHODAT menu, CRM, NDA, and translations unchanged.
 * The packaged Signature fonts are Latin-only: render full Cyrillic/CJK with native system font families.
 * No external font downloads, no modifications to any property image/video.
 */
body.signature-premium {
  --signature-locale-sans: "Signature Sans", "Segoe UI", Arial, sans-serif;
  --signature-locale-display: "Signature Serif", Georgia, "Times New Roman", serif;
}
html[lang="vi"] body.signature-premium {
  --signature-locale-sans: "Segoe UI Variable", "Segoe UI", "Noto Sans", Arial, sans-serif;
  --signature-locale-display: Constantia, "Palatino Linotype", "Noto Serif", Georgia, serif;
}
html[lang="ru"] body.signature-premium {
  --signature-locale-sans: "Segoe UI", "Noto Sans", Arial, sans-serif;
  --signature-locale-display: "Noto Serif", Georgia, "Times New Roman", serif;
}
html[lang="zh-CN"] body.signature-premium {
  --signature-locale-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --signature-locale-display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
}
html[lang="ja"] body.signature-premium {
  --signature-locale-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Yu Gothic UI", "Meiryo", "Noto Sans CJK JP", sans-serif;
  --signature-locale-display: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "Noto Serif JP", serif;
}
html[lang="ko"] body.signature-premium {
  --signature-locale-sans: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Nanum Gothic", sans-serif;
  --signature-locale-display: "AppleMyungjo", "Nanum Myeongjo", "Noto Serif CJK KR", serif;
}
/* Variables and typography below are intentionally scoped inside the property page. */
body.signature-premium .cn-page {
  --sans: var(--signature-locale-sans);
  --serif: var(--signature-locale-display);
  font-family: var(--sans);
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
body.signature-premium .cn-page :is(button, input, select, textarea) {
  font-family: var(--sans);
}
body.signature-premium .cn-page :is(h1, h2) {
  font-family: var(--serif);
  font-kerning: normal;
  letter-spacing: -.012em;
  line-height: 1.19;
  overflow-wrap: break-word;
  text-wrap: balance;
}
body.signature-premium .cn-page :is(.hero h1, .story-copy h2, .section-heading h2, .enquiry-copy h2) em {
  font-family: inherit;
  letter-spacing: inherit;
}
body.signature-premium .cn-page :is(p, h3, .gallery-caption, .button, .route-steps p, .legal-grid p, .form-field label) {
  overflow-wrap: break-word;
  word-break: normal;
}
body.signature-premium .cn-page .hero-body {
  font-size: clamp(14px, 1.16vw, 16px);
  line-height: 1.76;
  letter-spacing: 0;
}
body.signature-premium .cn-page .section-body {font-size: 14.5px;line-height: 1.82;letter-spacing: 0}
body.signature-premium .cn-page :is(.story-points p, .private-grid p, .legal-grid p, .route-steps p, .form-field label) {
  line-height: 1.7;
}
body.signature-premium .cn-page :is(.eyebrow, .premium-tag, .summary-grid dt) {
  letter-spacing: .055em;
  line-height: 1.65;
}
body.signature-premium .cn-page :is(.button, .section-nav a, .gallery-tabs a, .language-switch select, .form-field input, .form-field select, .form-field textarea) {
  letter-spacing: 0;
  line-height: 1.5;
}
body.signature-premium .cn-page .brand-menu .brand-copy strong {
  font-family: var(--sans);
  letter-spacing: .012em;
  line-height: 1.25;
}
body.signature-premium .cn-page .brand-menu .brand-copy small {line-height: 1.35;letter-spacing: 0}
body.signature-premium .cn-page :is(.hero-copy, .story-copy, .section-heading > div, .enquiry-copy, .brand-menu) {min-width: 0}
body.signature-premium .cn-page :is(.hero-confidential, .summary-note, .calculator-note, .calc-disclaimer) {
  line-height: 1.7;
}
/* Script-specific line breaking and accents: no artificial tracking on CJK/Russian text. */
html[lang="vi"] body.signature-premium .cn-page :is(h1, h2) {letter-spacing: -.005em;line-height: 1.24}
html[lang="vi"] body.signature-premium .cn-page .hero h1 {letter-spacing: -.006em;line-height: 1.26}
html[lang="ru"] body.signature-premium .cn-page :is(h1, h2) {letter-spacing: -.006em;line-height: 1.22}
html[lang="ru"] body.signature-premium .cn-page :is(.eyebrow, .premium-tag, .summary-grid dt) {letter-spacing: .015em}
html[lang="ru"] body.signature-premium .cn-page :is(.button, .gallery-tabs a, .section-nav a) {white-space: normal}
html:is([lang="zh-CN"],[lang="ja"],[lang="ko"]) body.signature-premium .cn-page :is(h1, h2) {
  letter-spacing: 0;
  line-height: 1.38;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
html:is([lang="zh-CN"],[lang="ja"],[lang="ko"]) body.signature-premium .cn-page :is(.eyebrow, .premium-tag, .summary-grid dt) {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.55;
}
html:is([lang="zh-CN"],[lang="ja"],[lang="ko"]) body.signature-premium .cn-page :is(.hero-body, .section-body, p, .button) {
  letter-spacing: 0;
  line-height: 1.75;
}
html:is([lang="zh-CN"],[lang="ja"],[lang="ko"]) body.signature-premium .cn-page .brand-menu .brand-copy strong {letter-spacing: 0}
/* Modal content is outside .cn-page in the Blade view. */
body.signature-premium :is(.media-dialog, .copy-status, .f4-consent) {
  font-family: var(--signature-locale-sans);
}
/* Preserve page's existing layout but give long languages sane usable space. */
@media (max-width: 1360px) and (min-width: 901px) {
  html:lang(ru) body.signature-premium .cn-page .section-nav {gap: 10px}
  html:lang(ru) body.signature-premium .cn-page .section-nav a {font-size: 11px}
  html:lang(ru) body.signature-premium .cn-page .header-inner {gap: 12px}
}
@media (max-width: 640px) {
  body.signature-premium .cn-page .header-inner {
    max-width: 100%;
    min-width: 0;
    gap: 8px;
    padding-left: 72px;
    padding-right: 12px;
  }
  body.signature-premium .cn-page .brand-menu {
    flex: 1 1 0;
    min-width: 0;
    gap: 7px;
  }
  body.signature-premium .cn-page .brand-menu .brand-mark-symbol {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 23px;
  }
  body.signature-premium .cn-page .brand-menu .brand-copy {flex:1 1 auto;min-width:0}
  body.signature-premium .cn-page .brand-menu .brand-copy strong {
    font-size: clamp(10px, 2.85vw, 14px);
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.signature-premium .cn-page .brand-menu .brand-copy small {display:none}
  body.signature-premium .cn-page .header-actions {flex:0 0 auto;min-width: 0}
  body.signature-premium .cn-page .language-switch select {
    width: clamp(80px, 24vw, 110px);
    max-width: 110px;
    min-width: 0;
    min-height: 46px;
    padding-inline: 6px;
    font-size: 11px;
  }
  body.signature-premium .cn-page .hero h1 {
    font-size: clamp(32px, 8.2vw, 46px);
    letter-spacing: -.008em;
    line-height: 1.22;
    margin-bottom: 18px;
  }
  body.signature-premium .cn-page .hero-body {
    font-size: 14.5px;
    line-height: 1.7;
  }
  body.signature-premium .cn-page :is(.section-body, .story-points p, .private-grid p, .legal-grid p) {
    font-size: 13.5px;
    line-height: 1.76;
  }
  body.signature-premium .cn-page :is(.button, .form-field input, .form-field select, .form-field textarea) {font-size: 13px;line-height: 1.5}
  body.signature-premium .cn-page .hero-actions .button {white-space: normal;min-height: 52px}
  body.signature-premium .cn-page .gallery-tabs a {font-size: 10px;line-height: 1.5}
  body.signature-premium .cn-page .mobile-toolbar .button {font-size: 11px;overflow-wrap: anywhere}
  body.signature-premium .cn-page .summary-grid dd {font-variant-numeric: lining-nums tabular-nums}
}
@media (max-width: 360px) {
  body.signature-premium .cn-page .brand-menu .brand-mark-symbol {width: 31px;height: 31px;flex-basis:31px;font-size:20px}
  body.signature-premium .cn-page .header-inner {gap:6px;padding-left:70px;padding-right:9px}
  body.signature-premium .cn-page .language-switch select {width:76px;font-size:10px}
  body.signature-premium .cn-page .hero h1 {font-size: 31px}
  body.signature-premium .cn-page .hero-body {font-size:14px}
  body.signature-premium .cn-page .mobile-toolbar .button {font-size:10px}
}
