/* Final layout: flat 2D interface, complete images and consistent spacing. */
:root { --panel-shadow: 0 5px 18px #6243a71a; }
.hero-window { transform: none; box-shadow: 0 0 12px #f4caff9c, var(--panel-shadow); }
.hero-window::before { display: none; }
.hero-inner { padding-bottom: 95px; }
.hero h1 { text-wrap: balance; }
.world-grid { align-items: stretch; gap: 28px; }
.world-card {
  display: flex;
  flex-direction: column;
  padding: 0 0 28px;
  border-radius: 22px;
  border: 2px solid #fff;
  background: #fff7e9f5;
  box-shadow: var(--panel-shadow);
  backdrop-filter: none;
}
.theater-world { background: #f0e9fff5; box-shadow: var(--panel-shadow); }
.world-cover { width: 100%; display: block; position: relative; padding: 0; background: #d9e6ff; color: white; overflow: hidden; text-align: left; }
.world-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1.79; object-fit: contain; transition: filter .2s; }
.world-cover:hover img { filter: brightness(1.08); }
.world-cover::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent,#14102b9e); pointer-events: none; }
.world-cover > span { position: absolute; bottom: 17px; left: 23px; z-index: 1; font-size: 9px; letter-spacing: 1.7px; text-shadow: 0 1px 4px #0008; }
.world-cover b { display: block; font-size: 22px; letter-spacing: -.5px; margin-top: 5px; }
.world-card > :not(.world-cover) { margin-left: 28px; margin-right: 28px; }
.world-card-top { margin-top: 24px; }
.world-card h3 { margin-top: 19px; margin-bottom: 14px; font-size: 30px; line-height: 1.22; }
.world-card p { max-width: none; margin-top: 0; margin-bottom: 0; flex: 1; font-size: 13px; }
.world-card .chips { margin-top: 22px; margin-bottom: 18px; }
.world-card .world-link { width: fit-content; font-size: 12px; background: #fff9; border: 1px solid #dacaaa; border-radius: 8px; padding: 11px 14px; gap: 25px; }
.theater-world .world-link { border-color: #d5c1eb; }
.world-decoration { display: none; }
.world-icon, .experience-icon, .avatar, .team-card { box-shadow: none; }
.world-icon { background: #ffe0a4; }
.theater-world .world-icon { background: #b28aeb; }
.team-card, .team-card:nth-child(2), .team-card:nth-child(3) { box-shadow: var(--panel-shadow); }
.team-section .section { padding-top: 80px; padding-bottom: 80px; }
.showcase-carousel { min-width: 0; }
.showcase-carousel .carousel-stage { box-shadow: 0 5px 20px #704ac338; }
.showcase-carousel .carousel-slide img { max-height: none; width: 100%; height: auto; }
.autoplay-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 17px; margin-bottom: 16px; border: 1px solid #fff; border-radius: 12px; background: #ffffffd4; }
.autoplay-label { font-size: 11px; color: #574370; }
.autoplay-toggle { background: #ede1ff; border: 1px solid #d3b8f5; color: #4c2383; border-radius: 8px; font-size: 11px; padding: 10px 14px; white-space: nowrap; }
.autoplay-progress { width: 120px; height: 4px; border-radius: 3px; background: #e4d9f3; overflow: hidden; margin-left: auto; }
.autoplay-progress i { display: block; background: #8b49df; width: 0; height: 100%; }
.auto-running .autoplay-progress i { animation: carousel-clock 10s linear forwards; }
@keyframes carousel-clock { from { width: 0; } to { width: 100%; } }
.project-section { padding-top: 75px; padding-bottom: 75px; }
.adventure-finale { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border: 2px solid #fff; border-radius: 24px; overflow: hidden; background: #fcf7ffed; box-shadow: var(--panel-shadow); }
.finale-art { position: relative; display: flex; align-items: center; background: #34255e; padding: 26px; }
.finale-art img { display: block; width: 100%; height: auto; object-fit: contain; border: 2px solid #ffd487; border-radius: 12px; }
.finale-badge { position: absolute; top: 23px; left: 23px; padding: 9px 12px; border: 1px solid #f7d992; border-radius: 8px; background: #fff2c9; color: #713f27; font-size: 9px; letter-spacing: 1.2px; }
.finale-copy { padding: 42px 35px; }
.finale-copy .eyebrow { font-size: 7px; padding: 7px 9px; border-color: #e1c9f2; }
.finale-copy h2 { font-size: 43px; line-height: 1.13; letter-spacing: -1.8px; }
.finale-copy p { font-size: 13px; margin: 23px 0; }
.finale-highlights { display: flex; flex-wrap: wrap; gap: 15px; font-size: 11px; color: #7c47a1; margin-bottom: 24px; }
.finale-copy .button { gap: 18px; font-size: 11px; }
.completed-badge { margin-top: 18px; display: flex; align-items: center; gap: 7px; font-size: 9px; color: #6b6479; }
.completed-badge i { width: 6px; height: 6px; background: #81aa85; border-radius: 50%; flex-shrink: 0; }
.learning-outcomes { margin-top: 32px; padding: 32px; background: #fffffff0; border: 2px solid white; border-radius: 22px; scroll-margin-top: 30px; }
.learning-heading h3 { font-size: 26px; letter-spacing: -.8px; margin: 0 0 10px; }
.learning-heading p { font-size: 12px; margin-bottom: 25px; }
.learning-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.learning-grid article { padding: 19px; border-radius: 14px; background: #f5eefb; border: 1px solid #e6d9f3; }
.learning-grid article:nth-child(2) { background: #fff4df; border-color: #f0e2c8; }
.learning-grid article:nth-child(3) { background: #eaf3ec; border-color: #d9e8da; }
.learning-grid article:nth-child(4) { background: #fcecef; border-color: #f1d9e2; }
.learning-symbol { display: block; font-size: 32px; color: #9a62cb; height: 45px; }
.learning-symbol.colors { color: #ed797e; text-shadow: 9px 0 #edc360,18px 0 #8abac4; margin-left: 2px; }
.learning-symbol.shapes { font-size: 21px; color: #c8953d; padding-top: 6px; letter-spacing: 1px; }
.learning-symbol.emotions { color: #589a85; }
.learning-symbol.stories { color: #cc7898; }
.learning-grid h4 { font-size: 14px; line-height: 1.4; margin: 8px 0 10px; }
.learning-grid p { font-size: 11px; line-height: 1.7; margin: 0; }
.save-section { display: grid; grid-template-columns: .9fr 1fr; gap: 50px; align-items: center; background: #eee4fc; padding-block: 55px; border-radius: 0; }
.save-section > div { display: block; }
.keepsake-art img { display: block; width: 100%; height: auto; border: 5px solid white; border-radius: 17px; box-shadow: var(--panel-shadow); }
.keepsake-copy .eyebrow { font-size: 7px; }
.save-section h3 { font-size: 34px; line-height: 1.17; letter-spacing: -1px; margin: 0 0 18px; }
.save-section p { font-size: 13px; margin-bottom: 22px; max-width: 440px; }
.save-section .button { margin-left: 0; }
.keepsake-copy small { font-size: 9px; color: #776385; display: block; margin-top: 14px; line-height: 1.7; }
.site-footer { display: block; min-height: 0; padding: 0 max(6%,calc((100% - 1120px)/2)); background: linear-gradient(#f9f3ffed,#f0e7ffe8),url('../assets/fantasy/team-world.jpg') center bottom/cover; border-radius: 0; border: 0; border-top: 2px solid white; box-shadow: none; }
.footer-main { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 55px; padding: 50px 0 35px; align-items: start; }
.footer-brand .brand { width: fit-content; }
.footer-brand p { margin: 20px 0 0; font-size: 12px; color: #6c5e7b; font-weight: 400; line-height: 1.8; }
.footer-nav { display: flex; flex-direction: column; gap: 13px; }
.footer-nav > span, .footer-message > span { font-size: 8px; letter-spacing: 1.4px; color: #957ba8; font-weight: 700; margin-bottom: 5px; }
.footer-nav a { font-size: 12px; color: #463457; width: fit-content; }
.footer-nav a:hover { color: #8c39cc; }
.footer-message p { color: #6c5e7b; font-size: 12px; margin: 18px 0; font-weight: 400; }
.footer-message .back-top { width: 38px; height: 38px; box-shadow: none; background: #e4d4f5; color: #70449b; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #dcccdf; padding: 22px 0; font-size: 10px; color: #8a7398; }
@media (max-width:1100px) {
  .world-card h3 { font-size: 27px; }
  .finale-art { padding: 18px; }
  .finale-copy { padding: 33px 27px; }
  .finale-copy h2 { font-size: 36px; }
  .finale-copy p { font-size: 12px; }
  .learning-grid { gap: 12px; }
  .learning-grid article { padding: 15px; }
  .learning-grid h4 { font-size: 13px; }
}
@media (max-width:800px) {
  .world-card > :not(.world-cover) { margin-left: 23px; margin-right: 23px; }
  .world-card h3 { font-size: 26px; }
  .world-card p { font-size: 12px; }
  .world-cover > span { left: 18px; font-size: 7px; }
  .world-cover b { font-size: 18px; }
  .autoplay-label { font-size: 10px; }
  .autoplay-progress { width: 70px; }
  .adventure-finale { grid-template-columns: 1fr; }
  .finale-art { padding: 36px; }
  .finale-art img { max-width: 600px; margin: auto; }
  .finale-badge { top: 14px; left: 18px; font-size: 8px; }
  .finale-copy { padding: 35px; }
  .learning-grid { grid-template-columns: repeat(2,1fr); }
  .learning-outcomes { padding: 27px; }
  .save-section { gap: 30px; padding-inline: 30px; }
  .save-section h3 { font-size: 29px; }
  .save-section p { font-size: 12px; }
  .save-section .button { margin-left: 0; }
  .footer-main { gap: 25px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width:560px) {
  .hero-inner { padding-bottom: 110px; }
  .world-card { padding-bottom: 24px; }
  .world-card h3 { font-size: 28px; }
  .world-card p { font-size: 12px; }
  .world-cover b { font-size: 21px; }
  .world-card-top { margin-top: 20px; }
  .world-card .world-link { font-size: 11px; padding: 10px 13px; }
  .autoplay-toolbar { padding: 10px 12px; gap: 10px; flex-wrap: wrap; }
  .autoplay-label { font-size: 9px; flex: 1; }
  .autoplay-toggle { font-size: 9px; padding: 9px 10px; }
  .autoplay-progress { order: 3; width: 100%; margin-left: 0; height: 3px; }
  .finale-art { padding: 43px 15px 20px; }
  .finale-copy { padding: 27px 23px; }
  .finale-copy h2 { font-size: 34px; }
  .finale-copy .eyebrow { font-size: 5px; letter-spacing: .7px; }
  .finale-highlights { font-size: 10px; gap: 13px; }
  .finale-copy .button { font-size: 10px; padding: 13px 14px; gap: 14px; }
  .completed-badge { font-size: 8px; line-height: 1.6; }
  .learning-outcomes { padding: 23px 18px; }
  .learning-heading h3 { font-size: 23px; }
  .learning-heading p { font-size: 11px; }
  .learning-grid { gap: 12px; }
  .learning-grid article { padding: 14px; }
  .learning-grid h4 { font-size: 13px; }
  .learning-grid p { font-size: 10px; }
  .learning-symbol.shapes { font-size: 17px; letter-spacing: 0; }
  .save-section { grid-template-columns: 1fr; gap: 27px; padding: 35px 23px; }
  .save-section .button { font-size: 11px; }
  .save-section h3 { font-size: 32px; }
  .keepsake-copy .eyebrow { font-size: 6px; }
  .footer-main { gap: 27px; padding-top: 35px; }
  .footer-main p { max-width: none; }
  .footer-brand .brand { flex-basis: auto; }
  .footer-brand p { font-size: 11px; margin-top: 15px; }
  .footer-nav a, .footer-message p { font-size: 10px; }
  .footer-nav > span, .footer-message > span { font-size: 6px; letter-spacing: 1px; }
  .footer-bottom { font-size: 8px; align-items: flex-start; line-height: 1.8; gap: 15px; }
  .footer-bottom > span:last-child { text-align: right; }
}
@media(max-width:360px) { .learning-grid { grid-template-columns:1fr; } .world-card h3 { font-size:25px; } }
@media(prefers-reduced-motion:reduce) { .auto-running .autoplay-progress i { animation:none; width:100%; } }
/* Keep the keyboard skip link hidden without leaving a clipped fragment. */
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; white-space: nowrap; }
