/* Mykiki Toys: a warm, sunny playroom in the app's amber and moss greens. The page layout is the shared
   Little Lamp Labs one (home/site.css, the same file as littlelamplabs.com's); this file brings the colors,
   the room and the support box. No scripts, so everything moving is CSS. */
.site { --hero-bg: #FCE6B8; --hero-ink: #6A4A2B; --hero-sub: #86603C; --button: #6A4A2B; --accent: #4F6B35;
  --tile-amber: #FCE6B8; --tile-moss: #E3EFD5; --tile-sky: #DDEFF5; --tile-rose: #FBE1DC;
  --ink-amber: #8A5A12; --ink-moss: #46622C; --ink-sky: #2D6577; --ink-rose: #9A4436; }
@media (prefers-color-scheme: dark) {
  .site { --accent: #B9D99A;
    --tile-amber: #3A2B14; --tile-moss: #243118; --tile-sky: #18303A; --tile-rose: #3A1F1A;
    --ink-amber: #F4C97A; --ink-moss: #B9D99A; --ink-sky: #9FD3E4; --ink-rose: #F2AFA2; }
}
.hero .pill { background: rgba(255, 255, 255, 0.7); }

.tile-amber { background: var(--tile-amber); } .tile-amber h2 { color: var(--ink-amber); }
.tile-moss { background: var(--tile-moss); } .tile-moss h2 { color: var(--ink-moss); }
.tile-sky { background: var(--tile-sky); } .tile-sky h2 { color: var(--ink-sky); }
.tile-rose { background: var(--tile-rose); } .tile-rose h2 { color: var(--ink-rose); }

/* "Like what we're making?" */
.support { text-align: center; padding: 40px 24px; margin-bottom: 48px; border-radius: 32px; background: var(--tile-amber); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.support h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; }
.support p { max-width: 32em; color: var(--muted); }

/* Room colors */
.wall { fill: #FCE6B8; }
.sunbeam { fill: #FFF2D2; opacity: 0.6; }
.window-frame { fill: #FFF6E3; }
.window-sky { fill: #CFE8F2; }
.window-hill { fill: #A9D493; }
.sun { fill: #F9D27A; }
.window-cloud { fill: #FFFFFF; }
.rays { stroke: #F9D27A; stroke-width: 6; stroke-linecap: round; }
.glint { fill: #FFFFFF; }
.sill { fill: #E8B866; }
.sparkles { fill: #FFFFFF; }
.floor { fill: #EBBE6E; }
.planks { stroke: #DDAA58; stroke-width: 4; }
.skirting { fill: #D9A653; }
.rug { fill: #F6D48E; }
.rug-ring { fill: none; stroke: #F9E2AE; stroke-width: 9; }
.block-teal { fill: #6FB7A8; } .block-coral { fill: #E98B6D; } .block-lilac { fill: #A99BE0; }
.letter { font: 900 56px "Nunito", system-ui, sans-serif; fill: #FFFFFF; }
.stacker-base { fill: #B8763F; }
.arc { fill: none; stroke-linecap: round; stroke-width: 24; }
.arc-coral { stroke: #E98B6D; } .arc-butter { stroke: #F2C94C; } .arc-teal { stroke: #6FB7A8; stroke-width: 20; }
.balloon-string { fill: none; stroke: #B88A6A; stroke-width: 3; }
.balloon-body { fill: #E98B6D; } .balloon-knot { fill: #D97A5D; } .balloon-shine { fill: #FFFFFF; opacity: 0.4; }
.moss-shadow { fill: #B98A3E; }

/* Moss bounces like a ball: squash on landing, stretch on the way up (he's drawn at 2.4x, so heights are
   in his own units). */
.hop { transform-box: fill-box; transform-origin: 50% 100%; animation: hop 1.2s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes hop {
  0% { transform: translateY(0) scale(1.18, 0.8); }
  10% { transform: translateY(-10px) scale(0.88, 1.14); }
  50% { transform: translateY(-64px) scale(0.98, 1.03) rotate(-4deg); }
  90% { transform: translateY(-10px) scale(0.9, 1.12); }
  100% { transform: translateY(0) scale(1.18, 0.8); }
}
.moss-shadow { transform-box: fill-box; transform-origin: center; animation: moss-shadow 1.2s ease-in-out infinite; }
@keyframes moss-shadow { 0%, 100% { transform: scale(1.2); opacity: 0.38; } 50% { transform: scale(0.5); opacity: 0.14; } }
.sprout { transform-box: fill-box; transform-origin: 30% 100%; animation: sprout 1.2s ease-in-out infinite; }
@keyframes sprout { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-12deg); } }
.balloon { transform-box: view-box; transform-origin: 1280px 552px; animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-22px) rotate(3deg); } }
/* Clouds drift past the window at their own pace; the sun's rays turn slowly and shimmer, with a glint. */
.window-cloud { animation: pass linear infinite; }
.wc1 { animation-duration: 18s; animation-delay: -6s; }
.wc2 { animation-duration: 13s; animation-delay: -2s; opacity: 0.9; }
.wc3 { animation-duration: 24s; animation-delay: -17s; opacity: 0.95; }
@keyframes pass { from { transform: translateX(-160px); } to { transform: translateX(360px); } }
.rays { transform-box: view-box; transform-origin: 1270px 228px; animation: spin 18s linear infinite; }
.sun-rays { transform-box: view-box; transform-origin: 1270px 228px; animation: shimmer 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(45deg); } }
@keyframes shimmer { 0%, 100% { transform: scale(0.92); opacity: 0.7; } 50% { transform: scale(1.12); opacity: 1; } }
.glint { transform-box: fill-box; transform-origin: center; animation: glint 2.4s ease-in-out infinite; }
.g2 { animation-delay: -1.2s; }
@keyframes glint { 0%, 100% { transform: scale(0.2) rotate(0deg); opacity: 0; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
.twinkle { animation: twinkle 2.4s ease-in-out infinite; opacity: 0.2; }
.t2 { animation-delay: -0.8s; } .t3 { animation-delay: -1.6s; } .t4 { animation-delay: -1.2s; }
@keyframes twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.9; } }
/* Reduce Motion: Moss and the balloon stay still, but clouds still drift past the window (slower) and the
   sun still shimmers, so the room isn't frozen. */
/* Reduce Motion: Moss and the balloon stay still, but clouds still drift past the window (slower) and the
   sun still shimmers, so the room isn't frozen. */
@media (prefers-reduced-motion: reduce) {
  .hop, .moss-shadow, .sprout, .balloon, .rays { animation: none; }
  .wc1 { animation-duration: 40s; } .wc2 { animation-duration: 30s; } .wc3 { animation-duration: 52s; }
}
