/* Educator inquiry page only; the external Tally form retains its own styles. */
.educator-contact {
  --ec-blue: #0b63e6;
  --ec-navy: #0d1b2a;
  --ec-copy: #52627b;
  --ec-line: #d6dfec;
  color: var(--ec-navy);
}
.educator-contact h1,
.educator-contact h2,
.educator-contact h3 { color: inherit; letter-spacing: -.035em; }
.educator-contact p { line-height: 1.65; }
.educator-contact a:focus-visible,
.educator-contact #program-inquiry:focus-visible { outline: 3px solid #5999f5; outline-offset: 6px; border-radius: 3px; }
.ec-hero { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
.ec-hero__inner { position: relative; z-index: 1; min-height: 540px; display: flex; align-items: center; padding-top: 3.25rem; padding-bottom: 4rem; }
.ec-hero__copy { width: 48%; max-width: 630px; animation: ec-enter .6s ease-out both; }
.ec-back { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; margin-bottom: 1rem; color: var(--ec-blue); font-size: .9rem; font-weight: 600; text-decoration: none; }
.ec-back:hover { color: #084fb9; text-decoration: underline; text-underline-offset: .25em; }
.ec-hero h1 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.06; margin: 0 0 1.6rem; }
.ec-hero h1 span { color: var(--ec-blue); display: block; }
.ec-hero__copy > p { max-width: 510px; margin: 0 0 1.8rem; color: #3f506b; font-size: 1.2rem; line-height: 1.6; }
.ec-hero__scene { position: absolute; inset: 0 0 0 34%; z-index: 0; }
.ec-hero__scene img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ec-hero__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff, transparent 30%); pointer-events: none; }
.ec-button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 54px; padding: .95rem 1.5rem; background: var(--ec-blue); color: #fff; border: 1px solid var(--ec-blue); border-radius: 99px; font-size: 1rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.ec-button:hover { color: #fff; background: #084fb9; border-color: #084fb9; transform: translateY(-2px); }
.ec-button i { transition: transform .18s ease; }
.ec-button:hover i { transform: translateY(3px); }
.ec-conversation { background: #fff; border-top: 1px solid var(--ec-line); padding: 3.5rem 0 5rem; }
.ec-conversation__grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 4rem; align-items: start; }
.ec-inquiry { grid-column: 2; grid-row: 1; min-width: 0; padding-left: 3.5rem; border-left: 1px solid var(--ec-line); }
.ec-inquiry__heading h2 { font-size: clamp(2rem, 2.7vw, 2.7rem); line-height: 1.12; font-weight: 700; margin: 0 0 1rem; scroll-margin-top: 110px; }
.ec-inquiry__heading > p { font-size: 1.1rem; color: var(--ec-copy); margin-bottom: .65rem; }
.ec-form-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-bottom: 1.5rem; color: var(--ec-blue); font-size: .9rem; text-decoration: none; font-weight: 600; }
.ec-form-link:hover { color: #084fb9; text-decoration: underline; text-underline-offset: .25em; }
.ec-form-link i { font-size: .85em; }
.ec-form iframe { display: block; width: 100%; border: 0; }
.ec-privacy { font-size: .83rem; color: var(--ec-copy); margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--ec-line); }
.ec-privacy a { color: var(--ec-blue); text-underline-offset: .15em; }
.ec-context { grid-column: 1; grid-row: 1; align-self: stretch; min-width: 0; }
.ec-context__inner { position: sticky; top: 100px; }
.ec-label { color: var(--ec-blue); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; margin-bottom: 1rem; }
.ec-context h2 { font-size: clamp(2rem, 2.7vw, 2.6rem); line-height: 1.12; font-weight: 700; margin-bottom: 1.3rem; max-width: 380px; }
.ec-context__lead { color: var(--ec-copy); font-size: 1.1rem; margin-bottom: 1.5rem; }
.ec-topics { list-style: none; padding: 0; margin: 0; }
.ec-topics li { display: flex; gap: 1.4rem; padding: 1.5rem 0; border-bottom: 1px solid var(--ec-line); }
.ec-topics li:last-child { border-bottom: 0; }
.ec-topics li > span { color: var(--ec-blue); font-size: 1.6rem; font-weight: 600; letter-spacing: -.05em; line-height: 1.1; }
.ec-topics h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; margin: 0 0 .5rem; }
.ec-topics p { font-size: 1rem; color: var(--ec-copy); margin: 0; }
.ec-questions { background-color: var(--ec-navy); background-image: radial-gradient(#74b5ff33 1px, transparent 1px); background-size: 22px 22px; color: #fff; padding: 1.8rem; margin-top: 1.5rem; }
.ec-questions h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .8rem; }
.ec-questions p { color: #cbd9e9; font-size: 1rem; margin: 0; }
@keyframes ec-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 1600px) { .ec-hero__scene { left: 39%; right: max(0px, calc((100vw - 1700px)/2)); } }
@media (max-width: 1199.98px) {
  .ec-hero__inner { min-height: 510px; }
  .ec-hero__copy { width: 51%; }
  .ec-hero h1 { font-size: 3.7rem; }
  .ec-hero__copy > p { font-size: 1.1rem; }
  .ec-conversation__grid { gap: 2rem; grid-template-columns: .85fr 1.4fr; }
  .ec-inquiry { padding-left: 2rem; }
  .ec-context h2 { font-size: 2.2rem; }
  .ec-topics li { gap: 1rem; }
}
@media (max-width: 991.98px) {
  .ec-hero { display: flex; flex-direction: column; }
  .ec-hero__inner { min-height: auto; padding-top: 2.5rem; padding-bottom: 1rem; }
  .ec-hero__copy { width: 100%; max-width: 660px; }
  .ec-hero h1 { font-size: clamp(2.8rem, 6.4vw, 4rem); }
  .ec-hero__copy > p { max-width: 550px; }
  .ec-hero__scene { position: relative; inset: auto; width: 100%; order: 2; }
  .ec-hero__scene img { height: auto; max-height: 360px; object-fit: cover; object-position: right; }
  .ec-hero__scene::after { display: none; }
  .ec-conversation { padding-top: 2.5rem; }
  .ec-conversation__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .ec-inquiry { grid-column: 1; grid-row: 1; border-left: 0; padding-left: 0; }
  .ec-context { grid-column: 1; grid-row: 2; padding-top: 2.5rem; border-top: 1px solid var(--ec-line); }
  .ec-context__inner { position: static; }
  .ec-context h2 { max-width: none; }
  .ec-context__lead { max-width: 580px; }
}
@media (max-width: 575.98px) {
  .educator-contact .container { padding-left: 24px; padding-right: 24px; }
  .ec-hero__inner { padding-top: 1.5rem; }
  .ec-back { font-size: .82rem; margin-bottom: 1rem; }
  .ec-hero h1 { font-size: 2.85rem; margin-bottom: 1.3rem; }
  .ec-hero__copy > p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.5rem; }
  .ec-button { font-size: .92rem; padding: .95rem 1.2rem; }
  .ec-hero__scene img { width: 125%; max-width: none; margin-left: -25%; }
  .ec-inquiry__heading h2 { font-size: 2.05rem; }
  .ec-inquiry__heading > p { font-size: 1rem; }
  .ec-form-link { font-size: .85rem; margin-bottom: 1rem; }
  .ec-conversation { padding-bottom: 3rem; }
  .ec-context h2 { font-size: 2rem; }
  .ec-questions { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ec-hero__copy { animation: none; }
  .educator-contact *, .educator-contact *::before, .educator-contact *::after { transition: none !important; }
}
