@font-face { font-family: Manrope; src: url('/assets/fonts/manrope-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('/assets/fonts/manrope-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('/assets/fonts/manrope-800.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --font-ui: Manrope, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --bg: #fff; --bg-warm: #f5f7fa; --ink: #162333; --ink-light: #4b5868; --ink-muted: #58687a;
  --blue-50: #f0f5fc; --blue-100: #e5edfa; --blue-200: #cad9ef;
  --blue-400: #476f9f; --blue-500: #245daa; --blue-600: #1d5094; --blue-900: #123b73;
  --line: #dce3ec; --line-light: #e7ecf2;
  --page-gutter: clamp(1.25rem, 5vw, 5.5rem);
}
html { scroll-padding-top: 7rem; scrollbar-color: #93aac6 #f0f5fc; }
body { font-family: var(--font-ui); font-size: 1rem; line-height: 1.65; font-weight: 400; overflow-x: clip; }
button, input, textarea, select { font: inherit; caret-color: var(--blue-500); }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
::selection { background: #c7dcfc; color: #112d53; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 5px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 2px; }
::placeholder { color: #617084; opacity: 1; }
h1, h2, h3, h4, h5, .nav-logo, .sp-title, .sp-tagline { font-family: var(--font-ui); font-style: normal; text-wrap: balance; }
h1, h2 { letter-spacing: -.035em; }
p { text-wrap: pretty; }
a { text-underline-offset: .25em; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 999; background: var(--blue-900); color: #fff; padding: .8rem 1.2rem; }
.skip-link:focus { top: 1rem; }
.preview-notice { background: #edf3fc; color: #254363; padding: .55rem var(--page-gutter); font-size: .8125rem; text-align: center; min-height: 38px; }
.notice-retry { background:none; border:0; color:var(--blue-900); text-decoration:underline; cursor:pointer; padding:.3rem; font-size:inherit; font-weight:700; }
nav, nav.scrolled { position: sticky; top: 0; padding: 1.1rem var(--page-gutter); min-height: 86px; background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); }
.nav-logo { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.nav-logo::before { content: ''; width: 23px; height: 25px; border: 3px solid var(--blue-500); border-top-width: 7px; border-radius: 2px 2px 8px 8px; transform: rotate(-8deg); }
.nav-right { gap: 1.65rem; }
.nav-links { gap: 1.6rem; }
.nav-links a, .nav-cta { font-size: .875rem !important; font-weight: 700; letter-spacing: 0 !important; text-transform: none; }
.nav-cta { padding: .8rem 1.1rem; border-radius: 8px; background: var(--blue-500); }
.nav-cta:hover { background: var(--blue-900) !important; }
.lang-switch { border-radius: 6px; }
.lang-btn { font-family: var(--font-ui); font-size: .8125rem; letter-spacing: 0; padding: .55rem .7rem; min-height: 40px; color: var(--ink-light); font-weight: 700; }
.hero { max-width: 1500px; margin: 0 auto; min-height: 0; padding: clamp(4rem, 7vw, 7rem) var(--page-gutter) 6rem; gap: clamp(2.5rem, 6vw, 7rem); grid-template-columns: 1.12fr 1fr; }
.hero::before, .hero-image::after { display: none; }
.hero-content { max-width: 650px; }
.hero h1, body.zh .hero h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 800; line-height: 1.08; margin-bottom: 1.8rem; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--blue-500); font-weight: inherit; }
.hero-desc { max-width: 47ch; font-size: 1.0625rem; line-height: 1.8; font-weight: 400; margin-bottom: 2rem; }
.hero-actions { gap: 1.4rem; flex-wrap: wrap; }
.btn-primary, .btn-ghost { font-family: var(--font-ui); font-size: .9375rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.btn-primary { border-radius: 8px; padding: .95rem 1.35rem; background: var(--blue-500); min-height: 48px; }
.btn-ghost { padding: .7rem 0; }
.hero-image { height: auto; max-height: none; align-self: center; min-width: 0; }
.programme-preview { background: var(--blue-50); padding: 0 2rem; border-radius: 16px; color: var(--blue-900); }
.preview-top { display: flex; align-items: center; justify-content: space-between; padding: 1.8rem 0; font-size: .875rem; font-weight: 700; }
.preview-mark { font-size: 1.3rem; }
.programme-preview > a { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.7rem 1.8rem 1.7rem 0; border-top: 1px solid #cbd9ed; text-decoration: none; color: var(--blue-900); }
.programme-preview > a > span:nth-child(2) { font-size: .875rem; line-height: 1.5; color: #3d587b; max-width: 30ch; }
.programme-preview > a > span:last-child { position: absolute; right: 0; top: 1.8rem; font-size: 1.3rem; transition: transform .18s ease; }
.programme-preview > a:hover > span:last-child { transform: translate(3px, -3px); }
.preview-subject { font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.preview-bottom { padding: 1.2rem 0 1.7rem; border-top: 1px solid #cbd9ed; font-size: .8125rem; color: #3d587b; }
.philosophy { max-width: 1500px; padding: 5rem var(--page-gutter); gap: 6rem; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
.philosophy-left h2, .subjects-header h2, .admissions-left h2, .faq-section h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.2; font-weight: 800; margin-bottom: 1.4rem; }
.philosophy-left h2 em, .subjects-header h2 em, .admissions-left h2 em { font-style: normal; font-weight: inherit; }
.philosophy-left p, .subjects-header p, .admissions-left > p { font-size: 1rem; font-weight: 400; line-height: 1.8; max-width: 55ch; }
.philosophy-right { display: block; }
.phil-card, .phil-card:first-child { border: 0; padding: 1.3rem 0; background: none; border-bottom: 1px solid var(--line); }
.phil-card:first-child { padding-top: 0; }
.phil-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.phil-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .45rem; letter-spacing: -.015em; }
.phil-card p { font-size: .9375rem; font-weight: 400; line-height: 1.7; max-width: 52ch; }
.subjects { padding: 5rem var(--page-gutter); background: #f5f7fa; }
.subjects-inner { max-width: 1320px; }
.subjects-header { margin-bottom: 2.1rem; align-items: start; gap: 3rem; }
.subjects-header h2 { max-width: 15ch; margin-bottom: 0; }
.subjects-header p { max-width: 38ch; text-align: left; }
.programme-tools { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .6rem 1rem; margin-bottom: 1.7rem; }
.programme-tools > label { grid-column: 1/-1; font-size: .875rem; font-weight: 700; }
.programme-tools input { width: min(100%, 380px); min-height: 48px; background: #fff; border: 1px solid #becbdb; border-radius: 8px; padding: .75rem 1rem; font-size: .9375rem; }
.programme-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter { cursor: pointer; min-height: 44px; padding: .6rem .9rem; border: 1px solid #ccd6e3; background: transparent; color: var(--ink-light); border-radius: 7px; font-size: .875rem; font-weight: 700; }
.filter.active { background: var(--blue-900); color: #fff; border-color: var(--blue-900); }
.filter:hover:not(.active) { background: #e7edf6; }
.result-count { grid-column: 1/-1; font-size: .8125rem; color: var(--ink-light); min-height: 1.4em; }
.subjects-grid { gap: 1rem; border: 0; background: none; }
.subject-cell { display: flex; flex-direction: column; padding: 1.8rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .18s ease, background .18s ease; min-width: 0; }
.subject-cell::before { display: none; }
.subject-cell:hover { border-color: #7196c6; background: #fff; }
.subject-cell h3 { font-size: 1.3rem; line-height: 1.35; font-weight: 800; letter-spacing: -.025em; margin-bottom: .85rem; }
.subject-cell p { font-size: .9375rem; line-height: 1.65; font-weight: 400; margin-bottom: 1.3rem; }
.subject-icon { width: 30px; height: 30px; margin-bottom: 1.4rem; color: var(--blue-500); }
.subject-levels { margin-top: auto; gap: .4rem; }
.subject-levels span { font-size: .75rem; letter-spacing: 0; text-transform: none; border-radius: 4px; padding: .3rem .5rem; color: #315781; }
.view-link { opacity: 1; transform: none; letter-spacing: 0; text-transform: none; font-size: .875rem; font-weight: 700; margin-top: 1.6rem; }
.faq-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6rem; max-width: 1500px; margin: auto; padding: 6rem var(--page-gutter); }
.faq-section > div > p { max-width: 40ch; color: var(--ink-light); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { cursor: pointer; list-style: none; padding-right: 2rem; position: relative; font-size: 1rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.35rem; font-weight: 400; color: var(--blue-500); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { color: var(--ink-light); margin-top: .8rem; line-height: 1.75; font-size: .9375rem; max-width: 60ch; }
.admissions { max-width: none; padding: 5rem max(var(--page-gutter), calc((100vw - 1320px)/2)); gap: 6rem; background: var(--blue-50); }
.admissions-left { padding-top: 1rem; }
.admission-steps { margin-top: 2rem; }
.admission-steps li { padding: .8rem 0; }
.step-num { font-family: var(--font-ui); font-size: 1rem; font-weight: 700; color: #47668c; }
.step-text h3 { font-size: .9375rem; font-weight: 700; }
.step-text p { font-size: .875rem; font-weight: 400; line-height: 1.65; }
.admissions-form { border: 0; padding: 2.1rem; border-radius: 16px; min-width: 0; }
.admissions-form h3 { font-size: 1.5rem; letter-spacing: -.025em; font-weight: 800; }
.form-sub { font-size: .875rem; color: var(--ink-light); }
.form-group label { font-size: .8125rem; text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.form-group input, .form-group textarea { font-family: var(--font-ui); font-size: 1rem; font-weight: 400; border: 1px solid #bdc9d9; border-radius: 6px; padding: .8rem; background: #fff; min-width: 0; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { font-family: var(--font-ui); background: var(--blue-500); font-size: .9375rem; text-transform: none; letter-spacing: 0; font-weight: 700; border-radius: 7px; min-height: 50px; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-status { margin-bottom: 1rem; font-size: .875rem; }
.form-status.error, .field-error { color: #a22936; }
.field-error { display: block; font-size: .8125rem; margin-top: .3rem; }
[aria-invalid=true] { border-color: #a22936 !important; }
.consent-field { display: flex; align-items: start; gap: .65rem; font-size: .875rem; line-height: 1.6; margin: .75rem 0; }
.consent-field input { width: 18px; height: 18px; flex-shrink: 0; margin-top: .15rem; accent-color: var(--blue-500); }
.privacy-help { font-size: .8125rem; margin: .5rem 0 1.3rem; }
.privacy-help a { color: var(--blue-600); }
footer { padding: 4rem var(--page-gutter) 1.5rem; }
.footer-inner { max-width: 1320px; }
.footer-brand p, .footer-col p { font-size: .875rem; font-weight: 400; color: #4b5868; max-width: 32ch; }
.footer-col h5 { font-size: .875rem; text-transform: none; letter-spacing: 0; font-weight: 700; }
.footer-col a, .footer-bottom p, .footer-social a { font-size: .8125rem; color: #4b5868; }
.footer-brand p, .footer-col p, .footer-col ul a, .footer-bottom p, .footer-social a { color: #d7e4f6; }
.footer-col h5 { color:#fff; }
.footer-brand .nav-logo { display:inline-flex; }
.footer-brand .nav-logo::before { border-color:#b9cef0; }
.admin-dot { display: none; }
.section-label { display: none; }
.reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
.sp-hero { max-width: 1500px; padding: 4rem var(--page-gutter); gap: 4rem; }
.sp-title { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 800; letter-spacing: -.04em; }
.sp-tagline { font-size: 1.15rem; font-weight: 700; font-style: normal; }
.sp-back { text-transform: none; letter-spacing: 0; font-size: .875rem; font-weight: 700; min-height: 44px; margin-bottom: 1.5rem; }
.sp-intro { font-size: 1rem; font-weight: 400; }
.sp-section { padding: 4rem var(--page-gutter); }
.sp-two h2, .sp-h2, .sp-heading-block h2, .sp-cta h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.sp-tier h3, .sp-format h3 { font-size: 1.125rem; font-weight: 700; }
.sp-tier p, .sp-list li, .sp-format li { font-size: .9375rem; font-weight: 400; line-height: 1.8; }
.sp-cta { padding: 4rem var(--page-gutter); }
.sp-cta p { font-size: 1rem; font-weight: 400; color:#d7e4f6; }
.sp-art { background: var(--blue-50); border: 0; border-radius: 12px; }
.sp-hero > .sp-art { height: auto; min-height: 0; padding: 2rem; align-self: center; }
.course-summary { width: 100%; }
.course-summary h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.5rem; }
.course-summary dl > div { padding: 1rem 0; border-top: 1px solid var(--blue-200); }
.course-summary dt { font-size: .8125rem; color: #3d587b; }
.course-summary dd { font-size: 1rem; margin-top: .35rem; line-height: 1.6; }
.course-summary .btn-primary { margin-top: 1rem; width: 100%; justify-content: center; }
.sp-bullets li { font-size: 1rem; font-weight: 400; line-height: 1.8; }
.sp-section + .sp-section { border-top: 1px solid var(--line); }
.sp-tier .phil-num { display: none; }
.adm-root, .adm-root h1, .adm-root h2, .adm-root h3, .adm-root h4, .adm-root button, .adm-root input, .adm-root textarea, .adm-root select, .adm-modal { font-family: var(--font-ui); }
.adm-root h1, .adm-root h2, .adm-root h3 { font-weight: 800; letter-spacing: -.025em; }
.adm-input, .adm-select, .adm-textarea { font-size: 1rem; }
.adm-nav-item { font-size: .875rem; }
.adm-side-brand .t { font-family: var(--font-ui); font-weight: 800; font-size: 1.2rem; }
.adm-nav-sep, .adm-side-brand .s, .adm-side-foot .who { color:#cbdaf0; font-size:.8125rem; text-transform:none; letter-spacing:0; }
.adm-nav-item { color:#d7e4f6; }
.adm-panel h3 { font-size:1.125rem; font-weight:700; text-transform:none; letter-spacing:-.015em; }
.adm-panel p { font-size:.9375rem; }
.adm-btn { min-height:40px; font-size:.875rem; letter-spacing:0; text-transform:none; border-radius:6px; }
.adm-muted, .adm-field label { font-size:.875rem; line-height:1.65; }
.adm-field label { text-transform:none; letter-spacing:0; }
.adm-kpi .n { font-family: var(--font-ui); font-weight: 800; font-variant-numeric: tabular-nums; }
.privacy-page { max-width: 760px; margin: auto; padding: 4rem 1.5rem; }
.privacy-page h1 { font-size: 2.5rem; line-height: 1.2; font-weight: 800; margin: 2rem 0; }
.privacy-page h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 .65rem; }
.privacy-page p { margin: .8rem 0; }

@media(max-width:1100px) {
  .hero { gap: 2rem; }
  .nav-links { gap: 1rem; }
  .nav-right { gap: 1rem; }
  .philosophy, .faq-section, .admissions { gap: 3rem; }
  .programme-tools { grid-template-columns: 1fr; }
}
@media(max-width:800px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; }
  .hero-content { max-width: 650px; }
  .hero h1 { font-size: clamp(2.6rem, 7vw, 4.3rem); }
  .hero-image { max-width: none; width: 100%; }
  .programme-preview { padding: 0 1.5rem; }
  .programme-preview > a { padding-block: 1.2rem; }
  .preview-top { padding-block: 1.3rem; }
  .preview-bottom { padding-block: 1rem; }
  .philosophy, .faq-section, .admissions { grid-template-columns: 1fr; padding-block: 3.5rem; gap: 2rem; }
  .subjects { padding-block: 3.5rem; }
  .subjects-header { flex-direction: column; gap: 1rem; }
  .subjects-header h2 { max-width: 22ch; }
  .subjects-header p { max-width: 55ch; }
  .faq-section h2 { max-width: 20ch; }
  .admissions-form { padding: 1.5rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .nav-links.open { display: flex; align-items: stretch; padding: 1rem var(--page-gutter) 1.5rem; gap: .25rem; box-shadow: 0 15px 25px #16233312; }
  .nav-links a { display: block; padding: .9rem .6rem; }
  .nav-links a::after { display: none; }
  .nav-cta { text-align: center; }
  .sp-hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .sp-hero > .sp-art { max-height: none; padding: 1.5rem; }
}
@media(max-width:520px) {
  nav, nav.scrolled { padding-block: .75rem; min-height: 76px; }
  .nav-logo { font-size: 1.0625rem; gap: .45rem; }
  .nav-logo::before { width: 19px; height: 22px; }
  .nav-right { gap: .45rem; }
  .lang-btn { padding-inline: .5rem; }
  .hero h1, body.zh .hero h1 { font-size: clamp(2.35rem, 9.5vw, 3.2rem); }
  .hero-actions { gap: .8rem 1.3rem; }
  .hero-desc { font-size: 1rem; }
  .subjects-grid { grid-template-columns: 1fr; }
  .subject-cell { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .programme-filters { gap: .35rem; }
  .filter { font-size: .8125rem; padding-inline: .7rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { align-items: start; text-align: left; }
  .footer-social { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.enquiry-details { display:grid; grid-template-columns:110px 1fr; gap:.6rem 1rem; margin-top:1rem; font-size:.9375rem; }
.enquiry-details dt { color:var(--ink-light); }
.enquiry-details dd { min-width:0; overflow-wrap:anywhere; }
.enquiry-message { white-space:pre-wrap; }
@media(max-width:520px) { .enquiry-details { grid-template-columns:1fr; gap:.25rem; } .enquiry-details dd { margin-bottom:.7rem; } }
