/* Audience journeys share v11 art, typography and live-screen contracts. */
.teacher-hero {
  background: var(--lav-2);
  padding: 64px 0 110px;
}
.teacher-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.teacher-copy .h1 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1.04;
  color: var(--purple-deep);
  margin: 24px 0;
}
.teacher-copy .hero-cta {
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
}
.hero-cta .btn {
  max-width: 100%;
  white-space: normal;
}
.labs-hero-scene {
  position: relative;
  padding: 36px 0 70px;
}
.browser-example {
  background: var(--white);
  border: 8px solid var(--white);
  border-radius: 24px;
  box-shadow: var(--sh-float);
  transform: rotate(3deg);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 14px;
}
.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lav);
}
.browser-bar span {
  font-size: 0.67rem;
  margin-left: 8px;
  color: var(--muted);
  font-weight: 800;
}
.browser-example > img {
  width: 100%;
}
.lesson-note {
  position: absolute;
  top: 0;
  left: -30px;
  width: 245px;
  padding: 20px;
  border-radius: 20px;
  background: var(--yellow-2);
  box-shadow: var(--sh-card);
  transform: rotate(-5deg);
}
.lesson-note span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--muted);
}
.lesson-note b {
  font: 800 1.25rem / 1.25 var(--display);
}
.labs-sticker {
  position: absolute;
  right: -12px;
  bottom: 28px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: var(--sh-card);
  transform: rotate(-4deg);
  font-size: 0.9rem;
}
.labs-sticker img {
  width: 44px;
  float: left;
  margin-right: 14px;
}
.section-heading {
  max-width: 800px;
  margin-bottom: 44px;
}
.section-heading .h2 {
  margin: 16px 0;
}
.labs-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
}
.labs-steps li {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}
.labs-steps li:nth-child(2n) {
  background: var(--lav-2);
}
.process-number {
  color: var(--purple);
  font: 800 2rem var(--display);
}
.labs-steps h3 {
  font: 800 1.3rem var(--display);
  margin: 16px 0 10px;
}
.labs-steps p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
.labs-example {
  background: var(--purple-night);
  color: var(--white);
}
.example-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 40px;
}
.example-heading .h2 {
  margin-bottom: 0;
}
.example-heading .lead {
  color: var(--lav);
}
.example-context {
  color: var(--lav);
  font-size: 0.8rem;
}
.labs-demo {
  border: 8px solid var(--white);
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--sh-float);
}
.game-poster {
  position: relative;
}
.game-poster > img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  opacity: 0.75;
}
.poster-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 60px 36px 32px;
  background: linear-gradient(transparent, var(--ink-2));
}
.poster-caption > b {
  display: block;
  font: 800 2rem var(--display);
}
.poster-caption > span {
  display: block;
  margin: 8px 0 20px;
}
.poster-caption noscript {
  font-size: 0.9rem;
}
.game-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  background: var(--white);
  color: var(--ink);
}
.game-toolbar p {
  margin: 0;
  font-size: 0.8rem;
}
.game-toolbar button {
  border: 1px solid var(--line);
  background: var(--lav-2);
  min-height: 44px;
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 800;
  white-space: nowrap;
}
.game-frame-slot iframe {
  display: block;
  width: 100%;
  height: 780px;
  border: 0;
  background: var(--ink-2);
}
.game-credit {
  margin: 20px 0 0;
  color: var(--lav);
  text-align: center;
  font-size: 0.8rem;
}
.review-art {
  position: relative;
  padding: 48px;
  border-radius: 40% 50% 35% 45%;
  background: var(--yellow-2);
}
.review-art > img:first-child {
  width: 100%;
}
.review-book {
  position: absolute;
  width: 100px;
  bottom: 0;
  right: 0;
  transform: rotate(12deg);
}
.review-questions {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.review-questions li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
}
.review-questions li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 900;
}
.teacher-next {
  background: var(--mint);
  padding: 72px 0;
}
.teacher-next > .wrap {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 72px;
  align-items: center;
}
.teacher-next img {
  width: 100%;
}
.teacher-landing section[id] {
  scroll-margin-top: 100px;
}
.journal-hero {
  background: var(--lav-2);
  padding: 56px 0 64px;
}
.journal-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  align-items: center;
  gap: 72px;
}
.journal-hero .h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  line-height: 1.08;
  margin: 24px 0;
  color: var(--purple-deep);
}
.journal-hero .lead {
  max-width: 650px;
  margin-bottom: 28px;
}
.journal-hero-art {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}
.journal-hero-book {
  width: 100%;
  transform: rotate(-8deg);
}
.journal-hero-feron {
  position: absolute;
  width: 55%;
  right: -12%;
  bottom: -20px;
}
.journal-note {
  position: absolute;
  top: 0;
  right: -8%;
  transform: rotate(6deg);
  background: var(--white);
  box-shadow: var(--sh-card);
  border-radius: 18px;
  padding: 16px 22px;
  font-size: 0.85rem;
}
.journal-hero-browser {
  border: 8px solid var(--white);
  border-radius: 20px;
  box-shadow: var(--sh-card);
  overflow: hidden;
  transform: rotate(-5deg);
}
.journal-hero-browser img {
  width: 100%;
}
.journal-section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}
.journal-section-head .h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  margin: 12px 0 0;
}
.journal-section-head .hub-nav {
  padding: 0;
}
.journal-card {
  padding: 0;
  overflow: hidden;
  transition:
    translate 0.2s var(--ease),
    box-shadow 0.2s;
}
.journal-card:hover {
  translate: 0 -5px;
  box-shadow: var(--sh-float);
}
.journal-card-copy {
  padding: 30px 32px;
}
.journal-card-copy > p:not(.eyebrow) {
  color: var(--muted);
}
.journal-card-copy .eyebrow {
  margin-top: 0;
}
.journal-cover {
  position: relative;
  height: 310px;
  overflow: hidden;
}
.family-cover {
  background: var(--lav);
}
.cover-phone {
  position: absolute;
  width: 170px;
  right: 14%;
  top: 28px;
  border: 5px solid var(--ink-2);
  border-radius: 26px;
  transform: rotate(10deg);
}
.cover-feron {
  position: absolute;
  width: 210px;
  left: 6%;
  bottom: -12px;
}
.cover-book {
  position: absolute;
  width: 80px;
  top: 32px;
  left: 12%;
  transform: rotate(-12deg);
}
.cover-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: var(--sh-card);
  font-size: 0.8rem;
  font-weight: 800;
  max-width: calc(100% - 36px);
}
.teaching-cover {
  background: var(--mint);
  padding: 24px 24px 0;
}
.cover-lesson-phone {
  position: absolute;
  width: 170px;
  right: 12%;
  top: 24px;
  border: 5px solid var(--ink-2);
  border-radius: 24px;
  transform: rotate(9deg);
}
.cover-chest {
  position: absolute;
  width: 170px;
  left: 8%;
  bottom: -10px;
}
.lesson-goal {
  position: absolute;
  top: 28px;
  left: 20px;
  padding: 14px 18px;
  background: var(--yellow-2);
  border-radius: 16px;
  font-size: 0.85rem;
  transform: rotate(-5deg);
  box-shadow: var(--sh-card);
}
.journal-crumbs {
  margin: 0 0 24px;
}
.journal-paths {
  background: var(--lav);
  padding: 64px 0;
}
.journal-paths > .wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 64px;
}
.journal-paths .h2 {
  font-size: 2.4rem;
  margin: 12px 0;
}
.journal-path-links {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.article-cover {
  margin: 0 0 60px;
}
.article-cover .journal-cover {
  height: 380px;
  border-radius: 32px;
}
.article-cover .cover-phone {
  width: 240px;
  right: 22%;
  top: 24px;
}
.article-cover .cover-feron {
  width: 330px;
  left: 14%;
  bottom: -36px;
}
.article-cover .cover-book {
  left: 22%;
  width: 100px;
}
.article-cover .cover-lesson-phone {
  width: 240px;
  right: 20%;
}
.article-cover .cover-chest {
  width: 290px;
  left: 12%;
}
.article-cover .lesson-goal {
  left: 16%;
  top: 36px;
  font-size: 1rem;
}
.article-cover figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: center;
}
.site-menu summary {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
}
.site-nav > .btn,
.site-footer nav a,
.family-phone .ms-ask .ap {
  min-height: 44px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
}
@media (prefers-reduced-motion: reduce) {
  .journal-card {
    transition: none;
  }
  .journal-card:hover {
    translate: none;
  }
}
@media (max-width: 1000px) {
  .teacher-hero-grid {
    gap: 36px;
  }
  .labs-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .journal-section-head {
    align-items: start;
    flex-direction: column;
  }
  .journal-hero-grid {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .teacher-hero {
    padding: 36px 0 56px;
  }
  .teacher-hero-grid,
  .example-heading,
  .teacher-next > .wrap,
  .journal-hero-grid,
  .journal-paths > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .teacher-copy .h1 {
    font-size: clamp(2.9rem, 10vw, 4.1rem);
  }
  .labs-hero-scene {
    padding-top: 75px;
  }
  .lesson-note {
    left: 0;
    width: 220px;
  }
  .labs-sticker {
    right: 0;
  }
  .labs-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .labs-steps li {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 22px;
  }
  .labs-steps h3 {
    margin: 8px 0 12px;
  }
  .labs-steps p {
    grid-column: 2;
  }
  .labs-demo {
    border-width: 4px;
    border-radius: 22px;
  }
  .game-poster > img {
    min-height: 450px;
    object-fit: cover;
  }
  .poster-caption {
    padding: 60px 20px 24px;
  }
  .poster-caption > b {
    font-size: 1.7rem;
  }
  .game-toolbar {
    flex-wrap: wrap;
    padding: 12px;
    gap: 10px;
  }
  .game-frame-slot iframe {
    height: 760px;
  }
  .teacher-next img {
    width: 220px;
    justify-self: center;
  }
  .journal-hero {
    padding: 36px 0 60px;
  }
  .journal-hero-art {
    width: min(330px, 85%);
    margin: 0 auto;
    min-height: 270px;
  }
  .journal-note {
    right: -5%;
  }
  .journal-hero-feron {
    right: -10%;
  }
  .journal-section-head {
    gap: 24px;
  }
  .journal-card-copy {
    padding: 26px;
  }
  .journal-cover {
    height: 270px;
  }
  .cover-phone {
    width: 145px;
    right: 8%;
  }
  .cover-feron {
    width: 175px;
    left: 0;
  }
  .cover-book {
    left: 10%;
    width: 65px;
  }
  .article-cover .journal-cover {
    height: 280px;
  }
  .article-cover .cover-phone {
    width: 160px;
    right: 8%;
  }
  .article-cover .cover-feron {
    width: 200px;
    left: 0;
    bottom: -8px;
  }
  .article-cover .cover-book {
    left: 6%;
    width: 70px;
  }
  .cover-lesson-phone,
  .article-cover .cover-lesson-phone {
    width: 145px;
    right: 8%;
  }
  .cover-chest,
  .article-cover .cover-chest {
    width: 170px;
    left: 0;
  }
  .lesson-goal,
  .article-cover .lesson-goal {
    left: 10px;
    top: 24px;
    font-size: 0.72rem;
    padding: 12px;
  }
}
.family-hero {
  position: relative;
  padding: 50px 0 72px;
  background: var(--paper);
}
.family-hero-grid,
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 72px;
}
.family-copy .h1 {
  max-width: 580px;
  font-size: clamp(3.2rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  color: var(--purple-deep);
  margin: 24px 0;
}
.family-copy .lead {
  max-width: 510px;
}
.family-copy .hero-cta {
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
}
.preview-caption {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 24px;
}
.family-world {
  position: relative;
  height: 590px;
  min-width: 0;
  isolation: isolate;
  background: var(--paper);
}
.world-orbit {
  position: absolute;
  width: 104%;
  aspect-ratio: 1;
  top: 8%;
  left: -2%;
  background: var(--lav);
  border-radius: 48% 52% 38% 62% / 55% 38% 62% 45%;
  transform: rotate(-12deg);
  z-index: -2;
}
.family-island {
  position: absolute;
  width: 110%;
  max-width: none;
  bottom: -1%;
  left: -5%;
  z-index: -1;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at 50% 57%, #000 42%, transparent 73%);
}
.family-kid-phone {
  position: absolute;
  width: 222px;
  top: 4%;
  right: 13%;
  transform: rotate(8deg);
}
.family-folim {
  position: absolute;
  width: 300px;
  bottom: 5%;
  left: -5%;
  filter: drop-shadow(0 20px 14px #2a146024);
}
.family-egg {
  position: absolute;
  width: 100px;
  bottom: 9%;
  right: 3%;
  transform: rotate(12deg);
}
.family-gem {
  position: absolute;
  width: 48px;
  top: 18%;
  left: 4%;
  transform: rotate(-15deg);
}
.world-note {
  position: absolute;
  background: var(--white);
  box-shadow: var(--sh-card);
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.world-note-top {
  left: -3%;
  top: 0;
  transform: rotate(-5deg);
}
.world-note-bottom {
  right: -3%;
  bottom: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  transform: rotate(3deg);
  font-weight: 800;
}
.world-note img {
  width: 28px;
}
.family-ribbon {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding: 24px 0;
}
.family-ribbon .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.family-ribbon span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.family-ribbon img {
  width: 32px;
  height: 36px;
  object-fit: contain;
}
.family-ribbon i {
  color: var(--purple);
  font-style: normal;
  font-size: 1.6rem;
}
.family-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 64px 24px;
  background: var(--lav-2);
  border-radius: 44px 100px 44px 44px;
  min-height: 700px;
}
.family-phone {
  width: 270px;
  max-width: 100%;
}
.family-stage > .family-phone {
  transform: rotate(-4deg);
}
.scene-label {
  position: absolute;
  inset: 24px 20px auto;
  color: var(--muted);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.scene-companion {
  position: absolute;
  bottom: 28px;
  right: -14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 12px 8px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--sh-card);
  font-size: 0.9rem;
  transform: rotate(4deg);
}
.scene-companion img {
  width: 90px;
}
.scene-sticker {
  position: absolute;
  top: 95px;
  left: -14px;
  background: var(--yellow-2);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  transform: rotate(-7deg);
  box-shadow: var(--sh-card);
}
.scene-sticker img {
  width: 26px;
}
.story-copy .h2 {
  margin: 18px 0 24px;
}
.story-copy .lead {
  color: var(--muted);
}
.family-steps {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
.family-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 24px 0;
}
.family-steps li > span {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  background: var(--lav);
  border-radius: 14px;
  color: var(--purple-deep);
  font: 800 1.1rem var(--display);
}
.family-steps h3 {
  font: 800 1.3rem var(--display);
  margin: 0 0 4px;
}
.family-steps p {
  margin: 0;
  color: var(--muted);
}
.text-link {
  color: var(--purple-deep);
  font-weight: 800;
  text-underline-offset: 6px;
}
.family-role {
  background: var(--purple-night);
  color: var(--white);
  padding: 100px 0;
}
.family-role .lead,
.role-notes p {
  color: var(--lav);
}
.role-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 30px 0;
}
.role-notes img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.role-notes h3 {
  font: 800 1.3rem var(--display);
  margin: 12px 0 8px;
  color: var(--white);
}
.role-notes p {
  font-size: 0.95rem;
  margin: 0;
}
.reward-scene {
  position: relative;
  display: grid;
  place-items: center;
  padding: 64px 0 40px;
  border-radius: 50% 50% 36px 36px;
  background: var(--purple-deep);
}
.reward-scene .scene-label {
  color: var(--lav);
}
.reward-scene .family-phone {
  transform: rotate(4deg);
}
.pizza-float {
  position: absolute;
  width: 170px;
  left: -16px;
  bottom: 40px;
  transform: rotate(-15deg);
}
.reward-note {
  position: absolute;
  right: -10px;
  top: 120px;
  width: 185px;
  padding: 20px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 20px;
  box-shadow: var(--sh-card);
  transform: rotate(-5deg);
}
.reward-note span {
  display: block;
  color: var(--green);
  font-size: 1.6rem;
}
.family-next > .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: 72px;
}
.family-next-art {
  position: relative;
  padding: 32px;
}
.family-next-art > img:first-child {
  width: 100%;
}
.next-feron {
  position: absolute;
  width: 44%;
  bottom: 0;
  right: 0;
}
.family-landing section[id] {
  scroll-margin-top: 100px;
}
.story-arrived {
  animation: story-arrive 0.65s var(--ease) both;
}
@keyframes story-arrive {
  from {
    transform: translateY(22px);
  }
  to {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .family-folim {
    animation: family-float 5s ease-in-out infinite;
    animation-play-state: paused;
  }
  .family-gem {
    animation: family-float 4s ease-in-out infinite reverse;
    animation-play-state: paused;
  }
  .is-story-live .family-folim,
  .is-story-live .family-gem {
    animation-play-state: running;
  }
  @keyframes family-float {
    50% {
      translate: 0 -12px;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-arrived {
    animation: none;
  }
}
@media (max-width: 1000px) {
  .family-hero-grid,
  .story-grid {
    gap: 36px;
  }
  .family-world {
    height: 540px;
  }
  .family-kid-phone {
    width: 190px;
    right: 5%;
  }
  .family-folim {
    width: 250px;
    left: -8%;
  }
  .world-note-top {
    left: -6%;
  }
  .family-ribbon .wrap {
    gap: 18px;
  }
  .family-ribbon span {
    font-size: 0.9rem;
  }
  .family-phone {
    width: 230px;
  }
  .family-stage {
    min-height: 630px;
  }
}
@media (max-width: 760px) {
  .family-hero {
    padding: 32px 0 54px;
  }
  .family-hero-grid,
  .story-grid,
  .family-next > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .family-copy .h1 {
    font-size: clamp(3rem, 11vw, 4.6rem);
  }
  .family-world {
    width: min(500px, 100%);
    height: 500px;
    margin: 0 auto;
  }
  .family-kid-phone {
    width: 190px;
    right: 13%;
  }
  .family-folim {
    width: 260px;
    left: -1%;
  }
  .family-island {
    width: 100%;
    left: 0;
    bottom: -1%;
  }
  .world-orbit {
    width: 96%;
    left: 2%;
  }
  .world-note-top {
    left: 0;
  }
  .world-note-bottom {
    right: 0;
  }
  .family-gem {
    left: 8%;
    top: 23%;
  }
  .family-egg {
    width: 80px;
  }
  .family-ribbon .wrap {
    gap: 12px;
    flex-wrap: wrap;
  }
  .family-ribbon span {
    gap: 6px;
    font-size: 0.8rem;
  }
  .family-ribbon img {
    width: 26px;
    height: 30px;
  }
  .family-ribbon i {
    font-size: 1.2rem;
  }
  .family-stage {
    min-height: 640px;
    order: 2;
    margin: 0 8px;
  }
  .family-phone {
    width: 245px;
  }
  .scene-sticker {
    left: -8px;
    font-size: 0.85rem;
  }
  .scene-companion {
    right: -8px;
  }
  .family-role {
    padding: 72px 0;
  }
  .reward-scene {
    margin: 0 8px;
  }
  .reward-note {
    right: -8px;
    width: 145px;
    padding: 14px;
    font-size: 0.85rem;
  }
  .pizza-float {
    width: 135px;
    left: -12px;
  }
  .family-next-art {
    max-width: 400px;
    margin: 0 auto;
  }
}
@media (max-width: 370px) {
  .family-world {
    height: 440px;
  }
  .family-kid-phone {
    width: 170px;
    right: 6%;
  }
  .family-folim {
    width: 220px;
    left: -4%;
  }
  .world-note {
    font-size: 0.78rem;
    padding: 10px 12px;
  }
  .family-egg {
    width: 65px;
  }
  .family-stage {
    padding-inline: 14px;
  }
  .family-phone {
    width: 222px;
  }
  .role-notes {
    gap: 16px;
  }
  .scene-sticker {
    font-size: 0.75rem;
    padding: 10px;
  }
}

/* The teacher product journey uses the approved v11 palette and original game art. */
.teacher-labs-landing .teacher-hero {
  padding: 62px 0 74px;
  background: radial-gradient(ellipse at 85% 15%, var(--yellow-2), transparent 46%), var(--lav-2);
  overflow: hidden;
}
.teacher-labs-landing .teacher-hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.teacher-labs-landing .teacher-copy .h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  max-width: 610px;
}
.teacher-labs-landing .teacher-copy .lead {
  max-width: 490px;
}
.teacher-game-world {
  position: relative;
  min-width: 0;
  height: 530px;
  isolation: isolate;
}
.teacher-world-orbit {
  position: absolute;
  inset: 25px -10px 35px;
  border: 2px dashed var(--purple);
  border-radius: 48% 45% 50% 40%;
  opacity: 0.2;
  transform: rotate(-14deg);
}
.teacher-hero-poster {
  position: absolute;
  width: 62%;
  left: 17%;
  top: 28px;
  border: 8px solid var(--white);
  border-radius: 28px;
  box-shadow: var(--sh-float);
  overflow: hidden;
  background: var(--white);
  transform: rotate(-6deg);
}
.teacher-hero-poster > img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 43%;
}
.teacher-hero-poster > div {
  padding: 16px;
}
.teacher-hero-poster span,
.teacher-hero-poster b {
  display: block;
}
.teacher-hero-poster span {
  font-size: 0.75rem;
  color: var(--muted);
}
.teacher-hero-poster b {
  font: 800 1.3rem / 1.2 var(--display);
  color: var(--purple-deep);
  margin-top: 6px;
}
.teacher-mini-poster {
  position: absolute;
  width: 26%;
  height: 196px;
  border: 5px solid var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sh-card);
}
.teacher-mini-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
.teacher-mini-one {
  right: 0;
  top: 0;
  transform: rotate(10deg);
  z-index: -1;
}
.teacher-mini-two {
  left: 0;
  top: 270px;
  transform: rotate(8deg);
}
.teacher-world-feron {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 40%;
  filter: drop-shadow(0 12px 20px #41265d20);
}
.teacher-world-note {
  position: absolute;
  left: 25%;
  bottom: 4px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: var(--sh-card);
  transform: rotate(4deg);
  font-size: 0.85rem;
}
.teacher-value-ribbon {
  background: var(--purple-night);
  color: var(--white);
  padding: 20px 0;
}
.teacher-value-ribbon > .wrap {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.teacher-value-ribbon span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 800;
}
.teacher-value-ribbon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.teacher-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.teacher-section-head > div {
  max-width: 730px;
}
.teacher-section-head .h2 {
  margin: 14px 0 18px;
}
.teacher-section-head > .text-link {
  flex-shrink: 0;
  margin-bottom: 26px;
}
.teacher-carousel {
  position: relative;
  margin-top: 22px;
}
.teacher-carousel-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: end;
  margin-bottom: 18px;
}
.teacher-carousel-controls[hidden] {
  display: none;
}
.teacher-carousel-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--purple);
  background: var(--white);
  color: var(--purple);
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}
.teacher-carousel-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.teacher-carousel-controls output {
  min-width: 64px;
  text-align: center;
  font-weight: 800;
  color: var(--muted);
}
.teacher-game-list {
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  padding: 6px 4px 24px;
  margin: 0 -4px;
  list-style: none;
  scrollbar-color: var(--purple) var(--lav-2);
  scrollbar-width: thin;
}
.teacher-game-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
}
.teacher-game-image {
  display: block;
  background: var(--purple-night);
}
.teacher-game-image img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 43%;
}
.teacher-game-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.teacher-subject,
.teacher-mode-tag {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--purple-deep);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.teacher-game-copy h3 {
  font: 800 1.55rem / 1.15 var(--display);
  margin: 12px 0;
}
.teacher-game-copy h3 a {
  color: var(--ink);
  text-decoration: none;
}
.teacher-game-copy > p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--muted);
}
.teacher-game-bottom {
  margin-top: auto;
  padding-top: 12px;
}
.teacher-game-language {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.teacher-game-bottom .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.teacher-catalog-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 850px;
}
.teacher-play-modes {
  background: var(--lav-2);
}
.teacher-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.teacher-mode-card {
  background: var(--white);
  padding: 30px;
  border-radius: 28px;
}
.teacher-mode-visual {
  height: 250px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: start;
  margin-bottom: 26px;
  border-radius: 20px;
  background: var(--yellow-2);
  overflow: hidden;
}
.teacher-projector {
  width: 78%;
  margin-top: 24px;
  position: relative;
}
.teacher-projector img {
  display: block;
  height: 150px;
  width: 100%;
  object-fit: cover;
  object-position: center 41%;
  border: 6px solid var(--ink);
  border-radius: 12px;
}
.teacher-projector > span {
  display: block;
  text-align: center;
  color: var(--ink);
  font-size: 28px;
  line-height: 16px;
}
.teacher-class-dots {
  display: flex;
  justify-content: center;
  gap: 18px;
  position: absolute;
  bottom: -18px;
}
.teacher-class-dots i {
  width: 38px;
  height: 56px;
  background: var(--purple);
  border-radius: 50% 50% 12px 12px;
}
.teacher-class-dots i:nth-child(2n) {
  background: var(--coral);
  transform: translateY(10px);
}
.teacher-mode-solo {
  background: var(--mint);
  align-items: center;
}
.teacher-solo-device {
  width: 53%;
  transform: rotate(-7deg);
  border: 8px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--sh-card);
}
.teacher-solo-device img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 43%;
}
.teacher-solo-book {
  width: 90px;
  position: absolute;
  right: 12%;
  bottom: 18px;
  transform: rotate(12deg);
}
.teacher-mode-card h3 {
  font: 800 1.8rem / 1.15 var(--display);
  margin: 16px 0;
}
.teacher-mode-card p {
  color: var(--muted);
}
.teacher-mode-card .teacher-equipment {
  font-size: 0.82rem;
  font-weight: 800;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.teacher-create {
  background: var(--white);
}
.teacher-create .story-grid,
.teacher-trails .story-grid {
  gap: 80px;
}
.teacher-availability {
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
  font-size: 0.86rem;
  font-weight: 700;
  margin: 24px 0;
}
.teacher-creation-details {
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 24px;
  background: var(--lav-2);
}
.teacher-creation-details summary {
  min-height: 56px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 900;
}
.teacher-creation-details summary > span {
  float: right;
}
.teacher-creation-details > div {
  padding: 0 24px 24px;
  font-size: 0.95rem;
}
.teacher-creation-details li {
  margin-bottom: 14px;
}
.teacher-creation-details ol {
  padding-left: 20px;
}
.teacher-idea-scene {
  position: relative;
  padding: 15px 35px 40px;
}
.teacher-brief-card {
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 26px;
  background: var(--yellow-2);
  transform: rotate(-3deg);
  box-shadow: var(--sh-card);
}
.teacher-example-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.teacher-brief-card > img {
  width: 54px;
  margin-top: 18px;
}
.teacher-brief-card h3 {
  font: 800 1.8rem / 1.1 var(--display);
  margin: 8px 0 22px;
}
.teacher-brief-card dl {
  margin: 0;
}
.teacher-brief-card dl > div {
  border-top: 1px solid #29213720;
  padding-top: 14px;
  margin-top: 14px;
}
.teacher-brief-card dt {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}
.teacher-brief-card dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
}
.teacher-brief-arrow {
  display: block;
  font-size: 2rem;
  text-align: center;
  margin-top: 12px;
  color: var(--purple);
}
.teacher-idea-result {
  position: relative;
  margin: -8px -24px 0 50px;
  border: 6px solid var(--white);
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--sh-float);
  transform: rotate(4deg);
}
.teacher-idea-result > img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center 42%;
}
.teacher-idea-result > span {
  display: inline-block;
  padding: 16px;
  font-size: 0.82rem;
  font-weight: 800;
}
.teacher-idea-result > .teacher-idea-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
}
.teacher-idea-gem {
  position: absolute;
  top: -10px;
  right: 0;
  width: 70px;
  transform: rotate(14deg);
}
.teacher-trails {
  overflow: hidden;
}
.teacher-trails .lead {
  color: var(--lav);
}
.teacher-trail-scene {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}
.teacher-trail-phone {
  width: 250px;
  transform: rotate(-7deg);
}
.teacher-trail-phone .screen {
  width: 100%;
}
.teacher-trail-feron {
  width: 205px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.teacher-trail-note {
  position: absolute;
  right: -12px;
  top: 24px;
  padding: 18px 24px;
  border-radius: 20px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--sh-card);
  transform: rotate(5deg);
}
.teacher-trail-node {
  position: absolute;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--purple-deep);
  bottom: 90px;
  right: 18%;
  font-size: 1.4rem;
  font-weight: 900;
  border: 4px solid var(--white);
}
.teacher-trail-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 26px 0;
  font-size: 0.86rem;
  font-weight: 800;
}
.teacher-trail-steps > span {
  border: 1px solid #ffffff50;
  border-radius: 12px;
  padding: 10px 14px;
}
.teacher-details-light {
  background: #ffffff12;
  border-color: #ffffff40;
}
.teacher-details-light .text-link {
  color: var(--yellow-2);
}
.teacher-faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
}
.teacher-faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.teacher-faq-list summary {
  min-height: 56px;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 900;
}
.teacher-faq-list details > p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}
.teacher-labs-landing .teacher-next .hero-cta {
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
}
@media (prefers-reduced-motion: no-preference) {
  .teacher-game-world.is-story-live .teacher-world-feron {
    animation: family-bob 6s ease-in-out infinite;
  }
}
@media (max-width: 1000px) {
  .teacher-labs-landing .teacher-hero-grid {
    gap: 28px;
  }
  .teacher-game-world {
    height: 460px;
  }
  .teacher-hero-poster > img {
    height: 260px;
  }
  .teacher-mini-poster {
    height: 160px;
  }
  .teacher-mini-two {
    top: 240px;
  }
  .teacher-create .story-grid,
  .teacher-trails .story-grid {
    gap: 40px;
  }
  .teacher-game-card {
    flex-basis: calc((100% - 24px) / 2);
  }
  .teacher-section-head {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 760px) {
  .teacher-labs-landing .teacher-hero {
    padding: 32px 0 46px;
  }
  .teacher-labs-landing .teacher-hero-grid,
  .teacher-mode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .teacher-game-world {
    height: 470px;
    width: 100%;
    max-width: 460px;
    margin: 20px auto 0;
  }
  .teacher-hero-poster > img {
    height: 280px;
  }
  .teacher-value-ribbon > .wrap {
    justify-content: start;
    gap: 18px;
  }
  .teacher-value-ribbon span {
    font-size: 0.8rem;
  }
  .teacher-value-ribbon img {
    width: 28px;
    height: 28px;
  }
  .teacher-game-card {
    flex-basis: 86%;
  }
  .teacher-game-copy {
    padding: 22px;
  }
  .teacher-mode-card {
    padding: 22px;
  }
  .teacher-mode-visual {
    height: 220px;
  }
  .teacher-projector img {
    height: 130px;
  }
  .teacher-idea-scene {
    padding: 15px 20px 30px 0;
    max-width: 470px;
    margin-inline: auto;
  }
  .teacher-idea-result {
    margin-right: -6px;
    margin-left: 26px;
  }
  .teacher-trail-scene {
    min-height: 590px;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
  .teacher-trail-note {
    right: 0;
    top: 8px;
  }
  .teacher-trail-feron {
    width: 180px;
  }
}
@media (max-width: 380px) {
  .teacher-game-world {
    height: 415px;
  }
  .teacher-hero-poster > img {
    height: 230px;
  }
  .teacher-hero-poster {
    left: 13%;
    width: 70%;
  }
  .teacher-mini-two {
    top: 225px;
    width: 29%;
    height: 140px;
  }
  .teacher-world-note {
    left: 12%;
    bottom: -4px;
    font-size: 0.75rem;
  }
  .teacher-game-card {
    flex-basis: 94%;
  }
  .teacher-trail-phone {
    width: 220px;
  }
  .teacher-trail-scene {
    min-height: 540px;
  }
  .teacher-trail-feron {
    width: 150px;
  }
  .teacher-trail-note {
    font-size: 0.8rem;
    padding: 14px;
  }
}

.teacher-hero-poster small {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 4px;
}
.teacher-labs-landing .hero-cta .link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.teacher-labs-landing .teacher-hero {
  padding-top: 82px;
}
@media (max-width: 760px) {
  .teacher-labs-landing .teacher-hero {
    padding-top: 52px;
  }
}
.teacher-game-list {
  scroll-padding-inline: 4px;
}
