.language-switch { display: grid; flex: 0 0 auto; gap: 8px; min-width: 80px; margin-left: auto; padding: 5px; color: #fff; background: #0b2f6b; border: 1px solid #0b2f6b; border-radius: 14px; font: 700 1rem/1.3 Arial, sans-serif; white-space: nowrap; text-transform: none; letter-spacing: normal; }
.language-switch a { display: flex; min-height: 32px; padding: 4px 7px; align-items: center; justify-content: center; text-align: center; border-radius: 9px; color: #fff; }
.language-switch a:hover { background: rgba(255,255,255,.15); }
.language-switch a[aria-current="page"] { color: #0b2f6b; background: #fff; }
.language-switch a:focus-visible { outline: 2px solid #f0c86e; outline-offset: 2px; }
.nav-shell > .menu-toggle { margin-left: 0; }
.language-in-rail .nav-shell > .menu-toggle { margin-left: auto; }
.language-in-rail .consult-rail { top: calc(50% + 44px); max-height: calc(100dvh - 112px); overflow-y: auto; scrollbar-width: thin; }
.language-in-rail .consult-rail > .language-switch { width: 100%; min-width: 0; margin: 0; }
.language-in-rail .language-switch a { min-height: 32px; margin: 0; border: 0; color: #fff; background: transparent; font: inherit; }
.language-in-rail .language-switch a[aria-current="page"] { color: #0b2f6b; background: #fff; }
.award-showcase { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.poster-zoom { display: block; width: 100%; padding: 0; overflow: hidden; color: inherit; background: transparent; border: 0; border-radius: inherit; cursor: zoom-in; text-align: inherit; }
.poster-zoom img { display: block; }
.poster-zoom:focus-visible { outline: 3px solid #1f5a98; outline-offset: -4px; }
.subject-list li.concern-item { display: flex; padding: 0; background: transparent; border: 0; }
.subject-list .learning-enquiry { width: 100%; min-height: 44px; padding: 14px 15px; color: #17345f; background: rgba(255,255,255,.74); border: 1px solid #cbdff4; border-radius: 10px; font: inherit; text-align: left; }
.progress-path-card .learning-enquiry { display: inline-flex; max-width: 100%; min-height: 44px; padding: 7px 10px; align-items: center; justify-content: center; color: var(--blue-navy); background: #dfebf2; border: 1px solid #bed1dd; border-radius: 7px; font-family: inherit; font-size: .875rem; font-weight: 750; line-height: 1.4; text-align: center; }
.learning-enquiry { cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
.learning-enquiry:hover { color: #0b2f6b; background: #d7e9ff; border-color: #78a7e4; }
.learning-enquiry:focus-visible { outline: 3px solid #2f68b7; outline-offset: 3px; }
.learning-enquiry:active { background: #c2dcfc; }
html[lang="en"] .branch-enquiry-dialog .learning-enquiry-title { font-size: clamp(1rem, 5vw, 1.35rem); line-height: 1.3; }
.learning-enquiry-title .enquiry-title-line { display: block; white-space: nowrap; }
html[lang="zh-Hans"] .decision-heading h2 { font-size: clamp(1rem, 5.5vw, 3.3rem); font-weight: 900; line-height: 1.4; letter-spacing: -.035em; }
html[lang="zh-Hans"] .decision-heading .mobile-title-line { display: block; white-space: nowrap; }
.method-card { display: flex; flex-direction: column; }
.method-card > .poster-zoom { flex: none; }
.method-card > div { display: flex; flex: 1; flex-direction: column; }
.method-card ul { flex: none; margin-top: auto; }
html[lang="en"] body { font-family: Arial, Helvetica, sans-serif; text-transform: none; line-height: 1.65; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] .hero-brand-copy strong, html[lang="en"] .brand strong { font-family: Georgia, "Times New Roman", serif; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { overflow-wrap: break-word; letter-spacing: -.025em; }
html[lang="en"] h2 { font-size: clamp(1.85rem, 3.5vw, 3.1rem); line-height: 1.17; }
html[lang="en"] .hero h1 { white-space: normal; font-size: clamp(2.5rem, 4.4vw, 4.6rem); line-height: 1.08; }
html[lang="en"] .hero h1 span { display: block; white-space: normal; }
html[lang="en"] .hero-service-line { font-family: Arial, sans-serif; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.5; }
html[lang="en"] .hero-lead { font-size: 1.05rem; line-height: 1.8; }
html[lang="en"] .hero-brand-copy strong { max-width: 100%; white-space: normal; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.25; }
html[lang="en"] .hero-process strong { font: 700 .85rem/1.4 Arial, sans-serif; }
html[lang="en"] .hero-awards strong { font: 700 .7rem/1.4 Arial, sans-serif; }
html[lang="en"] .hero-facts strong { display: block; margin: 0 0 8px; line-height: 1.3; }
html[lang="en"] .hero-facts span { display: block; font-size: .85rem; line-height: 1.5; text-wrap: balance; }
html[lang="en"] .hero-consultants a { padding: 20px 16px; }
html[lang="en"] .hero-consultants strong { font: 800 1.1rem/1.4 Arial, sans-serif; }
html[lang="en"] .hero-facts > div { min-width: 0; }
html[lang="en"] .programme-roadmap p { margin-bottom: 12px; }
html[lang="en"] .programme-roadmap ul { margin: 0; }
html[lang="en"] .course-match-intro { container-type: inline-size; }
html[lang="en"] .course-match-intro h3.course-intro-four-lines { font-size: min(2.4rem, 9cqi); line-height: 1.2; }
.course-intro-four-lines > span { display: block; white-space: nowrap; }
html[lang="en"] .campus-journey-cta { flex-wrap: wrap; }
html[lang="en"] .campus-journey-cta > div { flex: 1 1 400px; }
html[lang="en"] .campus-journey-cta a { flex: 1; min-height: 64px; padding: 16px 22px; font-size: 1.125rem; font-weight: 900; border-width: 2px; }
html[lang="en"] .campus-journey-cta a:first-child { color: #071c3b; background: linear-gradient(135deg, #f3c34f, #ffe29b); border-color: #ffe6a5; }
html[lang="en"] .campus-journey-cta a:nth-child(2) { color: #0b2f6b; background: #fff; border-color: #efc45b; box-shadow: 0 10px 24px rgba(45,12,12,.24); }
html[lang="en"] .campus-journey-cta a:hover { filter: brightness(1.06); }
html[lang="en"] .voice-card { container-type: inline-size; }
html[lang="en"] .voice-card > strong { font-size: min(1.45rem, 7cqi); line-height: 1.4; }
html[lang="en"] .contact-copy { container-type: inline-size; }
html[lang="en"] .contact-copy h2.contact-title-two-lines { font-size: min(3rem, 9cqi); line-height: 1.2; }
.contact-title-two-lines > span { display: block; white-space: nowrap; }
@media (max-width: 760px) {
  html[lang="en"] .campus-journey-cta > div { flex-basis: auto; }
}
html[lang="en"] .course-panel { container-type: inline-size; }
html[lang="en"] .course-panel h3.spm-title-two-lines { font-size: min(1.9rem, 5.5cqi); line-height: 1.3; }
.spm-title-two-lines > span { display: block; white-space: nowrap; }
html[lang="en"] .decision-cta > strong { font-size: clamp(1.1rem, 2vw, 1.5rem); }
html[lang="en"] .decision-cta-subtitle { display: block; margin-top: 8px; font: 400 clamp(.75rem, 3.6vw, 1rem)/1.5 Arial, sans-serif; white-space: nowrap; }
html[lang="en"] .decision-actions a { min-height: 76px; padding: 14px 12px; font-size: 1.125rem; font-weight: 900; line-height: 1.35; }
html[lang="en"] .hero-promise { container-type: inline-size; }
@media (min-width: 761px) {
  html[lang="en"] .hero-promise strong { white-space: nowrap; font-size: min(.95rem, 2.3cqi); }
}
html[lang="en"] .care-title-line, html[lang="en"] .method-title-line, html[lang="en"] .faq-title-line, html[lang="en"] .mobile-title-line, html[lang="en"] .campus-heading-line { display: block; white-space: normal; }
html[lang="en"] .trial-rail-button .enquiry-action-label { writing-mode: horizontal-tb; font: 700 1rem/1.25 Arial, sans-serif; letter-spacing: 0; }
html[lang="en"] .trial-rail-button { min-height: 220px; padding-inline: 4px; gap: 8px; grid-template-rows: 28px 1fr 24px 32px; }
html[lang="en"] .trial-rail-button:not(.booking-action) { min-height: 240px; }
html[lang="en"] .trial-rail-button small { font: 700 .75rem/1.3 Arial, sans-serif; }
html[lang="en"] .enquiry-branch-arrow { font: 400 1.4rem/1 Arial, sans-serif; }
html[lang="en"] .mobile-enquiry-bar button { font: 700 1rem/1.35 Arial, sans-serif; }
html[lang="en"] .teacher-card h2 { font-size: 1.45rem; }
html[lang="en"] .branch-badge { max-width: calc(100% - 20px); white-space: normal; font-size: .65rem; }
html[lang="en"] .teacher-card .tag { font-size: .64rem; letter-spacing: 0; }
html[lang="en"] .teacher-card .quote { font-size: .88rem; line-height: 1.7; }
html[lang="en"] .card-actions .btn { font-size: .78rem; }
html[lang="en"] .team-profile-dialog .profile h2 { font-family: Georgia, serif; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-grid { width: min(100%, 1100px); margin-inline: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise { grid-column: span 2; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise:nth-child(1) { grid-column: 2 / span 2; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise:nth-child(2) { grid-column: 4 / span 2; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise:nth-child(3) { grid-column: 1 / span 2; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise:nth-child(4) { grid-column: 3 / span 2; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise:nth-child(5) { grid-column: 5 / span 2; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise span { padding: 0; align-items: flex-start; gap: 6px; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise b { width: 24px; height: 24px; flex-basis: 24px; font-size: .65rem; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise strong { font-size: .875rem; line-height: 1.5; white-space: nowrap; }
html:is([lang="en"], [lang="zh-Hans"]) .quality-promise:nth-child(5) strong { white-space: normal; }
@media (min-width: 761px) {
  html[lang="en"] .consult-rail { display: grid; width: 84px; }
  html[lang="en"] .mobile-enquiry-bar { display: none; }
}
@media (min-width: 761px) and (max-width: 1366px) {
  html[lang] body { padding: 0 0 calc(94px + env(safe-area-inset-bottom, 0px)); }
  html[lang] .section { scroll-margin-top: 88px; }
  html[lang] .main-nav { top: 88px; max-height: calc(100dvh - 182px - env(safe-area-inset-bottom, 0px)); }
  html[lang] .consult-rail { display: grid; top: auto; right: 0; bottom: 0; left: 0; width: auto; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); transform: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 1px solid #d3e1f4; border-radius: 0; background: rgba(255,255,255,.97); box-shadow: 0 -6px 20px rgba(7,28,59,.1); }
  html[lang] .back-to-top { bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  html[lang] .mobile-enquiry-bar { display: none; }
  html[lang] .consult-rail .trial-rail-button { display: flex; min-height: 60px; padding: 10px; align-items: center; justify-content: center; gap: 10px; }
  html[lang] .consult-rail .enquiry-action-label { writing-mode: horizontal-tb; font-size: 1rem; line-height: 1.3; letter-spacing: 0; }
  html[lang] .consult-rail .enquiry-action-label br, html[lang] .consult-rail small br { display: none; }
  html[lang] .consult-rail small { font-size: .75rem; }
  html[lang] .consult-rail .enquiry-branch-arrow { transform: rotate(-90deg); }
}
@media (min-width: 1367px) and (max-height: 650px) {
  html[lang="en"] .trial-rail-button, html[lang="en"] .trial-rail-button:not(.booking-action) { min-height: 190px; }
}
@media (max-width: 1750px) {
  html[lang="en"] .language-switch { margin-left: auto; }
  .main-nav { position: fixed; top: 78px; right: 0; left: 0; display: none; padding: 22px; flex-direction: column; align-items: stretch; max-height: calc(100dvh - 78px); overflow-y: auto; background: #fff; border-bottom: 1px solid #cfdae3; box-shadow: 0 20px 30px rgba(6,29,70,.12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 5px 0; font-size: .95rem; }
  .nav-advisors { display: none; }
  .menu-toggle { display: grid; width: 42px; height: 42px; padding: 9px; gap: 5px; place-content: center; }
  .menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: #0b2f6b; }
}
@media (max-width: 760px) {
  .award-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .award-showcase-item { gap: 12px; }
  .award-showcase-item strong { font-size: clamp(.65rem, 2.9vw, .875rem); letter-spacing: 0; }
  html:is([lang="en"], [lang="zh-Hans"]) .quality-grid { gap: 18px 10px; }
  html:is([lang="en"], [lang="zh-Hans"]) .quality-promise { gap: 8px; }
  html:is([lang="en"], [lang="zh-Hans"]) .quality-promise span { gap: 4px; }
  html:is([lang="en"], [lang="zh-Hans"]) .quality-promise b { width: 16px; height: 16px; flex-basis: 16px; font-size: .55rem; }
  html:is([lang="en"], [lang="zh-Hans"]) .quality-promise strong { font-size: clamp(.6rem, 2.7vw, .875rem); }
  .nav-shell { gap: 8px; }
  .language-switch { min-width: 70px; padding: 4px; font-size: .9375rem; }
  .menu-toggle { flex: 0 0 auto; margin-left: 0; }
  .brand { min-width: 0; }
  .brand img { width: 58px; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .7rem; }
  html[lang="en"] .hero-copy { padding-top: 48px; }
  html[lang="en"] .hero h1 { font-size: clamp(2.1rem, 9.5vw, 3.7rem); }
  html[lang="en"] .hero-copy .eyebrow { font-size: .61rem; letter-spacing: .08em; }
  html[lang="en"] .hero-process strong { font-size: .7rem; }
  html[lang="en"] .hero-awards strong { font-size: .63rem; }
  html[lang="en"] .hero-facts { gap: 12px; }
  html[lang="en"] .hero-facts strong { font-size: 1rem; }
  html[lang="en"] .course-match-intro h3, html[lang="en"] .course-panel h3 { max-width: 100%; white-space: normal; font-size: 1.5rem; line-height: 1.3; }
  html[lang="en"] .care-heading h2, html[lang="en"] .method-section h2, html[lang="en"] .faq-section h2, html[lang="en"] .campus-life-heading h2, html[lang="en"] .decision-heading h2 { font-size: 1.85rem; line-height: 1.25; }
  html[lang="en"] .hero-brand-copy strong { font-size: 1.7rem; }
}

/* Keep subject headings and the three consultation goals aligned across cards. */
html[lang="en"] .progress-path-card { container-type: inline-size; }
html[lang="en"] .progress-path-card > span { display: block; min-height: 3.2em; line-height: 1.6; }
html[lang="en"] .progress-path-card h3.progress-subject-three-lines { font-size: min(1.5rem, 7cqi); line-height: 1.18; min-height: 3.54em; }
.progress-subject-three-lines > span { display: block; white-space: nowrap; }
html[lang="en"] .progress-path-card > div { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(48px, auto)); gap: 8px; }
html[lang="en"] .progress-path-card .learning-enquiry { width: 100%; min-height: 48px; font-size: min(.875rem, 5.4cqi); }

/* Branch contact buttons share the same navy treatment on every device. */
.branch-card .branch-actions a, .branch-card.featured .branch-actions a { color: #fff; background: #0b2f6b; }
.branch-card .branch-actions a:hover { background: #164783; }

/* iPad: keep all three learning methods together in one row. */
@media (min-width: 761px) and (max-width: 1366px) {
  .method-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .method-card:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  .method-card > div { padding: 18px 14px 20px; }
}

.directory-card-head:has(.gombak-branch-title) { flex-wrap: wrap; }
.directory-card-head:has(.gombak-branch-title) > div { flex: 1 0 180px; min-width: 0; max-width: 100%; container-type: inline-size; }
.directory-card-head h3.gombak-branch-title { font-size: min(1.08rem, 8.5cqi); }
.directory-card-head .gombak-branch-title > span { display: block; margin: 0; color: inherit; font: inherit; letter-spacing: 0; white-space: nowrap; }

.gombak-directory-head { display: block; }
.directory-branch-label { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 8px; }
.directory-card-head .directory-branch-label > span { margin: 0; font-size: clamp(.68rem, 4.1cqi, .8rem); letter-spacing: 0; white-space: nowrap; }
.directory-card-head .directory-branch-label > b { padding: 5px 4px; font-size: .62rem; }
html[lang="en"] .branch-enquiry-dialog .branch-choice-title { font-size: clamp(1.2rem, 6vw, 1.7rem); line-height: 1.3; }
.branch-choice-title > span { display: block; white-space: nowrap; }

.rail-ipad-choice { display: none; }
@media (min-width: 761px) and (max-width: 1366px) {
  html[lang="en"] .consult-rail .trial-rail-button { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; justify-content: center; column-gap: 8px; row-gap: 3px; }
  html[lang="en"] .consult-rail .enquiry-action-icon { grid-column: 1; grid-row: 1; }
  html[lang="en"] .consult-rail .enquiry-action-label { grid-column: 2; grid-row: 1; white-space: nowrap; }
  html[lang="en"] .consult-rail small { grid-column: 1 / -1; grid-row: 2; }
  html[lang="en"] .consult-rail .enquiry-branch-arrow, html[lang="en"] .rail-desktop-choice { display: none; }
  html[lang="en"] .rail-ipad-choice { display: inline; }
}

html[lang="zh-Hans"] .decision-cta { container-type: inline-size; }
html[lang="zh-Hans"] .decision-intro-lines { font-size: min(1.65rem, 4.4cqi); line-height: 1.65; }
html[lang="zh-Hans"] .decision-intro-lines > span { display: block; white-space: nowrap; }
html[lang="zh-Hans"] .decision-actions a { align-content: center; gap: 5px; text-transform: none; }
html[lang="zh-Hans"] .decision-adviser, html[lang="zh-Hans"] .decision-branch { display: block; }
@media (min-width: 1101px) {
 html[lang="zh-Hans"] .decision-cta { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
 html[lang="zh-Hans"] .decision-intro-lines { font-size: min(1.65rem, 2.8cqi); }
}

html[lang="zh-Hans"] .course-match-intro { container-type: inline-size; }
html[lang="zh-Hans"] .course-match-intro .zh-course-intro-title { font-size: min(2.6rem, 14cqi); line-height: 1.4; }
.zh-course-intro-title > span { display: block; white-space: nowrap; }
html[lang="zh-Hans"] .course-match-intro .course-stage-prompt { margin-top: 14px; font-size: min(1.5rem, 10cqi); }

html[lang="zh-Hans"] .care-heading { text-align: center; container-type: inline-size; }
html[lang="zh-Hans"] .care-heading .eyebrow { text-align: center; }
html[lang="zh-Hans"] .care-heading h2 { font-size: min(2.8rem, 6.3cqi); line-height: 1.4; }
html[lang="zh-Hans"] .care-heading .care-title-line { display: block; white-space: nowrap; }

html[lang="zh-Hans"] .decision-actions a { min-height: 104px; padding: 18px 12px; font-size: 1rem; gap: 7px; border-radius: 12px; }
html[lang="zh-Hans"] .decision-actions a > span { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1250px) {
  html[lang="zh-Hans"] .decision-actions a { font-size: .82rem; }
}

html[lang="zh-Hans"] .care-heading h2 { font-family: "Noto Serif SC WISE", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; font-weight: 900; }

html[lang="zh-Hans"] .course-panel { container-type: inline-size; }

html[lang="zh-Hans"] .course-match-intro { min-width: 0; padding-left: 16px; text-align: left; }
html[lang="zh-Hans"] .course-match-picker { min-width: 0; }

/* Use the same course matching layout for iPad and desktop. */
@media (min-width: 761px) {
 html[lang="zh-Hans"] .course-match { grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); gap: 24px; }
 html[lang="zh-Hans"] .course-match-intro { padding: 38px 28px 38px 16px; }
}

html[lang="zh-Hans"] .course-panel h3[data-course-title] { white-space: nowrap; font-weight: 900; font-size: min(2rem, 5cqi); line-height: 1.4; }

html[lang="zh-Hans"] .progress-path-card { container-type: inline-size; }
html[lang="zh-Hans"] .progress-path-card > span { display: block; min-height: 3.2em; line-height: 1.6; }
html[lang="zh-Hans"] .progress-path-card h3.zh-progress-subject { font-size: min(1.55rem, 9cqi); line-height: 1.4; min-height: 2.8em; }
.zh-progress-subject > span { display: block; white-space: nowrap; }
html[lang="zh-Hans"] .progress-path-card > div { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(52px, auto)); gap: 10px; }
html[lang="zh-Hans"] .progress-path-card .learning-enquiry { width: 100%; min-height: 52px; font-size: 1rem; padding: 10px 12px; font-weight: 900; }

/* Use one complete system Chinese font throughout the course panel. */
html[lang="zh-Hans"] .course-panel { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html[lang="zh-Hans"] .course-panel h3[data-course-title] { font-family: inherit; font-weight: 900; }
html[lang="zh-Hans"] .course-panel .learning-enquiry { font-family: inherit; font-weight: 700; }

html[lang="zh-Hans"] .course-match-intro h3, html[lang="zh-Hans"] .course-stage-prompt { font-weight: 900; }

/* Reinforce the heavy heading consistently on devices with limited system weights. */
html[lang="zh-Hans"] .course-panel h3[data-course-title] {
  font-weight: 900;
  -webkit-text-stroke: .45px currentColor;
  paint-order: stroke fill;
}

html[lang="zh-Hans"] .campus-journey-cta { flex-wrap: wrap; }
html[lang="zh-Hans"] .campus-journey-cta > div { flex: 1 1 450px; }
html[lang="zh-Hans"] .campus-journey-cta a { flex: 1; min-height: 82px; padding: 20px 26px; font-size: 1.4rem; font-weight: 900; border-width: 2px; }
html[lang="zh-Hans"] .progress-path-card .learning-enquiry { font-weight: 900; -webkit-text-stroke: .3px currentColor; paint-order: stroke fill; }
@media (max-width: 760px) {
 html[lang="zh-Hans"] .campus-journey-cta > div { flex-basis: auto; }
 html[lang="zh-Hans"] .campus-journey-cta a { min-height: 76px; font-size: 1.35rem; }
}

html[lang="zh-Hans"] .contact-copy { container-type: inline-size; }
html[lang="zh-Hans"] .contact-copy h2.zh-contact-title { font-size: min(3rem, 12cqi); line-height: 1.35; font-weight: 900; }
.zh-contact-title > span { display: block; white-space: nowrap; }

.gombak-directory-head > div { width: 100%; min-width: 0; container-type: inline-size; }
html[lang="zh-Hans"] .directory-card-head .zh-gombak-directory-title { font-size: min(1.08rem, 6.5cqi); line-height: 1.4; white-space: nowrap; font-weight: 900; }

html[lang="zh-Hans"] .course-panel .subject-list .concern-item { min-width: 0; }
html[lang="zh-Hans"] .course-panel .subject-list .learning-enquiry { white-space: nowrap; padding-inline: 8px; min-height: 64px; }
@media (min-width: 761px) {
 html[lang="zh-Hans"] .course-panel .subject-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 html[lang="zh-Hans"] .course-panel .subject-list .concern-item { grid-column: auto; }
}
html[lang="zh-Hans"] .selayang-directory-head { display: block; }
html[lang="zh-Hans"] .selayang-directory-head > div { width: 100%; min-width: 0; container-type: inline-size; }
html[lang="zh-Hans"] .selayang-directory-head h3 { font-size: min(1.08rem, 8cqi); white-space: nowrap; }

html[lang="zh-Hans"] .roadmap-heading { container-type: inline-size; }
html[lang="zh-Hans"] .roadmap-heading .zh-roadmap-title { font-size: min(3.3rem, 6cqi); font-weight: 900; line-height: 1.35; }
.zh-roadmap-title > span { display: block; white-space: nowrap; }

/* Clearer contrast between subject headings and consultation button labels. */
html[lang="zh-Hans"] .progress-path-card h3.zh-progress-subject {
 font-size: min(1.7rem, 10cqi);
 font-family: "Noto Serif SC WISE", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
 font-weight: 900;
 -webkit-text-stroke: .2px currentColor;
 paint-order: stroke fill;
}
html[lang="zh-Hans"] .progress-path-card .learning-enquiry {
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
 font-size: 1.125rem;
 font-weight: 400;
 -webkit-text-stroke: 0;
}

/* Phone-only refinements for the Chinese adviser consultation block. */
@media (max-width: 760px) {
 html[lang="zh-Hans"] .decision-cta .decision-intro-lines { font-size: min(1.2rem, 6cqi); line-height: 1.8; }
 html[lang="zh-Hans"] .decision-cta .decision-actions { width: min(100%, 280px); margin-inline: auto; gap: 8px; }
 html[lang="zh-Hans"] .decision-cta .decision-actions a { min-height: 64px; padding: 10px; font-size: .875rem; gap: 3px; }
}

@media (max-width: 760px) {
 html[lang="zh-Hans"] .roadmap-heading .zh-roadmap-title { font-size: min(2rem, 7.2cqi); }
 html[lang="zh-Hans"] .roadmap-heading > p:last-child { max-width: none; font-size: min(.875rem, 3cqi); white-space: nowrap; line-height: 1.8; }
}

@media (max-width: 760px) {
 .language-switch { min-width: 62px; padding: 3px; gap: 4px; border-radius: 11px; font-size: .8125rem; line-height: 1.2; }
 .language-switch a { min-height: 24px; padding: 2px 5px; border-radius: 7px; }
}

@media (max-width: 760px) {
 html[lang="zh-Hans"] .award-showcase-heading { container-type: inline-size; }
 html[lang="zh-Hans"] .award-showcase-heading .zh-mobile-award-title { font-size: min(2rem, 7.2cqi); line-height: 1.4; }
 html[lang="zh-Hans"] .zh-mobile-award-title > span { display: block; white-space: nowrap; }
}

@media (max-width: 760px) {
 html[lang="zh-Hans"] .decision-cta .decision-intro-lines > span:nth-child(-n+2) { font-size: min(1.5rem, 8cqi); }
}

@media (max-width: 760px) {
 html[lang="zh-Hans"] .step-line li { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: baseline; }
 html[lang="zh-Hans"] .step-line li > span, html[lang="zh-Hans"] .step-line li > strong { margin: 0; line-height: 1.4; }
 html[lang="zh-Hans"] .step-line li > span { font-size: .9rem; }
 html[lang="zh-Hans"] .step-line li > p { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
 html[lang="zh-Hans"] .course-panel h3[data-course-title] { font-size: 1.8rem; font-weight: 900; -webkit-text-stroke: .6px currentColor; line-height: 1.4; }
}

@media (max-width: 760px) {
 html[lang="zh-Hans"] .course-panel .subject-list .learning-enquiry { font-size: 1rem; font-weight: 800; -webkit-text-stroke: .15px currentColor; paint-order: stroke fill; }
}

@media (max-width: 760px) {
 html[lang="zh-Hans"] .campus-journey-cta { container-type: inline-size; }
 html[lang="zh-Hans"] .campus-journey-cta h3.phone-campus-message { font-size: min(1.7rem, 8cqi); line-height: 1.45; }
 html[lang="zh-Hans"] .phone-campus-line { display: block; white-space: nowrap; }
 html[lang="zh-Hans"] .campus-desktop-punctuation { display: none; }
 html[lang="zh-Hans"] .voice-card > strong { font-family: "Noto Serif SC WISE", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 1.5rem; font-weight: 900; line-height: 1.45; -webkit-text-stroke: .2px currentColor; paint-order: stroke fill; }
}

@media (max-width: 760px) {
 html[lang="en"] .decision-heading { container-type: inline-size; }
 html[lang="en"] .decision-heading h2 { font-size: min(1.5rem, 5.6cqi); line-height: 1.4; }
 html[lang="en"] .decision-heading .mobile-title-line { display: block; white-space: nowrap; }
}

.phone-quality-eyebrow { display: none; }
@media (max-width: 760px) {
 html[lang="en"] .phone-quality-eyebrow { display: block; margin: 0 0 10px; color: #971d26; font-size: .72rem; font-weight: 900; letter-spacing: .16em; line-height: 1.4; }
}

@media (max-width: 760px) {
 html[lang="en"] .course-intro-four-lines > .course-intro-for-your,
 html[lang="en"] .course-intro-four-lines > .course-intro-child-stage { display: inline; }
 html[lang="en"] .course-match-intro h3.course-intro-four-lines { font-size: min(2.4rem, 8.2cqi); }
}

@media (max-width: 760px) {
 html[lang="en"] .progress-heading,
 html[lang="en"] .faq-section .section-heading { container-type: inline-size; }
 html[lang="en"] .progress-heading h2.phone-progress-title { font-size: min(1.6rem, 6cqi); line-height: 1.4; }
 html[lang="en"] .phone-progress-line { display: block; white-space: nowrap; }
 html[lang="en"] .phone-progress-desktop-break { display: none; }
 html[lang="en"] .faq-section .section-heading h2 { font-size: min(1.6rem, 6cqi); line-height: 1.4; }
 html[lang="en"] .faq-section .faq-title-line { white-space: nowrap; }
 html[lang="en"] .faq-section .faq-title-line:nth-child(2)::first-letter { text-transform: uppercase; }
}

.phone-process-break { display: none; }
@media (max-width: 760px) {
 html[lang="en"] .hero-process strong { display: block; width: 100%; min-height: 2.8em; text-align: center; }
 html[lang="en"] .hero-process .phone-process-break { display: block; }
}

@media (max-width: 760px) {
 .hero-grid > .hero-visual { order: -1; }
}

@media (max-width: 760px) {
 .hero-awards button { min-height: 134px; padding: 10px 6px; grid-template-rows: 76px minmax(28px, auto); gap: 8px; align-content: center; justify-items: center; }
 .hero-awards img { display: block; width: min(76px, 100%); height: 76px; margin: 0 auto; object-fit: contain; object-position: center; }
 .hero-awards strong { width: 100%; text-align: center; }
}

@media (max-width: 760px) {
 .hero-awards button:first-child img { width: min(92px, 100%); }
}

/* iPad landscape: one combined introduction, with advisers beside the brand panel. */
@media (min-width: 761px) and (max-width: 1366px) and (orientation: landscape) {
 .hero { min-height: calc(100svh - 80px); }
 .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100svh - 168px); align-items: stretch; }
 .hero-copy, html[lang="en"] .hero-copy { min-width: 0; padding: 20px 28px 24px; justify-content: center; }
 .hero-copy .eyebrow { margin-bottom: 8px; font-size: .65rem; letter-spacing: .09em; }
 .hero-service-line { margin-bottom: 8px; font-size: 1.35rem; }
 .hero h1, html[lang="en"] .hero h1 { margin-bottom: 12px; font-size: 2.6rem; line-height: 1.12; }
 .hero-lead, html[lang="en"] .hero-lead { margin-bottom: 16px; font-size: .88rem; line-height: 1.65; }
 .hero-consultants { width: 50%; grid-template-columns: minmax(0, 1fr); margin-bottom: 12px; gap: 7px; }
 .hero-consultants a, html[lang="en"] .hero-consultants a { min-height: 52px; padding: 8px 16px; }
 .hero-consultants small { margin-bottom: 2px; font-size: .7rem; }
 .hero-consultants strong, html[lang="en"] .hero-consultants strong { font-size: .9rem; line-height: 1.3; }
 .hero-facts { padding: 10px 0 12px; gap: 12px; }
 .hero-facts strong, html[lang="en"] .hero-facts strong { display: block; margin: 0 0 4px; font-size: 1.05rem; line-height: 1.3; }
 .hero-facts span, html[lang="en"] .hero-facts span { display: block; font-size: .67rem; line-height: 1.5; }
 .hero-promise { margin-top: 0; padding: 12px 16px; }
 .hero-promise small { margin-bottom: 4px; font-size: .7rem; }
 .hero-promise strong, html[lang="en"] .hero-promise strong { font-size: .78rem; line-height: 1.5; white-space: normal; }
 .hero-visual { width: 100%; min-width: 0; margin: 0; padding: 12px 20px 20px 0; }
 .hero-showcase-panel { display: flex; min-height: 100%; padding: 18px; flex-direction: column; justify-content: center; border-radius: 16px; }
 .hero-logo-stage { flex: none; width: min(340px, 94%); height: clamp(168px, 24svh, 225px); margin-bottom: 12px; padding: 20px; }
 .hero-logo-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
 .hero-logo-stage img { min-width: 0; min-height: 0; max-height: 100%; }
 .hero-brand-copy { padding: 4px 0 16px; }
 .hero-brand-copy span { font-size: .82rem; }
 .hero-brand-copy strong, html[lang="en"] .hero-brand-copy strong { margin: 4px 0; font-size: 1.6rem; line-height: 1.3; }
 .hero-brand-copy small { font-size: .65rem; }
 .hero-process { flex: none; width: 100%; margin-bottom: 16px; padding: 6px; gap: 6px; }
 .hero-process div { min-height: 56px; padding: 6px 3px; }
 .hero-process strong { font-size: .85rem; }
 .hero-awards { gap: 8px; }
 .hero-awards button { min-height: 100px; padding: 8px 5px; grid-template-rows: 64px auto; gap: 4px; }
 .hero-awards img { width: 100%; height: 60px; object-fit: contain; }
 .hero-awards strong { font-size: .7rem; white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1366px) and (orientation: landscape) {
 html[lang="en"] .hero-copy { padding-top: 16px; padding-bottom: 16px; container-type: inline-size; }
 html[lang="en"] .hero-consultants a { min-height: 44px; padding: 4px 16px; }
 html[lang="en"] .hero h1 { font-size: 2.1rem; line-height: 1.08; }
 html[lang="en"] .hero-lead { font-size: min(.84rem, 2.35cqi); line-height: 1.6; text-wrap: balance; }
 html[lang="en"] .hero-facts span { font-size: .65rem; }
}
@media (min-width: 761px) and (max-width: 1366px) and (orientation: landscape) {
 html[lang="en"] .hero-awards strong { white-space: normal; font-size: .6rem; line-height: 1.3; text-align: center; }
}

@media (min-width: 761px) and (max-width: 1366px) and (orientation: landscape) {
 html[lang="en"] .hero-promise .ipad-promise-ending { display: block; white-space: nowrap; }
}

.zh-mobile-award-title > .award-phone-wording { display: none; }
@media (max-width: 760px) {
 html[lang="zh-Hans"] .zh-mobile-award-title > .award-desktop-wording { display: none; }
 html[lang="zh-Hans"] .zh-mobile-award-title > .award-phone-wording { display: block; }
}
