/* GFK-2886: compositions use the approved home palette and existing artwork. */
.site-themed:has(.br-teaser) {
  background: #fcf6e6;
}
.site-themed:has(.br-teaser) > .foot {
  display: none;
}
.br-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas: "intro art" "account art" "student art";
  align-content: center;
  align-items: center;
  gap: 24px 48px;
  min-height: calc(100svh - 93px);
  max-width: 1440px;
  margin: auto;
  padding: 36px 56px 52px;
  background:
    radial-gradient(ellipse at 78% 43%, #e2baff60, transparent 45%),
    radial-gradient(ellipse at 78% 72%, #d1f7cc70, transparent 40%);
  color: #35204e;
}
.teaser-copy {
  grid-area: intro;
}
.br-teaser h1 {
  margin: 0;
  font-family: Nunito, Arial, sans-serif;
  font-size: clamp(46px, 4.6vw, 68px);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.br-teaser h1 em {
  color: #7542a2;
  font-style: normal;
}
.teaser-intro {
  max-width: 470px;
  margin: 18px 0 0;
  color: #6c5876;
  font-size: 18px;
  line-height: 1.55;
}
.teaser-art {
  grid-area: art;
  width: min(100%, 620px);
  margin: 0;
  justify-self: center;
}
.teaser-art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 28px #7542a21c);
}
.teaser-account {
  grid-area: account;
  max-width: 500px;
}
.teaser-primary {
  display: grid;
  place-items: center;
  min-height: 80px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #7330e8;
  box-shadow:
    0 5px 0 #5720ad,
    0 12px 26px #7330e81c;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}
.teaser-primary:hover {
  background: #5921bd;
  color: #fff;
}
.teaser-access {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 8px;
}
.teaser-access a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #513171;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.teaser-student {
  grid-area: student;
  max-width: 500px;
  padding-top: 20px;
  border-top: 1px solid #35204e1a;
}
.teaser-student p {
  margin: 0 0 4px;
  color: #6c5876;
  font-size: 14px;
  font-weight: 700;
}
.teaser-student h2 {
  margin: 0;
  font-family: Nunito, Arial, sans-serif;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.teaser-stores {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.teaser-stores a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.teaser-stores img {
  display: block;
  width: auto;
  height: 48px;
}
.br-teaser a:focus-visible {
  outline: 3px solid #7542a2;
  outline-offset: 5px;
}
.school-kicker {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7542a2;
}
.school-story {
  overflow: clip;
  color: #35204e;
  background: #fcf6e6;
}
.school-story-wrap {
  width: calc(100% - 112px);
  max-width: 1440px;
  margin-inline: auto;
}
.school-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  align-items: center;
  gap: 48px;
}
.school-story-hero {
  padding: 70px 0 85px;
  background:
    radial-gradient(ellipse at 80% 50%, #e2c5fb78, transparent 52%),
    radial-gradient(ellipse at 63% 90%, #d5eed36b, transparent 48%);
}
.school-story h1,
.school-story h2,
.school-story h3 {
  font-family: Nunito, Arial, sans-serif;
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.school-story h1 {
  font-size: clamp(42px, 4.5vw, 72px);
  margin: 20px 0 24px;
}
.school-story h2 {
  font-size: clamp(32px, 3.3vw, 52px);
  margin: 16px 0 22px;
}
.school-story p:not(.school-kicker, .school-note) {
  line-height: 1.65;
  color: #6c5876;
}
.school-lead,
.school-story-copy > p:not(.school-kicker) {
  font-size: 19px;
  max-width: 570px;
}
.school-story-art {
  margin-inline: -40px;
}
.school-story-art img {
  width: 100%;
  height: auto;
}
.school-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.school-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 14px 21px;
  border: 1px solid #7542a2;
  background: #7542a2;
  color: #fff;
  border-radius: 100px;
  font-weight: 850;
  text-decoration: none;
  font-size: 15px;
}
.school-button:hover {
  background: #513171;
  color: white;
}
.school-button-light {
  background: transparent;
  color: #513171;
  border-color: #d9cbe4;
}
.school-button-light:hover {
  background: #eee3f5;
  color: #513171;
}
.school-note {
  font-size: 12px;
  color: #6c5876;
  margin-top: 14px;
}
.school-section-heading {
  max-width: 740px;
  text-align: center;
  margin: 0 auto 50px;
}
.school-section-heading > p:last-child {
  font-size: 19px;
}
.school-sequence {
  padding-block: 70px 100px;
}
.school-sequence ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0;
  margin: 0;
}
.school-sequence li {
  border-top: 1px solid #d9cbe4;
  padding-top: 22px;
}
.school-step {
  font-size: 14px;
  font-weight: 900;
  color: #7542a2;
}
.school-sequence h3 {
  font-size: 27px;
  margin: 20px 0 16px;
}
.school-sequence li p {
  font-size: 17px;
}
.school-material {
  background: #f1e7f7;
  padding-block: 80px;
}
.school-lesson-art {
  position: relative;
  margin: 0;
  display: grid;
  justify-items: center;
  isolation: isolate;
  min-height: 500px;
}
.school-lesson-halo {
  position: absolute;
  z-index: -1;
  inset: 8% 3%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #d0b5ed, #f1e7f7 72%);
}
.school-lesson-phone {
  width: 190px;
  height: auto;
  transform: rotate(-7deg);
  border-radius: 28px;
  box-shadow: 0 25px 40px #35204e22;
}
.school-lesson-book {
  position: absolute;
  width: 130px;
  height: auto;
  right: 12%;
  bottom: 15%;
  transform: rotate(10deg);
}
.school-lesson-art figcaption {
  font-size: 11px;
  text-align: center;
  color: #6c5876;
  padding-top: 24px;
}
.school-tags {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}
.school-tags li {
  border: 1px solid #d4bedf;
  border-radius: 100px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
}
.school-text-link {
  font-weight: 850;
  color: #7542a2;
  text-underline-offset: 5px;
}
.school-world {
  padding-block: 80px;
  grid-template-columns: 1fr 1fr;
}
.school-world img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
.school-finish {
  background: #e9efde;
  border-radius: 30px;
  padding: 55px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.school-finish h2 {
  font-size: 38px;
}
.school-finish details {
  border-block: 1px solid #c4ceb5;
  padding: 22px 0;
}
.school-finish summary {
  font-weight: 850;
  font-size: 19px;
  cursor: pointer;
}
.school-story :is(a, summary):focus-visible {
  outline: 3px solid #7542a2;
  outline-offset: 5px;
}
/* Existing editorial images also serve as covers on their registered guide routes. */
.site-themed .journal-hero {
  background: radial-gradient(ellipse at 75% 30%, #e4cef980, transparent 55%), #fcf6e6;
}
.site-themed .journal-hero-art {
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  min-height: 0;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 55px #35204e16;
}
.site-themed .journal-hero-art > .journal-feature-cover {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 28px;
  transform: none;
}
.site-themed .journal-cover {
  position: relative;
  height: 360px;
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e9e1f0;
}
.site-themed .journal-cover > .journal-cover-image {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: none;
}
.site-themed .journal-grid {
  gap: 38px;
}
.site-themed .journal-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.site-themed .journal-card-copy {
  padding: 24px 4px;
}
.site-themed .journal-card h2 {
  font-size: 28px;
  line-height: 1.18;
}
.site-themed .journal-card h2 a {
  text-decoration: none;
}
.site-themed .journal-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-themed .journal-grid > .journal-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.site-themed .journal-grid > .journal-card:first-child .journal-cover {
  height: 430px;
}
.site-themed .journal-grid > .journal-card:first-child h2 {
  font-size: clamp(28px, 3vw, 44px);
}
.site-themed .article-cover {
  max-width: 1100px;
  margin: 42px auto 60px;
}
.site-themed .article-cover .journal-cover {
  height: 450px;
}
.site-themed .article-cover .journal-cover-image {
  object-position: 50% 38%;
}
.site-themed .reading-body {
  font-size: 19px;
  line-height: 1.8;
}
.site-themed .cms-grid {
  gap: 34px;
}
.site-themed .cms-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.site-themed .cms-card .cms-cover {
  border-radius: 22px;
  overflow: hidden;
}
.site-themed .cms-grid .cms-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 40px;
  align-items: start;
}
.site-themed .cms-grid .cms-card:first-child .cms-cover {
  grid-row: 1 / 6;
  margin: 0;
}
.site-themed .cms-card h2 {
  line-height: 1.2;
}
.site-themed .cms-card h2 a {
  text-decoration: none;
}
.site-themed .cms-card h2 a:hover {
  text-decoration: underline;
}
.site-themed .cms-prose {
  font-size: 19px;
  line-height: 1.8;
}
@media (max-width: 1000px) {
  .school-story-grid {
    gap: 25px;
  }
  .school-story-wrap {
    width: calc(100% - 64px);
  }
  .school-story-hero {
    padding-block: 50px;
  }
  .school-story-art {
    margin-inline: -20px;
  }
  .school-finish {
    padding: 35px;
    gap: 35px;
  }
  .school-button {
    font-size: 14px;
  }
  .school-sequence ol {
    gap: 25px;
  }
}
@media (max-width: 900px) {
  .br-teaser {
    grid-template-columns: minmax(0, 540px);
    grid-template-areas: "intro" "art" "account" "student";
    justify-content: center;
    gap: 14px;
    padding: 24px 24px 36px;
    text-align: center;
    background:
      radial-gradient(ellipse at 65% 38%, #e2baff50, transparent 45%),
      radial-gradient(ellipse at 35% 47%, #d1f7cc60, transparent 40%);
  }
  .br-teaser h1 {
    font-size: 40px;
  }
  .teaser-intro {
    max-width: 440px;
    margin: 12px auto 0;
    font-size: 16px;
  }
  .teaser-art {
    width: 230px;
  }
  .teaser-account,
  .teaser-student {
    width: 100%;
    max-width: none;
  }
  .teaser-primary {
    min-height: 72px;
  }
  .teaser-stores {
    justify-content: center;
  }
}
@media (max-width: 760px) {
  .br-teaser {
    min-height: calc(100svh - 80px);
    padding: 20px 18px 28px;
    gap: 12px;
  }
  .br-teaser h1 {
    font-size: clamp(36px, 10vw, 40px);
  }
  .teaser-intro {
    font-size: 15px;
  }
  .teaser-art {
    width: clamp(190px, 54vw, 210px);
  }
  .teaser-primary {
    padding: 16px 12px;
    font-size: 18px;
  }
  .teaser-access {
    margin-top: 6px;
    gap: 24px;
  }
  .teaser-student {
    padding-top: 16px;
  }
  .teaser-student h2 {
    font-size: 21px;
  }
  .teaser-stores {
    gap: 8px;
    margin-top: 8px;
  }
  .teaser-stores img {
    height: 42px;
  }
  .school-story-wrap {
    width: calc(100% - 40px);
  }
  .school-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .school-story h1 {
    font-size: 46px;
  }
  .school-story-hero {
    padding: 28px 0 45px;
  }
  .school-story-copy > p:not(.school-kicker) {
    font-size: 17px;
  }
  .school-story-art {
    margin-inline: -15px;
  }
  .school-sequence {
    padding-block: 50px;
  }
  .school-section-heading {
    text-align: left;
    margin-bottom: 30px;
  }
  .school-sequence ol {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .school-sequence li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0 15px;
  }
  .school-sequence h3 {
    margin: 0 0 12px;
    font-size: 25px;
  }
  .school-sequence li p {
    grid-column: 2;
    margin: 0;
  }
  .school-material {
    padding-block: 45px;
  }
  .school-material .school-lesson-art {
    grid-row: 2;
    min-height: 0;
  }
  .school-lesson-phone {
    width: 160px;
  }
  .school-lesson-book {
    width: 105px;
  }
  .school-story h2 {
    font-size: 34px;
  }
  .school-world {
    padding-block: 50px;
  }
  .school-world img {
    max-width: 440px;
    margin: auto;
  }
  .school-finish {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 45px;
  }
  .site-themed .journal-grid > .journal-card:first-child {
    display: block;
  }
  .site-themed .journal-grid > .journal-card:first-child .journal-cover {
    height: 350px;
  }
  .site-themed .journal-cover {
    height: 330px;
  }
  .site-themed .article-cover .journal-cover {
    height: 300px;
  }
  .site-themed .cms-grid .cms-card:first-child {
    display: block;
  }
  .site-themed .cms-grid .cms-card:first-child .cms-cover {
    margin-bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .school-lesson-phone,
  .school-lesson-book {
    transform: none;
  }
}

.school-story-art {
  position: relative;
  margin-block: 0;
}
.school-story-art figcaption {
  font-size: 11px;
  text-align: center;
  color: #6c5876;
  margin-top: 18px;
}
.school-teacher-art > img {
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.school-class-art {
  min-height: 510px;
  display: grid;
  align-items: center;
  justify-items: center;
}
.school-class-art .school-class-world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.55;
}
.school-class-art .school-class-map {
  position: relative;
  width: 200px;
  height: auto;
  transform: rotate(7deg);
  border-radius: 28px;
  box-shadow: 0 20px 35px #35204e22;
}
.school-class-label {
  position: absolute;
  left: 0;
  top: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dfd0e8;
  background: #fcf6e6;
  border-radius: 20px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 15px 30px #35204e12;
}
.school-class-label img {
  width: 55px;
  height: 55px;
}
.school-class-art figcaption {
  position: relative;
  align-self: end;
}
@media (max-width: 760px) {
  .school-class-art {
    min-height: 480px;
  }
  .school-class-label {
    left: 0;
    font-size: 13px;
    padding: 10px 13px;
  }
  .school-class-label img {
    width: 40px;
    height: 40px;
  }
  .school-class-art .school-class-map {
    width: 180px;
  }
  .school-story-art {
    margin-inline: 0;
  }
}
