/* Generated 390px mobile baseline; rebuild with build-mobile-rem.py. */
.teachers-page{overflow-x: clip;}
.teachers-page button{font: inherit;}
.teachers-page a:focus-visible, .teachers-page button:focus-visible, .career-dialog-content:focus-visible{outline: rgb(47, 107, 255) solid 0.1875rem; outline-offset: 0.25rem;}
.skip-link{position: fixed; top: 0.5rem; left: 0.75rem; z-index: 200; padding: 0.75rem 1.25rem; background: rgb(255, 255, 255); color: rgb(21, 62, 146); transform: translateY(-150%);}
.skip-link:focus{transform: none;}
.sr-only{position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;}
.subpage-hero--teachers .subpage-hero-media img{object-position: 72% center;}
.subpage-hero--teachers .subpage-hero-media::before{background: linear-gradient(90deg, rgba(8, 14, 23, 0.86), rgba(8, 14, 23, 0.65) 45%, rgba(8, 14, 23, 0.2)), linear-gradient(0deg, rgba(6, 11, 18, 0.35), transparent 70%);}
.teachers-section{padding: 5.5rem 0 7rem; scroll-margin-top: 6rem; background: linear-gradient(rgb(255, 255, 255) 0, rgb(244, 247, 252) 38.75rem, rgb(247, 248, 250) 100%);}
.teachers-heading{display: flex; justify-content: space-between; align-items: baseline; gap: 1.25rem; margin-bottom: 2.625rem;}
.teachers-heading h2{font-size: 2.125rem; font-weight: 650; letter-spacing: -0.045em; line-height: 1.4; word-break: keep-all;}
.teachers-heading h2 em{font-style: normal; color: rgb(40, 97, 213);}
.teachers-heading p{font-size: max(13px,0.875rem); color: rgb(114, 121, 130); word-break: keep-all;}
.teachers-grid{display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.125rem 1.75rem; align-items: stretch;}
.teacher-profile{min-width: 0; scroll-margin-top: 6.25rem; background: rgb(255, 255, 255); border: 1px solid rgb(230, 235, 242); border-radius: 0.875rem; overflow: hidden; display: flex; flex-direction: column; box-shadow: rgba(23, 45, 83, 0.024) 0 0.3125rem 1.25rem; transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s;}
.teacher-portrait{position: relative; aspect-ratio: 1.22 / 1; overflow: hidden; margin: 0; background: radial-gradient(at 50% 48%, rgba(255, 255, 255, 0.6) 0, transparent 64%), linear-gradient(135deg, rgb(233, 240, 252), rgb(220, 230, 245));}
.teacher-profile:nth-child(3n+2) .teacher-portrait{background: radial-gradient(at 50% 48%, rgba(255, 255, 255, 0.6) 0, transparent 64%), linear-gradient(135deg, rgb(237, 242, 241), rgb(223, 234, 231));}
.teacher-profile:nth-child(3n) .teacher-portrait{background: radial-gradient(at 50% 48%, rgba(255, 255, 255, 0.6) 0, transparent 64%), linear-gradient(135deg, rgb(242, 240, 248), rgb(229, 226, 240));}
.teacher-portrait img{position: absolute; top: 0; left: 50%; width: auto; height: 110%; max-width: none; transform: translateX(var(--portrait-center)); transition: filter 0.3s;}
.teacher-info{padding: 1.5rem 1.625rem 0; display: flex; flex-direction: column; flex: 1 1 0%;}
.teacher-subject{width: fit-content; font-size: max(10px,0.6875rem); color: rgb(49, 89, 144); font-weight: 600; margin-bottom: 0.75rem; padding: 0.3125rem 0.5625rem; background: rgb(240, 244, 251); border-radius: 0.25rem;}
.teacher-info h3{display: flex; align-items: baseline; gap: 0.625rem; font-size: 1.6875rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.04em;}
.teacher-info h3 > span{font-size: max(13px,0.875rem); color: rgb(98, 107, 120); font-weight: 450; letter-spacing: -0.01em;}
.teacher-highlights{margin: 1.125rem 0 1.375rem; min-height: 6.375rem; color: rgb(81, 91, 105); font-size: max(10px,0.8125rem); line-height: 1.8; display: flex; flex-direction: column; gap: 0.25rem;}
.teacher-highlights li{word-break: keep-all; overflow-wrap: anywhere;}
.career-button{width: 100%; margin-top: auto; padding: 1.0625rem 0; min-height: 4.125rem; display: flex; align-items: center; justify-content: space-between; gap: 0.625rem; cursor: pointer; border-width: 1px 0 0; border-style: solid none none; border-color: rgb(229, 235, 243) currentcolor currentcolor; border-image: initial; background: transparent; color: rgb(43, 79, 136); text-align: left; font-size: max(10px,0.8125rem) !important; font-weight: 600 !important;}
.career-toggle{width: 2rem; height: 2rem; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: rgb(234, 240, 251); color: rgb(44, 96, 197); font-size: max(13px,1.1875rem); line-height: 1; transition: background 0.25s, color 0.25s, transform 0.25s;}
@media (hover: hover){.teacher-profile:hover, .teacher-profile:focus-within{border-color: rgb(184, 205, 239); box-shadow: rgba(31, 69, 126, 0.09) 0 0.875rem 2rem; transform: translateY(-0.25rem);}
.teacher-profile:hover .teacher-portrait img{filter: brightness(1.025);}
.career-button:hover .career-toggle, .career-button:focus-visible .career-toggle{background: rgb(47, 107, 255); color: rgb(255, 255, 255); transform: rotate(45deg);}}

.teachers-grid{grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem;}
.teachers-section{padding: 3.625rem 0 4.25rem;}
.teachers-heading{display: block; margin-bottom: 1.875rem;}
.teachers-heading h2{font-size: 1.625rem;}
.teachers-heading p{margin-top: 0.75rem; font-size: max(10px,0.8125rem);}
.teachers-grid{grid-template-columns: minmax(0, 1fr); gap: 1.625rem;}
.teacher-portrait{aspect-ratio: 1.2 / 1;}
.teacher-info{padding: 1.375rem 1.375rem 0;}
.teacher-info h3{font-size: 1.5625rem;}
.teacher-highlights{min-height: 0; margin-top: 1rem;}
.next-page{padding: 4.125rem 0; background: rgb(255, 255, 255);}
.next-page a{display: grid; grid-template-columns: 9.375rem 1fr auto; align-items: center; gap: 1.875rem; padding: 1.8125rem 0; border-top: 1px solid rgb(34, 42, 55); border-bottom: 1px solid rgb(215, 217, 218);}
.next-page small{color: rgb(133, 140, 149); font-size: max(10px,0.6875rem); font-weight: 750; letter-spacing: 0.02em;}
.next-page strong{font-size: 1.6875rem; letter-spacing: -0.035em;}
.next-page .arrow{font-size: 1.5625rem; transition: transform 0.2s, color 0.2s;}
.next-page a:hover .arrow{color: var(--blue); transform: translateX(0.375rem);}
.next-page{padding: 3rem 0;}
.next-page a{grid-template-columns: 1fr auto; gap: 0.5rem; padding: 1.375rem 0;}
.next-page small{grid-column: 1 / -1;}
.next-page strong{font-size: 1.375rem;}
.next-page .arrow{grid-area: 2 / 2;}
@media (prefers-reduced-motion: reduce){.next-page .arrow{transition: none;}}
html.career-modal-open{overflow: hidden;}
html{scrollbar-gutter: stable;}
.career-dialog{position: fixed; inset: 0; margin: auto; width: min(53.75rem, 100% - 2.5rem); max-width: none; max-height: min(48.75rem, -4rem + 100dvh); padding: 0; border: 0; border-radius: 1.125rem; background: rgb(255, 255, 255); color: rgb(23, 35, 54); box-shadow: rgba(7, 21, 43, 0.267) 0 1.75rem 5.625rem; overflow: hidden;}
.career-dialog::backdrop{background: rgba(8, 19, 39, 0.64); backdrop-filter: blur(0.3125rem);}
.career-dialog[open]{animation: 0.22s ease-out 0s 1 normal none running careerEnter;}
.career-dialog-layout{display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); max-height: inherit;}
.career-dialog-close{position: absolute; top: 0.875rem; right: 0.875rem; z-index: 2; width: 2.375rem; height: 2.375rem; border: 1px solid rgb(223, 230, 239); border-radius: 50%; background: rgb(255, 255, 255); color: rgb(57, 74, 98); cursor: pointer; display: grid; place-items: center;}
.career-dialog-close span{font-size: 1.6875rem; line-height: 1;}
.career-dialog-close:hover{background: rgb(237, 243, 255); color: rgb(35, 91, 201);}
.career-dialog-profile{background: linear-gradient(150deg, rgb(233, 240, 252), rgb(244, 246, 252)); min-width: 0; padding-top: 1.875rem; display: flex; flex-direction: column;}
.career-dialog-photo{height: 19.6875rem; position: relative; overflow: hidden; margin: 0; flex-shrink: 0;}
.career-dialog-photo img{position: absolute; top: 0; left: 50%; height: 110%; width: auto; max-width: none; transform: translateX(var(--portrait-center));}
.career-dialog-identity{padding: 1.75rem 1.75rem 2.125rem;}
.career-dialog-identity .teacher-subject{padding: 0; background: none; font-size: max(10px,0.75rem);}
.career-dialog-identity h2{font-size: 1.8125rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.4;}
.career-dialog-identity h2 span{display: inline-block; margin-left: 0.625rem; font-size: max(13px,0.875rem); color: rgb(104, 117, 138); font-weight: 450;}
.career-dialog-content{padding: 4rem 2.5rem 2.5rem; overflow-y: auto; overscroll-behavior: contain; min-height: 0; scrollbar-width: thin; scrollbar-color: rgb(187, 201, 220) transparent;}
.career-dialog-content h3{font-size: max(13px,1.25rem); font-weight: 650; margin-bottom: 1.5625rem;}
.career-dialog-content ul{padding-left: 1.0625rem; list-style: disc; color: rgb(81, 94, 112); font-size: max(13px,0.875rem); line-height: 1.85;}
.career-dialog-content li{padding-left: 0.25rem; margin-top: 0.8125rem; word-break: keep-all; overflow-wrap: anywhere;}
.career-dialog-content li::marker{color: rgb(109, 146, 202); font-size: 0.5625rem;}
@keyframes careerEnter { 
  0% { opacity: 0; transform: translateY(0.75rem); }
  100% { opacity: 1; transform: translateY(0); }
}
.career-dialog{width: calc(100% - 1.5rem); max-height: calc(-2rem + 100dvh); border-radius: 0.875rem;}
.career-dialog-layout{display: flex; flex-direction: column;}
.career-dialog-profile{flex-shrink: 0; display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.375rem 2.625rem 0 1rem;}
.career-dialog-photo{height: 8.5rem;}
.career-dialog-identity{padding: 0.75rem 0 1.375rem;}
.career-dialog-identity h2{font-size: 1.5rem;}
.career-dialog-identity h2 span{font-size: max(10px,0.75rem); margin-left: 0.4375rem;}
.career-dialog-identity .teacher-subject{font-size: 0.625rem; word-break: keep-all;}
.career-dialog-close{top: 0.5625rem; right: 0.5625rem; width: 2rem; height: 2rem;}
.career-dialog-content{padding: 1.5625rem 1.5625rem 1.875rem;}
.career-dialog-content h3{font-size: max(13px,1.125rem); margin-bottom: 1.125rem;}
.career-dialog-content ul{font-size: max(10px,0.8125rem); line-height: 1.85;}
@media (prefers-reduced-motion: reduce){html{scroll-behavior: auto;}
.teacher-profile, .teacher-portrait img, .career-toggle{transition: none;}
.career-dialog[open]{animation: auto ease 0s 1 normal none running none;}}
