/* Teacher bio dialogs — brand: navy / paper / gold, Cormorant + Inter */
.fc.has-bio{cursor:pointer;transition:transform .45s var(--ease,ease),box-shadow .45s var(--ease,ease)}
.fc.has-bio:hover,.fc.has-bio:focus-visible{transform:translateY(-4px);box-shadow:0 28px 56px -30px rgba(11,19,64,.45);outline:none}
.fc.has-bio .fc-readmore{display:inline-flex;align-items:center;gap:.45rem;margin-top:.9rem;font-family:Inter,sans-serif;font-size:.9rem;font-weight:600;color:var(--gold-deep,#A98D52);letter-spacing:.02em}
.fc.has-bio .fc-readmore::after{content:"→";transition:transform .3s}
.fc.has-bio:hover .fc-readmore::after{transform:translateX(4px)}
html.tb-lock,html.tb-lock body{overflow:hidden}
.tb-overlay{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:rgba(0,0,31,.72);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s .35s}
.tb-overlay.is-open{opacity:1;visibility:visible;transition:opacity .35s ease}
.tb-dialog{position:relative;display:grid;grid-template-columns:minmax(260px,36%) 1fr;width:min(1120px,100%);max-height:min(88vh,860px);background:#FAF7F1;color:#1A1E33;border:1px solid rgba(200,169,107,.45);box-shadow:0 60px 120px -40px rgba(0,0,0,.7);overflow:hidden;transform:translateY(18px) scale(.985);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.tb-overlay.is-open .tb-dialog{transform:none}
.tb-photo{position:relative;background:#000034;min-height:100%}
.tb-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.tb-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,31,0) 60%,rgba(0,0,31,.45) 100%)}
.tb-body{padding:3rem 3.2rem 3rem 3rem;overflow-y:auto}
.tb-eyebrow{font-family:Inter,sans-serif;font-size:1rem;font-weight:600;letter-spacing:.06em;color:#A98D52;margin:0 0 .7rem}
.tb-name{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:clamp(2.6rem,3.6vw,3.4rem);line-height:1.05;color:#000034;margin:0 0 1.4rem}
.tb-bio p{font-family:Inter,sans-serif;font-size:1.3rem;line-height:1.65;color:#1A1E33;margin:0 0 1.1rem}
.tb-quote{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:1.5rem;line-height:1.35;color:#5B3A0E;margin:0 0 1.4rem;padding-left:1rem;border-left:2px solid #C8A96B}
.tb-facts{margin:1.8rem 0 0;padding-top:1.5rem;border-top:1px solid rgba(200,169,107,.35);display:grid;gap:1rem}
.tb-facts div{display:grid;grid-template-columns:130px 1fr;gap:1rem}
.tb-facts dt{font-family:Inter,sans-serif;font-size:1rem;font-weight:600;color:#A98D52;margin:0}
.tb-facts dd{font-family:Inter,sans-serif;font-size:1.15rem;line-height:1.55;color:#1A1E33;margin:0}
.tb-facts:empty{display:none}
.tb-close{position:absolute;top:.9rem;right:.9rem;z-index:2;width:44px;height:44px;border-radius:50%;border:1px solid rgba(200,169,107,.5);background:#FAF7F1;color:#000034;font-size:1.6rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px -14px rgba(0,0,31,.5)}
.tb-close:hover{background:#000034;color:#F3EEE3}
@media (max-width:760px){
  .tb-overlay{padding:0;align-items:flex-end}
  .tb-dialog{grid-template-columns:1fr;width:100%;max-height:92vh;border-radius:14px 14px 0 0;transform:translateY(40px)}
  .tb-photo{aspect-ratio:4/3;min-height:0;max-height:38vh}
  .tb-photo img{object-position:50% 25%}
  .tb-body{padding:1.6rem 1.4rem 2.4rem}
  .tb-bio p{font-size:1.15rem;line-height:1.6}
  .tb-quote{font-size:1.3rem}
  .tb-facts div{grid-template-columns:1fr;gap:.2rem}
  .tb-close{top:.7rem;right:.7rem;background:rgba(250,247,241,.92)}
}
