:root {
  color-scheme: light;
  --ink: #242424;
  --white: #f8f8f8;
  --accent: #3e43c8;
  --serif: "Bodoni 72", Didot, Georgia, serif;
  --display: "DIN Condensed", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); font: 15px/1.12 "Proxima Nova", Arial, sans-serif; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 3px solid #304bbb; outline-offset: 4px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 10; padding: 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.header { background: var(--white); position: relative; z-index: 2; }
.header-top { min-height: 142px; position: relative; max-width: 1440px; margin: auto; padding: 7px 22px; }
.brand { display: block; width: 194px; margin: 0 auto; }
.contact { position: absolute; left: 24px; top: 39px; display: grid; gap: 28px; font-style: normal; color: #17232b; }
.contact a + a { text-decoration: none; }
.utility { position: absolute; right: 22px; top: 19px; display: grid; justify-items: end; gap: 27px; }
.login { border: 0; background: white; padding: 11px 15px; color: #414d9c; }
.login::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 9px; vertical-align: -3px; border-radius: 50%; background: var(--accent); }
.navigation { max-width: 980px; min-height: 57px; margin: auto; display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 0 20px; }
.navigation > a, .nav-group > a, .navigation summary { color: #171717; font: 17px/1.2 "Avenir Next", "Futura", "Century Gothic", Arial, sans-serif; letter-spacing: .035em; text-decoration: none; }
.navigation a:hover, .navigation summary:hover { text-decoration: underline; }
.nav-group { display: flex; align-items: center; position: relative; gap: 5px; }
.menu { position: relative; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.chevron { display: inline-block; width: 7px; height: 7px; border-bottom: 1px solid; border-right: 1px solid; transform: translateY(-2px) rotate(45deg); }
.nav-group summary { display: grid; place-items: center; width: 24px; min-height: 32px; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; z-index: 4; min-width: 175px; padding: 6px; border: 1px solid #ddd; background: white; box-shadow: 0 8px 18px #0002; }
.nav-group .dropdown { left: auto; right: 0; }
.dropdown a, .dropdown button { display: flex; gap: 8px; align-items: center; padding: 10px; width: 100%; background: transparent; border: 0; color: #202020; text-decoration: none; white-space: nowrap; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: #f2f2f2; }
.language summary { background: white; border-radius: 30px; padding: 11px 15px; min-width: 110px; justify-content: space-between; box-shadow: 0 4px 12px #0002; }
.language .dropdown { right: 0; left: auto; min-width: 136px; }
.mobile-toggle { display: none; }

.storefront {
  background-color: #54443e;
  background-image: linear-gradient(#0001, #0001), url("assets/storefront.avif"), url("assets/storefront.avif");
  background-size: cover;
  background-position: center;
  background-attachment: scroll, fixed, scroll;
}
.composition { max-width: 980px; margin: 0 auto; padding: 186px 0 0; }
.panel { max-width: 100%; background: rgb(255 255 255 / 90%); }
.panel h1, .panel h2 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.02; text-align: center; }
.panel h1 { font-size: 47px; }
.panel h2 { font-size: 70px; }
.welcome { width: 620px; min-height: 602px; margin-left: auto; padding: 30px 34px 12px; }
.welcome-copy { margin-top: 36px; }
.welcome-copy p, .founder-copy p { margin: 0 0 15px; }
.welcome-copy::after { content: ""; display: block; width: 66%; height: 3px; background: #414141; margin-top: 38px; }
.laurels { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.laurels img { width: 31%; object-fit: contain; }
.welcome-laurels { margin: 28px -14px 13px; }
.welcome-laurels img { max-width: 164px; }
.cta { display: table; margin-left: auto; font: 700 16px/1.2 var(--serif); text-decoration: none; color: #111; }
.cta::after { content: ""; display: inline-block; width: .42em; height: .42em; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); margin-left: .15em; vertical-align: .08em; }
.cta:hover { text-decoration: underline; }
.welcome .cta { margin-right: 45px; }

.students { width: 709px; min-height: 585px; margin-top: 66px; padding: 49px 72px 34px; }
.tagline { text-align: center; font: italic 700 22px/1.16 var(--serif); margin: 10px 0 32px; }
.student-player { margin: 0; }
.media-frame { position: relative; aspect-ratio: 565 / 318; background: #172027; }
.media-placeholder { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #172027; color: white; text-align: left; }
.media-placeholder img, .media-frame video { width: 100%; aspect-ratio: 565 / 318; object-fit: cover; }
.play { display: grid; position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: #ffffffb8; place-items: center; }
.play::after { content: ""; border-block: 10px solid transparent; border-left: 16px solid #202020; margin-left: 4px; }
.media-label { position: absolute; left: 8px; bottom: 8px; padding: 5px 7px; color: white; background: #161616e8; font: 12px/1.15 Arial, sans-serif; }
.media-note { min-height: 13px; margin: 4px 0 0; font-size: 11px; color: #4f4f4f; }
.students .cta { margin-top: 4px; }

.founder { width: 764px; min-height: 621px; margin: 49px 5px 0 auto; padding: 22px 24px 23px; }
.founder-grid { display: grid; grid-template-columns: 281px minmax(0,1fr); gap: 23px; margin-top: 12px; }
.founder-copy { display: flex; flex-direction: column; min-width: 0; }
.founder-copy p { max-width: 380px; }
.founder-laurels { margin-top: auto; padding-top: 16px; }
.founder-laurels img { max-width: 126px; }
.headshot { width: 281px; }
.founder .cta { margin: 23px 0 0 44px; }
.enroll { padding: 17px 38px 51px; color: white; }
.enroll blockquote { margin: 0 0 36px; font: 300 27px/1.22 "DIN Next", "Helvetica Neue", Arial, sans-serif; }
.enroll blockquote p { margin: 0 0 8px; }
.enroll cite { display: block; text-align: right; font-style: normal; }
.enroll-cta { color: white; margin: auto; font-size: 32px; }

.footer { background: var(--white); color: #121e28; padding: 66px 22px 0; }
.footer-grid { max-width: 1320px; margin: auto; display: grid; grid-template-columns: 1.1fr .96fr .88fr .9fr .8fr; gap: 24px; }
.footer-logo { align-self: center; }
.footer-logo img { width: 220px; }
.footer h2 { font: 700 25px/1.1 Arial, sans-serif; margin: 0 0 31px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 16px; font-size: 20px; }
.footer li a { text-decoration: none; }
.footer li a:hover { text-decoration: underline; }
.social { display: grid; grid-template-columns: repeat(2, 32px); gap: 24px 33px; }
.social li { margin: 0; }
.social img { width: 28px; }
.contact-footer li { margin-bottom: 28px; }
.contact-footer li:first-child a, .support-text { text-decoration: underline; }
.footer-signature { display: grid; justify-items: end; align-content: start; gap: 13px; padding-top: 18px; }
.footer-signature img { width: 195px; }
.actor-link { display: inline-block; border: 3px solid; padding: 9px; font: 700 12px/1 Arial, sans-serif; letter-spacing: .12em; text-decoration: none; }
.footer-chat { color: white; border: 0; background: #cc312b; padding: 12px 16px; }
.copyright { text-align: center; margin: 43px 0 30px; }
.review-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; border-top: 1px solid #ddd; padding: 12px 0 18px; font-size: 13px; }
.review-tools button { border: 1px solid #aaa; background: white; padding: 7px 9px; }
.chat { position: fixed; z-index: 3; right: 20px; bottom: 20px; padding: 17px 29px; min-width: 184px; min-height: 54px; color: white; background: var(--accent); border: 0; border-radius: 40px; box-shadow: 0 3px 8px #0002; }
.text-button { border: 0; padding: 0; background: none; text-decoration: underline; }

dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 0; box-shadow: 0 14px 55px #0005; color: #171717; }
dialog:has([data-welcome-media]) { width: min(885px, calc(100% - 28px)); }
dialog::backdrop { background: rgb(0 0 0 / 60%); }
.dialog-shell { position: relative; padding: 36px; }
.dialog-close { position: absolute; top: 5px; right: 8px; width: 38px; height: 38px; background: white; border: 0; font-size: 30px; }
#dialog-content { line-height: 1.45; overflow-wrap: anywhere; }
#dialog-content h2 { margin: 0 0 14px; font: 700 29px/1.1 var(--serif); }
#dialog-content h3 { margin-bottom: 0; }
#dialog-content h3 + p { margin-top: 4px; }
.test-label { font-size: 12px; margin: 0 0 12px; color: #3e4760; font-weight: bold; text-transform: uppercase; letter-spacing: .08em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#dialog-content label:not(.check) { display: block; margin: 4px 0 10px; }
#dialog-content input:not([type=checkbox]), #dialog-content textarea { display: block; margin-top: 3px; width: 100%; padding: 9px 8px; border: 0; border-bottom: 1px solid #333; background: #f4f4f4; }
#dialog-content textarea { resize: vertical; min-height: 58px; }
.check { display: block; margin: 7px 0 0; }
.test-action { display: inline-block; text-decoration: none; color: white; background: #303b72; border: 1px solid #303b72; padding: 8px 13px; margin: 12px 6px 0 0; }
.test-action.secondary { color: #303b72; background: white; }
.test-result:empty { display: none; }
.test-result { margin-bottom: 0; }

@media (max-width: 1024px) {
  .composition { margin-inline: 25px; }
  .navigation { gap: 12px; }
  .footer-grid { gap: 14px; }
  .footer h2 { font-size: 21px; }
  .footer li { font-size: 16px; }
}
@media (max-width: 760px) {
  .header-top { min-height: 106px; padding: 8px 12px; }
  .brand { width: 128px; }
  .contact { display: none; }
  .utility { top: 8px; right: 10px; gap: 6px; }
  .login { font-size: 12px; padding: 7px 6px; }
  .login::before { display: none; }
  .language summary { min-width: 61px; padding: 7px 10px; gap: 6px; }
  .language img { width: 17px; height: 17px; }
  .mobile-toggle { position: absolute; left: 12px; top: 31px; display: flex; align-items: center; gap: 7px; min-height: 40px; border: 0; background: transparent; padding: 6px; font-size: 13px; }
  .mobile-toggle span { width: 17px; height: 12px; border-block: 2px solid; }
  .navigation { display: none; padding: 0 18px 16px; }
  .navigation.expanded { display: grid; justify-items: stretch; align-items: start; gap: 0; }
  .navigation > a, .navigation > details, .nav-group { padding: 10px 4px; border-top: 1px solid #ddd; }
  .nav-group { display: grid; grid-template-columns: 1fr 30px; align-items: start; }
  .nav-group summary { min-height: 24px; }
  .navigation .dropdown { position: static; box-shadow: none; border: 0; }
  .nav-group details[open] { display: contents; }
  .nav-group .dropdown { grid-column: 1 / -1; padding-top: 10px; }
  .nav-group summary { grid-column: 2; }
  .storefront {
    background-image: linear-gradient(#0002, #0005), url("assets/storefront.avif");
    background-position: top center, 19% -68px;
    background-size: 100% 100%, auto 525px;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
  .composition { margin-inline: 14px; padding-top: clamp(255px, 70vw, 355px); }
  .panel { width: 100%; min-height: auto; margin: 0 0 26px; padding: 24px 17px 26px; }
  .panel h1 { font-size: clamp(33px, 10vw, 47px); }
  .panel h2 { font-size: clamp(33px, 9vw, 54px); }
  .welcome-copy { margin-top: 20px; }
  .welcome-copy::after { margin-top: 24px; }
  .welcome-laurels { margin: 14px 0 19px; }
  .welcome .cta { margin-right: 0; }
  .tagline { font-size: 19px; margin: 7px 0 18px; }
  .founder-grid { grid-template-columns: 1fr; margin-top: 16px; gap: 18px; }
  .headshot { width: min(230px, 70%); margin: auto; }
  .founder-copy p { max-width: none; }
  .founder .cta { margin: 18px 0 0; }
  .enroll { padding: 0 7px 37px; }
  .enroll blockquote { font-size: 20px; margin-bottom: 22px; }
  .enroll-cta { font-size: 29px; }
  .footer { padding: 33px 16px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 19px 12px; }
  .footer-logo { grid-column: 1 / -1; justify-self: center; }
  .footer-logo img { width: 160px; }
  .footer h2 { margin-bottom: 17px; }
  .footer-signature { justify-items: start; }
  .footer-signature img { width: 135px; }
  .social { gap: 16px; }
  .copyright { margin: 32px 0 22px; }
  .review-tools { padding-bottom: 57px; }
  .chat { right: 9px; bottom: 9px; min-width: 110px; min-height: 37px; padding: 9px 13px; font-size: 13px; }
  .dialog-shell { padding: 31px 18px 22px; }
  #dialog-content h2 { font-size: 24px; }
}

[data-welcome-media] {
  max-width: 730px;
  max-height: min(49vh, 418px);
  margin: 0 auto 15px;
  background: #f3f3f3;
}
[data-welcome-media] .media-placeholder, [data-welcome-media] video { position: absolute; inset: 0; height: 100%; }
[data-welcome-media] .media-placeholder { background: #f3f3f3; }
[data-welcome-media] img {
  position: absolute;
  top: 17%;
  left: 35%;
  width: 30%;
  height: 58%;
  object-fit: contain;
}
[data-welcome-media] .play { inset: auto 13px 12px auto; width: 40px; height: 40px; }
[data-welcome-media] .play::after { border-block-width: 7px; border-left-width: 11px; }
[data-welcome-media] video { object-fit: contain; background: #222; }
