:root {
  --ink: #1f2933;
  --muted: #637381;
  --paper: #fffdf9;
  --soft: #f4f8f7;
  --line: #dce8e5;
  --teal: #3f9295;
  --teal-dark: #246f73;
  --pink: #d93870;
  --yellow: #f3c34d;
  --blue: #1585b0;
  --shadow: 0 18px 50px rgba(33, 77, 78, .12);
  --radius: 22px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.75; -webkit-user-select: none; user-select: none; }
img { display: block; max-width: 100%; -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
.site-frame { min-height: 100vh; background: var(--paper); overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 999; padding: 10px 16px; background: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.utility-bar { background: #153d43; color: #dff2f1; font-size: 13px; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-links { display: flex; gap: 18px; }
.utility-links a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,253,249,.94); border-bottom: 1px solid rgba(36,111,115,.12); backdrop-filter: blur(14px); }
.site-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand img { width: 43px; height: 54px; object-fit: contain; }
.brand strong { display: block; font-size: 20px; letter-spacing: .12em; }
.brand small { display: block; color: var(--teal-dark); font-size: 9px; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 11px 12px; color: #45535d; border-radius: 999px; font-size: 14px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: var(--teal); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px; }
.menu-button span { display: block; width: 25px; height: 2px; background: currentColor; margin: 5px; }
.menu-button b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.hero { position: relative; padding: clamp(62px, 8vw, 112px) 0 0; background: linear-gradient(140deg, #e9f8f6 0%, #fff8eb 58%, #fff 100%); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .65; }
.hero::before { width: 360px; height: 360px; background: #bfe9e5; top: -180px; right: -80px; }
.hero::after { width: 190px; height: 190px; background: #ffe1a0; bottom: -100px; left: 9%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr); align-items: end; gap: 0; }
.hero-copy { max-width: 740px; padding-bottom: clamp(62px, 8vw, 112px); }
.hero-copy .eyebrow, .eyebrow { color: var(--pink); font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: none; margin: 12px 0 20px; font-size: clamp(42px, 6vw, 76px); line-height: 1.13; letter-spacing: -.035em; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-title-nowrap { white-space: nowrap; }
.hero-copy > p { max-width: 630px; color: #4f6069; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-teacher { position: relative; align-self: end; justify-self: start; width: min(100%, 500px); isolation: isolate; }
.hero-teacher::before { content: ""; position: absolute; z-index: -1; right: -5%; bottom: -8%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: #d9efec; }
.hero-teacher img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(32,73,74,.14)); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--teal); border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36,111,115,.22); }
.button.secondary { color: var(--teal-dark); background: #fff; }
.page-hero { padding: 72px 0 58px; background: linear-gradient(135deg, #eaf8f6, #fff9ee); text-align: center; }
.page-hero h1 { margin: 10px 0 12px; font-size: clamp(36px, 5vw, 58px); line-height: 1.2; }
.page-hero p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section.soft { background: var(--soft); }
.section.dark { color: #fff; background: #163f45; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-head.center { display: block; text-align: center; }
.section-head h2, .section-title { margin: 8px 0 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.25; }
.section-head p { max-width: 600px; margin: 0; color: var(--muted); }
.section-head.center p { margin: 16px auto 0; }
.kicker { color: var(--teal-dark); font-size: 15px; font-weight: 800; letter-spacing: .12em; }
body[data-page="home"] .hero-copy .eyebrow,
body[data-page="home"] .kicker { font-size: clamp(17px, 2vw, 20px); }
body:not([data-page="home"]) .page-hero { padding: 64px 0 50px; }
body:not([data-page="home"]) .page-hero .eyebrow,
body:not([data-page="home"]) .kicker { font-size: 18px; letter-spacing: .11em; }
body:not([data-page="home"]) .page-hero h1 { font-size: clamp(36px, 4.5vw, 52px); }
body:not([data-page="home"]) .section { padding: clamp(58px, 6vw, 84px) 0; }
body:not([data-page="home"]) .section-head { margin-bottom: 32px; }
body:not([data-page="home"]) .section-head h2,
body:not([data-page="home"]) .section-title { font-size: clamp(30px, 3.5vw, 40px); }
.title-line { display: block; }
.mobile-break { display: none; }
.lead { color: #45535d; font-size: 18px; }
.highlight { color: var(--pink); font-weight: 800; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 34px rgba(32,73,74,.07); overflow: hidden; }
.book, .video-card, .contact-card, .certificate, .course-intro > .grid-3 .icon-card { transition: transform .24s ease, box-shadow .24s ease; }
.card-body { padding: 26px; }
.card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.35; }
.card p:last-child { margin-bottom: 0; }
.icon-card { padding: 30px; }
.icon-card .icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 17px; background: #ddf2ef; color: var(--teal-dark); font-size: 25px; }
.feature-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-card a { text-decoration: none; color: inherit; }
.feature-card .text-link { color: var(--teal-dark); }
.feature-card .pill { margin-bottom: 8px; }
.book .pill, .video-card .pill, .contact-card .pill, .icon-card .pill { margin-bottom: 10px; }
.text-link { font-weight: 700; text-decoration: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #e8f4f2; color: var(--teal-dark); font-size: 12px; font-weight: 800; }
.pill.live { color: #9b1c4d; background: #ffe8f0; }

.wish-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 18px;
  padding: 12px 20px;
  background: #edf8f6;
  border: 1px solid rgba(63,146,149,.24);
  border-left: 4px solid var(--teal);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(32,73,74,.07);
  counter-reset: wish;
}
.wish {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 58px;
  padding: 13px 34px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: clamp(17px, 1.7vw, 19px);
  font-weight: 650;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  counter-increment: wish;
  transition: color .2s ease, background .2s ease;
}
.wish:focus-visible { outline: 3px solid rgba(63,146,149,.38); outline-offset: -3px; }
.wish:nth-child(odd) { border-right: 1px solid rgba(63,146,149,.18); }
.wish:nth-child(-n+6) { border-bottom: 1px solid rgba(63,146,149,.18); }
.wish::before {
  content: counter(wish, decimal-leading-zero);
  position: static;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .04em;
}
.wish-text { grid-column: 2; grid-row: 1; }
.wish-answer {
  position: absolute;
  z-index: 30;
  top: calc(100% - 2px);
  left: 34px;
  right: 24px;
  padding: 16px 18px;
  color: #33444d;
  background: #fff;
  border: 1px solid rgba(63,146,149,.3);
  border-left: 4px solid var(--teal);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(32,73,74,.16);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.wish-answer::before { content: ""; position: absolute; left: 24px; top: -6px; width: 10px; height: 10px; background: #fff; border-left: 1px solid rgba(63,146,149,.3); border-top: 1px solid rgba(63,146,149,.3); transform: rotate(45deg); }
.wish.is-open { z-index: 20; color: var(--teal-dark); background: rgba(255,255,255,.66); }
.wish.is-open .wish-answer { opacity: 1; visibility: visible; transform: none; }
.quote-band { padding: 35px; color: #fff; background: var(--teal); border-radius: var(--radius); text-align: center; font-size: clamp(22px, 3vw, 34px); font-weight: 800; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(34px, 7vw, 84px); }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.split.reverse > :first-child { order: 2; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.bullet-list { margin: 24px 0; padding: 0; list-style: none; }
.bullet-list li { position: relative; padding: 8px 0 8px 30px; }
.bullet-list li::before { content: "◆"; position: absolute; left: 0; color: var(--pink); }

.timeline { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; counter-reset: career; }
.timeline-item { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 142px; padding: 22px 24px 22px 78px; background: #edf8f6; border: 1px solid rgba(63,146,149,.24); border-left: 4px solid var(--teal); border-radius: 16px; box-shadow: 0 8px 22px rgba(32,73,74,.055); counter-increment: career; }
.timeline-item:last-child { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
.timeline-item::before { content: counter(career, decimal-leading-zero); position: absolute; left: 18px; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 14px; font-weight: 850; transform: translateY(-50%); }
.timeline-item h3 { margin: 0 0 7px; font-size: 22px; line-height: 1.4; }
.timeline-item p { margin: 0; font-size: 17px; }
.certificate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.certificate { margin: 0; padding: 12px; background: #f1faf8; border: 1px solid rgba(63,146,149,.24); border-top: 4px solid var(--teal); border-radius: 18px; box-shadow: 0 10px 30px rgba(32,73,74,.08); cursor: zoom-in; }
.certificate:nth-child(3n+2) { background: #f3f8f2; border-color: rgba(91,147,103,.24); border-top-color: #5b9367; }
.certificate:nth-child(3n+3) { background: #f1f7f8; border-color: rgba(82,137,146,.24); border-top-color: #528992; }
.certificate img { width: 100%; height: 310px; object-fit: contain; }
.certificate figcaption { padding: 12px 8px 6px; text-align: center; font-weight: 700; }

.level-chart { width: 100%; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.textbook-goals { grid-template-columns: 1fr .9fr; gap: clamp(42px, 5vw, 70px); }
.goal-books { overflow: visible; }
.goal-books img { width: 108%; max-width: none; margin-left: -4%; border-radius: 0; box-shadow: none; filter: drop-shadow(0 20px 24px rgba(32,73,74,.15)); clip-path: inset(2.5% 0 0 0); }
.title-line { display: block; }
.goal-benefits { display: grid; grid-template-columns: 1fr; gap: 3px; margin-top: 22px; }
.goal-benefits li { min-height: 0; padding: 8px 0 8px 28px; background: transparent; border: 0; border-radius: 0; font-size: 18px; font-weight: 750; line-height: 1.55; }
.goal-benefits li::before { content: "◆"; left: 0; top: 11px; display: block; width: auto; height: auto; color: var(--teal); background: transparent; border-radius: 0; font-size: 13px; transform: none; }
body[data-page="textbooks"] .standard-head { margin-bottom: 16px; }
body[data-page="textbooks"] .level-chart { display: block; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.books-head { display: block; }
.books-head p { max-width: 880px; margin: 12px 0 0; }
.book-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.book { display: flex; flex-direction: column; }
.book:nth-child(-n+6) { grid-column: span 3; }
.book:nth-child(n+7) { grid-column: span 2; }
.book-cover { display: grid; place-items: center; min-height: 295px; padding: 28px; background: #f3f8f7; }
.book-cover img { height: 230px; width: auto; filter: drop-shadow(0 14px 16px rgba(0,0,0,.14)); }
.book .card-body { display: flex; flex-direction: column; flex: 1; }
.level-badges { display: flex; gap: 8px; margin-bottom: 10px; }
.level-badge { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 13px; font-weight: 850; letter-spacing: .02em; }
.book h3 { margin-top: 0; }
.book-links { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.book-links a { flex: 1; padding: 9px 10px; border: 1px solid var(--teal); border-radius: 12px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 800; }
.book-links a:last-child { color: #fff; background: var(--teal); }

/* Textbook page: introduction, official resources and Can-do browser */
.textbook-intro-head { display: block; max-width: 1040px; margin-bottom: 28px; }
.textbook-intro-head p { max-width: 1040px; margin: 14px 0 0; }
body[data-page="textbooks"] .textbook-intro-head .kicker,
body[data-page="textbooks"] .series-copy .kicker,
body[data-page="textbooks"] .goal-copy .kicker,
body[data-page="textbooks"] .books-head .kicker { font-size: 21px; letter-spacing: .07em; }
.nowrap { white-space: nowrap; }
.textbook-reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.textbook-reason { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 76px; padding: 14px 14px 14px 18px; color: #fff; background: var(--teal); border: 0; border-radius: 14px; box-shadow: 0 9px 24px rgba(32,73,74,.1); font: inherit; font-size: 16px; font-weight: 800; text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.textbook-reason:nth-child(2) { background: #2f7f84; }
.textbook-reason:nth-child(3) { background: #266e73; }
.textbook-reason b { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 25px; line-height: 1; }
.textbook-reason:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(32,73,74,.17); background: var(--teal-dark); }
.textbook-series { grid-template-columns: .9fr 1.1fr; }
.textbook-series .goal-books { order: initial; }
.series-copy { max-width: 620px; }
.textbook-series .section-title { font-size: clamp(22px, 2.8vw, 38px); letter-spacing: -.04em; white-space: nowrap; }
.series-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.series-points span { padding: 8px 13px; color: var(--teal-dark); background: #fff; border: 1px solid rgba(63,146,149,.25); border-radius: 999px; font-size: 14px; font-weight: 800; }
body[data-page="textbooks"] .textbook-goals { grid-template-columns: minmax(360px,.8fr) minmax(560px,1.2fr); gap: clamp(34px,4vw,58px); }
body[data-page="textbooks"] .textbook-goals > .level-chart { order: 2; }
body[data-page="textbooks"] .textbook-goals > .goal-copy { order: 1; }
body[data-page="textbooks"] .textbook-goals .level-chart { width: 112%; max-width: none; margin-left: -6%; align-self: center; }
body[data-page="textbooks"] .textbook-goals .level-chart-mobile { display: none; }
.book-cando-button { display: block; width: min(100%, 280px); margin: auto auto 0; padding: 10px 15px; color: var(--teal-dark); background: #eaf7f5; border: 1px solid rgba(63,146,149,.3); border-radius: 999px; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.book-cando-button:hover { color: #fff; background: var(--teal); transform: translateY(-1px); }
.book .card-body > p { margin-bottom: 22px; }
.book-links { margin-top: 0; padding-top: 12px; }
.dialog-open { overflow: hidden; }
.textbook-dialog { width: min(760px, calc(100% - 32px)); max-height: min(82vh, 820px); padding: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; color: var(--ink); background: #fff; border: 0; border-radius: 22px; box-shadow: 0 28px 80px rgba(13,48,53,.32); }
.textbook-dialog::backdrop { background: rgba(29,67,69,.55); backdrop-filter: blur(3px); }
.dialog-content { padding: clamp(30px, 5vw, 52px); }
.dialog-content h2 { margin: 9px 42px 22px 0; font-size: clamp(25px, 3.5vw, 38px); }
.dialog-content p { font-size: 17px; line-height: 1.85; }
.dialog-content strong { color: var(--teal-dark); }
.dialog-close { position: sticky; z-index: 4; top: 14px; float: right; display: grid; place-items: center; width: 42px; height: 42px; margin: 14px 14px -56px 0; color: var(--teal-dark); background: #eaf7f5; border: 0; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.cando-dialog { width: min(900px, calc(100% - 40px)); }
.cando-dialog-intro { margin-top: -10px; color: var(--muted); }
.textbook-cando-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 18px; margin: 26px 0; padding: 0; list-style: none; }
.textbook-cando-list li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 10px; align-items: start; padding: 10px 11px; border-left: 4px solid var(--cando-color); background: color-mix(in srgb, var(--cando-color) 7%, white); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.6; }
.textbook-cando-list b { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--cando-color); border-radius: 50%; font-size: 11px; }
.cando-legend { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 16px; color: var(--muted); background: #f5f8f7; border-radius: 12px; font-size: 14px !important; line-height: 1.65 !important; }
.cando-legend i { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 5px; background: var(--teal); border-radius: 50%; box-shadow: 17px 0 #ff6633, 34px 0 #669966; margin-right: 34px; }

.notice { padding: 24px 28px; border-left: 5px solid var(--yellow); border-radius: 0 16px 16px 0; background: #fff9e7; }
.course-intro { padding: clamp(32px, 5vw, 54px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.course-intro h2 { margin-top: 0; }
.course-intro > .grid-3 .icon-card { border-top: 4px solid var(--teal); background: #f4faf9; }
.course-intro > .grid-3 .icon-card:nth-child(2) { border-top-color: var(--yellow); background: #fff9eb; }
.course-intro > .grid-3 .icon-card:nth-child(3) { border-top-color: var(--pink); background: #fff3f7; }
.course-status { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px; border-radius: 18px; background: #eaf7f5; }
.admissions-head { display: block; }
.admissions-head .kicker { font-size: 24px; }
.admissions-head p { max-width: 760px; margin: 13px 0 0; }
.other-course-head .live { margin-top: 22px; }
body[data-page="admissions"] .course-intro { padding-top: clamp(26px, 3vw, 36px); }
.admissions-intro-layout { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: start; gap: clamp(28px, 4vw, 58px); }
.admissions-books { overflow: hidden; }
.admissions-books img { width: 112%; max-width: none; margin-left: -6%; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 20px rgba(32,73,74,.14)); clip-path: inset(2.5% 0 0 0); }
.course-levels { grid-auto-rows: 1fr; margin-top: 26px; }
.course-levels .icon-card { display: flex; flex-direction: column; justify-content: center; min-height: 168px; padding: 21px 23px; }
.course-level-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.course-level-heading .pill { flex: 0 0 auto; margin: 0; }
.course-level-heading h3 { margin: 0; font-size: 20px; }
.course-levels p { margin: 0; }
.mobile-course-carousel { display: none; }
.online-status { justify-content: flex-start; }
.online-status > div { width: 100%; }
.online-status p { margin: 5px 0 16px; }
.online-status .button { white-space: nowrap; }
.media-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.media-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }

.faq-list { display: grid; gap: 12px; }
body[data-page="faq"] .page-hero { padding-bottom: 34px; }
body[data-page="faq"] .page-hero + .section { padding-top: 34px; }
.faq-list details { background: #fff; border: 1px solid rgba(63,146,149,.36); border-left: 4px solid var(--teal); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px rgba(32,73,74,.045); transition: border-color .22s ease, box-shadow .22s ease; }
.faq-list summary { position: relative; padding: 21px 56px 21px 24px; color: var(--teal-dark); background: #edf8f6; cursor: pointer; font-weight: 800; list-style: none; transition: color .22s ease, background .22s ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 15px; color: var(--teal); font-size: 28px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] { border-color: var(--teal); box-shadow: 0 12px 28px rgba(32,73,74,.11); }
.faq-list details[open] summary { color: #fff; background: var(--teal); }
.faq-list details[open] summary::after { color: #fff; }
.faq-answer { padding: 0 24px 24px; color: #45535d; }
.faq-answer table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.faq-answer th, .faq-answer td { padding: 10px; border: 1px solid var(--line); text-align: left; }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.video-card a { display: block; color: inherit; text-decoration: none; }
.video-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s ease; }
.video-card:hover img { transform: scale(1.025); }
.video-card .card-body { padding: 20px; }
.video-card h3 { font-size: 18px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.contact-card { padding: 28px; border-top: 4px solid var(--teal); text-align: center; }
.contact-card:nth-child(2) { border-top-color: var(--pink); }
.contact-card:nth-child(3) { border-top-color: var(--yellow); }
.contact-card .pill { min-height: 40px; margin-bottom: 15px; padding: 8px 17px; font-size: 16px; }
.contact-card:nth-child(2) .pill { color: #aa2453; background: #fde6ee; }
.contact-card:nth-child(2) .button { border-color: var(--pink); background: var(--pink); }
.contact-card:nth-child(2) .button:hover { box-shadow: 0 10px 24px rgba(217,56,112,.24); }
.contact-card:nth-child(3) .pill { color: #85620b; background: #fff3cc; }
.contact-card img { width: min(100%, 250px); aspect-ratio: 1; margin: 20px auto; object-fit: contain; border-radius: 16px; }
.contact-card h2 { margin: 0; font-size: 23px; }
.contact-card strong { overflow-wrap: anywhere; }
.contact-note { max-width: 780px; margin: 36px auto 0; color: var(--muted); text-align: center; }

.carousel { position: relative; overflow: hidden; border-radius: var(--radius); background: #dcebea; box-shadow: var(--shadow); }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.carousel-slide { position: relative; min-width: 100%; }
.carousel-slide img { width: 100%; height: 470px; object-fit: cover; }
.carousel-slide p { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 42px 20px 16px; color: #fff; background: linear-gradient(to bottom, transparent, rgba(13,48,53,.82)); text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.35); font-weight: 700; }
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; font-size: 24px; }
.carousel-control.prev { left: 14px; }
.carousel-control.next { right: 14px; }

.teacher-intro { align-items: stretch; }
.teacher-authority { align-self: start; }
.teacher-intro .carousel { height: var(--teacher-carousel-height, 440px); min-height: 0; }
.teacher-intro .carousel-track,
.teacher-intro .carousel-slide { height: 100%; }
.teacher-intro .carousel-slide img { height: 100%; object-position: center 30%; }

.authority-list { display: grid; gap: 10px; margin: 22px 0 0; }
.authority-list li { display: flex; align-items: center; min-height: 54px; padding: 11px 14px 11px 44px; background: #edf8f6; border-left: 4px solid var(--teal); border-radius: 12px; font-size: 16px; font-weight: 700; line-height: 1.55; }
.authority-list li::before { content: "✓"; left: 12px; top: 50%; display: grid; place-items: center; width: 20px; height: 20px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 11px; transform: translateY(-50%); }

@media (min-width: 901px) {
  .authority-list li { min-height: 60px; padding: 13px 16px 13px 48px; font-size: 19px; }
  .authority-list li::before { left: 14px; width: 22px; height: 22px; font-size: 12px; }
}

.course-page .course-banner { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.course-flow { display: grid; gap: clamp(22px, 3vw, 36px); }
.course-page .course-intro > h2 { margin: 12px 0 4px; }
.course-overview { min-width: 0; padding: clamp(24px,3vw,34px); text-align: center; }
.course-overview .pill { min-height: 50px; padding: 9px 20px; font-size: 20px; }
.course-overview > h2 { font-size: clamp(30px,3.5vw,40px); }
.course-class-format { margin: 0; color: var(--teal-dark); font-size: 20px; font-weight: 750; }
.course-copy-block { max-width: 880px; margin: 22px auto 0; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.course-copy-block .kicker { font-size: 20px; }
.course-content-section { min-width: 0; padding: clamp(24px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 34px rgba(32,73,74,.055); }
.course-content-section > .section-head { margin-bottom: 22px; }
.course-content-section > .section-head .kicker { font-size: 20px; }
.course-level-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(28px, 5vw, 58px); }
.course-level-layout .level-chart { padding: 0; border: 0; border-radius: 12px; box-shadow: none; cursor: zoom-in; }
.course-goal-copy strong { color: var(--pink); }
.course-disclosure { min-width: 0; max-width: 100%; margin-top: 24px; border: 1px solid rgba(63,146,149,.34); border-radius: 16px; background: #f7fbfa; overflow: hidden; }
.course-disclosure summary { position: relative; display: flex; align-items: center; min-height: 74px; padding: 14px 62px 14px 22px; color: var(--teal-dark); background: #e8f5f3; cursor: pointer; list-style: none; }
.course-disclosure summary::-webkit-details-marker { display: none; }
.course-disclosure summary::after { content: "+"; position: absolute; right: 22px; top: 50%; font-size: 28px; font-weight: 500; transform: translateY(-50%); }
.course-disclosure[open] summary { color: #fff; background: var(--teal); }
.course-disclosure[open] summary::after { content: "−"; }
.course-disclosure summary span { display: grid; gap: 1px; }
.course-disclosure summary strong { font-size: 18px; }
.course-disclosure summary small { color: var(--muted); font-size: 13px; }
.course-disclosure[open] summary small { color: rgba(255,255,255,.82); }
.disclosure-body { min-width: 0; max-width: 100%; padding: 20px; background: #fff; }
.cando-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 22px; margin: 0; padding: 0; list-style: none; counter-reset: cando; }
.cando-list li { position: relative; min-height: 46px; padding: 10px 12px 10px 48px; color: var(--cando-color); border-bottom: 1px solid #e5efed; font-weight: 650; counter-increment: cando; }
.cando-list li::before { content: counter(cando, decimal-leading-zero); position: absolute; left: 6px; top: 9px; display: grid; place-items: center; width: 29px; height: 29px; color: #fff; background: var(--cando-color); border-radius: 50%; font-size: 10px; font-weight: 800; }
.cando-legend { margin: 20px 6px 0; color: var(--muted); font-size: 14px; }
.cando-legend span { color: var(--pink); }
.course-inline-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; padding: 18px 20px; background: #f2f8f7; border-radius: 14px; }
.course-inline-link p { margin: 0; }
.course-books { display: flex; justify-content: center; align-items: flex-end; gap: clamp(24px, 5vw, 70px); padding: 22px; background: #f4f8f7; border-radius: 18px; }
.course-book { flex: 1 1 0; min-width: 0; margin: 0; text-align: center; }
.course-book img { width: auto; height: 300px; margin: auto; filter: drop-shadow(0 15px 18px rgba(0,0,0,.14)); }
.course-book figcaption { margin-top: 12px; color: var(--teal-dark); font-weight: 800; }
.course-book-links { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.course-book-links a { padding: 7px 12px; color: var(--teal-dark); border: 1px solid var(--teal); border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none; }
.course-book-links a:last-child { color: #fff; background: var(--teal); }
.schedule-pages { min-width: 0; max-width: 100%; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
.schedule-page { position: relative; flex: 0 0 100%; height: min(58vh, 560px); margin: 0; padding: 42px 12px 12px; background: #f6f9f8; border: 1px solid var(--line); border-radius: 12px; scroll-snap-align: start; overflow: hidden; }
.schedule-page figcaption { position: absolute; left: 14px; top: 10px; color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.schedule-page .course-schedule { width: 100%; height: 100%; margin: 0; object-fit: contain; border: 0; border-radius: 0; cursor: zoom-in; }
.schedule-hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.course-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0; }
.course-facts > div { padding: 20px; background: #f2f8f7; border-left: 4px solid var(--teal); border-radius: 12px; }
.course-facts dt { color: var(--teal-dark); font-weight: 850; }
.course-facts dd { margin: 4px 0 0; }
.course-contact-button { margin-top: 24px; }
.course-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 34px; align-items: start; }
.course-sidebar { position: sticky; top: 118px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.course-sidebar dl { margin: 0; }
.course-sidebar dt { margin-top: 14px; color: var(--teal-dark); font-weight: 800; }
.course-sidebar dd { margin: 2px 0 0; }
.course-schedule { display: block; width: 100%; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; }
.draft-message { padding: 80px 24px; text-align: center; }

[data-reveal] { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
[data-reveal="zoom"] { transform: scale(.82); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (hover: hover) {
  .wish[data-reveal].is-visible:hover { z-index: 20; color: var(--teal-dark); background: rgba(255,255,255,.66); transition-delay: 0s; }
  .wish:hover .wish-answer,
  .wish:focus-visible .wish-answer { opacity: 1; visibility: visible; transform: none; }
  .book:hover,
  .video-card:hover,
  .contact-card:hover,
  .certificate:hover,
  .course-intro > .grid-3 .icon-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(32,73,74,.11); }
  .faq-list details:hover { border-color: rgba(63,146,149,.52); }
}
.stagger > *:nth-child(2) { transition-delay: .08s; }
.stagger > *:nth-child(3) { transition-delay: .16s; }
.stagger > *:nth-child(4) { transition-delay: .24s; }
.stagger > *:nth-child(5) { transition-delay: .32s; }
.stagger > *:nth-child(6) { transition-delay: .40s; }

.lightbox { width: min(94vw, 1000px); max-height: 92vh; padding: 16px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox::backdrop { background: rgba(5,20,23,.82); backdrop-filter: blur(5px); }
.lightbox img { max-height: 78vh; margin: auto; object-fit: contain; }
.lightbox button { position: absolute; right: 15px; top: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.18); font-size: 28px; cursor: pointer; }
.lightbox p { margin: 10px 0 0; text-align: center; font-weight: 700; }

.footer-main { padding: 56px 0; color: #dceeed; background: #163f45; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.footer-grid p { margin: 0 0 10px; line-height: 1.55; }
.footer-grid a { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 50px; height: 62px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand strong { color: #fff; font-size: 24px; letter-spacing: .12em; }
.footer-brand p { color: #b9d7d5; }
.view-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.view-switch button { padding: 6px 11px; border: 1px solid #6b9999; border-radius: 999px; color: #dceeed; background: transparent; cursor: pointer; }
.view-switch button.is-active { color: #163f45; background: #fff; }
.footer-bottom { padding: 16px 0; color: #9ebdbc; background: #0d3035; font-size: 13px; text-align: center; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 900px) {
  .utility-inner > span { display: none; }
  .utility-inner { justify-content: flex-end; }
  .site-header-inner { min-height: 70px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 11px 15px; }
  .hero-grid, .split, .split.reverse, .course-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 740px; padding-bottom: 0; }
  .hero-teacher { justify-self: end; width: min(82vw, 360px); }
  .teacher-intro .carousel { height: auto; min-height: 0; }
  .teacher-intro .carousel-track,
  .teacher-intro .carousel-slide { height: auto; }
  .teacher-intro .carousel-slide img { height: 390px; object-fit: contain; }
  .split.reverse > :first-child { order: initial; }
  .hero h1 { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .book-grid, .video-grid, .certificate-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .book { grid-column: auto !important; }
  .textbook-series { grid-template-columns: 1fr; }
  body[data-page="textbooks"] .textbook-goals { grid-template-columns: 1fr; }
  body[data-page="textbooks"] .textbook-goals > .level-chart,
  body[data-page="textbooks"] .textbook-goals > .goal-copy { order: initial; }
  body[data-page="textbooks"] .level-chart-desktop { display: none; }
  body[data-page="textbooks"] .textbook-goals .level-chart-mobile { display: block; width: 100%; margin: 18px 0 24px; }
  body[data-page="textbooks"] .textbook-goals { gap: 28px; }
  .goal-books img { width: 110%; margin-left: -5%; }
  .goal-benefits { grid-template-columns: 1fr; gap: 9px; }
  .goal-benefits li { display: flex; align-items: center; min-height: 62px; padding: 12px 13px 12px 47px; background: #edf8f6; border: 1px solid rgba(63,146,149,.18); border-left: 4px solid var(--teal); border-radius: 12px; font-size: 16px; font-weight: 750; line-height: 1.55; }
  .goal-benefits li::before { content: "✓"; left: 13px; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 12px; transform: translateY(-50%); }
  .course-sidebar { position: static; }
  .admissions-intro-layout { grid-template-columns: 1fr; }
  .course-level-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .utility-bar { display: none; }
  .brand strong { font-size: 18px; }
  .hero { padding: 54px 0 0; }
  .hero h1 { font-size: clamp(38px, 9.6vw, 40px); line-height: 1.18; }
  body[data-page="home"] .hero-copy > p { font-size: 16.5px; }
  .hero-copy .eyebrow, .eyebrow, .kicker { font-size: 14px; letter-spacing: .1em; }
  .hero-grid { gap: 24px; }
  .hero-teacher { width: min(82vw, 310px); }
  .page-hero { padding: 52px 0 42px; }
  .section { padding: 50px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .grid-2, .grid-3, .grid-4, .wish-grid, .book-grid, .video-grid, .certificate-grid, .contact-grid, .media-strip, .footer-grid { grid-template-columns: 1fr; }
  .wish-grid { padding: 10px 14px; }
  .wish { grid-template-columns: 28px minmax(0, 1fr) 20px; column-gap: 10px; min-height: 0; padding: 12px 8px; border-right: 0; border-bottom: 1px solid rgba(63,146,149,.18); font-size: inherit; }
  .wish:nth-child(odd) { border-right: 0; }
  .wish:last-child { border-bottom: 0; }
  .wish::before { width: 28px; height: 28px; font-size: 10px; }
  .wish::after { content: "+"; grid-column: 3; grid-row: 1; color: var(--teal-dark); font-size: 20px; font-weight: 500; line-height: 1; text-align: center; }
  .wish.is-open::after { content: "−"; }
  .wish-answer { position: static; grid-column: 2 / 4; grid-row: 2; max-height: 0; padding: 0; overflow: hidden; background: transparent; border: 0; border-radius: 0; box-shadow: none; font-size: 14px; line-height: 1.7; opacity: 0; visibility: hidden; transform: none; transition: max-height .28s ease, opacity .2s ease, visibility .2s ease; }
  .wish-answer::before { display: none; }
  .wish.is-open .wish-answer { max-height: 320px; margin-top: 7px; padding: 2px 0 4px; opacity: 1; visibility: visible; pointer-events: auto; }
  .certificate img { height: auto; }
  .certificate-grid { gap: 12px; }
  .certificate { padding: 10px; }
  .certificate[data-reveal="zoom"] { transform: translateY(20px) scale(.72); transform-origin: center bottom; transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1.18); }
  .certificate[data-reveal="zoom"].is-visible { transform: none; }
  .book-cover { min-height: 265px; }
  .textbook-reason { min-height: 58px; padding: 12px 14px 12px 17px; font-size: 15px; }
  .textbook-reason b { width: 32px; height: 32px; font-size: 21px; }
  .textbook-series .goal-books { margin-top: 4px; }
  .series-points { gap: 7px; margin-top: 20px; }
  .series-points span { padding: 7px 10px; font-size: 12px; }
  .dialog-content { padding: 28px 20px 24px; }
  .dialog-content h2 { margin-right: 38px; }
  .dialog-content p { font-size: 15px; line-height: 1.78; }
  .textbook-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  #reason-dialog .dialog-content { padding: 24px 17px 20px; }
  #reason-dialog .dialog-content h2 { margin: 7px 38px 16px 0; font-size: 23px; line-height: 1.35; }
  #reason-dialog .dialog-content p { margin: 0 0 14px; font-size: 15px; line-height: 1.75; }
  #reason-dialog .dialog-close { top: 9px; width: 38px; height: 38px; margin: 9px 9px -47px 0; font-size: 26px; }
  .textbook-cando-list { grid-template-columns: 1fr; gap: 6px; margin-top: 20px; }
  .textbook-cando-list li { grid-template-columns: 34px minmax(0,1fr); padding: 9px; font-size: 13px; }
  .textbook-cando-list b { width: 29px; height: 29px; }
  .book-cando-button { width: 100%; }
  body[data-page="textbooks"] .textbook-series .section-title { font-size: clamp(18px, 4.6vw, 23px); letter-spacing: -.04em; white-space: nowrap; }
  body[data-page="textbooks"] .textbook-intro-head .kicker,
  body[data-page="textbooks"] .series-copy .kicker,
  body[data-page="textbooks"] .goal-copy .kicker,
  body[data-page="textbooks"] .books-head .kicker { font-size: 18px; }
  body[data-page="textbooks"] .textbook-goals .level-chart { width: 100%; margin-left: 0; }
  .cando-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .cando-dialog .dialog-content { padding: 24px 14px 18px; }
  .cando-dialog .dialog-content h2 { margin-top: 7px; font-size: 24px; }
  .cando-dialog .cando-dialog-intro { padding-right: 30px; }
  .cando-dialog .dialog-close { top: 9px; width: 38px; height: 38px; margin: 9px 9px -47px 0; font-size: 26px; }
  body[data-page="textbooks"] .textbook-goals { gap: 22px; }
  .goal-books img { width: 112%; margin-left: -6%; }
  .goal-benefits { margin-top: 20px; }
  .goal-benefits li { min-height: 56px; padding: 10px 12px 10px 44px; font-size: 15px; }
  .books-head p { margin-top: 10px; }
  .teacher-intro .carousel-slide img { height: 290px; object-fit: contain; }
  .timeline { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .timeline-item { min-height: 112px; padding: 18px 16px 18px 64px; }
  .timeline-item:last-child { grid-column: 1; width: 100%; }
  .timeline-item::before { left: 14px; top: 50%; width: 34px; height: 34px; font-size: 12px; transform: translateY(-50%); }
  .timeline-item h3 { font-size: 19px; }
  .footer-brand { grid-column: auto; }
  .course-status { align-items: flex-start; flex-direction: column; }
  body[data-page="admissions"] .admissions-head .kicker { font-size: 20px; }
  body[data-page="admissions"] .admissions-head p { margin-top: 11px; }
  body[data-page="admissions"] .course-levels { grid-auto-rows: 1fr; margin-top: 22px; }
  body[data-page="admissions"] .course-levels .icon-card { min-height: 148px; padding: 18px 19px; }
  body[data-page="admissions"] .other-course-head .live { margin-top: 15px; }
  body[data-page="admissions"] .desktop-course-media { display: none; }
  body[data-page="admissions"] .mobile-course-carousel { display: block; }
  body[data-page="admissions"] .admissions-carousel { background: #fff; }
  body[data-page="admissions"] .admissions-carousel .carousel-slide { display: grid; place-items: center; padding: 14px; background: #fff; }
  body[data-page="admissions"] .admissions-carousel .carousel-slide img { width: 100%; height: 290px; object-fit: contain; }
  body[data-page="admissions"] .admissions-books img { width: 110%; margin-left: -5%; }
  body[data-page="admissions"] .online-status { padding: 21px; }
  body[data-page="admissions"] .online-status .button { display: inline-flex; width: auto; }
  .mobile-break { display: initial; }
  .desktop-punct { display: none; }
  body[data-page="home"] .hero-copy .eyebrow,
  body[data-page="home"] .kicker { font-size: 15px; }
  body[data-page="home"] .section-head h2,
  body[data-page="home"] .section-title { font-size: 30px; }
  body[data-page="home"] .wish-heading { margin-bottom: 8px; }
  body[data-page="home"] .wish-heading + .wish-grid { margin-top: 0; }
  body:not([data-page="home"]) .page-hero { padding: 48px 0 38px; }
  body:not([data-page="home"]) .page-hero .eyebrow,
  body:not([data-page="home"]) .kicker { font-size: 15px; }
  body:not([data-page="home"]) .page-hero h1 { font-size: 32px; line-height: 1.25; }
  body:not([data-page="home"]) .page-hero p { font-size: 16px; line-height: 1.65; }
  body:not([data-page="home"]) .section { padding: 50px 0; }
  body:not([data-page="home"]) .section-head { margin-bottom: 28px; }
  body:not([data-page="home"]) .section-head h2,
  body:not([data-page="home"]) .section-title { font-size: 30px; }
  body:not([data-page="home"]) .split { gap: 32px; }
  body:not([data-page="home"]) .card-body { padding: 22px; }
  .course-intro { padding: 26px; }
  .course-sidebar { padding: 22px; }
  .course-flow { gap: 18px; }
  .course-overview { padding: 20px; }
  .course-overview .pill { min-height: 0; padding: 7px 16px; font-size: 15px; }
  .course-overview > h2 { font-size: 26px; }
  body[data-course="a1"] .course-overview > h2 { font-size: clamp(16px,5.3vw,22px); letter-spacing: -.025em; white-space: nowrap; }
  .course-class-format { font-size: 18px; }
  .course-content-section { padding: 18px; }
  .course-content-section > .section-head { margin-bottom: 22px; }
  .course-copy-block { margin-top: 24px; padding-top: 22px; }
  .course-disclosure { margin-top: 22px; }
  .course-disclosure summary { min-height: 68px; padding: 12px 52px 12px 17px; }
  .course-disclosure summary::after { right: 17px; }
  .disclosure-body { padding: 14px; }
  .cando-list { grid-template-columns: 1fr; gap: 3px; }
  .course-inline-link { align-items: flex-start; flex-direction: column; }
  .course-books { gap: 18px; padding: 18px 10px; }
  .course-book img { height: 185px; }
  .course-book-links { flex-direction: column; }
  .course-facts { grid-template-columns: 1fr; gap: 10px; }
  .schedule-page { height: min(48vh, 390px); }
  .faq-list summary { padding: 18px 50px 18px 20px; }
  body[data-page="faq"] .page-hero { padding-bottom: 28px; }
  body[data-page="faq"] .page-hero + .section { padding-top: 26px; }
  body[data-page="contact"] .page-hero { padding-bottom: 28px; }
  body[data-page="contact"] .page-hero + .section { padding-top: 26px; }
  .faq-answer { padding: 0 20px 20px; }
}

html[data-view-mode="mobile"] { background: #dfe8e7; }
html[data-view-mode="mobile"] .site-frame { width: min(100%, 430px); margin-inline: auto; box-shadow: 0 0 45px rgba(0,0,0,.16); }
html[data-view-mode="mobile"] .container,
html[data-view-mode="mobile"] .narrow { width: calc(100% - 28px); }
html[data-view-mode="mobile"] .utility-bar { display: none; }
html[data-view-mode="mobile"] .site-header-inner { min-height: 70px; }
html[data-view-mode="mobile"] .hero { padding: 54px 0 0; }
html[data-view-mode="mobile"] .hero h1 { font-size: 40px; line-height: 1.18; }
html[data-view-mode="mobile"] body[data-page="home"] .hero-copy > p { font-size: 18px; }
html[data-view-mode="mobile"] .hero-copy { max-width: none; padding-bottom: 0; }
html[data-view-mode="mobile"] .hero-grid { gap: 24px; }
html[data-view-mode="mobile"] .hero-teacher { justify-self: end; width: min(82vw, 310px); }
html[data-view-mode="mobile"] .hero-copy .eyebrow,
html[data-view-mode="mobile"] .eyebrow,
html[data-view-mode="mobile"] .kicker { font-size: 14px; letter-spacing: .1em; }
html[data-view-mode="mobile"] .mobile-break { display: initial; }
html[data-view-mode="mobile"] .desktop-punct { display: none; }
html[data-view-mode="mobile"] .menu-button { display: block; }
html[data-view-mode="mobile"] .site-nav { position: absolute; left: 14px; right: 14px; top: 72px; display: none; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
html[data-view-mode="mobile"] .site-nav.is-open { display: grid; }
html[data-view-mode="mobile"] .hero-grid,
html[data-view-mode="mobile"] .split,
html[data-view-mode="mobile"] .split.reverse,
html[data-view-mode="mobile"] .grid-2,
html[data-view-mode="mobile"] .grid-3,
html[data-view-mode="mobile"] .grid-4,
html[data-view-mode="mobile"] .wish-grid,
html[data-view-mode="mobile"] .book-grid,
html[data-view-mode="mobile"] .video-grid,
html[data-view-mode="mobile"] .certificate-grid,
html[data-view-mode="mobile"] .contact-grid,
html[data-view-mode="mobile"] .media-strip,
html[data-view-mode="mobile"] .course-layout,
html[data-view-mode="mobile"] .footer-grid { grid-template-columns: 1fr; }
html[data-view-mode="mobile"] .split.reverse > :first-child { order: initial; }
html[data-view-mode="mobile"] .book { grid-column: auto !important; }
html[data-view-mode="mobile"] .textbook-series,
html[data-view-mode="mobile"] body[data-page="textbooks"] .textbook-goals { grid-template-columns: 1fr; }
html[data-view-mode="mobile"] body[data-page="textbooks"] .textbook-goals > .level-chart,
html[data-view-mode="mobile"] body[data-page="textbooks"] .textbook-goals > .goal-copy { order: initial; }
html[data-view-mode="mobile"] body[data-page="textbooks"] .level-chart-desktop { display: none; }
html[data-view-mode="mobile"] body[data-page="textbooks"] .textbook-goals .level-chart-mobile { display: block; width: 100%; margin: 18px 0 24px; }
html[data-view-mode="mobile"] .textbook-reason { min-height: 58px; padding: 12px 14px 12px 17px; font-size: 15px; }
html[data-view-mode="mobile"] .textbook-reason b { width: 32px; height: 32px; font-size: 21px; }
html[data-view-mode="mobile"] .dialog-content { padding: 28px 20px 24px; }
html[data-view-mode="mobile"] .dialog-content p { font-size: 15px; line-height: 1.78; }
html[data-view-mode="mobile"] .textbook-cando-list { grid-template-columns: 1fr; gap: 6px; }
html[data-view-mode="mobile"] .book-cando-button { width: 100%; }
html[data-view-mode="mobile"] .textbook-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 18px; }
html[data-view-mode="mobile"] #reason-dialog .dialog-content { padding: 24px 17px 20px; }
html[data-view-mode="mobile"] #reason-dialog .dialog-content h2 { margin: 7px 38px 16px 0; font-size: 23px; line-height: 1.35; }
html[data-view-mode="mobile"] #reason-dialog .dialog-content p { margin: 0 0 14px; font-size: 15px; line-height: 1.75; }
html[data-view-mode="mobile"] #reason-dialog .dialog-close { top: 9px; width: 38px; height: 38px; margin: 9px 9px -47px 0; font-size: 26px; }
html[data-view-mode="mobile"] body[data-page="textbooks"] .textbook-series .section-title { font-size: clamp(18px, 4.6vw, 23px); letter-spacing: -.04em; white-space: nowrap; }
html[data-view-mode="mobile"] body[data-page="textbooks"] .textbook-intro-head .kicker,
html[data-view-mode="mobile"] body[data-page="textbooks"] .series-copy .kicker,
html[data-view-mode="mobile"] body[data-page="textbooks"] .goal-copy .kicker,
html[data-view-mode="mobile"] body[data-page="textbooks"] .books-head .kicker { font-size: 18px; }
html[data-view-mode="mobile"] body[data-page="textbooks"] .textbook-goals .level-chart { width: 100%; margin-left: 0; }
html[data-view-mode="mobile"] .cando-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 18px; }
html[data-view-mode="mobile"] .cando-dialog .dialog-content { padding: 24px 14px 18px; }
html[data-view-mode="mobile"] .cando-dialog .dialog-content h2 { font-size: 24px; }
html[data-view-mode="mobile"] body[data-page="textbooks"] .textbook-goals { gap: 22px; }
html[data-view-mode="mobile"] .goal-books img { width: 112%; margin-left: -6%; }
html[data-view-mode="mobile"] .goal-benefits { grid-template-columns: 1fr; gap: 9px; margin-top: 20px; }
html[data-view-mode="mobile"] .goal-benefits li { display: flex; align-items: center; min-height: 56px; padding: 10px 12px 10px 44px; background: #edf8f6; border: 1px solid rgba(63,146,149,.18); border-left: 4px solid var(--teal); border-radius: 12px; font-size: 15px; font-weight: 750; line-height: 1.55; }
html[data-view-mode="mobile"] .goal-benefits li::before { content: "✓"; left: 13px; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 12px; transform: translateY(-50%); }
html[data-view-mode="mobile"] .books-head p { margin-top: 10px; }
html[data-view-mode="mobile"] .section { padding: 50px 0; }
html[data-view-mode="mobile"] .section-head { display: block; }
html[data-view-mode="mobile"] .section-head p { margin-top: 16px; }
html[data-view-mode="mobile"] .course-sidebar { position: static; }
html[data-view-mode="mobile"] .course-level-layout { grid-template-columns: 1fr; }
html[data-view-mode="mobile"] .course-flow { gap: 18px; }
html[data-view-mode="mobile"] .course-overview { padding: 20px; }
html[data-view-mode="mobile"] .course-overview .pill { min-height: 0; padding: 7px 16px; font-size: 15px; }
html[data-view-mode="mobile"] .course-overview > h2 { font-size: 26px; }
html[data-view-mode="mobile"] body[data-course="a1"] .course-overview > h2 { font-size: clamp(16px,5.3vw,22px); letter-spacing: -.025em; white-space: nowrap; }
html[data-view-mode="mobile"] .course-class-format { font-size: 18px; }
html[data-view-mode="mobile"] .course-content-section { padding: 18px; }
html[data-view-mode="mobile"] .course-content-section > .section-head { margin-bottom: 22px; }
html[data-view-mode="mobile"] .course-copy-block { margin-top: 24px; padding-top: 22px; }
html[data-view-mode="mobile"] .course-disclosure { margin-top: 22px; }
html[data-view-mode="mobile"] .course-disclosure summary { min-height: 68px; padding: 12px 52px 12px 17px; }
html[data-view-mode="mobile"] .course-disclosure summary::after { right: 17px; }
html[data-view-mode="mobile"] .disclosure-body { padding: 14px; }
html[data-view-mode="mobile"] .cando-list { grid-template-columns: 1fr; gap: 3px; }
html[data-view-mode="mobile"] .course-inline-link { align-items: flex-start; flex-direction: column; }
html[data-view-mode="mobile"] .course-books { gap: 18px; padding: 18px 10px; }
html[data-view-mode="mobile"] .course-book img { height: 185px; }
html[data-view-mode="mobile"] .course-book-links { flex-direction: column; }
html[data-view-mode="mobile"] .course-facts { grid-template-columns: 1fr; gap: 10px; }
html[data-view-mode="mobile"] .schedule-page { height: min(48vh, 390px); }
html[data-view-mode="mobile"] body[data-page="admissions"] .admissions-head .kicker { font-size: 20px; }
html[data-view-mode="mobile"] body[data-page="admissions"] .admissions-head p { margin-top: 11px; }
html[data-view-mode="mobile"] body[data-page="admissions"] .course-levels { grid-auto-rows: 1fr; margin-top: 22px; }
html[data-view-mode="mobile"] body[data-page="admissions"] .course-levels .icon-card { min-height: 148px; padding: 18px 19px; }
html[data-view-mode="mobile"] body[data-page="admissions"] .other-course-head .live { margin-top: 15px; }
html[data-view-mode="mobile"] body[data-page="admissions"] .desktop-course-media { display: none; }
html[data-view-mode="mobile"] body[data-page="admissions"] .mobile-course-carousel { display: block; }
html[data-view-mode="mobile"] body[data-page="admissions"] .admissions-carousel { background: #fff; }
html[data-view-mode="mobile"] body[data-page="admissions"] .admissions-carousel .carousel-slide { display: grid; place-items: center; padding: 14px; background: #fff; }
html[data-view-mode="mobile"] body[data-page="admissions"] .admissions-carousel .carousel-slide img { width: 100%; height: 290px; object-fit: contain; }
html[data-view-mode="mobile"] body[data-page="admissions"] .admissions-books img { width: 110%; margin-left: -5%; }
html[data-view-mode="mobile"] body[data-page="admissions"] .online-status { padding: 21px; }
html[data-view-mode="mobile"] body[data-page="admissions"] .online-status .button { display: inline-flex; width: auto; }
html[data-view-mode="mobile"] .footer-brand { grid-column: auto; }
html[data-view-mode="mobile"] .wish-grid { padding: 10px 14px; }
html[data-view-mode="mobile"] .wish { grid-template-columns: 28px minmax(0, 1fr) 20px; column-gap: 10px; min-height: 0; padding: 12px 8px; border-right: 0; border-bottom: 1px solid rgba(63,146,149,.18); font-size: inherit; }
html[data-view-mode="mobile"] .wish:last-child { border-bottom: 0; }
html[data-view-mode="mobile"] .wish::before { width: 28px; height: 28px; font-size: 10px; }
html[data-view-mode="mobile"] .wish::after { content: "+"; grid-column: 3; grid-row: 1; color: var(--teal-dark); font-size: 20px; font-weight: 500; line-height: 1; text-align: center; }
html[data-view-mode="mobile"] .wish.is-open::after { content: "−"; }
html[data-view-mode="mobile"] .wish-answer { position: static; grid-column: 2 / 4; grid-row: 2; max-height: 0; padding: 0; overflow: hidden; background: transparent; border: 0; border-radius: 0; box-shadow: none; font-size: 14px; line-height: 1.7; opacity: 0; visibility: hidden; transform: none; transition: max-height .28s ease, opacity .2s ease, visibility .2s ease; }
html[data-view-mode="mobile"] .wish-answer::before { display: none; }
html[data-view-mode="mobile"] .wish.is-open .wish-answer { max-height: 320px; margin-top: 7px; padding: 2px 0 4px; opacity: 1; visibility: visible; pointer-events: auto; }
html[data-view-mode="mobile"] body[data-page="home"] .hero-copy .eyebrow,
html[data-view-mode="mobile"] body[data-page="home"] .kicker { font-size: 15px; }
html[data-view-mode="mobile"] body[data-page="home"] .section-head h2,
html[data-view-mode="mobile"] body[data-page="home"] .section-title { font-size: 30px; }
html[data-view-mode="mobile"] body[data-page="home"] .wish-heading { margin-bottom: 8px; }
html[data-view-mode="mobile"] body[data-page="home"] .wish-heading + .wish-grid { margin-top: 0; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .page-hero { padding: 48px 0 38px; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .page-hero .eyebrow,
html[data-view-mode="mobile"] body:not([data-page="home"]) .kicker { font-size: 15px; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .page-hero h1 { font-size: 32px; line-height: 1.25; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .page-hero p { font-size: 16px; line-height: 1.65; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .section { padding: 50px 0; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .section-head { margin-bottom: 28px; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .section-head h2,
html[data-view-mode="mobile"] body:not([data-page="home"]) .section-title { font-size: 30px; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .split { gap: 32px; }
html[data-view-mode="mobile"] body:not([data-page="home"]) .card-body { padding: 22px; }
html[data-view-mode="mobile"] .course-layout { gap: 28px; }
html[data-view-mode="mobile"] .course-intro { padding: 26px; }
html[data-view-mode="mobile"] .course-sidebar { padding: 22px; }
html[data-view-mode="mobile"] .faq-list summary { padding: 18px 50px 18px 20px; }
html[data-view-mode="mobile"] body[data-page="faq"] .page-hero { padding-bottom: 28px; }
html[data-view-mode="mobile"] body[data-page="faq"] .page-hero + .section { padding-top: 26px; }
html[data-view-mode="mobile"] body[data-page="contact"] .page-hero { padding-bottom: 28px; }
html[data-view-mode="mobile"] body[data-page="contact"] .page-hero + .section { padding-top: 26px; }
html[data-view-mode="mobile"] .faq-answer { padding: 0 20px 20px; }
html[data-view-mode="mobile"] .certificate img { height: auto; }
html[data-view-mode="mobile"] .certificate-grid { gap: 12px; }
html[data-view-mode="mobile"] .certificate { padding: 10px; }
html[data-view-mode="mobile"] .certificate[data-reveal="zoom"] { transform: translateY(20px) scale(.72); transform-origin: center bottom; transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1.18); }
html[data-view-mode="mobile"] .certificate[data-reveal="zoom"].is-visible { transform: none; }
html[data-view-mode="mobile"] .book-cover { min-height: 265px; }
html[data-view-mode="mobile"] .teacher-intro .carousel { height: auto; min-height: 0; }
html[data-view-mode="mobile"] .teacher-intro .carousel-track,
html[data-view-mode="mobile"] .teacher-intro .carousel-slide { height: auto; }
html[data-view-mode="mobile"] .teacher-intro .carousel-slide img { height: 290px; object-fit: contain; }
html[data-view-mode="mobile"] .authority-list li { min-height: 54px; padding: 11px 14px 11px 44px; font-size: 16px; }
html[data-view-mode="mobile"] .authority-list li::before { left: 12px; width: 20px; height: 20px; font-size: 11px; }
html[data-view-mode="mobile"] .timeline { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
html[data-view-mode="mobile"] .timeline-item { min-height: 112px; padding: 18px 16px 18px 64px; }
html[data-view-mode="mobile"] .timeline-item:last-child { grid-column: 1; width: 100%; }
html[data-view-mode="mobile"] .timeline-item::before { left: 14px; top: 50%; width: 34px; height: 34px; font-size: 12px; transform: translateY(-50%); }
html[data-view-mode="mobile"] .timeline-item h3 { font-size: 19px; }

/* Keep every course name on one line while fitting the available width. */
.course-page .course-overview > h2 {
  font-size: clamp(22px, 3.5vw, 40px);
  letter-spacing: -.035em;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .course-page .course-overview > h2 {
    font-size: clamp(14px, 4.25vw, 19px);
    letter-spacing: -.045em;
  }
}

html[data-view-mode="mobile"] .course-page .course-overview > h2 {
  font-size: clamp(14px, 4.25vw, 19px);
  letter-spacing: -.045em;
  white-space: nowrap;
}

html[data-view-mode="desktop"] .site-frame { min-width: 1080px; }
html[data-view-mode="desktop"] .container { width: min(calc(100% - 40px), var(--container)); }
html[data-view-mode="desktop"] .menu-button { display: none; }
html[data-view-mode="desktop"] .site-nav { position: static; display: flex; padding: 0; border: 0; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
