/* MathTopia public navigation and course improvements. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #045cbd; outline-offset: 4px; }
.mt-public button:focus-visible, .mt-public input:focus-visible, .mt-public textarea:focus-visible { outline: 3px solid #045cbd !important; outline-offset: 4px; }
.courses-header.spring { background: linear-gradient(120deg, #0b5c70, #386c22); }
.courses-header.summer { background: linear-gradient(120deg, #0e5282, #087e8b); }
.mt-season-intro { max-width: 740px; margin: 18px auto; color: #fff; line-height: 1.65; }
.mt-empty-state { width: 100%; max-width: 740px; margin: 25px auto 60px; padding: 38px 30px; background: #f5f9fc; border: 1px solid #dbe6ef; border-radius: 18px; text-align: center; color: #01233a; }
.mt-empty-state h2 { font-size: 28px; line-height: 1.3; margin-top: 0; }
.mt-empty-state p { line-height: 1.7; margin: 15px 0 24px; }
.mt-button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 23px; min-height: 48px; border-radius: 9px; font-size: 16px; font-weight: 700; color: #fff; background: #045cbd; text-decoration: none; line-height: 1.4; }
.mt-button:hover { color: #fff; background: #003e83; }
.mt-text-link { display: inline-block; margin: 15px 0; color: #045cbd; text-decoration: underline; text-underline-offset: 4px; line-height: 1.5; }
.mt-empty-state .mt-text-link { display: block; }
.mt-course-note { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: #4b5963; }
.courses-list .container .single .text h2.title { margin: 8px 0 0; line-height: 1.3; }
.course-content .mt-course-enrollment { padding: 22px; margin: 20px 0 30px; border: 1px solid #dbe6ef; border-radius: 12px; background: #f5f9fc; }
.course-content .mt-course-enrollment p { margin: 0 0 10px; }
.mt-tutoring-page { color: #01233a; }
.mt-tutoring-hero { padding: 72px 0; background: #edf6fb; border-bottom: 6px solid #8dc540; }
.mt-eyebrow { color: #0b569d; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; font-size: 14px; }
.mt-tutoring-hero h1 { font-size: clamp(34px, 4.5vw, 60px); line-height: 1.13; max-width: 850px; margin: 18px 0 24px; }
.mt-tutoring-intro { font-size: 21px; line-height: 1.65; max-width: 740px; margin: 0 0 28px; }
.mt-tutoring-hero .mt-text-link { margin-left: 24px; }
.mt-tutoring-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 48px; padding-bottom: 36px; }
.mt-option-card { border: 1px solid #dbe6ef; border-radius: 18px; padding: 32px; background: #fff; box-shadow: 0 6px 25px rgba(1,35,58,.04); }
.mt-option-card h2 { font-size: 30px; margin: 12px 0 16px; }
.mt-option-card p, .mt-option-card li, .mt-tutoring-next p { font-size: 17px; line-height: 1.75; }
.mt-option-card ul { padding-left: 23px; list-style: disc; }
.mt-option-card li { margin: 7px 0; }
.mt-option-tag { display: inline-block; background: #f2f8e8; color: #3a6118; padding: 6px 12px; border-radius: 20px; font-size: 14px; font-weight: 700; }
.mt-tutoring-next { padding-top: 15px; padding-bottom: 70px; }
.mt-tutoring-next h2 { font-size: 32px; line-height: 1.3; }
.mt-tutoring-next p { max-width: 900px; }
.mt-tutoring-actions { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
@media (max-width: 800px) {
 .mt-tutoring-hero { padding: 42px 0; }
 .mt-tutoring-intro { font-size: 18px; }
 .mt-tutoring-options { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
 .mt-option-card { padding: 25px; }
 .mt-tutoring-hero .mt-text-link { margin: 18px 0 0; display: block; }
 .mt-empty-state { padding: 28px 20px; }
}

/* Refreshed public identity; all selectors are scoped away from admin pages. */
body.mt-public { zoom: 1; background: #fff; color: #082b42; }
.mt-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.mt-site-header { display: block; height: auto; overflow: visible; background: #fff; box-shadow: none; border-bottom: 1px solid #e4eaf0; position: relative; z-index: 100; }
.mt-header-main { display: flex; align-items: center; min-height: 104px; gap: 28px; }
.mt-brand { flex-shrink: 0; display: flex; align-items: center; }
.mt-brand img { display: block; width: 142px; height: 87px; object-fit: contain; }
.mt-header-message { margin: 0 0 0 22px; padding-left: 28px; border-left: 1px solid #e0e7ed; font-size: 14px; line-height: 1.65; color: #637480; }
.mt-header-message strong { color: #13394f; font-weight: 700; }
.mt-header-actions { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.mt-login-link { color: #123b54; font-size: 16px; font-weight: 800; }
.mt-header-actions .mt-register-link { min-height: 44px; padding: 11px 20px; font-size: 16px; border-radius: 8px; }
.mt-button { gap: 14px; border: 1px solid transparent; font-weight: 800; border-radius: 8px; padding: 15px 24px; transition: background .15s ease, transform .15s ease; }
.mt-button:hover { transform: translateY(-2px); }
.mt-button-outline { border-color: #a8bac7; background: transparent; color: #0e3e5c; }
.mt-button-outline:hover { border-color: #045cbd; background: #edf4fc; color: #045cbd; }
.mt-button-light { color: #103e57; background: #fff; }
.mt-button-light:hover { color: #103e57; background: #f4f9eb; }
.mt-site-header nav.mt-primary-nav { position: static; display: block; height: auto; overflow: visible; width: 100%; background: #fff; box-shadow: none; border-top: 1px solid #edf0f2; }
.mt-primary-links { display: flex; gap: 0; justify-content: space-between; align-items: stretch; }
.mt-primary-links > a, .mt-about-menu > summary { color: #163a50; font-size: 14px; font-weight: 750; line-height: 1.35; padding: 19px 8px; text-align: center; cursor: pointer; min-height: 55px; display: flex; align-items: center; }
.mt-primary-links > a:first-child { padding-left: 0; }
.mt-primary-links > a:last-child { padding-right: 0; }
.mt-primary-links > a:hover, .mt-primary-links > a[aria-current="page"], .mt-about-menu > summary:hover { color: #045cbd; }
.mt-primary-links > a[aria-current="page"] { box-shadow: inset 0 -3px #8dc540; }
.mt-about-menu { position: relative; }
.mt-about-menu > summary { list-style: none; gap: 6px; }
.mt-about-menu > summary::-webkit-details-marker { display: none; }
.mt-about-menu > summary:after { content: '⌄'; font-size: 16px; }
.mt-about-links { position: absolute; z-index: 110; top: 100%; right: 0; min-width: 210px; display: flex; flex-direction: column; background: #fff; padding: 8px; border: 1px solid #e3eaf0; border-radius: 12px; box-shadow: 0 12px 35px rgba(8,43,66,.12); }
.mt-about-links a { color: #163a50; font-size: 16px; padding: 12px 14px; border-radius: 5px; }
.mt-about-links a:hover { background: #f1f6fa; }
.mt-nav-toggle { display: none; }
.mt-home { font-size: 16px; line-height: 1.6; }
.mt-home *, .mt-site-header *, .mt-site-footer * { box-sizing: border-box; }
.mt-home h1, .mt-home h2, .mt-home h3 { color: #082b42; letter-spacing: -.04em; font-weight: 800; }
.mt-home h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.2; margin: 12px 0 22px; }
.mt-home h3 { font-size: 24px; line-height: 1.25; margin: 16px 0 12px; }
.mt-home .mt-eyebrow { font-size: 12px; letter-spacing: .16em; font-weight: 800; margin: 0; color: #32617b; }
.mt-home-hero { background: #f4f8fb; padding-top: 56px; padding-bottom: 34px; overflow: hidden; }
.mt-hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 36px; }
.mt-hero-copy { position: relative; z-index: 2; padding-bottom: 20px; }
.mt-hero-copy .mt-eyebrow { display: flex; align-items: center; gap: 9px; }
.mt-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #80b836; display: inline-block; }
.mt-home h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.08; margin: 24px 0 24px; letter-spacing: -.055em; }
.mt-home h1 em { color: #065eab; font-style: normal; position: relative; }
.mt-hero-intro { font-size: 16px; line-height: 1.85; max-width: 490px; color: #4e6575; margin-bottom: 28px; }
.mt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mt-hero-actions .mt-button { padding: 14px 20px; font-size: 16px; }
.mt-hero-benefits { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; margin: 25px 0 0; }
.mt-hero-benefits li { font-size: 12px; color: #506a7a; font-weight: 600; }
.mt-hero-benefits li:before { content: '✓'; color: #568723; margin-right: 6px; font-weight: 800; }
.mt-hero-visual { position: relative; padding: 10px 0 28px; max-width: 590px; }
.mt-hero-photo { width: 100%; height: auto; position: relative; z-index: 1; display: block; }
.mt-hero-orbit { position: absolute; width: 82%; aspect-ratio: 1; right: -15%; top: -1%; border: 1px solid #d7e5ee; border-radius: 50%; }
.mt-hero-note { position: absolute; z-index: 2; bottom: 23px; left: 8%; display: flex; gap: 13px; align-items: center; padding: 16px 21px; border: 1px solid #fff; background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(11,50,76,.12); border-radius: 12px; font-size: 14px; color: #5a7180; line-height: 1.65; }
.mt-hero-note > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f4f8dc; color: #6d8d22; font-size: 24px; }
.mt-hero-note strong { color: #183e54; font-size: 14px; }
.mt-start-banner { display: flex; gap: 18px; align-items: center; padding: 19px 25px; border: 1px solid #e0e8d5; border-radius: 10px; background: #fcfdf8; margin-top: 35px; }
.mt-banner-tag { background: #e8f3d8; border-radius: 4px; color: #4b7021; padding: 6px 9px; font-size: 12px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.mt-start-banner p { margin: 0; flex: 1; font-size: 14px; line-height: 1.6; color: #5c6c60; }
.mt-start-banner strong { color: #294d2b; }
.mt-start-banner a { color: #1d532b; font-size: 14px; font-weight: 800; white-space: nowrap; }
.mt-start-banner a span { margin-left: 12px; }
.mt-section { padding-top: 76px; padding-bottom: 76px; }
.mt-section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 30px; }
.mt-section-heading h2 { max-width: 650px; margin-bottom: 0; }
.mt-section-heading > p { max-width: 345px; color: #627785; font-size: 16px; line-height: 1.8; margin: 0 0 2px; }
.mt-section-heading > .mt-text-link { margin: 0 0 2px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.mt-season-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.mt-season-card { border-radius: 14px; padding: 29px; border: 1px solid #e2e8ee; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.mt-season-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(12,54,77,.08); }
.mt-season-fall { background: #fff6f5; border-top: 4px solid #a6143b; }
.mt-season-spring { background: #f5faef; border-top: 4px solid #8dc540; }
.mt-season-summer { background: #fffbeb; border-top: 4px solid #f0c700; }
.mt-season-number { letter-spacing: .15em; font-size: 12px; font-weight: 800; color: #5c6e78; }
.mt-season-card h3 { font-size: 26px; margin: 24px 0 13px; }
.mt-season-card p { font-size: 16px; line-height: 1.75; color: #5c7280; margin: 0 0 24px; }
.mt-card-link { display: flex; justify-content: space-between; align-items: center; color: #0d4a73; font-size: 14px; font-weight: 800; width: 100%; margin-top: auto; }
.mt-card-link b { font-size: 20px; font-weight: 500; }
.mt-featured-section { background: #f5f8fa; }
.mt-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.mt-course-card { border: 1px solid #e0e7eb; border-radius: 13px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.mt-course-image { display: flex; width: 100%; aspect-ratio: 1.5; background: #e8f1f7; overflow: hidden; align-items: center; justify-content: center; }
.mt-course-image img { width: 100%; height: 100%; object-fit: cover; }
.mt-course-image-fallback { color: #42708a; font-size: 48px; font-weight: 600; }
.mt-course-image.mt-course-promo {min-height:245px;aspect-ratio:auto;padding:24px;background:linear-gradient(135deg,#eaf4fa,#f3f8e9);border-bottom:4px solid #8dc540;}
.mt-course-image.mt-course-promo img {height:240px;width:100%;object-fit:contain;filter:drop-shadow(5px 7px 5px #12364b22);}
.mt-course-promo-copy {display:flex;flex-direction:column;gap:20px;color:#10384f;}
.mt-course-promo-copy small {font-size:11px;letter-spacing:.12em;font-weight:800;}
.mt-course-promo-copy strong {font-size:24px;line-height:1.25;}
.mt-course-promo-copy > span {font-size:13px;line-height:1.6;}
.mt-course-card-copy { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.mt-course-label { display: block; color: #426f4b; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; line-height: 1.5; }
.mt-course-card h3 { font-size: 19px; line-height: 1.4; margin: 12px 0; letter-spacing: -.025em; }
.mt-course-card p { color: #657a86; font-size: 14px; line-height: 1.8; margin: 0 0 23px; }
.mt-support-feature { padding: 52px; border-radius: 22px; background: #07334d; display: grid; grid-template-columns: 1.15fr 1fr; gap: 65px; align-items: center; color: #cfdae0; }
.mt-support-feature .mt-eyebrow { color: #b6d97e; }
.mt-support-feature h2 { color: #fff; font-size: 40px; }
.mt-support-feature p { font-size: 16px; line-height: 1.85; margin-bottom: 25px; }
.mt-support-feature .mt-button { font-size: 14px; }
.mt-support-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mt-support-options article { padding: 23px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; }
.mt-support-options article > span { font-size: 30px; font-weight: 600; letter-spacing: .04em; color: #bddc88; }
.mt-support-options article h3 { font-size: 18px; color: #fff; margin-top: 22px; letter-spacing: -.02em; }
.mt-support-options article p { font-size: 14px; margin-bottom: 0; color: #c8d5dd; }
.mt-books-section { background: #fbfaf7; }
.mt-featured-books { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.mt-book-card { background: #fff; border: 1px solid #e9e7df; border-radius: 13px; padding: 27px; }
.mt-book-cover { display: flex; align-items: center; justify-content: center; width: 100%; height: 270px; background: #f8f7f3; padding: 17px; border-radius: 9px; margin-bottom: 25px; }
.mt-book-cover img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(7px 7px 6px rgba(24,32,30,.13)); }
.mt-book-card h3 { font-size: 21px; margin: 10px 0 12px; }
.mt-book-card p { color: #667783; font-size: 14px; line-height: 1.7; }
.mt-book-card .mt-text-link { font-size: 14px; font-weight: 750; margin: 7px 0 0; }
.mt-section-ending { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; text-align: center; margin-top: 30px; }
.mt-section-ending .mt-button { font-size: 14px; }
.mt-home-video { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.mt-home-video p { color: #617786; line-height: 1.8; }
.mt-home-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; }
.mt-people-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mt-people-section > div > p:not(.mt-eyebrow) { color: #637b89; max-width: 440px; font-size: 16px; line-height: 1.85; }
.mt-people-section .mt-text-link { font-size: 14px; font-weight: 750; }
.mt-instructor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.mt-instructor-tile { display: flex; flex-direction: column; color: #133b52; }
.mt-instructor-tile img { width: 100%; aspect-ratio: 1.25; object-fit: cover; object-position: top; background: #e9f0f3; border-radius: 12px; }
.mt-instructor-tile strong { font-size: 16px; margin-top: 10px; }
.mt-instructor-tile span { font-size: 12px; color: #71818c; }
.mt-testimonial-section { background: #f3f7f0; text-align: center; }
.mt-testimonial-section blockquote { border: 0; padding: 0; margin: 26px auto 20px; max-width: 900px; }
.mt-testimonial-section blockquote p { font-size: 24px; font-weight: 600; line-height: 1.65; color: #1d4536; }
.mt-testimonial-section cite { font-size: 14px; font-style: normal; color: #677c6f; }
.mt-testimonial-section .mt-text-link { font-size: 14px; }
.mt-final-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; border-top: 1px solid #e3eaf0; padding-top: 42px; }
.mt-final-cta h2 { margin-bottom: 0; }
.mt-final-cta > div > p:not(.mt-eyebrow) { color: #667d8a; font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.mt-final-cta .mt-button { font-size: 16px; }
footer.mt-site-footer { display: block; margin: 0; padding: 58px 0 0; background: #f4f7f9; border-top: 1px solid #e4e9ee; color: #617886; }
.mt-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 45px; }
.mt-footer-brand img { width: 130px; height: 80px; object-fit: contain; }
.mt-footer-brand p { font-size: 14px; line-height: 1.8; margin: 17px 0 14px; }
.mt-footer-brand > a:last-child { color: #0a5b98; font-size: 14px; font-weight: 600; }
.mt-footer-links { display: flex; flex-direction: column; align-items: flex-start; padding-top: 15px; }
.mt-footer-links h2 { font-size: 14px; font-weight: 800; color: #25465b; margin: 0 0 18px; }
.mt-footer-links a { font-size: 12px; color: #627986; line-height: 1.6; margin-bottom: 10px; }
.mt-footer-links a:hover { color: #045cbd; text-decoration: underline; }
.mt-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #dfe7ec; padding-top: 22px; padding-bottom: 22px; font-size: 12px; }
.mt-footer-bottom > div:last-child { display: flex; gap: 20px; }
.mt-footer-bottom a { color: #617887; }
@media (max-width: 1100px) {
 .mt-shell { width: min(1180px, calc(100% - 48px)); }
 .mt-primary-links > a, .mt-about-menu > summary { font-size: 12px; padding: 16px 7px; }
 .mt-hero-grid { gap: 20px; }
 .mt-home h1 { font-size: 49px; }
 .mt-hero-intro { font-size: 16px; }
 .mt-hero-actions .mt-button { font-size: 14px; padding: 13px 16px; }
 .mt-featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .mt-course-image { aspect-ratio: 1.8; }
 .mt-support-feature { padding: 36px; gap: 30px; }
 .mt-support-options { gap: 10px; }
 .mt-support-options article { padding: 18px; }
 .mt-book-cover { height: 240px; }
 .mt-book-card { padding: 20px; }
 .mt-footer-grid { gap: 25px; }
}
@media (max-width: 850px) {
 .mt-header-main { min-height: 87px; }
 .mt-brand img { width: 112px; height: 69px; }
 .mt-header-message { display: none; }
 .mt-header-actions { gap: 17px; }
 .mt-header-actions .mt-register-link { min-height: 38px; font-size: 14px; padding: 8px 13px; }
 .mt-header-actions .mt-register-link span { display: none; }
 .mt-login-link { font-size: 14px; }
 .mt-js .mt-nav-toggle { display: inline-flex; flex-direction: column; gap: 1px; align-items: center; justify-content: center; background: none; border: 0; color: #0c3f5c; padding: 6px 0; font-size: 12px; cursor: pointer; }
 .mt-menu-icon { font-size: 21px; line-height: 1; }
 .mt-js .mt-primary-nav[data-open="false"] { display: none; }
 .mt-primary-links { display: grid; grid-template-columns: 1fr 1fr; padding-top: 8px; padding-bottom: 8px; gap: 0 16px; }
 .mt-primary-links > a, .mt-about-menu > summary { padding: 12px 0; font-size: 14px; min-height: 42px; text-align: left; }
 .mt-primary-links > a:nth-child(4) { grid-column: span 2; }
 .mt-about-menu > summary { padding-left: 0; }
 .mt-about-links { right: auto; left: 0; }
 .mt-hero-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
 .mt-home h1 { font-size: 39px; }
 .mt-hero-intro { font-size: 14px; }
 .mt-hero-copy .mt-eyebrow { font-size: 12px; }
 .mt-hero-benefits { gap: 8px 12px; }
 .mt-hero-note { left: 0; padding: 12px; font-size: 12px; }
 .mt-hero-note strong { font-size: 12px; }
 .mt-hero-note > span { width: 26px; height: 26px; font-size: 18px; }
 .mt-start-banner { gap: 12px; flex-wrap: wrap; padding: 17px 19px; }
 .mt-start-banner p { flex-basis: 65%; }
 .mt-section { padding-top: 55px; padding-bottom: 55px; }
 .mt-section-heading { gap: 22px; }
 .mt-section-heading > p { font-size: 14px; max-width: 260px; }
 .mt-season-card { padding: 21px; }
 .mt-season-card h3 { font-size: 23px; }
 .mt-season-card p { font-size: 14px; }
 .mt-support-feature { grid-template-columns: 1fr; gap: 32px; }
 .mt-support-feature > div:first-child { max-width: 550px; }
 .mt-support-options article { padding: 24px; }
 .mt-featured-books { gap: 15px; }
 .mt-book-cover { height: 200px; padding: 10px; }
 .mt-book-card { padding: 17px; }
 .mt-book-card h3 { font-size: 18px; }
 .mt-book-card p { font-size: 14px; }
 .mt-people-section { gap: 30px; }
 .mt-people-section h2 { font-size: 29px; }
 .mt-final-cta { gap: 30px; }
 .mt-footer-grid { grid-template-columns: repeat(3,1fr); }
 .mt-footer-brand { grid-column: span 3; }
 .mt-footer-brand img { width: 110px; height: 68px; }
}
@media (max-width: 600px) {
 .mt-shell { width: calc(100% - 36px); }
 .mt-header-main { min-height: 79px; gap: 12px; }
 .mt-brand img { width: 102px; height: 62px; }
 .mt-header-actions { gap: 14px; }
 .mt-login-link { font-size: 12px; }
 .mt-header-actions .mt-register-link { font-size: 12px; padding: 8px 11px; min-height: 34px; }
 .mt-home-hero { padding-top: 38px; padding-bottom: 23px; }
 .mt-hero-grid { grid-template-columns: 1fr; gap: 20px; }
 .mt-hero-copy { padding-bottom: 0; }
 .mt-home h1 { font-size: clamp(35px, 10.7vw, 49px); line-height: 1.12; margin: 20px 0; letter-spacing: -.055em; }
 .mt-hero-intro { font-size: 16px; line-height: 1.8; margin-bottom: 22px; }
 .mt-hero-actions { gap: 10px; }
 .mt-hero-actions .mt-button { font-size: 12px; gap: 10px; padding: 13px 14px; min-height: 44px; }
 .mt-hero-benefits { margin-top: 18px; gap: 7px 14px; }
 .mt-hero-benefits li { font-size: 12px; }
 .mt-hero-visual { width: 100%; max-width: 380px; margin: 0 auto; padding: 5px 15px 25px; }
 .mt-hero-note { left: 6%; bottom: 14px; padding: 12px 17px; font-size: 12px; }
 .mt-hero-note strong { font-size: 12px; }
 .mt-start-banner { margin-top: 17px; padding: 16px; gap: 10px; }
 .mt-start-banner p { flex-basis: 100%; font-size: 14px; }
 .mt-start-banner a { font-size: 12px; }
 .mt-section { padding-top: 45px; padding-bottom: 45px; }
 .mt-home h2 { font-size: 30px; line-height: 1.2; }
 .mt-section-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 25px; }
 .mt-section-heading > p { max-width: none; font-size: 14px; }
 .mt-season-grid { grid-template-columns: 1fr; gap: 14px; }
 .mt-season-card { padding: 25px; }
 .mt-season-card h3 { font-size: 27px; margin-top: 17px; }
 .mt-season-card p { font-size: 14px; margin-bottom: 19px; }
 .mt-featured-grid { grid-template-columns: 1fr; gap: 20px; }
 .mt-course-image { aspect-ratio: 1.8; }
 .mt-course-card-copy { padding: 23px; }
 .mt-course-card h3 { font-size: 22px; }
 .mt-course-card p { font-size: 14px; }
 .mt-support-feature { padding: 30px 24px; gap: 28px; border-radius: 16px; }
 .mt-support-feature h2 { font-size: 31px; }
 .mt-support-feature p { font-size: 14px; }
 .mt-support-options { grid-template-columns: 1fr; gap: 13px; }
 .mt-support-options article { padding: 22px; }
 .mt-support-options article > span { font-size: 25px; }
 .mt-support-options article h3 { margin: 12px 0 8px; }
 .mt-featured-books { grid-template-columns: 1fr; gap: 18px; }
 .mt-book-card { display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 18px; padding: 19px; }
 .mt-book-cover { height: 170px; padding: 7px; margin: 0; }
 .mt-book-card h3 { font-size: 18px; margin: 9px 0 10px; }
 .mt-book-card p { font-size: 12px; margin-bottom: 7px; }
 .mt-book-card .mt-text-link { font-size: 12px; }
 .mt-book-card .mt-course-label { font-size: 8px; }
 .mt-section-ending .mt-button { font-size: 12px; padding: 13px 15px; }
 .mt-home-video { grid-template-columns: 1fr; gap: 24px; }
 .mt-people-section { grid-template-columns: 1fr; gap: 27px; }
 .mt-instructor-grid { gap: 15px; }
 .mt-instructor-tile strong { font-size: 14px; }
 .mt-instructor-tile span { font-size: 12px; }
 .mt-testimonial-section blockquote p { font-size: 19px; line-height: 1.7; }
 .mt-testimonial-section cite { font-size: 12px; }
 .mt-final-cta { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; }
 .mt-final-cta > div > p:not(.mt-eyebrow) { font-size: 16px; }
 .mt-final-cta .mt-button { font-size: 14px; }
 footer.mt-site-footer { padding-top: 38px; }
 .mt-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 28px; }
 .mt-footer-brand { grid-column: span 2; }
 .mt-footer-links { padding-top: 8px; }
 .mt-footer-links h2 { margin-bottom: 15px; font-size: 14px; }
 .mt-footer-links a { font-size: 12px; margin-bottom: 9px; }
 .mt-footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 12px; padding-top: 18px; padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .mt-button, .mt-season-card { transition: none; } }

/* Readable controls and supporting copy at every viewport. */
.mt-primary-links > a, .mt-about-menu > summary, .mt-login-link, .mt-header-actions .mt-register-link { font-size: 14px; }
.mt-course-card p, .mt-season-card p, .mt-book-card p, .mt-support-feature p, .mt-support-options article p, .mt-section-heading > p, .mt-people-section > div > p:not(.mt-eyebrow), .mt-final-cta > div > p:not(.mt-eyebrow) { font-size: 16px; }
.mt-footer-links a, .mt-footer-links h2, .mt-footer-brand p, .mt-footer-brand > a:last-child, .mt-footer-bottom, .mt-footer-bottom a { font-size: 14px; }
.mt-footer-bottom { flex-wrap: wrap; }
.mt-home .mt-eyebrow, .mt-hero-copy .mt-eyebrow, .mt-course-label, .mt-book-card .mt-course-label, .mt-banner-tag, .mt-season-number, .mt-hero-benefits li { font-size: 12px; }
.mt-hero-note, .mt-hero-note strong { font-size: 14px; }
@media (max-width: 600px) {
 .mt-hero-actions { flex-direction: column; align-items: stretch; }
 .mt-hero-actions .mt-button { font-size: 14px; }
 .mt-header-actions { gap: 10px; }
 .mt-start-banner p, .mt-start-banner a, .mt-card-link, .mt-book-card .mt-text-link, .mt-instructor-tile strong, .mt-instructor-tile span { font-size: 14px; }
 .mt-book-card { grid-template-columns: 95px 1fr; gap: 14px; padding: 16px; }
 .mt-book-card p { font-size: 15px; }
 .mt-footer-bottom > div:last-child { flex-wrap: wrap; gap: 12px; }
}
/* Prominent program navigation: visible at every viewport, separate from secondary links. */
.mt-header-main { gap: 32px; min-height: 100px; flex-wrap: wrap; }
.mt-site-header nav.mt-primary-nav { display: block; order: 2; width: auto; margin-left: auto; border: 0; }
.mt-secondary-links { display: flex; align-items: center; gap: 25px; }
.mt-secondary-links > a, .mt-secondary-links .mt-about-menu > summary { min-height: 44px; display: flex; align-items: center; padding: 10px 0; color: #25475c; font-size: 15px; font-weight: 750; line-height: 1.4; }
.mt-secondary-links > a:hover, .mt-secondary-links > a[aria-current="page"], .mt-secondary-links .mt-about-menu > summary:hover { color: #045cbd; text-decoration: underline; text-underline-offset: 5px; }
.mt-header-actions { order: 3; margin-left: 0; gap: 22px; }
.mt-site-header nav.mt-program-nav { position: static; display: block; height: auto; width: 100%; padding: 0 0 18px; overflow: visible; background: #fff; box-shadow: none; }
.mt-program-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.mt-program-link { --mt-program-accent: #075eaa; --mt-program-background: #edf5fc; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; min-height: 108px; padding: 18px 20px; border: 1px solid transparent; border-top: 5px solid var(--mt-program-accent); border-radius: 10px; color: #15394e; background: var(--mt-program-background); transition: transform .15s ease, box-shadow .15s ease; }
.mt-program-link > span { min-width: 0; }
.mt-program-link strong { display: block; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.mt-program-link strong > span { display: block; }
.mt-program-link small { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; margin-top: 7px; color: #4f6472; }
.mt-program-link > b { flex-shrink: 0; font-size: 24px; font-weight: 600; line-height: 1; color: var(--mt-program-accent); }
.mt-program-fall { --mt-program-accent: #a6143b; --mt-program-background: #fff1f4; }
.mt-program-spring { --mt-program-accent: #679b28; --mt-program-background: #f0f7e6; }
.mt-program-summer { --mt-program-accent: #bc9200; --mt-program-background: #fff8d8; }
.mt-program-link:hover { color: #082b42; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(8,43,66,.11); }
.mt-program-link[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--mt-program-accent); }
.mt-program-link:focus-visible { outline: 3px solid #082b42; outline-offset: 4px; }
.mt-season-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.mt-season-card { padding: 26px; }
.mt-season-card h3 { font-size: 25px; }
.mt-season-tutoring { background: #edf5fc; border-top: 4px solid #075eaa; }
@media (max-width: 1100px) {
 .mt-header-main { gap: 22px; }
 .mt-secondary-links { gap: 18px; }
 .mt-secondary-links > a, .mt-secondary-links .mt-about-menu > summary { font-size: 14px; }
 .mt-header-actions { gap: 18px; }
 .mt-program-links { gap: 12px; }
 .mt-program-link { min-height: 112px; padding: 16px; gap: 8px; }
 .mt-program-link strong { font-size: 20px; }
 .mt-program-link > b { font-size: 22px; }
 .mt-season-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 850px) {
 .mt-header-main { min-height: 87px; gap: 0; }
 .mt-header-actions { order: 2; margin-left: auto; gap: 17px; }
 .mt-site-header nav.mt-primary-nav { order: 3; width: 100%; margin-left: 0; }
 .mt-secondary-links { flex-wrap: wrap; gap: 8px 22px; padding: 4px 0 13px; border-top: 1px solid #edf0f2; }
 .mt-secondary-links .mt-about-links { left: auto; right: 0; }
 .mt-site-header nav.mt-program-nav { padding-bottom: 15px; }
 .mt-program-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .mt-program-link { min-height: 99px; padding: 16px 19px; }
 .mt-program-link strong { font-size: 22px; }
 .mt-program-link strong > span { display: inline; }
}
@media (max-width: 600px) {
 .mt-header-main { min-height: 79px; }
 .mt-header-actions { gap: 10px; }
 .mt-program-links { gap: 10px; }
 .mt-program-link { min-height: 107px; padding: 13px; gap: 5px; border-top-width: 4px; }
 .mt-program-link strong { font-size: 20px; }
 .mt-program-link strong > span { display: block; }
 .mt-program-link small { font-size: 12px; margin-top: 6px; }
 .mt-program-link > b { font-size: 19px; }
 .mt-season-grid { grid-template-columns: 1fr; gap: 14px; }
 .mt-season-card { padding: 25px; }
 .mt-season-card h3 { font-size: 27px; }
}
@media (max-width: 360px) {
 .mt-program-link { padding: 11px; }
 .mt-program-link strong { font-size: 19px; }
 .mt-program-link > b { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mt-program-link { transition: none; } .mt-program-link:hover { transform: none; } }
/* Current MathTopia Press selection: four readable, cover-led book cards. */
.mt-featured-books.mt-books-grid--current { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.mt-books-grid--current .mt-book-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 22px; gap: 0; }
.mt-books-grid--current .mt-book-cover { height: 280px; width: 100%; padding: 12px; margin-bottom: 24px; }
.mt-books-grid--current .mt-book-cover img { width: 100%; height: 100%; object-fit: contain; }
.mt-books-grid--current .mt-book-card > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.mt-books-grid--current .mt-book-card h3 { font-size: 21px; line-height: 1.3; margin: 12px 0; }
.mt-books-grid--current .mt-book-card p { font-size: 16px; line-height: 1.65; }
.mt-books-grid--current .mt-book-card .mt-text-link { font-size: 15px; margin-top: auto; padding-top: 10px; }
@media (max-width: 1100px) {
 .mt-featured-books.mt-books-grid--current { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .mt-books-grid--current .mt-book-cover { height: 300px; }
}
@media (max-width: 600px) {
 .mt-featured-books.mt-books-grid--current { grid-template-columns: 1fr; gap: 20px; }
 .mt-books-grid--current .mt-book-card { padding: 24px; }
 .mt-books-grid--current .mt-book-cover { height: 280px; margin-bottom: 22px; }
 .mt-books-grid--current .mt-book-card h3 { font-size: 22px; }
}

/* A front panel from original publisher artwork; the source image stays intact. */
.mt-book-art {display:block;height:100%;max-width:100%;flex-shrink:1;overflow:hidden;}
.mt-book-art img,.mt-home .mt-book-art img {display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(5px 7px 5px #12364b22);}
.mt-course-promo .mt-book-art {height:240px;}

.mt-book-art.mt-book-art-wrap img,.mt-home .mt-book-art.mt-book-art-wrap img {object-fit:cover;object-position:right;}

/* Unified public pages: readable content, accessible navigation, consistent cards. */
.mt-public { --mt-ink:#10384f; --mt-muted:#4e6878; --mt-line:#d8e4ec; --mt-wash:#f1f6fa; }
.mt-public.no-scroll { overflow:auto; }
.mt-public #mt-page-content:focus { outline:none; }
.mt-public .mt-skip-link { position:absolute; z-index:1000; top:8px; left:16px; transform:translateY(-160%); padding:12px 20px; border-radius:6px; background:#082b42; color:#fff; font-size:16px; font-weight:700; text-decoration:underline; }
.mt-public .mt-skip-link:focus { transform:translateY(0); outline:3px solid #8dc540; outline-offset:3px; }
.mt-public a, .mt-public button { -webkit-tap-highlight-color:rgba(4,92,189,.13); }
.mt-public .mt-button { cursor:pointer; font-family:inherit; }
.mt-public .mt-button:disabled { cursor:wait; opacity:.7; transform:none; }
.mt-home .mt-season-card:focus-visible, .mt-home .mt-instructor-tile:focus-visible { outline:3px solid #045cbd; outline-offset:5px; }
.mt-home .mt-start-banner { align-items:flex-start; }
.mt-home .mt-start-banner a { white-space:normal; }
.mt-home .mt-course-card h3, .mt-home .mt-book-card h3 { overflow-wrap:break-word; }
.mt-home .mt-instructor-tile img { aspect-ratio:1; }
.mt-home .mt-instructor-tile span { color:#536d7d; font-size:14px; line-height:1.5; }
.mt-site-footer a { text-underline-offset:4px; }
.mt-site-footer .mt-footer-links a { padding:5px 0; margin-bottom:3px; min-height:32px; color:#4c6676; }
.mt-site-footer .mt-footer-bottom a { color:#425f72; }
.mt-info-page { color:var(--mt-ink); font-size:17px; line-height:1.75; }
.mt-info-page *, .mt-info-page *:before, .mt-info-page *:after { box-sizing:border-box; }
.mt-info-page h1, .mt-info-page h2, .mt-info-page h3 { font-weight:800; color:#082e46; line-height:1.2; letter-spacing:-.035em; }
.mt-info-page h1 { font-size:clamp(38px,4.7vw,62px); margin:16px 0 22px; }
.mt-info-page h2 { font-size:clamp(27px,3vw,38px); margin:0 0 22px; }
.mt-info-page h3 { font-size:23px; margin:14px 0; }
.mt-info-page p { margin:0 0 20px; }
.mt-info-page .mt-eyebrow { font-size:12px; line-height:1.5; letter-spacing:.13em; margin:0 0 15px; color:#315d76; }
.mt-info-page a { text-underline-offset:4px; }
.mt-info-hero { padding:58px 0; background:linear-gradient(105deg,#eff6fb,#f7faf1); border-bottom:1px solid #dce7ed; }
.mt-info-hero .mt-info-lead { font-size:21px; line-height:1.65; color:#456375; max-width:800px; margin:0; }
.mt-info-wash { background:#f4f8fa; border-top:1px solid #e2ebf0; border-bottom:1px solid #e2ebf0; }
.mt-story-section { display:grid; grid-template-columns:1.05fr 1fr; gap:65px; padding-top:70px; padding-bottom:70px; align-items:center; }
.mt-story-copy p:not(.mt-eyebrow) { color:#4f6878; }
.mt-story-image { margin:0; padding:0; }
.mt-story-image img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:18px; display:block; background:#eaf1f4; }
.mt-story-image figcaption { font-size:14px; color:#536c7b; padding-top:15px; line-height:1.6; }
.mt-story-values { padding-top:60px; padding-bottom:65px; }
.mt-info-section-heading { max-width:700px; margin-bottom:30px; }
.mt-value-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.mt-value-grid article { padding:28px; background:#fff; border:1px solid #dce6ed; border-radius:14px; }
.mt-value-number { font-size:14px; color:#075eaa; font-weight:800; }
.mt-value-grid article p { color:#4f6878; margin:0; }
.mt-info-next { padding-top:50px; padding-bottom:65px; display:flex; align-items:center; justify-content:space-between; gap:40px; }
.mt-info-next > div:first-child { max-width:720px; }
.mt-info-next h2 { font-size:30px; margin-bottom:16px; }
.mt-info-next p { color:#4f6878; margin:0; }
.mt-info-next > .mt-button { flex-shrink:0; }
.mt-info-actions { display:flex; flex-wrap:wrap; gap:12px; min-width:205px; }
.mt-contact-grid { display:grid; grid-template-columns:.9fr 1.2fr; gap:70px; padding-top:60px; padding-bottom:65px; }
.mt-contact-details { min-width:0; }
.mt-contact-details p { color:#4f6878; }
.mt-contact-details .mt-contact-email { display:inline-flex; align-items:center; gap:14px; color:#075eaa; font-size:21px; font-weight:800; text-decoration:underline; overflow-wrap:anywhere; max-width:100%; margin:7px 0 26px; }
.mt-contact-email span { flex-shrink:0; }
.mt-contact-topics { padding-top:25px; border-top:1px solid #dbe5ed; }
.mt-contact-topics h3 { font-size:18px; }
.mt-contact-topics a { color:#315e79; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:48px; padding:10px 0; border-bottom:1px solid #e2e9ee; font-weight:600; }
.mt-contact-topics a:hover { color:#075eaa; text-decoration:underline; }
.mt-contact-form-panel { min-width:0; border:1px solid #d7e3eb; background:#fff; padding:32px; border-radius:16px; box-shadow:0 8px 30px rgba(8,46,70,.04); }
.mt-contact-form-panel h2 { font-size:29px; margin-bottom:12px; }
.mt-info-page .mt-form-note { color:#526c7a; font-size:14px; line-height:1.7; }
.mt-info-page .contact-form { display:block; max-width:none; margin:24px 0 0; }
.mt-info-page .contact-form form { width:100%; max-width:none; }
.mt-info-page .contact-form .input { margin:0 0 22px; }
.mt-info-page .contact-form label { display:block; color:#1a3e53; font-size:16px; font-weight:750; margin:0 0 8px; }
.mt-info-page .contact-form input:not([type=hidden]), .mt-info-page .contact-form textarea { display:block; width:100%; padding:13px 14px; border:1px solid #91a9b9; border-radius:7px; background:#fff; color:#183e54; font:inherit; font-size:16px; line-height:1.5; box-shadow:none; }
.mt-info-page .contact-form textarea { resize:vertical; min-height:175px; }
.mt-info-page .contact-form input:focus-visible, .mt-info-page .contact-form textarea:focus-visible { outline:3px solid #075eaa!important; outline-offset:3px; }
.mt-contact-verification { margin:0 0 24px; }
.mt-contact-verification p { font-size:13px; color:#536e7e; margin:12px 0 0; }
.mt-contact-verification a, .mt-contact-privacy a { color:#075eaa; text-decoration:underline; }
.mt-info-page .mt-contact-privacy { margin:18px 0 0; }
.mt-contact-success { display:none; padding:18px 20px; border:1px solid #a3c68f; background:#f1f8ed; color:#264e28; border-radius:9px; margin:22px 0 0; }
.mt-contact-success strong { display:block; font-size:18px; }
.mt-contact-success p { margin:8px 0 0; font-size:15px; }
.mt-contact-success a { color:#245e2b; text-decoration:underline; }
body.success-contact .mt-contact-success { display:block; }
.mt-faculty-section, .mt-stories-section { padding-top:50px; padding-bottom:55px; }
.mt-faculty-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.mt-faculty-card { border:1px solid #dae5ed; border-radius:14px; overflow:hidden; background:#fff; }
.mt-faculty-card > a { height:100%; display:flex; flex-direction:column; color:#123c55; }
.mt-faculty-card > a:hover h2 { text-decoration:underline; text-underline-offset:5px; }
.mt-faculty-photo { aspect-ratio:1; background:#ecf3f7; display:grid; place-items:center; overflow:hidden; }
.mt-faculty-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:top; }
.mt-faculty-placeholder { display:grid; place-items:center; height:120px; width:120px; border-radius:50%; border:1px solid #bcd0dd; color:#2b6487; font-size:38px; font-weight:800; }
.mt-faculty-copy { padding:24px; flex:1; display:flex; flex-direction:column; }
.mt-faculty-copy h2 { font-size:24px; margin:0 0 10px; overflow-wrap:break-word; }
.mt-faculty-copy p { font-size:16px; color:#536e7e; margin:0 0 23px; }
.mt-faculty-copy .mt-card-link { margin-top:auto; padding-top:10px; }
.mt-stories-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px; align-items:start; }
.mt-story-quote { margin:0; border:1px solid #dae5ed; border-radius:14px; padding:30px; background:#f8fafc; }
.mt-quote-mark { display:block; color:#2b759f; font-family:Georgia,serif; font-size:60px; line-height:.7; margin:14px 0 15px; }
.mt-story-quote blockquote { margin:0; padding:0; border:0; font-size:18px; line-height:1.8; color:#23495f; overflow-wrap:anywhere; }
.mt-story-quote figcaption { margin-top:23px; padding-top:20px; border-top:1px solid #dce6ed; font-size:14px; color:#536e7e; }
.mt-story-quote figcaption strong, .mt-story-quote figcaption span { display:block; }
.mt-story-quote figcaption strong { color:#133e56; font-size:16px; }
.mt-info-back { display:inline-flex; color:#315d76; font-weight:650; min-height:40px; margin-bottom:28px; }
.mt-profile-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:60px; align-items:start; }
.mt-profile-photo { min-height:300px; display:grid; place-items:center; background:#e7f0f5; border:1px solid #ccdde8; border-radius:15px; overflow:hidden; }
.mt-profile-photo img { width:100%; height:auto; display:block; }
.mt-profile-copy h1 { font-size:clamp(36px,4.3vw,56px); margin-top:12px; }
.mt-profile-copy .mt-profile-position { font-size:22px; color:#315f79; font-weight:600; }
.mt-profile-bio { font-size:18px; line-height:1.9; color:#3b5e73; overflow-wrap:anywhere; }
.mt-profile-links { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:24px; }
.mt-profile-links a { color:#075eaa; text-decoration:underline; font-size:16px; padding:6px 0; min-height:40px; }
.mt-profile-courses { padding-top:55px; padding-bottom:35px; }
.mt-profile-course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.mt-profile-course { display:flex; flex-direction:column; border:1px solid #d8e5ed; border-top:4px solid #075eaa; border-radius:11px; padding:26px; background:#fff; min-width:0; }
.mt-profile-course h3 { font-size:24px; overflow-wrap:break-word; }
.mt-profile-course p { font-size:16px; color:#536e7e; }
.mt-profile-course:hover h3 { color:#075eaa; text-decoration:underline; }
.mt-tutoring-process { padding-top:32px; padding-bottom:45px; }
.mt-tutoring-process h2 { font-size:32px; line-height:1.25; margin:0 0 26px; }
.mt-tutoring-steps { list-style:none; counter-reset:mt-step; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.mt-tutoring-steps li { counter-increment:mt-step; background:#f5f9fb; border:1px solid #dce6ed; border-radius:12px; padding:25px; }
.mt-tutoring-steps li:before { content:"0" counter(mt-step); display:block; font-size:14px; color:#075eaa; font-weight:800; margin-bottom:15px; }
.mt-tutoring-steps h3 { font-size:23px; line-height:1.3; color:#123d55; margin:0 0 14px; }
.mt-tutoring-steps p { font-size:17px; line-height:1.7; color:#536e7e; margin:0; }
@media (max-width:1000px) {
 .mt-contact-grid { gap:35px; grid-template-columns:.85fr 1.15fr; }
 .mt-story-section { gap:35px; }
 .mt-faculty-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .mt-profile-grid { grid-template-columns:240px minmax(0,1fr); gap:35px; }
 .mt-profile-course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .mt-value-grid, .mt-tutoring-steps { gap:17px; }
 .mt-value-grid article, .mt-tutoring-steps li { padding:23px; }
 .mt-info-next { align-items:flex-start; flex-direction:column; gap:25px; }
}
@media (max-width:760px) {
 .mt-info-hero { padding:40px 0; }
 .mt-info-hero .mt-info-lead { font-size:19px; }
 .mt-story-section { grid-template-columns:1fr; gap:30px; padding-top:40px; padding-bottom:40px; }
 .mt-story-image { max-width:600px; }
 .mt-story-values { padding-top:40px; padding-bottom:40px; }
 .mt-value-grid, .mt-tutoring-steps { grid-template-columns:1fr; }
 .mt-info-next { padding-top:35px; padding-bottom:45px; }
 .mt-contact-grid { grid-template-columns:1fr; gap:35px; padding-top:35px; padding-bottom:40px; }
 .mt-contact-form-panel { padding:26px; }
 .mt-contact-details .mt-contact-email { font-size:20px; }
 .mt-stories-grid { grid-template-columns:1fr; }
 .mt-profile-grid { grid-template-columns:190px minmax(0,1fr); gap:26px; }
 .mt-profile-photo { min-height:240px; }
 .mt-profile-copy h1 { font-size:36px; }
 .mt-profile-bio { font-size:17px; }
}
@media (max-width:520px) {
 .mt-info-page h1 { font-size:38px; }
 .mt-faculty-grid, .mt-profile-course-grid { grid-template-columns:1fr; }
 .mt-faculty-section, .mt-stories-section { padding-top:32px; padding-bottom:30px; }
 .mt-faculty-photo { aspect-ratio:1.08; }
 .mt-faculty-copy { padding:23px; }
 .mt-story-quote { padding:25px; }
 .mt-contact-form-panel { padding:24px 19px; }
 .mt-contact-details .mt-contact-email { font-size:18px; }
 .mt-info-actions { width:100%; }
 .mt-info-actions .mt-button { width:100%; }
 .mt-profile-grid { grid-template-columns:1fr; gap:28px; }
 .mt-profile-photo { max-width:280px; width:100%; }
 .mt-profile-courses { padding-top:38px; }
 .mt-tutoring-process h2 { font-size:29px; }
}
@media (prefers-reduced-motion:reduce) {
 .mt-public .mt-button, .mt-public .mt-season-card, .mt-public .mt-program-link { transition:none; }
 .mt-public .mt-button:hover, .mt-public .mt-season-card:hover, .mt-public .mt-program-link:hover { transform:none; }
}

.mt-privacy-page{max-width:920px;margin:0 auto;padding:3rem 1.25rem 4rem;line-height:1.75}.mt-privacy-page h2{margin-top:2rem;font-size:1.3rem}.mt-privacy-page .mt-actions{display:flex;gap:.75rem;flex-wrap:wrap}.mt-analytics-choice{position:fixed;bottom:1rem;left:1rem;right:1rem;z-index:9999;max-width:760px;margin:auto;padding:1rem 1.25rem;background:#fff;border:1px solid #bdd0de;border-radius:14px;box-shadow:0 8px 35px #163b5126;color:#17384d;font-size:15px}.mt-analytics-choice p{margin:0 0 .75rem;line-height:1.5}.mt-analytics-choice a{margin-right:1rem}.mt-analytics-choice button{margin:.25rem .4rem .25rem 0;padding:.5rem 1rem;border:1px solid #155b82;border-radius:6px;color:#155b82;background:white;font:inherit;cursor:pointer}.mt-analytics-choice button:focus-visible{outline:3px solid #f3b74f;outline-offset:2px}@media print{.mt-analytics-choice{display:none}}
