@font-face {
  font-family: Nunito;
  src: url("/site-assets/nunito-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("/site-assets/nunito-sans-latin-800-normal.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  /* Match the Mili-Maus business card across the public and family spaces. */
  --ink: #403b36;
  --green: #365f50;
  --mint: #b4d8c9;
  --mint-soft: #e6f0e9;
  --rose: #f3b5c2;
  --rose-soft: #fae5e8;
  --terracotta: #ae624c;
  --terracotta-dark: #874735;
  --terracotta-hover: #713b2c;
  --sky: var(--mint);
  --muted: #594e48;
  --paper: #fbf6ef;
  --surface: #fffcf8;
  --line: #dfd8ce;
  font-family: Nunito, system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--terracotta-dark);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--terracotta-dark);
  font-weight: 800;
  text-wrap: balance;
}
p {
  line-height: 1.65;
}
img {
  max-width: 100%;
  height: auto;
}
svg {
  flex-shrink: 0;
}
section[id] {
  scroll-margin-top: 25px;
}
.skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 15px;
  background: white;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.site-header {
  position: absolute;
  z-index: 10;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 1376px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  background: #fbf6eff5;
  border: 1px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 6px 22px #4271870a;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.wordmark img {
  border-radius: 50%;
}
.wordmark > span {
  color: var(--terracotta-dark);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -1.6px;
}
.brand-dot {
  color: var(--terracotta);
}
.desktop-nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
  font-weight: 800;
}
.desktop-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.desktop-nav a:hover {
  color: var(--terracotta-dark);
}
.header-right {
  display: flex;
  gap: 15px;
  align-items: center;
}
.languages {
  display: flex;
  gap: 1px;
}
.languages a {
  font-size: 11px;
  min-width: 30px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
}
.languages a[aria-current] {
  color: var(--green);
  background: var(--mint);
  font-weight: 800;
}
.family-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  padding: 13px 14px;
  background: var(--terracotta-dark);
  border-radius: 10px;
  color: white;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 800;
  line-height: 1.5;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.18s,
    background 0.18s;
}
.dark {
  background: var(--terracotta-dark);
  color: #fff;
}
.dark:hover {
  background: var(--terracotta-hover);
  transform: translateY(-2px);
}
.ribbon {
  background: var(--terracotta-dark);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 25px;
  padding: 25px 28px;
}
.ribbon > span {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 13px;
  font-weight: 800;
}
.sparkle {
  height: 27px;
  width: 27px;
  color: var(--rose);
}
.section {
  width: calc(100% - 112px);
  max-width: 1240px;
  margin: auto;
  padding: 110px 0;
}
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.approach-art {
  position: relative;
  min-width: 0;
  padding-top: 30px;
}
.art-circle {
  position: absolute;
  inset: 13% -1% 9%;
  border-radius: 50%;
  background: var(--rose-soft);
  z-index: -1;
}
.approach-art img {
  display: block;
  width: 100%;
  transform: rotate(-3deg);
}
.little-word {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  background: var(--mint);
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 16px;
  white-space: nowrap;
}
.section h2 {
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.11;
  letter-spacing: -1.9px;
  margin: 15px 0 22px;
}
.lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.values {
  margin-top: 26px;
}
.values article {
  display: flex;
  gap: 17px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.value-number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--green);
  padding-top: 3px;
}
.values h3,
.features h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 7px;
}
.values p,
.features p {
  font-size: 14px;
  color: var(--muted);
}
.parents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.features {
  margin: 28px 0;
}
.features article {
  display: flex;
  gap: 15px;
  padding: 13px 0;
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  border-radius: 13px;
  flex-shrink: 0;
}
.small-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 13px;
}
.app-scene {
  position: relative;
  background: var(--rose-soft);
  border-radius: 42% 42% 32% 32%;
  padding: 42px 50px;
  min-width: 0;
}
.phone-preview {
  position: relative;
  border: 7px solid #fff;
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 24px 35px #1e4b3926;
  max-width: 320px;
  margin: auto;
  transform: rotate(4deg);
  z-index: 1;
  overflow: hidden;
  padding: 0 15px;
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 17px 0;
  font-size: 17px;
  letter-spacing: -0.7px;
}
.phone-top img {
  border-radius: 50%;
}
.phone-top > span {
  margin-left: auto;
  font-size: 29px;
  color: var(--terracotta);
}
.phone-greeting {
  background: var(--terracotta-dark);
  color: white;
  border-radius: 16px;
  padding: 25px 17px;
}
.phone-greeting > span {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #f5ddd1;
  font-weight: 800;
}
.phone-greeting h3 {
  color: var(--paper);
  font-size: 24px;
  line-height: 1.1;
  margin: 16px 0 10px;
}
.phone-greeting p {
  font-size: 11px;
  color: #fae5e8;
  max-width: 160px;
}
.phone-items {
  padding: 18px 0;
}
.phone-items > div {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.phone-items > div:last-child {
  border: 0;
}
.phone-items > div > svg:first-child {
  width: 22px;
  color: var(--green);
}
.phone-items span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.phone-items strong {
  font-size: 12px;
}
.phone-items small {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.5;
}
.phone-items > div > svg:last-child {
  width: 14px;
}
.phone-bottom {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--green);
}
.phone-bottom svg {
  width: 19px;
}
.scene-sticker {
  position: absolute;
  bottom: 21px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: rotate(-8deg);
  padding: 15px 20px;
  background: var(--rose);
  border: 5px solid var(--surface);
  border-radius: 17px;
  z-index: 2;
  box-shadow: 0 7px 12px #32563c14;
}
.scene-sticker span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.scene-sticker .sparkle {
  color: var(--terracotta-dark);
}
.orbit {
  position: absolute;
  border: 1px solid #87b29e;
  border-radius: 50%;
  width: 130%;
  height: 60%;
  top: 20%;
  left: -15%;
  transform: rotate(-30deg);
}
.orbit.two {
  transform: rotate(35deg);
  width: 100%;
  left: 0;
  top: 30%;
}
.questions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 90px;
  border-top: 1px solid var(--line);
  padding-top: 80px;
}
.questions h2 {
  max-width: 360px;
}
.questions > div > .sparkle {
  color: var(--terracotta);
  width: 54px;
  height: 54px;
  margin-top: 25px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
  padding: 25px 0;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  font-size: 25px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list p {
  font-size: 14px;
  color: var(--muted);
  padding: 0 30px 25px 0;
}
.contact {
  position: relative;
  background: var(--mint);
  overflow: hidden;
  text-align: center;
  padding: 85px 25px 80px;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: auto;
}
.contact h2 {
  font-size: clamp(40px, 4.5vw, 65px);
  line-height: 1.05;
  letter-spacing: -2.8px;
  margin: 20px 0;
}
.contact-inner > p:not(.eyebrow):not(.small-note) {
  font-size: 17px;
  max-width: 450px;
  margin: 0 auto 25px;
  color: var(--green);
}
.contact .small-note {
  max-width: 370px;
  margin: 15px auto 0;
}
.contact-flower {
  position: absolute;
  font-size: 330px;
  line-height: 1;
  color: #87b29e;
}
.flower-left {
  left: -55px;
  bottom: -115px;
  transform: rotate(12deg);
}
.flower-right {
  right: -40px;
  top: 25px;
  transform: rotate(-14deg);
  color: var(--rose);
  font-size: 250px;
}
.site-footer {
  max-width: 1370px;
  width: calc(100% - 112px);
  margin: auto;
  padding: 40px 0 25px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 30px;
}
.footer-top > p {
  font-size: 15px;
  color: var(--green);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-bottom > a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: underline;
  white-space: nowrap;
}
.privacy-details {
  font-size: 13px;
  color: var(--muted);
}
.privacy-details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.privacy-details:not([open]) {
  display: block;
}
.privacy-details p {
  max-width: 900px;
  padding: 0 0 25px;
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 16px;
    font-size: 12px;
  }
  .site-header {
    gap: 15px;
    width: calc(100% - 40px);
  }
  .family-link {
    font-size: 11px;
    padding: 12px;
  }
  .wordmark > span {
    font-size: 24px;
  }
  .header-right {
    gap: 8px;
  }
  .section {
    width: calc(100% - 80px);
  }
  .approach,
  .parents {
    gap: 50px;
  }
  .app-scene {
    padding: 35px;
  }
  .questions {
    gap: 55px;
  }
  .scene-sticker {
    left: -10px;
  }
}
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--mint-soft);
    border-radius: 9px;
  }
  .menu-toggle span {
    height: 2px;
    width: 19px;
    background: var(--ink);
  }
  #mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: white;
    padding: 15px 22px;
    border-radius: 17px;
    box-shadow: 0 8px 20px #234b3924;
  }
  #mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 800;
  }
  .approach,
  .parents {
    gap: 40px;
  }
  .section {
    padding: 80px 0;
  }
  .section h2 {
    font-size: 38px;
  }
  .app-scene {
    padding: 30px 15px;
  }
  .ribbon > span {
    font-size: 11px;
    gap: 10px;
  }
  .ribbon {
    gap: 18px;
  }
  .footer-top > p {
    font-size: 13px;
  }
  .flower-right {
    right: -110px;
  }
  .flower-left {
    left: -130px;
  }
}
@media (max-width: 700px) {
  :root {
    scroll-padding-top: 30px;
  }
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    padding: 9px 11px;
    gap: 5px;
    border-radius: 14px;
  }
  .wordmark {
    gap: 5px;
  }
  .wordmark img {
    width: 37px;
    height: 37px;
  }
  .wordmark > span {
    font-size: 23px;
    letter-spacing: -1.1px;
  }
  .family-link {
    display: none;
  }
  .header-right {
    gap: 7px;
  }
  .languages a {
    min-width: 26px;
    font-size: 11px;
  }
  .button {
    font-size: 12px;
    min-height: 52px;
  }
  .ribbon {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 30px;
    gap: 18px;
  }
  .ribbon > span {
    font-size: 12px;
  }
  .ribbon .sparkle {
    height: 20px;
    width: 20px;
  }
  .section {
    width: calc(100% - 44px);
    padding: 68px 0;
  }
  .section h2 {
    font-size: 37px;
    letter-spacing: -1.5px;
  }
  .approach {
    display: flex;
    flex-direction: column-reverse;
    gap: 22px;
  }
  .approach-art {
    max-width: 440px;
    width: 100%;
  }
  .approach-copy .lead {
    font-size: 15px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.3px;
  }
  .values article {
    padding: 19px 0;
  }
  .values h3,
  .features h3 {
    font-size: 17px;
  }
  .values p,
  .features p {
    font-size: 14px;
  }
  .little-word {
    bottom: -12px;
  }
  .parents {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .parents .lead {
    font-size: 15px;
  }
  .app-scene {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
  }
  .scene-sticker {
    left: 0;
    bottom: 10px;
  }
  .orbit {
    width: 104%;
    left: -2%;
  }
  .questions {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .questions h2 {
    max-width: none;
  }
  .questions > div > .sparkle {
    display: none;
  }
  .faq-list summary {
    font-size: 15px;
    padding: 22px 0;
  }
  .faq-list p {
    font-size: 14px;
  }
  .contact {
    padding: 64px 24px;
  }
  .contact h2 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .contact .eyebrow {
    font-size: 11px;
  }
  .contact-inner > p:not(.eyebrow):not(.small-note) {
    font-size: 15px;
    max-width: 300px;
  }
  .contact-flower {
    font-size: 170px;
  }
  .flower-left {
    left: -75px;
    bottom: -80px;
  }
  .flower-right {
    font-size: 130px;
    right: -80px;
    top: 40px;
  }
  .site-footer {
    width: calc(100% - 44px);
    padding-top: 30px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-top .languages {
    margin-left: auto;
  }
  .footer-top > p {
    order: 3;
    width: 100%;
    font-size: 13px;
    margin-top: 8px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
  .app-scene .phone-preview {
    transform: rotate(2deg);
  }
}
@media (max-width: 360px) {
  .wordmark > span {
    font-size: 20px;
  }
  .wordmark img {
    width: 30px;
    height: 30px;
  }
  .languages a {
    min-width: 24px;
  }
  .header-right {
    gap: 3px;
  }
  .app-scene {
    padding: 20px 8px;
  }
  .scene-sticker {
    bottom: 0;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* Keep decorative orbits within the page, including narrow phones. */
.parents {
  overflow: clip;
  padding-left: 2px;
  padding-right: 2px;
}
/* Language choices remain easy to tap, including on the smallest phones. */
.languages a {
  min-width: 44px;
  min-height: 44px;
}
.wordmark {
  min-height: 44px;
}
@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3px;
  }
  .site-header .header-right {
    display: contents;
  }
  .site-header .languages {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }
  .site-header .menu-toggle {
    order: 2;
  }
  .footer-top .languages {
    margin-left: 0;
  }
}
.footer-bottom .site-credit {
  color: inherit;
  text-decoration: underline;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 18px;
}
.footer-links > a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: underline;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .footer-links {
    margin-left: auto;
  }
}

/* The illustrated document is the baseline. Motion is a progressive enhancement. */
.world-media {
  display: none;
}
.world-enhanced .world-media {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.world-enhanced .world-media > .world-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  z-index: 0;
}
.world-media video,
.world-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.world-canvas.painted {
  opacity: 1;
}
.world-enhanced .world-scenes .world-picture {
  display: none;
}
.world-enhanced .world-scene {
  background: transparent;
}
.learning-world {
  background: var(--paper);
  --world-height: 100svh;
  --world-span: 120svh;
}
.world-stage {
  position: relative;
}
.world-scene {
  position: relative;
  min-height: 720px;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.world-scene:first-child {
  padding-top: 110px;
}
.world-picture {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.world-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.world-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #fbf6eff7 0%,
    #fbf6efdb 28%,
    #fbf6ef36 56%,
    transparent 72%
  );
}
.world-copy {
  width: min(540px, 43%);
  margin-left: max(5vw, calc((100vw - 1280px) / 2));
  padding: 60px 0;
}
.world-eyebrow {
  font-size: 11px;
  letter-spacing: 1.65px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 18px;
}
.world-copy h1,
.world-copy h2 {
  font-size: clamp(36px, 4.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -2.6px;
}
.world-intro {
  font-size: 17px;
  max-width: 380px;
  margin-top: 24px;
  color: var(--ink);
  line-height: 1.6;
}
.world-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}
.world-actions .button {
  min-height: 48px;
  font-size: 13px;
  padding: 13px 18px;
  gap: 12px;
}
.world-skip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 800;
}
.world-skip:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.world-controls[hidden],
.world-mode[hidden] {
  display: none;
}
/* Where the document will stay illustrated, keep the toolbar's room before
   the script reveals it, so nothing below it moves. */
@media (prefers-reduced-motion: reduce), (max-height: 659px) {
  .learning-world:not(.world-enhanced) .world-controls[hidden] {
    display: flex;
    visibility: hidden;
    position: relative;
    bottom: auto;
    width: max-content;
    margin: 22px 0;
  }
}
.world-controls {
  position: absolute;
  z-index: 4;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbf6eff5;
  box-shadow: 0 8px 28px #163f3612;
  max-width: calc(100% - 24px);
}
.world-chapters {
  display: flex;
  gap: 4px;
}
.world-chapters a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}
.world-chapters a[aria-current="step"] {
  background: var(--terracotta-dark);
  color: var(--paper);
}
.chapter-number {
  font-size: 11px;
}
.world-mode,
.world-exit {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  font-size: 23px;
}
.world-mode:hover,
.world-exit:hover {
  background: var(--mint);
}
.world-scroll-hint {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 20px;
  background: #fbf6efe8;
  font-size: 11px;
  font-weight: 800;
}
.world-scroll-hint span {
  margin-left: 8px;
}
.world-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  overflow: hidden;
}
.world-progress span {
  display: block;
  background: var(--terracotta);
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
}
.world-enhanced {
  height: calc(var(--world-height) + 4 * var(--world-span));
}
.world-enhanced .world-stage {
  position: sticky;
  top: 0;
  height: var(--world-height);
  /* Keep the scroll distance stable, but let Safari's bars resize the visible stage. */
  height: 100dvh;
  overflow: hidden;
}
.world-enhanced .world-scenes {
  height: 100%;
}
.world-enhanced .world-scene {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.world-enhanced .world-scene.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.world-enhanced .world-copy {
  padding-top: 95px;
  padding-bottom: 125px;
}
.world-static .world-controls {
  position: relative;
  bottom: auto;
  width: max-content;
  margin: 22px 0;
}
.world-static .world-scroll-hint,
.world-static .world-progress {
  display: none;
}
@media (min-width: 1500px) {
  .world-copy {
    width: 540px;
  }
}
@media (max-width: 1000px) {
  .world-copy {
    width: 46%;
    margin-left: 5vw;
  }
  .chapter-name {
    display: none;
  }
  .world-chapters a {
    padding: 0;
  }
  .chapter-number {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .world-enhanced .world-stage {
    /* Freeze the stage during toolbar collapse/expansion. Width changes reset it. */
    height: var(--world-height);
  }
  .world-enhanced .world-media {
    bottom: auto;
    height: 54%;
  }
  .world-scene {
    min-height: 0;
    display: block;
    padding-top: 0;
    background: var(--paper);
  }
  .world-scene:first-child {
    padding-top: 0;
  }
  .world-picture {
    position: relative;
    height: 48svh;
    min-height: 270px;
    z-index: 0;
  }
  .world-scene:first-child .world-picture {
    height: 56svh;
    min-height: 340px;
  }
  .world-picture img,
  .world-picture video {
    object-position: 50% 50%;
  }
  .world-scene::after {
    display: none;
  }
  .world-copy {
    position: relative;
    width: auto;
    margin: 0;
    padding: 30px 24px 42px;
    background: var(--paper);
    border-radius: 28px 28px 0 0;
    margin-top: -25px;
  }
  .world-eyebrow {
    font-size: 11px;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
  }
  .world-copy h1,
  .world-copy h2 {
    font-size: clamp(32px, 8.3vw, 45px);
    letter-spacing: -1.4px;
    line-height: 1.05;
  }
  .world-intro {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 14px;
    max-width: 440px;
  }
  .world-actions {
    margin-top: 18px;
    gap: 0;
  }
  .world-actions .button {
    font-size: 12px;
    min-height: 44px;
    padding: 11px 15px;
  }
  .world-skip {
    min-height: 44px;
    font-size: 11px;
  }
  /* Only the shared loading poster belongs behind the canvas. Scene posters
     must stay hidden, including the more specific first-child scene. */
  .world-enhanced .world-media > .world-picture {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 54%;
    min-height: 0;
  }
  .world-enhanced .world-copy {
    position: absolute;
    left: 0;
    right: 0;
    top: 51%;
    bottom: 0;
    padding: 24px 24px 90px;
    margin: 0;
  }
  .world-enhanced .world-copy h1,
  .world-enhanced .world-copy h2 {
    font-size: clamp(28px, 7.4vw, 38px);
  }
  .world-enhanced .world-intro {
    font-size: 13px;
    margin-top: 12px;
  }
  .world-enhanced .world-actions {
    margin-top: 12px;
  }
  .world-enhanced .world-skip {
    display: none;
  }
  .world-controls {
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 4px;
    border-radius: 14px;
    padding: 6px;
  }
  .world-scroll-hint {
    bottom: calc(100% + 6px);
    font-size: 11px;
  }
  .world-enhanced .world-scroll-hint {
    left: auto;
    right: 22px;
    top: auto;
    bottom: calc(49% + 16px);
    transform: none;
    background: #fbf6efed;
  }
  .world-mode,
  .world-exit {
    border-color: transparent;
  }
  .world-static .world-controls {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .world-enhanced.world-compact .world-media {
    height: 49%;
  }
  .world-enhanced.world-compact .world-picture,
  .world-enhanced.world-compact .world-scene:first-child .world-picture {
    height: 49%;
  }
  .world-enhanced.world-compact .world-copy {
    top: 46%;
    padding-top: 18px;
  }
  .world-enhanced.world-compact .world-copy h1,
  .world-enhanced.world-compact .world-copy h2 {
    font-size: 28px;
  }
  .world-enhanced.world-compact .world-eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }
  .world-enhanced.world-compact .world-intro {
    font-size: 12px;
    margin-top: 9px;
  }
  .world-enhanced.world-compact .world-actions {
    margin-top: 9px;
  }
  .world-enhanced.world-compact .world-scroll-hint {
    bottom: calc(54% + 12px);
  }
}
@media print {
  .learning-world,
  .world-enhanced {
    height: auto;
  }
  .world-stage,
  .world-enhanced .world-stage,
  .world-enhanced .world-scenes {
    position: static;
    height: auto;
    overflow: visible;
  }
  .world-scene,
  .world-enhanced .world-scene {
    position: relative;
    inset: auto;
    display: block;
    min-height: 0;
    padding: 0 0 24px;
    opacity: 1;
    visibility: visible;
    break-inside: avoid;
  }
  .world-picture,
  .world-enhanced .world-scenes .world-picture {
    display: block;
    position: relative;
    inset: auto;
    z-index: auto;
    max-height: 45vh;
  }
  .world-copy,
  .world-enhanced .world-copy,
  .world-enhanced.world-compact .world-copy {
    position: static;
    width: auto;
    max-width: 720px;
    margin: 0;
    padding: 16px 0 0;
  }
  .world-scene::after,
  .world-media,
  .world-enhanced .world-media,
  .world-controls,
  .world-skip {
    display: none;
  }
}

.contact-inner {
  max-width: 1100px !important;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}
.contact-introduction {
  position: relative;
  z-index: 1;
}
.visit-panel {
  position: relative;
  z-index: 1;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 16px 50px #87473510;
}
.visit-panel h3 {
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.8px;
}
.visit-panel > p {
  font-size: 16px !important;
  margin: 0 0 24px !important;
}
.visit-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.visit-form label {
  font-size: 14px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.visit-wide {
  grid-column: 1/-1;
}
.visit-form input:not([type="checkbox"]),
.visit-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #8c7d70;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.visit-form textarea {
  resize: vertical;
}
.visit-form input:focus-visible,
.visit-form textarea:focus-visible {
  outline: 3px solid var(--terracotta-dark);
  outline-offset: 2px;
}
.visit-panel .visit-hint {
  font-size: 12px !important;
  line-height: 1.55;
  margin: 12px 0 !important;
  color: var(--muted);
}
.visit-form .visit-consent {
  flex-direction: row;
  align-items: flex-start;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.visit-consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--terracotta-dark);
}
.visit-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visit-error {
  padding: 12px;
  background: var(--rose-soft);
  color: #8e272a;
  border-radius: 10px;
  font-size: 14px !important;
}
.visit-success {
  padding: 24px 0;
  min-height: 240px;
}
.visit-success > span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mint);
  font-size: 28px;
}
.visit-success h4 {
  font-size: 24px;
  margin: 20px 0 12px;
}
.visit-success p {
  font-size: 16px !important;
}
.visit-form button {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}
.visit-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.visit-panel [hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-introduction {
    text-align: center;
  }
  .visit-panel {
    padding: 25px;
  }
  .visit-fields {
    grid-template-columns: 1fr;
  }
  .contact-inner h2 {
    font-size: 40px;
  }
}
@media (max-width: 380px) {
  .visit-panel {
    padding: 20px;
  }
  .contact-inner h2 {
    font-size: 34px;
  }
}

.business-contact {
  display: grid;
  gap: 20px;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  font-style: normal;
  line-height: 1.6;
  text-align: left;
}
.contact-detail-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--ink);
}
.contact-owner {
  display: block;
  font-size: 25px;
  line-height: 1.2;
  color: var(--terracotta-dark);
}
.business-email,
.business-phone {
  display: block;
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.business-email {
  margin-bottom: 12px;
}
.business-map {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 800;
  color: var(--terracotta-dark);
}
.business-contact a:hover,
.footer-business a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-business {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 24px 0;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .business-contact {
    padding: 20px;
  }
  .footer-business {
    flex-direction: column;
    gap: 8px;
  }
}

/* The transparent portrait rises out of the card, without a frame. */
.business-contact {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "portrait" "identity" "channels" "address";
  align-items: start;
  margin-top: 88px;
  overflow: visible;
}
.owner-portrait {
  grid-area: portrait;
  display: block;
  width: min(300px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  justify-self: center;
  margin-top: -80px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 5px 4px #713b2c18) drop-shadow(0 18px 15px #713b2c29);
}
.contact-identity { grid-area: identity; min-width: 0; }
.contact-channels { grid-area: channels; min-width: 0; }
.contact-address { grid-area: address; min-width: 0; }
@media (min-width: 1200px) {
  .business-contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
    grid-template-areas: "identity portrait" "channels portrait" "address portrait";
    margin-top: 80px;
  }
  .owner-portrait {
    width: calc(100% + 60px);
    max-width: none;
    margin-top: -70px;
    transform: translateX(12px);
  }
}

/* Mili-Maus button material: warm light, a lower edge and a soft cast shadow.
   Only small controls move; scroll-world containers keep their own transforms. */
:is(
  .primary,
  .secondary,
  .outline-button,
  .light-button,
  .danger-button,
  .button,
  .family-link,
  .child-filters button,
  .desk-icon,
  .provider-shell .sidebar nav button,
  .world-chapters a[aria-current="step"]
) {
  --button-edge: #87473538;
  background-image: linear-gradient(
    180deg,
    #ffffff24 0%,
    #ffffff08 48%,
    #713b2c0a 100%
  );
  box-shadow:
    inset 0 1px 0 #ffffff66,
    inset 0 -1px 0 #713b2c14,
    0 3px 0 var(--button-edge),
    0 6px 12px #713b2c16;
  transition:
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
:is(.primary, .danger-button, .button.dark, .family-link) {
  --button-edge: #572b20;
  box-shadow:
    inset 0 1px 0 #ffffff42,
    inset 0 -1px 0 #00000012,
    0 3px 0 var(--button-edge),
    0 7px 16px #713b2c26;
}
/* Opaque cream lets outlined actions read as tangible surfaces. */
.outline-button {
  background-color: var(--surface, #fffcf8);
}
@media (hover: hover) and (pointer: fine) {
  :is(
      .primary,
      .secondary,
      .outline-button,
      .light-button,
      .danger-button,
      .button,
      .family-link,
      .child-filters button,
      .desk-icon,
      .provider-shell .sidebar nav button,
      .world-chapters a[aria-current="step"]
    ):not(:disabled):not([aria-disabled="true"]):hover {
    background-image: linear-gradient(
      180deg,
      #ffffff30,
      #ffffff08 60%,
      #713b2c0a
    );
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 #ffffff66,
      inset 0 -1px 0 #713b2c14,
      0 4px 0 var(--button-edge),
      0 10px 18px #713b2c24;
  }
}
:is(
    .primary,
    .secondary,
    .outline-button,
    .light-button,
    .danger-button,
    .button,
    .family-link,
    .child-filters button,
    .desk-icon,
    .provider-shell .sidebar nav button,
    .world-chapters a[aria-current="step"]
  ):not(:disabled):not([aria-disabled="true"]):active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 3px #713b2c1c,
    0 1px 0 var(--button-edge),
    0 2px 4px #713b2c12;
  transition-duration: 80ms;
}
:is(
  .primary,
  .secondary,
  .outline-button,
  .light-button,
  .danger-button,
  .button,
  .family-link,
  .child-filters button,
  .desk-icon,
  .provider-shell .sidebar nav button,
  .world-chapters a[aria-current="step"]
):focus-visible {
  outline: 3px solid var(--green, #365f50);
  outline-offset: 5px;
}
:is(
  .primary,
  .secondary,
  .outline-button,
  .light-button,
  .danger-button,
  .button,
  .family-link,
  .child-filters button,
  .desk-icon,
  .provider-shell .sidebar nav button
):is(:disabled, [aria-disabled="true"]) {
  background-image: none;
  box-shadow: inset 0 0 0 1px #87473524;
  transform: none;
  cursor: not-allowed;
}
/* Touch never retains a lifted hover after a tap. */
@media (hover: none) {
  .button.dark:hover {
    transform: none;
  }
  .button.dark:active {
    transform: translateY(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(
    .primary,
    .secondary,
    .outline-button,
    .light-button,
    .danger-button,
    .button,
    .family-link,
    .child-filters button,
    .desk-icon,
    .provider-shell .sidebar nav button,
    .world-chapters a[aria-current="step"]
  ) {
    transition: none !important;
  }
  :is(
    .primary,
    .secondary,
    .outline-button,
    .light-button,
    .danger-button,
    .button,
    .family-link,
    .child-filters button,
    .desk-icon,
    .provider-shell .sidebar nav button,
    .world-chapters a[aria-current="step"]
  ):is(:hover, :active) {
    transform: none !important;
  }
}
