/* Our Team: warm scholastic editorial, scoped to this page. */
.ada-team-page {
  --team-ink: #202147;
  --team-navy: #000087;
  --team-cream: #fff7ec;
  --team-paper: #fffcf7;
  --team-orange: #ffa503;
  --team-muted: #55566b;
  --team-line: #dedbd8;
  color: var(--team-ink);
  background: var(--team-cream);
  font-family: Lato, sans-serif;
}
.ada-team-page .navbar1_component { background: #ffedcc; z-index: 1000; }
.ada-team-page .navbar1_menu-button { border: 0; background: transparent; }
.ada-team-page .navbar1_dropdown-toggle { font: inherit; border: 0; background: transparent; }
.ada-team-page .navbar1_dropdown-list { background: #fff7ec; }
.ada-team-page :is(a, button, summary):focus-visible { outline: 3px solid #000087; outline-offset: 5px; }
.team-skip { position: fixed; left: 1rem; top: -5rem; z-index: 1100; background: #ffedcc; padding: 1rem; color: #000087; }
.team-skip:focus { top: 1rem; }
.team-main { padding-top: 4.5rem; }
.team-main *, .team-main *::before, .team-main *::after { box-sizing: border-box; }
.team-wrap { width: min(1180px, 89%); margin-inline: auto; }
.team-main h1, .team-main h2, .team-main h3 { color: var(--team-navy); font-weight: 500; margin: 0; letter-spacing: -.035em; line-height: 1.1; }
.team-main h1 { font-size: clamp(2.9rem, 6vw, 5.35rem); }
.team-main h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); }
.team-main h3 { font-size: 2rem; }
.team-main p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.75; }
.team-main .team-eyebrow { display: block; margin: 0 0 1.35rem; font-size: .75rem; line-height: 1.5; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--team-navy); }
.team-hero { position: relative; padding: 4rem 0 3.25rem; overflow: hidden; background-image: linear-gradient(#e7dec844 1px, transparent 1px), linear-gradient(90deg, #e7dec844 1px, transparent 1px); background-size: 36px 36px; }
.team-hero-layout { display: grid; gap: 2rem; align-items: end; }
.team-hero h1 span { position: relative; display: inline-block; isolation: isolate; }
.team-hero h1 span::after { content: ""; position: absolute; height: .17em; background: #ffcd72; bottom: .04em; left: 0; right: 0; z-index: -1; transform: rotate(-1deg); }
.team-hero-copy { max-width: 27rem; }
.team-hero-copy p { color: var(--team-muted); font-size: 1.125rem; }
.team-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.65rem; }
.team-button { display: inline-flex; justify-content: center; align-items: center; gap: 1.6rem; min-height: 50px; padding: .85rem 1.35rem; background: var(--team-navy); color: #fff7ec; border: 1px solid var(--team-navy); border-radius: 7px; text-decoration: none; font-size: .95rem; font-weight: 700; transition: transform .2s ease; }
.team-button:hover { transform: translateY(-2px); color: #fff7ec; }
.team-text-link { color: var(--team-navy); text-underline-offset: 5px; font-size: .95rem; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.team-belief { border-top: 1px solid var(--team-line); border-bottom: 1px solid var(--team-line); padding: 1.2rem 0; }
.team-belief .team-wrap { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: center; }
.team-belief p { margin: 0; font-size: .95rem; }
.team-belief strong { color: var(--team-navy); }
.team-belief span { color: var(--team-muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.team-principal { padding: 4rem 0; scroll-margin-top: 6rem; }
.team-principal-layout { display: grid; gap: 2rem; align-items: start; }
.team-principal-portrait { margin: 0; }
.team-principal-portrait img { display: block; width: 120px; height: 150px; object-fit: cover; object-position: center top; border-radius: 8px; }
.team-principal-portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem .25rem 0; font-size: .8rem; color: var(--team-muted); }
.team-principal-portrait figcaption span:last-child { font-style: italic; }
.team-principal-copy .team-eyebrow { margin-bottom: .9rem; }
.team-principal-copy .team-role { color: var(--team-navy); font-weight: 700; margin: .65rem 0; }
.team-principal-copy .team-meta { font-size: .875rem; color: var(--team-muted); margin-bottom: 1.5rem; }
.team-main blockquote { margin: 1.7rem 0; padding: .2rem 0 .2rem 1.25rem; border-left: 3px solid var(--team-orange); color: var(--team-navy); font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.5; font-weight: 500; }
.team-main details { border-top: 1px solid var(--team-line); }
.team-main summary { display: flex; gap: 1rem; justify-content: space-between; align-items: center; min-height: 58px; padding: 1rem 0; cursor: pointer; list-style: none; color: var(--team-navy); font-size: .95rem; font-weight: 700; }
.team-main summary::-webkit-details-marker { display: none; }
.team-main summary::after { content: "+"; flex: 0 0 27px; width: 27px; height: 27px; border: 1px solid #c4c4d9; border-radius: 50%; text-align: center; line-height: 23px; font-size: 1.25rem; font-weight: 400; }
.team-main details[open] > summary::after { content: "−"; }
.team-profile-details { padding: .5rem 0 1.3rem; }
.team-profile-details h4 { margin: 1.5rem 0 .65rem; font-family: Lato, sans-serif; color: var(--team-navy); font-size: 1rem; font-weight: 800; line-height: 1.5; }
.team-profile-details h4:first-child { margin-top: .25rem; }
.team-main .team-profile-details p { font-size: .95rem; }
.team-tutors { background: #f0eff8; padding: 4rem 0; scroll-margin-top: 4rem; }
.team-section-head { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.team-section-head p { color: var(--team-muted); max-width: 31rem; margin: 0; }
.team-section-head .team-eyebrow { margin-bottom: .9rem; }
.team-tutor-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.team-tutor { min-width: 0; border: 1px solid #dedeea; border-radius: 12px; background: var(--team-paper); padding: 1.25rem; }
.team-tutor-top { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.1rem; align-items: start; margin-bottom: 1.4rem; }
.team-tutor-photo { display: block; width: 120px; height: 150px; object-fit: cover; object-position: center top; border-radius: 8px; background: #e5e5f3; }
.team-tutor h3 { margin-bottom: .8rem; font-size: clamp(1.65rem, 2.7vw, 2.25rem); }
.team-main .team-subjects { font-size: .9rem; font-weight: 700; color: var(--team-navy); line-height: 1.55; margin-bottom: .55rem; }
.team-main .team-level { color: var(--team-muted); font-size: .8rem; margin: 0; line-height: 1.5; }
.team-main .team-qualification { font-size: .9rem; line-height: 1.6; margin-bottom: .8rem; }
.team-main .team-approach { color: var(--team-muted); font-size: .95rem; margin-bottom: 1rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.3rem; padding: 0; list-style: none; }
.team-tags li { font-size: .7rem; color: #414365; border: 1px solid #dddce9; border-radius: 4px; padding: .25rem .5rem; line-height: 1.5; }
.team-tutor summary { padding-bottom: .2rem; }
.team-tutor details[open] summary { padding-bottom: 1rem; }
.team-principles { padding: 4rem 0; }
.team-principles-intro { max-width: 36rem; margin-bottom: 2rem; }
.team-principles-intro p { margin-top: 1.2rem; color: var(--team-muted); }
.team-principle-list { margin: 0; padding: 0; list-style: none; counter-reset: belief; }
.team-principle-list li { counter-increment: belief; display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; border-top: 1px solid var(--team-line); padding: 1.4rem 0; }
.team-principle-list li::before { content: "0" counter(belief); color: #8a6330; font-size: .8rem; padding-top: .15rem; }
.team-principle-list h3 { font-family: Lato, sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -.015em; margin: 0 0 .4rem; }
.team-principle-list p { color: var(--team-muted); font-size: .95rem; margin: 0; }
.team-enquiry { padding: 0 0 4rem; }
.team-enquiry-box { padding: 2rem 1.5rem; background: #ffedcc; border: 1px solid #f1d9aa; border-radius: 12px 12px 60px 12px; display: grid; gap: 1.5rem; align-items: center; }
.team-enquiry h2 { max-width: 36rem; }
.team-enquiry p { max-width: 35rem; margin: 1.25rem 0 0; color: #575165; }
.team-enquiry .team-button { justify-self: start; }
@media (min-width: 768px) {
  .team-hero { padding: 5rem 0 4rem; }
  .team-hero-layout { grid-template-columns: 1.25fr 1fr; gap: 4rem; }
  .team-principal { padding: 5rem 0; }
  .team-principal-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 3rem; }
  .team-principal-copy { padding-top: 1.25rem; }
  .team-tutors, .team-principles { padding: 5rem 0; }
  .team-section-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 4rem; }
  .team-tutor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-tutor { padding: 1.65rem; }
  .team-principles-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
  .team-enquiry-box { grid-template-columns: 1fr auto; gap: 3rem; padding: 3rem; }
}
@media (min-width: 1100px) {
  .team-tutor-top { grid-template-columns: 120px minmax(0, 1fr); gap: 1.6rem; }
  .team-tutor { padding: 2rem; }
  .team-tutor:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .team-tutor:last-child .team-tutor-top { grid-row: 1 / 5; margin-bottom: 0; grid-template-columns: 120px minmax(0, 1fr); }
  .team-tutor:last-child details { grid-column: 1 / -1; margin-top: .5rem; }
}
@media (max-width: 991px) {
  .ada-team-page .navbar1_menu.is-page-height-tablet { background: #fff7ec; max-height: calc(100dvh - 4.5rem); height: auto; }
  .ada-team-page .navbar1_menu-button { padding: .5rem; }
  .ada-team-page .navbar1_dropdown-toggle { width: 100%; text-align: left; }
}
@media (max-width: 767px) {
  .team-main { padding-top: 4rem; }
  .team-principal-portrait img { border-radius: 8px; }
  .team-enquiry .team-button { width: 100%; font-size: .88rem; gap: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .team-hero-layout { animation: team-arrive .55s ease-out both; }
  @keyframes team-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .ada-team-page *, .ada-team-page *::before, .ada-team-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
