/* =========================================================
   Move Up Academy — Homepage (2026 redesign)
   Colors, spacing and fonts are set once below in :root.
   ========================================================= */

/* Optional: self-hosted Sora font for English headings and numbers.
   Put the .woff2 files in assets/fonts/ (download from fonts.google.com/specimen/Sora).
   Google Fonts links are NOT used because they are blocked/slow in mainland China. */
@font-face { font-family: "Sora"; src: url("../fonts/Sora-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora"; src: url("../fonts/Sora-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy: #1B2F5E;
  --navy-deep: #13224A;
  --navy-night: #0E1936;
  --gold: #D8B051;
  --gold-text: #8A6A1E;      /* gold that passes contrast on white */
  --gold-soft: #F6EDD3;
  --gold-wash: #FBF6E8;
  --ink: #16203A;
  --body: #4A5568;
  --muted-on-dark: #C9D3E8;
  --line: #E3E7EF;
  --soft: #F4F6FA;
  --ph: #DDE4F0;              /* photo placeholder */
  --radius: 22px;
  --shadow: 0 24px 60px rgba(27, 47, 94, .14);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sora", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-night); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.mu-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.mu-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mu-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.mu-skip:focus { top: 12px; }

/* ---------- Buttons & small parts ---------- */
.mu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s; white-space: nowrap; }
.mu-btn:hover { transform: translateY(-1px); }
.mu-btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.mu-btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.mu-btn--block { width: 100%; }
.mu-btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px rgba(216, 176, 81, .35); }
.mu-btn--gold:hover { background: #E2BD62; color: var(--ink); }
.mu-btn--navy { background: var(--navy); color: #fff; }
.mu-btn--navy:hover { background: var(--navy-night); color: #fff; }
.mu-btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.mu-btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.mu-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.mu-chip { font-size: 12px; font-weight: 700; color: #7A5A12; background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; }
.mu-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--gold-text); text-transform: uppercase; }
.mu-eyebrow--gold { color: var(--gold); font-family: var(--font-display); letter-spacing: .16em; }
.mu-lead { font-size: 17px; color: var(--body); margin-top: 10px; }
.mu-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; }
.mu-link--gold { color: var(--gold); }
.mu-link--gold:hover { color: #F0D184; }

/* ---------- Logo with diagonal shine (runs every 5s) ---------- */
.mu-logo { position: relative; display: block; border-radius: 50%; overflow: hidden; flex: none; width: 56px; height: 56px; }
.mu-logo img { width: 100%; height: 100%; }
.mu-logo--lg { width: 84px; height: 84px; }
.mu-logo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 62%);
  transform: translate(-100%, -100%); animation: mu-shine 5s ease-in-out infinite; }
@keyframes mu-shine { 0% { transform: translate(-100%, -100%); } 28%, 100% { transform: translate(100%, 100%); } }

/* ---------- Header ---------- */
.mu-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mu-header__inner { display: flex; align-items: center; gap: 16px 28px; min-height: 76px; }
.mu-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; text-decoration: none; color: var(--ink); }
.mu-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.mu-brand__name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.mu-brand__tag { font-size: 12px; color: var(--body); }
.mu-nav-wrap { flex: 1; display: flex; align-items: center; gap: 20px; }
.mu-nav { flex: 1; display: flex; justify-content: center; gap: 4px clamp(14px, 1.7vw, 26px); font-size: 15px; font-weight: 500; }
.mu-nav a { text-decoration: none; padding: 10px 2px; position: relative; white-space: nowrap; }
.mu-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.mu-nav a:hover::after, .mu-nav a[aria-current="true"]::after { transform: scaleX(1); }
.mu-header__actions { display: flex; align-items: center; gap: 10px; }
.mu-lang { display: flex; background: var(--soft); border-radius: 999px; padding: 4px; }
.mu-lang button { min-height: 36px; min-width: 50px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); font-size: 13px; font-weight: 700; cursor: pointer; }
.mu-lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.mu-menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Hero ---------- */
.mu-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.mu-hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.mu-hero__photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.mu-hero__fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(27,47,94,.9) 10%, rgba(27,47,94,.35) 26%, rgba(27,47,94,0) 42%); }
.mu-hero__slogan { position: absolute; right: 40px; top: 30px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 24px; color: #E8C46A; text-align: right; line-height: 1.25; text-shadow: 0 2px 14px rgba(9, 18, 44, .75); }
.mu-hero__content { position: relative; padding-top: 92px; padding-bottom: 184px; }
.mu-hero__text { max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.mu-hero h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 900; letter-spacing: .01em; }
.mu-hero__sub { font-size: 19px; color: #D5DDEE; }
.mu-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mu-checks li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mu-checks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%231B2F5E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.mu-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.mu-formula { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; width: fit-content; max-width: 100%; margin-top: 10px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.mu-formula b { color: var(--gold); }
.mu-formula i { font-style: normal; font-weight: 700; color: #8FA0C4; }
.mu-formula strong { color: #fff; }

.mu-float { position: absolute; left: 632px; /* 24px gutter + 560px text column + 48px gap */ width: 220px; z-index: 2; background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 44px rgba(9, 18, 44, .35); font-size: 13px; }
.mu-float--summary { bottom: 236px; display: flex; flex-direction: column; gap: 10px; }
.mu-float--score { bottom: 96px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.mu-float--score div { display: flex; flex-direction: column; line-height: 1.35; }
.mu-float--score span { font-size: 12px; color: var(--body); }
.mu-float__head, .mu-float__row { display: flex; justify-content: space-between; align-items: center; }
.mu-float__row span { color: var(--body); }

/* ---------- Breadcrumbs + fact chips (inner pages) ---------- */
.mu-crumbs { display: flex; gap: 8px; font-size: 13px; color: #B9C4DD; }
.mu-crumbs a { color: #D5DDEE; text-decoration: none; }
.mu-crumbs a:hover { color: #fff; text-decoration: underline; }
.mu-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mu-chips li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; }


/* ---------- Highlights ---------- */
.mu-stats-wrap { position: relative; z-index: 3; margin-top: -88px; }
.mu-stats { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.mu-stats li { display: flex; align-items: center; gap: 16px; padding: 20px 18px; }
.mu-stats__icon { width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--gold-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.mu-stats li > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.mu-count { display: inline-block; min-width: 4.2ch; }
.mu-stats b { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--navy); }
.mu-stats li > span:last-child > span { font-size: 14px; color: var(--body); }

/* ---------- Sections ---------- */
.mu-section { padding: 104px 0; }
.mu-section--soft { background: var(--soft); }
.mu-section--warm { background: var(--gold-wash); }
.mu-section--dark { background: var(--navy-deep); color: #fff; }
.mu-section--dark .mu-lead { color: var(--muted-on-dark); }
#courses { padding-top: 112px; }
.mu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.mu-head > div { max-width: 680px; }
.mu-head h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; margin-top: 10px; }

/* ---------- Courses + Pathway ---------- */
.mu-courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.mu-course { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 14px 22px; min-height: 250px; border-radius: var(--radius); border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; }
.mu-course:hover { border-color: #C9D2E3; transform: translateY(-2px); }
.mu-course.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 22px 44px rgba(27, 47, 94, .28); transform: translateY(-4px); }
.mu-course__img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--ph); margin-bottom: 4px; }
.mu-course__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mu-course:hover .mu-course__img img { transform: scale(1.04); }
.mu-course__tag { font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: #7A5A12; }
.mu-course.is-active .mu-course__tag { background: var(--gold); color: var(--ink); }
.mu-course > span:not(.mu-course__img) { margin-left: 8px; margin-right: 8px; }
.mu-course__title { font-size: 24px; font-weight: 900; line-height: 1.25; }
.mu-course__desc { font-size: 15px; opacity: .85; }
.mu-course__cta { margin-top: auto; font-size: 14px; font-weight: 700; }

.mu-pathway { margin-top: 24px; background: var(--soft); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 28px; }
.mu-pathway__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.mu-pathway__label { font-size: 14px; font-weight: 700; color: var(--gold-text); }
.mu-pathway__title { font-size: 26px; font-weight: 900; }
.mu-pathway__note { font-size: 14px; color: var(--body); max-width: 440px; }
.mu-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; counter-reset: step; }
.mu-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; animation: mu-rise .35s ease both; }
.mu-steps li:not(:last-child)::after { content: "›"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 800; color: #B48A2C; }
.mu-steps__n { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--body); }
.mu-steps__n span { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mu-steps b { font-size: 17px; line-height: 1.3; }
.mu-pathway__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 14px; color: var(--body); }
@keyframes mu-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- AI Learning System ---------- */
.mu-flow { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.mu-flow li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.mu-flow span { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--gold); }
.mu-flow b { font-size: 16px; }
.mu-flow small { font-size: 13px; color: var(--muted-on-dark); line-height: 1.5; }
.mu-tools { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.mu-tools__list { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mu-tools__hint { font-size: 14px; font-weight: 700; color: var(--muted-on-dark); margin-bottom: 4px; }
.mu-tool { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 14px 18px; border-radius: 16px; text-align: left; cursor: pointer; background: rgba(255,255,255,.05); color: #fff; border: 1px solid rgba(255,255,255,.12); transition: background-color .15s; }
.mu-tool:hover { background: rgba(255,255,255,.1); }
.mu-tool > span { display: flex; flex-direction: column; }
.mu-tool b { font-size: 16px; }
.mu-tool small { font-size: 13px; opacity: .78; }
.mu-tool em { flex: none; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--muted-on-dark); }
.mu-tool[data-live="1"] em { background: var(--gold); color: var(--ink); }
.mu-tool.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.mu-tool.is-active[data-live="0"] em { background: var(--line); color: var(--body); }
.mu-tools__panel { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mu-screen { background: #fff; color: var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.mu-screen__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mu-screen__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DBE6; }
.mu-screen__bar span { margin-left: 10px; font-size: 13px; color: var(--body); font-family: var(--font-display); }
.mu-screen__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.mu-screen__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 4px; }
.mu-screen__head b { font-size: 22px; font-weight: 900; }
.mu-screen__rows { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mu-screen__rows div { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 16px 18px; border-radius: 14px; background: var(--soft); align-items: baseline; animation: mu-rise .3s ease both; }
.mu-screen__rows dt { flex: 0 0 120px; font-size: 13px; font-weight: 700; color: var(--body); }
.mu-screen__rows dd { margin: 0; flex: 1 1 240px; min-width: 0; font-size: 16px; font-weight: 600; }
.mu-screen__foot { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); }
.mu-screen__foot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.mu-tools__desc { font-size: 15px; color: var(--muted-on-dark); }

/* ---------- Teachers ---------- */
.mu-teachers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.mu-teacher { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.mu-teacher:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mu-teacher__photo { position: relative; aspect-ratio: 4 / 5; max-height: 260px; width: 100%; background: var(--ph); display: flex; align-items: center; justify-content: center; }
.mu-teacher__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.mu-teacher__initial { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--navy); }
.mu-play { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(27, 47, 94, .25); text-decoration: none; transition: transform .15s; }
.mu-play:hover { transform: scale(1.08); color: var(--ink); }
.mu-play--lg { position: static; width: 76px; height: 76px; background: var(--navy); color: var(--gold); }
.mu-teacher__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mu-teacher h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.mu-teacher__role { font-size: 14px; font-weight: 700; color: var(--gold-text); margin-top: -6px; }
.mu-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mu-tags li { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #EEF2F8; color: var(--navy); }
.mu-teacher__meta { font-size: 13px; color: var(--body); display: flex; flex-direction: column; }
.mu-teacher__btns { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.mu-teacher__btns .mu-btn { flex: 1; padding: 0 8px; font-size: 13px; }

/* ---------- Real classes ---------- */
.mu-real { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.mu-real:has(> .mu-quotes[hidden]) { grid-template-columns: 1fr; }
.mu-real:has(> .mu-quotes[hidden]) .mu-real__video { min-height: 420px; }
.mu-real__video { position: relative; min-height: 360px; border-radius: 24px; background: var(--ph) center / cover no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-decoration: none; color: var(--body); overflow: hidden; }
.mu-real__video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mu-real__video:hover > img { transform: scale(1.03); }
.mu-real__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,25,54,.65), rgba(14,25,54,0) 55%); }
.mu-real__video > .mu-play, .mu-real__ph { position: relative; z-index: 1; }
.mu-real__ph { position: absolute; left: 24px; bottom: 20px; color: #fff; font-weight: 700; font-size: 16px; }

/* ---------- Video players (gallery videos, load only when tapped) ---------- */
.mu-vid { position: relative; overflow: hidden; background: var(--ph); }
.mu-vid > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mu-vid > .mu-play { position: absolute; left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); z-index: 2; border: 0; cursor: pointer; }
.mu-vid > .mu-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.mu-vid.is-playing::after, .mu-vid.is-playing > .mu-play, .mu-vid.is-playing > .mu-real__ph { display: none; }
.mu-vid.is-playing > video { object-fit: contain; background: #000; z-index: 3; }
.mu-quotes { display: flex; flex-direction: column; gap: 20px; }
.mu-quote { margin: 0; flex: 1; background: var(--gold-wash); border-radius: 24px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.mu-quote::before { content: "“"; font-family: Georgia, serif; font-size: 56px; line-height: .6; color: var(--gold); height: 22px; }
.mu-quote blockquote { margin: 0; font-size: 16px; font-weight: 600; }
.mu-quote figcaption { font-size: 13px; color: var(--body); }

/* ---------- Tours ---------- */
.mu-tours { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.mu-tour { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.mu-tour:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mu-tour__img { position: relative; height: 200px; background: var(--ph) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--body); font-size: 13px; font-weight: 600; }
.mu-tour__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mu-tour__img em { position: absolute; left: 16px; top: 16px; z-index: 1; font-style: normal; font-size: 12px; font-weight: 800; background: var(--navy); color: var(--gold); padding: 5px 12px; border-radius: 999px; }
.mu-tour__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mu-tour h3 { font-size: 22px; font-weight: 900; }
.mu-tour__when { font-size: 14px; font-weight: 700; color: var(--gold-text); }
.mu-tour__body > p:not(.mu-tour__when) { font-size: 15px; color: var(--body); }
.mu-tour .mu-link { margin-top: auto; }

/* ---------- Booking ---------- */
.mu-book { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 32px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.mu-book::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(216, 176, 81, .2); }
.mu-book__text { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mu-book__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); margin-bottom: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.mu-book h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 900; }
.mu-book .mu-lead { color: #D5DDEE; }
.mu-book__steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mu-book__steps li { display: flex; align-items: center; gap: 14px; }
.mu-book__steps li > span { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mu-book__steps div { display: flex; flex-direction: column; line-height: 1.35; }
.mu-book__steps b { font-size: 16px; }
.mu-book__steps small { font-size: 14px; color: var(--muted-on-dark); }
.mu-form { position: relative; flex: 1 1 380px; min-width: 0; background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.mu-form__title { font-size: 20px; font-weight: 900; }
.mu-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.mu-form input, .mu-form select { min-height: 48px; border-radius: 12px; border: 1.5px solid #CBD3E1; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: #fff; }
.mu-form input:focus, .mu-form select:focus { border-color: var(--navy); outline: 3px solid rgba(216, 176, 81, .5); outline-offset: 0; }
.mu-form [aria-invalid="true"] { border-color: #B42318; }
.mu-form__teacher { font-size: 14px; font-weight: 700; color: var(--gold-text); background: var(--gold-wash); padding: 10px 14px; border-radius: 10px; }
.mu-form__msg { font-size: 14px; font-weight: 600; min-height: 0; }
.mu-form__msg.is-error { color: #B42318; }
.mu-form__msg.is-ok { color: #1E6B44; }
.mu-form__privacy { font-size: 12px; color: var(--body); text-align: center; }

/* ---------- Footer ---------- */
.mu-footer { background: var(--navy-night); color: var(--muted-on-dark); padding: 72px 0 32px; font-size: 14px; }
.mu-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.mu-footer__grid > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mu-footer h3 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.mu-footer a, .mu-footer__link { color: var(--muted-on-dark); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-size: 14px; }
.mu-footer a:hover, .mu-footer__link:hover { color: #fff; text-decoration: underline; }
.mu-footer__brand b { font-family: var(--font-display); font-size: 18px; color: #fff; margin-top: 6px; }
.mu-footer__brand i { font-family: var(--font-display); color: var(--gold); font-weight: 600; }
.mu-footer__bottom { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.mu-footer__legal { display: flex; gap: 20px; }

/* ---------- Popups ---------- */
.mu-modal { border: 0; border-radius: 24px; padding: 32px; max-width: min(560px, calc(100% - 32px)); color: var(--ink); text-align: center; box-shadow: var(--shadow); }
.mu-modal::backdrop { background: rgba(14, 25, 54, .6); }
.mu-modal h2 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.mu-modal p { color: var(--body); font-size: 14px; }
.mu-modal__close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; font-size: 16px; }
.mu-modal__qrs { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 20px; }
.mu-modal__qrs > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mu-modal__qrs img { width: 180px; height: 180px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); }
.mu-copy { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; cursor: pointer; }

.mu-sticky-cta { display: none; }
img.is-broken { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) { .mu-float { display: none; } }

@media (max-width: 1240px) { /* menu button below 1240px so English nav never overflows */
  .mu-menu-btn { display: inline-flex; }
  .mu-header__inner { flex-wrap: wrap; }
  .mu-nav-wrap { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 8px 0 20px; }
  .mu-nav-wrap.is-open { display: flex; }
  .mu-nav { flex-direction: column; gap: 0; font-size: 17px; }
  .mu-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mu-nav a::after { display: none; }
  .mu-header__actions { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .mu-hero__photo { position: relative; width: 100%; height: 320px; }
  .mu-hero__fade { background: linear-gradient(0deg, var(--navy) 0%, rgba(27,47,94,0) 45%); }
  .mu-hero__slogan { font-size: 17px; right: 16px; top: 16px; }
  .mu-hero__content { padding-top: 8px; padding-bottom: 130px; }
  .mu-real { grid-template-columns: 1fr; }
  .mu-real__video { min-height: 240px; }
  .mu-book { padding: 36px 22px; }
  .mu-form { padding: 24px; }
  .mu-section { padding: 72px 0; }
  .mu-steps li:not(:last-child)::after { display: none; }
}

@media (max-width: 640px) {
  .mu-brand__tag { display: none; }
  /* highlights: 2 x 2 grid */
  .mu-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; gap: 4px; }
  .mu-stats li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 12px; }
  .mu-stats__icon { width: 44px; height: 44px; border-radius: 14px; }
  .mu-stats b { font-size: 18px; }
  .mu-stats li > span:last-child > span { font-size: 13px; }
  /* AI tools: swipeable chips above the sample screen */
  .mu-tools { gap: 18px; }
  .mu-tools__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: none; }
  .mu-tools__list::-webkit-scrollbar { display: none; }
  .mu-tools__hint { display: none; }
  .mu-tool { flex: 0 0 auto; min-width: 168px; scroll-snap-align: start; flex-direction: column; align-items: flex-start; gap: 8px; }
  .mu-screen__body { padding: 20px; }
  .mu-screen__rows dt { flex-basis: 100%; }
  .mu-hero__ctas .mu-btn { flex: 1 1 100%; }
  .mu-pathway { padding: 22px; }
  .mu-sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; min-height: 54px; transition: transform .25s, opacity .25s; }
  .mu-sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
  .mu-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mu-logo::after { display: none; }
}

/* ---------- Teacher rating row (homepage featured + Our Teachers) ---------- */
.t-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--body); }
.t-rating__star { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.t-rating__star svg { color: var(--gold); }
.mu-teacher__photo img { z-index: 0; }
.mu-teacher__photo .mu-play { z-index: 1; }
