/* Shared reading rhythm. Existing font families, colour tokens and hero scales stay intact. */
.azian-unified-theme {
  --page-title-size: clamp(36px, 4.5vw, 64px);
  --page-heading-size: clamp(24px, 2.2vw, 30px);
  --page-space: clamp(40px, 5vw, 72px);
}

/* Page headings share a baseline; the sample catalogue deliberately stays compact. */
.page-main.wrap, .about-page-links.wrap { max-width: 1800px; }
.page-main.wrap { padding-block: var(--page-space) 72px; }
.page-main > .eyebrow, .ap-intro > .eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .15em;
  color: var(--interaction);
}
.page-main > h1, .about-page .page-main > h1, .ap-intro h1 {
  margin: 0 0 32px;
  font-size: var(--page-title-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.ap-intro { padding-top: var(--page-space); }
.ap-intro h1 { margin-bottom: 0; }
.ap-intro-row > p { font-size: 16px; line-height: 1.8; }
.pc-heading .eyebrow { font-size: 12px; line-height: 1.6; }
.pc-heading h1 { text-wrap: balance; }

/* Long-form reading: consistent paragraphs, subheads and list rhythm. */
.page-content, .article-content { overflow-wrap: break-word; }
.page-content p, .company-story p, .article-content p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.page-content h2, .company-story h2, .article-content h2 {
  font-size: var(--page-heading-size);
  line-height: 1.4;
  font-weight: 400;
  margin: 40px 0 18px;
  text-wrap: balance;
}
.page-content h3, .company-story h3, .article-content h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin: 28px 0 12px;
}
.page-content > :first-child, .article-content > :first-child { margin-top: 0; }
.page-content > :last-child, .article-content > :last-child { margin-bottom: 0; }
.page-content li { padding-block: 5px; line-height: 1.85; }
.about-page .page-main { padding-bottom: 0; }
.about-page .page-content { max-width: 850px; }
.about-page .company-legacy-visual { margin-bottom: 36px; }
.about-page-links { padding-block: 32px 64px; gap: 16px 32px; flex-wrap: wrap; }
.about-page-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.legacy-company-gallery > p { font-size: 13px; }
html[lang=en] .page-content p, html[lang=en] .article-content p { max-width: 75ch; line-height: 1.8; }
html[lang=en] .ap-en { display: none; }

/* Contact and enquiry use the same type scale and phone baseline. */
.contact-details { margin-block: 32px; }
.contact-details > div { padding-block: 22px; align-items: baseline; }
.contact-details dt { font-size: 14px; line-height: 1.8; }
.contact-details dd { font-size: 18px; line-height: 1.8; overflow-wrap: break-word; }
.contact-details dd:has(.contact-phone) { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.contact-details .contact-phone, .simple-enquiry .contact-details dd a {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0;
}
.contact-details .contact-phone + .contact-phone { margin-top: 0; }
.contact-details a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.page-main > .text-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Readable footer text without changing the approved information layout. */
.site-footer .footer-top .eyebrow { font-size: 12px; letter-spacing: .1em; line-height: 1.6; }
.site-footer .footer-top a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer .footer-identity > p, .site-footer .footer-identity .footer-company { font-size: 13px; line-height: 1.8; }
.site-footer .footer-grid .footer-label { font-size: 12px; line-height: 1.6; }
.site-footer .footer-grid nav { font-size: 14px; gap: 4px; }
.site-footer .footer-grid nav a { min-height: 32px; display: flex; align-items: center; }
.site-footer .footer-contacts > div { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
.site-footer .footer-contacts dt { font-size: 12px; line-height: 1.8; }
.site-footer .footer-contacts dd { font-size: 13px; line-height: 1.8; overflow-wrap: break-word; }
.site-footer .footer-contact-link { margin-left: 88px; font-size: 13px; min-height: 36px; display: inline-flex; align-items: center; }
.site-footer .footer-bottom, .azian-edition .ae-footer-legal { font-size: 12px; line-height: 1.8; }
.site-footer .footer-bottom a, .azian-edition .ae-footer-legal a { min-height: 32px; display: inline-flex; align-items: center; }
.azian-edition .ae-contacts dt { font-size: 12px; line-height: 1.8; }
.azian-edition .ae-contacts dd { line-height: 1.8; overflow-wrap: break-word; }
.azian-edition .ae-contacts a { min-height: 32px; display: inline-flex; align-items: center; }
.site-footer .footer-contacts a:hover { color: var(--interaction); }

/* English navigation uses a readable scale rather than shrinking to 11px. */
html[lang=en] .primary-nav { font-size: 14px; }
@media(min-width:1024px) and (max-width:1199px) {
  html[lang=en] .primary-nav { font-size: 13px; gap: 12px; }
}
@media(min-width:1800px) {
  .site-footer { padding-inline: max(var(--gutter), calc((100vw - 1800px) / 2 + var(--gutter))); }
}
@media(min-width:701px) and (max-width:1150px) {
  .site-footer .footer-contacts > div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer .footer-contact-link { margin-left: 0; }
}
@media(max-width:1023px) {
  html[lang=en] .primary-nav { font-size: 16px; }
}
@media(max-width:819px) {
  .azian-unified-theme { --page-title-size: clamp(32px, 8vw, 40px); --page-space: 40px; }
  .page-main.wrap { padding-bottom: 48px; }
  .page-main > h1, .about-page .page-main > h1 { margin-bottom: 24px; }
  .page-main > .eyebrow, .ap-intro > .eyebrow { margin-bottom: 20px; }
  .page-content h2, .company-story h2, .article-content h2 { margin-top: 32px; }
  .about-page .page-main { padding-bottom: 0; }
  .about-page-links { padding-block: 24px 40px; }
  .contact-details > div, .simple-enquiry .contact-details > div { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  .contact-details dd { font-size: 16px; }
  .contact-details dd:has(.contact-phone) { flex-direction: column; gap: 0; }
  .pc-filters { column-gap: 20px; row-gap: 4px; }
  .pc-code { font-size: 13px; }
  .pc-sample h2 { overflow-wrap: break-word; }
  .news-directory-intro { font-size: 16px; line-height: 1.8; }
}
@media(max-width:700px) {
  .site-footer .footer-top { gap: 4px 16px; }
  .site-footer .footer-top .eyebrow { max-width: 100%; overflow-wrap: break-word; }
  .site-footer .footer-grid nav { gap: 0 18px; }
  .site-footer .footer-grid nav a { min-height: 40px; }
  .site-footer .footer-contacts > div { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
  .site-footer .footer-contacts dd { font-size: 14px; }
  .site-footer .footer-contacts .contact-phone, .site-footer .footer-contacts a[href^="mailto:"] { min-height: 40px; }
  .site-footer .footer-contact-link { margin-left: 88px; min-height: 40px; }
  .site-footer .footer-bottom { font-size: 12px; }
  .azian-edition .ae-contacts a { min-height: 40px; }
}
