:root {
  color-scheme: dark;
  --purple: #5501da;
  --cyan: #01dae9;
  --pink: #fd54ac;
  --black: #000;
  --white: #fff;
  --line: rgb(255 255 255 / 39%);
  --muted: rgb(255 255 255 / 88%);
  --inset: clamp(18px, 5vw, 52px);
  --photo-radius: 16%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--purple);
  color: var(--white);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
[hidden] { display: none !important; }
:where(h1,h2,h3,p,ol,ul,dl,dd) { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--photo-radius); }
.shell { width: min(100% - 2 * var(--inset), 1140px); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-150%); z-index: 1; padding: 12px; background: var(--black); }
.skip:focus { transform: translateY(0); }
.header, .footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 22px; min-height: 64px; }
.header { border-bottom: 1px solid var(--line); }
.header nav, .footer div { display: flex; align-items: center; flex-wrap: wrap; gap: 2px clamp(13px, 2.5vw, 26px); }
.header a, .footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: .88rem; }
.header a:hover, .footer a:hover, .text-link:hover { text-decoration: underline; }
.header-contact { color: var(--cyan); font-weight: 700; }
.brand-mark {
  display: inline-block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: url('/assets/brand-original.jpg') 90% 58% / 497% auto no-repeat;
}
.footer { border-top: 1px solid var(--line); padding-block: 10px; }
.section { padding-block: clamp(28px, 5vw, 52px); border-top: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: 26px 54px; padding-block: clamp(36px, 8vw, 94px); }
.hero > :first-child { container-type: inline-size; }
.hero h1 { font-size: clamp(1.75rem, 12.5cqi, 5.85rem); }
.hero h1 span { white-space: nowrap; }
h1 { font-size: clamp(2.5rem, 7.3vw, 5.85rem); line-height: 1.08; font-weight: 830; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.16; font-weight: 800; }
h3 { font-size: 1.05rem; line-height: 1.24; }
.eyebrow { color: var(--cyan); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
.hero-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.lede { max-width: 46ch; font-size: clamp(1.05rem, 2vw, 1.27rem); color: var(--muted); margin-top: 18px; }
.action, .outline {
  display: inline-flex; width: fit-content; max-width: 100%; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 999px;
  color: var(--white); background: var(--pink); text-decoration: none; font-size: .92rem; font-weight: 800;
}
.action:hover { text-decoration: underline; }
.outline { background: transparent; border-color: var(--line); }
.outline:hover { border-color: var(--white); }
.hero .action, .page-intro .action, .work button { margin-top: 22px; }
.wordmark { color: var(--cyan); width: min(100%, 510px); }
.wordmark-image { width: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.wordmark p { margin-top: .65rem; font-size: clamp(.95rem, 2vw, 1.55rem); line-height: 1.18; font-weight: 760; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button, .filter button {
  min-height: 44px; min-width: 44px; padding: 8px 12px; border: 1px solid var(--line);
  color: var(--white); background: transparent; border-radius: 999px;
}
.direction-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: max(174px, calc((100% - 48px) / 5));
  overflow-x: auto; overscroll-behavior-inline: contain; gap: 12px; scroll-snap-type: x mandatory;
  padding: 5px 4px 13px; list-style: none; margin-top: 16px;
  scrollbar-color: var(--cyan) transparent; scrollbar-width: thin;
}
.direction-rail li { scroll-snap-align: start; min-width: 0; }
.direction-rail a { display: grid; align-content: start; gap: 6px; height: 100%; min-height: 115px; padding: 11px 13px; border: 1px solid var(--line); text-decoration: none; }
.direction-rail a:hover { border-color: var(--cyan); }
.direction-rail li:first-child a { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.direction-rail li:first-child a:focus-visible { outline-color: var(--white); }
.direction-meta { display: flex; justify-content: space-between; font-size: .77rem; font-weight: 800; }
.direction-rail strong { font-size: 1rem; line-height: 1.17; }
.direction-rail small { font-size: .76rem; }
.learning { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 24px 35px; align-items: start; }
.learning aside h3 { margin-bottom: 10px; }
.level-picker { display: grid; gap: 7px; }
.level-picker button {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; align-items: center;
  min-height: 58px; padding: 8px 11px; text-align: left; border: 1px solid var(--line);
  background: transparent; color: var(--white); border-radius: 5px;
}
.level-picker button[aria-pressed="true"] { border-color: var(--pink); background: var(--pink); color: var(--black); }
.level-picker strong, .level-picker small { display: block; }
.level-picker small, .step-number { font-size: .77rem; }
.step-number { font-weight: 800; }
.specialization { margin-bottom: 16px; }
.focus, .outcomes p:last-child, .contact p:last-child, .section > .lede { margin-top: 9px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin-top: 18px; }
.steps li { border-top: 1px solid var(--line); padding-top: 9px; }
.steps .step-number { color: var(--cyan); }
.steps h3 { margin: 4px 0 6px; }
.steps p, .outcomes p:last-child { color: var(--muted); font-size: .93rem; }
.outcomes, .contact, .work, .profile-intro { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 38px; }
.outcomes h2 { font-size: clamp(1.5rem, 3.2vw, 2.45rem); }
.contact { align-items: start; scroll-margin-top: 12px; }
.contact:has(> [data-close-contact]) { position: relative; }
.contact:has(> [data-close-contact]) > div { padding-right: 52px; }
.contact > [data-close-contact] { top: 6px; right: 0; }
.contact:has(> [data-close-contact]) > .lead-form { padding-top: 40px; }
.form-context { margin-top: 12px; font-weight: 800; color: var(--pink); }
.lead-form { display: grid; gap: 13px; }
.curator-form { display: block; width: 100%; height: 470px; border: 0; border-radius: 18px; background: transparent; }
.contact:has(> [data-close-contact]) > .lead-form:has(.curator-form) {
  padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #faf7ff;
}
@media (max-width: 480px) {
  .curator-form { height: 540px; }
}
.contact-email { justify-self: start; }
.form-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.form-pair > label { min-width: 0; }
label { display: grid; gap: 5px; font-size: .88rem; font-weight: 700; }
input:not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 45px; border: 1px solid var(--white); border-radius: 4px;
  padding: 9px 11px; color: var(--black); background: var(--white); color-scheme: light; font-size: 1rem;
}
.select-wrap { position: relative; display: block; min-width: 0; }
.select-wrap select { appearance: none; padding-inline-end: 42px; }
.select-wrap select:disabled { cursor: default; }
.select-wrap::after {
  position: absolute;
  inset-inline-end: 17px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  transform: translateY(-72%) rotate(45deg);
  pointer-events: none;
  content: "";
}
@media (forced-colors: active) {
  .select-wrap select { appearance: auto; }
  .select-wrap::after { display: none; }
}
input[type="checkbox"] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pink); }
.consent label { display: flex; gap: 10px; align-items: start; }
.consent input { flex: 0 0 18px; }
.lead-form .local-note, .lead-form .consent p { font-size: .78rem; margin: 0; }
.lead-form .consent p { padding-left: 27px; margin-top: 4px; }
.form-status { font-size: .87rem; font-weight: 700; color: var(--cyan); }
.form-status:empty { display: none; }
.page-intro { padding-block: clamp(30px, 6vw, 68px); }
.page-intro h1 { font-size: clamp(2.45rem, 7vw, 5.1rem); }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
.team-intro .team-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .24em;
  font-size: clamp(2rem, 6.4vw, 5.1rem); overflow-wrap: normal;
}
.team-title-mark {
  display: inline-grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline;
  gap: .06em; width: min(100%, clamp(220px, 40vw, 510px));
}
.team-title-mark .wordmark-image { align-self: end; }
.founder p:not(.eyebrow) { max-width: 60ch; margin-top: 11px; }
.founder { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px 44px; align-items: center; }
.team-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.team-grid h3 { margin-top: 10px; }
.team-photo, .talent-picture { aspect-ratio: 1; overflow: hidden; border-radius: var(--photo-radius); }
.team-photo { background: var(--cyan); }
.founder .team-photo { max-width: 325px; }
.team-photo img { width: 100%; height: 100%; }
.team-placeholder { display: grid; place-items: center; background: linear-gradient(148deg, var(--cyan) 0 59%, var(--pink) 59% 64%, var(--purple) 64%); border: 1px solid var(--line); }
.team-placeholder .brand-mark { width: 54px; height: 54px; border-radius: 10px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter button[aria-pressed="true"] { color: var(--black); border-color: var(--cyan); background: var(--cyan); }
[data-talent-list] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
.talent-card {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1fr);
  align-content: start;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
}
.talent-picture { position: relative; align-self: start; background: var(--black); }
.talent-picture img { width: 100%; height: 100%; }
.talent-picture span { position: absolute; inset: 9px auto auto 9px; padding: 4px 7px; background: var(--black); font-size: .73rem; }
.talent-copy { min-width: 0; }
.talent-copy .eyebrow { font-size: .67rem; }
.talent-copy h2 { font-size: clamp(1.15rem, 2.5vw, 1.85rem); margin-bottom: 8px; }
.talent-copy h2 a { text-decoration: none; }
.talent-copy p, .pace { font-size: .86rem; }
.pace { margin-top: 8px; color: var(--cyan); }
.card-work { display: flex; align-items: center; gap: 12px; margin: 14px 0 8px; }
.card-work img { flex: none; width: 49px; border-radius: 12px; }
.card-work strong, .card-work small { display: block; font-size: .78rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: 9px; font-size: .82rem; }
.talent-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; }
.request-dialog { width: min(92%, 650px); max-height: 88dvh; border: 1px solid var(--line); background: var(--purple); color: var(--white); padding: 0; }
.request-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.request-dialog .contact { width: auto; display: grid; grid-template-columns: 1fr; padding: 28px clamp(16px, 4vw, 36px); border: 0; }
.request-dialog h2 { padding-right: 40px; }
.dialog-close { position: absolute; top: 10px; right: 12px; width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--white); font-size: 1.4rem; }
.empty { grid-column: 1 / -1; }
.empty p { margin-top: 8px; }
.profile-intro { align-items: center; }
.profile-intro img { width: min(100% - 32px, 360px); justify-self: center; }
.profile-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 17px; }
.profile-facts dt { color: var(--cyan); font-weight: 750; }
.profile-facts dd { margin-top: 5px; }
.portfolio-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.portfolio-list a { font-weight: 750; }
.portfolio-list p { color: var(--muted); }
.work { align-items: center; }
.work img { width: min(100% - 32px, 370px); justify-self: center; }
.work p:not(.eyebrow), .legal p, .legal h2 { margin-top: 12px; }
.legal p { max-width: 70ch; }
.legal h1 { max-width: 22ch; font-size: clamp(1.9rem, 5.5vw, 3.5rem); }
.legal h2 { margin-top: 26px; font-size: clamp(1.24rem, 3vw, 1.65rem); }
.legal ul { max-width: 70ch; margin-top: 12px; padding-inline-start: 1.35em; }
.legal li + li { margin-top: 5px; }
.legal a { overflow-wrap: anywhere; }
@media (max-width: 1020px) {
  .talent-card { grid-template-columns: 1fr; }
}
@media (max-width: 690px) {
  .hero, .learning, .contact, .profile-intro, .work, .founder { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { gap: 30px; }
  .wordmark { width: min(88%, 380px); }
}
@media (max-width: 460px) {
  .steps, .outcomes, .form-pair, [data-talent-list], .profile-facts { grid-template-columns: 1fr; }
}
.work-toggle { min-height: 44px; padding: 0; border: 0; background: none; color: var(--white); font-size: .76rem; text-decoration: underline; text-underline-offset: 3px; }

.cabinet-access { max-width: 420px; }
.cabinet-access label { display: block; margin-block: 16px; }
.cabinet-access label input { display: block; width: 100%; margin-top: 6px; }
.cabinet-access a { text-decoration: underline; text-underline-offset: .18em; }
.cabinet-access .action { margin-top: 10px; }
.header .header-school { color: #fff; background: #721de9; padding-inline: 11px; border-radius: 999px; font-weight: 800; }

.community-lede { max-width: 66ch; margin-top: 12px; color: var(--muted); }
.community-gallery, .community-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2vw, 18px); margin-top: 20px; }
.community-gallery { padding: 0; list-style: none; }
.community-gallery figure { margin: 0; }
.community-gallery img { width: 100%; aspect-ratio: 1; border-radius: 23%; }
.community-gallery figcaption, .community-note { margin-top: 9px; font-size: .88rem; color: var(--muted); }
.community-cards > div {
  width: 100%; min-width: 0; min-height: 116px; aspect-ratio: 1.42;
  border-radius: 21%; background: #3d0298; color: #fff;
  display: grid; place-content: center; gap: 5px; padding: 8px; text-align: center;
}
.community-cards > div:nth-child(2) { background: #01dae9; color: #24103a; }
.community-cards > div:nth-child(3) { background: #fd54ac; color: #24103a; }
.community-cards span { font-size: clamp(1.65rem, 6vw, 4.15rem); line-height: 1; }
.community-cards strong { font-size: clamp(.74rem, 1.8vw, 1rem); }
@media (max-width: 480px) {
  .community-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-cards { grid-template-columns: 1fr; }
  .community-cards > div { grid-auto-flow: column; align-items: center; gap: 10px; min-height: 68px; aspect-ratio: auto; border-radius: 24px; }
}

.school-signin { max-width: 470px; }
.school-signin .lead-form { margin-top: 28px; }
.school-signin .action { justify-self: start; }

.direction-rail a { grid-template-columns: minmax(0, 1fr); min-height: 136px; }
.direction-rail strong, .course-intro h1, .course-headline { overflow-wrap: normal; text-wrap: balance; }
.direction-status { opacity: .84; }
.course-intro h1 { font-size: clamp(1.75rem, 7vw, 5.1rem); }
.course-headline { margin-top: 12px; max-width: 32ch; color: var(--cyan); font-size: clamp(1.3rem, 4vw, 2.25rem); }

.specialization { min-inline-size: 0; padding: 0; border: 0; display: grid; gap: 7px; }
.specialization legend { margin-bottom: 10px; font-weight: 700; }
.specialization label {
  min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 9px;
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; cursor: pointer;
}
.specialization label:has(:checked) { background: var(--cyan); border-color: var(--cyan); color: var(--black); }
.specialization input[type="radio"] { flex: 0 0 16px; width: 16px; min-height: 0; height: 16px; margin: 0; padding: 0; accent-color: #331065; }

.contact-with-kadrik > div {
  min-width: 0; padding: clamp(18px, 4vw, 30px); border-radius: 26px;
  background: var(--cyan); color: #201039;
}
.contact-with-kadrik:has(> [data-close-contact]) > div { padding-right: clamp(18px, 4vw, 30px); }
.contact-with-kadrik > div .eyebrow, .contact-with-kadrik .form-context { color: #4a197e; }
.contact-with-kadrik > div > p:not(.eyebrow) { margin-top: 10px; }
.contact-kadrik { width: min(92%, 300px); margin: 8px auto 0; }
.kadrik {
  display: block; position: relative; aspect-ratio: 1; padding: 0; border: 0;
  overflow: visible; background: transparent; color: inherit;
}
.kadrik img { width: 100%; border-radius: 0; object-fit: contain; pointer-events: none; }
.kadrik canvas {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  visibility: hidden; pointer-events: none;
}
.kadrik.is-waving .kadrik-body { visibility: hidden; }
.kadrik.is-waving canvas { visibility: visible; }
@media (max-width: 690px) {
  .contact-with-kadrik:has(> [data-close-contact]) > div { padding-right: 53px; }
  .contact-with-kadrik > [data-close-contact] { right: 10px; }
  .contact-with-kadrik:has(> [data-close-contact]) > .lead-form { padding-top: 0; }
  .contact-kadrik { width: min(90%, 215px); }
}

.school-management { max-width: 640px; margin-top: 20px; }
.school-management .lead-form { margin-block: 18px 24px; }
.school-management .school-management-check { display: flex; align-items: start; gap: 8px; }
.school-management li + li { margin-top: 9px; }

.staff-form { padding: 10px; margin-block: 8px; border: 1px solid var(--line); border-radius: 9px; }
.staff-form summary { font-weight: 750; cursor: pointer; }
.course-game .course-outcome { margin-top: 16px; }
.course-game > p:last-child { margin-top: 7px; }

.school-demo-switch {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  width: min(100% - 2 * var(--inset), 1140px); margin: 14px auto 0;
  color: #382054; font-weight: 750;
}
.school-demo-switch > span { margin-inline-end: 4px; font-size: .84rem; }
.school-demo-switch button {
  min-height: 42px; padding: 6px 12px; border-radius: 999px;
  background: #fff; color: #51218d; border: 1px solid #bb9ade;
}
.school-demo-switch button[aria-current] {
  background: #531da0; border-color: #531da0; color: #fff; opacity: 1;
}
.school-demo-switch button:focus-visible { outline-color: #421481; }

.school-demo-switch {
  padding: 10px 12px;
  background: #f1e7ff;
  border: 1px solid #bb9ade;
  border-radius: 14px;
}
.demo-desk-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.demo-desk-actions form { display: grid; gap: 10px; }
.demo-desk-actions button { justify-self: start; }

/* The embedded form reports its height after validation and submission. */
.contact:has(.curator-form) {
  position: relative;
  gap: 0;
  padding-block: 0;
  margin-block: 28px;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  color: #28143e;
}
.contact:has(.curator-form) > div:first-of-type {
  padding: clamp(24px, 4vw, 52px);
  border-radius: 0;
  background: #eae3ff;
}
.contact:has(.curator-form) .eyebrow { color: #582ca2; }
.contact:has(.curator-form) .form-context {
  color: #411c75;
  border-left: 4px solid #f94bab;
  padding-left: 12px;
  margin: 20px 0 12px;
}
.contact:has(.curator-form) > .lead-form:has(iframe) {
  align-content: start;
  min-width: 0;
  padding: 52px clamp(4px, 1vw, 16px) 8px;
  border: 0;
  border-radius: 0;
  background: white;
}
.contact:has(.curator-form) > [data-close-contact] {
  top: 8px;
  right: 10px;
  color: #411c75;
  background: #f4eeff;
  border-color: #dcd0ed;
}
@media (max-width: 690px) {
  .contact:has(.curator-form) { grid-template-columns: minmax(0, 1fr); }
  .contact:has(.curator-form) > div:first-of-type { padding: 24px 58px 20px 20px; }
  .contact:has(.curator-form) > .lead-form:has(iframe) { padding: 8px 0; }
  .contact:has(.curator-form) .contact-kadrik { width: min(42%, 132px); }
}
