/* Shared typography: keep Thai copy readable and spacing consistent. */
body {
  font-family: "DM Sans", "Noto Sans Thai", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: normal;
  word-spacing: normal;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

/* Brand lockup: the endorsement shares the wordmark's exact width. */
header .brand.header-brand { flex-direction: row; gap: 10px; width: 210px; align-items: center; }
header .header-brand .header-monogram { display: block; width: 32px; height: 44px; object-fit: contain; flex: 0 0 32px; }
header .header-brand .header-brand-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 6px; container-type: inline-size; }
header .header-brand .brand-tagline { display: flex; justify-content: space-between; align-items: baseline; width: 100%; font-size: 9px; font-size: 6.75cqw; line-height: 1.25; font-weight: 400; letter-spacing: 0; }
header .header-brand .brand-tagline > span { display: block; white-space: nowrap; }
@media (max-width: 850px) {
  body[data-page="home"] header { grid-template-columns: minmax(0,1fr) auto; column-gap: 14px; }
  body[data-page="home"] header .brand { grid-column: 1; }
  body[data-page="home"] .header-actions { grid-column: 2; }
  body[data-page="home"] header nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  body[data-page="home"] header nav::-webkit-scrollbar { display: none; }
  body[data-page="home"] header nav > a:nth-child(n) { display: block !important; flex-shrink: 0; }
  body[data-page="home"] header .services-menu { flex-shrink: 0; }
  body[data-page="home"] .menu-button { display: none !important; }
}
@media (max-width: 600px) {
  header .brand.header-brand { width: 180px; gap: 8px; }
  header .header-brand .header-monogram { width: 24px; height: 33px; flex-basis: 24px; }
  header .header-brand .header-brand-copy { gap: 5px; }
  header .header-brand .brand-tagline { font-size: 8px; font-size: 6.75cqw; letter-spacing: 0; }
  body[data-page="home"] header { column-gap: 12px; }
}
p, li, summary { letter-spacing: normal; word-spacing: normal; }
h1, h2, h3 {
  font-family: "Libre Caslon Display", "Noto Sans Thai", serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.eyebrow, .book-kicker {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 1.1px;
}
.btn, .book, .back, .book-expand { line-height: 1.35; letter-spacing: normal; }
.header-actions .header-book { white-space: nowrap; line-height: 1.2; }
header nav > a, header .services-menu summary { line-height: 1.3; letter-spacing: .35px !important; }
.services-dropdown a { line-height: 1.5; }
header .header-brand .brand-tagline { line-height: 1.35; }

/* Homepage */
body[data-page="home"] .section .section-head { margin-bottom: 28px; }
body[data-page="home"] .section .section-head h2 { margin: 0 0 12px; line-height: 1.12; }
body[data-page="home"] .section .section-head .thai-sub { margin: 0; font-size: 14px; line-height: 1.65; }
.categories h3 { margin: 17px 0 9px; line-height: 1.12; letter-spacing: -.01em; }
.categories .service-headline { font-size: 14px; font-weight: 400; line-height: 1.7; margin: 0; }
.service-details { margin-top: 14px; padding-top: 12px; }
.service-details summary { font-size: 12px; line-height: 1.5; }
.categories .service-details p { font-size: 13px; line-height: 1.75; margin: 12px 0 0; }
.demo-note { font-size: 11px; line-height: 1.55; margin-top: 22px; }
.academy-copy { padding-top: 48px; padding-bottom: 48px; }
.academy h2 { line-height: 1.1; letter-spacing: -.015em; margin: 18px 0 20px; }
.academy p { max-width: 42ch; font-size: 15px; font-weight: 400; line-height: 1.75; margin: 0; }
.academy .btn { margin-top: 25px; }
.closing h2 { line-height: 1.12; margin: 14px 0 16px; }
.closing p { font-size: 14px; line-height: 1.65; margin: 0 0 24px; }
.feed-status { font-size: 11px; line-height: 1.55; margin: 0 0 24px; }
.ig-grid span { font-size: 9px; line-height: 1.4; letter-spacing: .55px; padding: 12px 0; }
.footer-top p { font-size: 11px; line-height: 1.5; letter-spacing: .4px; margin-top: 12px; }
.footer-links { font-size: 12px; line-height: 1.5; }
.footer-bottom { font-size: 10px; line-height: 1.6; letter-spacing: .2px; }
.awards-luxe .section-head h2 { margin: 0; }
.awards-luxe .award-copy h3 { line-height: 1.18 !important; margin: 0 0 9px; letter-spacing: 0; }
.awards-luxe .award-copy p { display: block; font-size: 10px; line-height: 1.45; margin: 3px 0 0; }

/* Price list and service pages */
body[data-page="service"] main > h1, body[data-page="prices"] main > h1 {
  margin: 14px 0 22px; line-height: 1.12;
}
.box { font-size: 15px; line-height: 1.75; padding: 28px 0; }
.box p { margin: 0; }
.box p + p { margin-top: 14px; }
.book-heading h2 {
  font-family: "Noto Sans Thai", "DM Sans", sans-serif !important;
  font-size: 27px !important;
  line-height: 1.45 !important;
  letter-spacing: 0;
  margin: 8px 0 0;
}
html[lang="en"] .book-heading h2 { font-family: "Libre Caslon Display", serif !important; font-size: 32px !important; line-height: 1.2 !important; }
.book-hint, .book-note { font-size: 12px; line-height: 1.6; margin: 12px 0; }
.price-link > span { line-height: 1.15; }
.price-link small { display: block; line-height: 1.5; margin-top: 8px; letter-spacing: 0; }

/* Policy */
body[data-page="policy"] main { padding-top: 48px; }
body[data-page="policy"] h1 { margin: 16px 0 18px; line-height: 1.1; }
body[data-page="policy"] .intro { font-size: 14px; line-height: 1.65; margin: 0; }
body[data-page="policy"] ol { margin: 32px 0; }
body[data-page="policy"] li { padding: 22px 0; gap: 22px; }
body[data-page="policy"] .number { line-height: 1.65; padding-top: 2px; }
body[data-page="policy"] .primary { font-size: 15px; line-height: 1.65; margin: 0 0 6px; }
body[data-page="policy"] .secondary { font-size: 13px; line-height: 1.55; margin: 0; }

@media (max-width: 600px) {
  body { font-size: 14px; line-height: 1.65; }
  .eyebrow, .book-kicker { font-size: 9px; letter-spacing: .8px; }
  body[data-page="home"] .section .section-head { margin-bottom: 24px; }
  body[data-page="home"] .section .section-head h2 { font-size: 39px !important; margin-bottom: 11px; }
  body[data-page="home"] .section .section-head .thai-sub { font-size: 13px; line-height: 1.7; }
  body[data-page="home"] .section .section-head > .text-link { margin-top: 14px; font-size: 11px; line-height: 1.4; }
  .categories { row-gap: 30px; }
  .categories h3 { margin: 15px 0 9px; font-size: 28px !important; line-height: 1.12; }
  .categories .service-headline { font-size: 13px; line-height: 1.7; }
  .service-details { margin-top: 12px; padding-top: 11px; }
  .service-details summary { font-size: 11px; line-height: 1.5; }
  .categories .service-details p { font-size: 12px; line-height: 1.75; }
  .demo-note { font-size: 10px; line-height: 1.6; }
  .academy-copy { padding-top: 36px; padding-bottom: 36px; }
  .academy h2 { font-size: 46px; line-height: 1.1; margin: 16px 0 20px; }
  .academy p { font-size: 14px; line-height: 1.75; }
  .closing h2 { font-size: 40px; line-height: 1.12; }
  .closing p { font-size: 13px; line-height: 1.7; }
  .feed-status { font-size: 10px; line-height: 1.6; }
  .ig-grid span { font-size: 8px; line-height: 1.4; letter-spacing: .25px; }
  .footer-bottom { font-size: 9px; line-height: 1.6; }
  .awards-luxe .section-head h2 { font-size: 23px !important; margin: 0; }
  .awards-luxe .award-copy h3 { font-size: 21px !important; line-height: 1.2 !important; margin-bottom: 8px; }
  .awards-luxe .award-copy p { font-size: 9px; line-height: 1.5; }
  .book-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .book-heading h2 { font-size: 23px !important; line-height: 1.45 !important; }
  .book-hint, .book-note { font-size: 12px; line-height: 1.65; }
  .box { font-size: 14px; line-height: 1.75; }
  body[data-page="policy"] main { padding-top: 34px; }
  body[data-page="policy"] h1 { font-size: 48px; margin: 14px 0 16px; }
  body[data-page="policy"] .intro { font-size: 13px; line-height: 1.65; }
  body[data-page="policy"] ol { margin: 28px 0; }
  body[data-page="policy"] li { padding: 20px 0; gap: 16px; }
  body[data-page="policy"] .primary { font-size: 14px; line-height: 1.7; }
  body[data-page="policy"] .secondary { font-size: 12px; line-height: 1.6; }
}
/* Thai reading style, inspired by the reference's regular dark 14px copy. */
html[lang="th"] body{font-size:14px;line-height:1.6;color:#282225}
html[lang="th"] p,html[lang="th"] li,html[lang="th"] summary{letter-spacing:0;word-spacing:normal}
html[lang="th"] .section-head .thai-sub,html[lang="th"] .categories .service-headline,html[lang="th"] .categories .service-details p,html[lang="th"] .closing p,html[lang="th"] .box,html[lang="th"] .intro{color:#3e3539;font-weight:400}
html[lang="th"] .categories .service-headline{font-size:14px;line-height:1.6}
html[lang="th"] .categories .service-details p{font-size:14px;line-height:1.65}
html[lang="th"] .service-details summary{font-size:13px;font-weight:500}
html[lang="th"] .section-head .thai-sub{font-size:14px!important;line-height:1.65!important}
html[lang="th"] body[data-page="home"] .academy p{color:#44393e;line-height:1.7;font-weight:400}
html[lang="th"] .btn,html[lang="th"] .apply-button,html[lang="th"] .book,html[lang="th"] .back{font-weight:500}
html[lang="th"] body[data-page="policy"] .primary{color:#282225;font-weight:500;line-height:1.65}
html[lang="th"] body[data-page="policy"] .secondary{color:#6b5c62}
html[lang="th"] .book-heading h2{font-weight:500!important}
html[lang="th"] .book-hint,html[lang="th"] .book-note{color:#62535a;line-height:1.65}
html[lang="th"] .course-hero h1{font-weight:500;line-height:1.4;letter-spacing:0}
html[lang="th"] .course-lead,html[lang="th"] .curriculum-heading p,html[lang="th"] .curriculum-grid p,html[lang="th"] .short-courses-heading>p,html[lang="th"] .short-course p,html[lang="th"] .course-faq details p,html[lang="th"] .application-dialog>p{color:#44393e;font-weight:400;line-height:1.65}
html[lang="th"] .curriculum h2,html[lang="th"] .curriculum-grid h3,html[lang="th"] .short-courses h2,html[lang="th"] .course-faq h2,html[lang="th"] .course-faq summary,html[lang="th"] .enrollment-banner h2,html[lang="th"] .application-dialog h2{font-weight:500}
html[lang="th"] .course-facts{color:#33292e}
html[lang="th"] .course-facts dt,html[lang="th"] .course-note{color:#65565e}
html[lang="th"] .course-faq summary{line-height:1.6}
@media(max-width:700px){html[lang="th"] .course-lead{font-size:14px}html[lang="th"] .course-facts div{font-size:13px}html[lang="th"] .short-course p,html[lang="th"] .curriculum-grid p,html[lang="th"] .course-faq details p{font-size:14px;line-height:1.65}html[lang="th"] .course-note{font-size:12px;line-height:1.6}html[lang="th"] .application-dialog>p{font-size:14px;line-height:1.6}html[lang="th"] .application-dialog .dialog-hint{font-size:11px}}
@media(max-width:600px){html[lang="th"] .categories .service-headline{font-size:14px;line-height:1.65}html[lang="th"] .categories .service-details p{font-size:13px;line-height:1.65}html[lang="th"] .service-details summary{font-size:12px}html[lang="th"] .closing p{font-size:14px;line-height:1.65}}

/* English uses the same text scale as Thai, retaining English font families. */
/* Thai reading style, inspired by the reference's regular dark 14px copy. */
html[lang="en"] body{font-size:14px;line-height:1.6}
html[lang="en"] p,html[lang="en"] li,html[lang="en"] summary{letter-spacing:0;word-spacing:normal}
html[lang="en"] .section-head .thai-sub,html[lang="en"] .categories .service-headline,html[lang="en"] .categories .service-details p,html[lang="en"] .closing p,html[lang="en"] .box,html[lang="en"] .intro{font-weight:400}
html[lang="en"] .categories .service-headline{font-size:14px;line-height:1.6}
html[lang="en"] .categories .service-details p{font-size:14px;line-height:1.65}
html[lang="en"] .service-details summary{font-size:13px;font-weight:500}
html[lang="en"] .section-head .thai-sub{font-size:14px!important;line-height:1.65!important}
html[lang="en"] body[data-page="home"] .academy p{line-height:1.7;font-weight:400}
html[lang="en"] .btn,html[lang="en"] .apply-button,html[lang="en"] .book,html[lang="en"] .back{font-weight:500}
html[lang="en"] body[data-page="policy"] .primary{font-weight:500;line-height:1.65}
html[lang="en"] .book-heading h2{font-weight:500!important}
html[lang="en"] .book-hint,html[lang="en"] .book-note{line-height:1.65}
html[lang="en"] .course-hero h1{font-weight:500;line-height:1.4;letter-spacing:0}
html[lang="en"] .course-lead,html[lang="en"] .curriculum-heading p,html[lang="en"] .curriculum-grid p,html[lang="en"] .short-courses-heading>p,html[lang="en"] .short-course p,html[lang="en"] .course-faq details p,html[lang="en"] .application-dialog>p{font-weight:400;line-height:1.65}
html[lang="en"] .curriculum h2,html[lang="en"] .curriculum-grid h3,html[lang="en"] .short-courses h2,html[lang="en"] .course-faq h2,html[lang="en"] .course-faq summary,html[lang="en"] .enrollment-banner h2,html[lang="en"] .application-dialog h2{font-weight:500}
html[lang="en"] .course-faq summary{line-height:1.6}
@media(max-width:700px){html[lang="en"] .course-lead{font-size:14px}html[lang="en"] .course-facts div{font-size:13px}html[lang="en"] .short-course p,html[lang="en"] .curriculum-grid p,html[lang="en"] .course-faq details p{font-size:14px;line-height:1.65}html[lang="en"] .course-note{font-size:12px;line-height:1.6}html[lang="en"] .application-dialog>p{font-size:14px;line-height:1.6}html[lang="en"] .application-dialog .dialog-hint{font-size:11px}}
@media(max-width:600px){html[lang="en"] .categories .service-headline{font-size:14px;line-height:1.65}html[lang="en"] .categories .service-details p{font-size:13px;line-height:1.65}html[lang="en"] .service-details summary{font-size:12px}html[lang="en"] .closing p{font-size:14px;line-height:1.65}}


/* Course curriculum is on paper; keep every lesson readable in both languages. */
html body[data-page="academy"] .curriculum{background:#fffdfa;color:#292024}
html body[data-page="academy"] .curriculum h2,html body[data-page="academy"] .curriculum h3{color:#292024!important}
html body[data-page="academy"] .curriculum-heading p,html body[data-page="academy"] .curriculum-grid p{color:#44393e!important;opacity:1!important}
html body[data-page="academy"] .curriculum .course-kicker,html body[data-page="academy"] .curriculum .lesson-number{color:#601d32!important}

/* Homepage Academy copy sits on a light background. */
html body[data-page="home"] #academy .academy-copy>p{color:#44393e!important;opacity:1!important}
