@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900;1000&display=swap');

:root {
  color: #24234a;
  background: #fffaf0;
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #5029a7; outline-offset: 5px; }
.skip { position: absolute; top: -6rem; padding: .75rem; background: white; z-index: 2; }
.skip:focus { top: .5rem; left: .5rem; }
.wrap { width: min(1140px, 100% - 3rem); margin-inline: auto; }
.top, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .35rem; font-size: 1.45rem; font-weight: 1000; text-decoration: none; white-space: nowrap; letter-spacing: -.05em; }
.brand img { border-radius: 35%; margin-right: .25rem; }
.brand span { color: #6040c4; }
nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); font-weight: 800; }
nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover, .quiet:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 8vw, 7rem); }
.eyebrow { font-size: .9rem; font-weight: 1000; letter-spacing: .11em; text-transform: uppercase; color: #5b36a7; margin-bottom: .8rem; }
h1, h2, h3 { font-weight: 1000; letter-spacing: -.045em; line-height: 1.04; }
h1 { font-size: clamp(3.4rem, 7.7vw, 6.6rem); }
h1 em { display: block; color: #6141c7; font-style: normal; }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: 1.65rem; }
.intro > p:not(.eyebrow), .purpose-copy { font-size: clamp(1.13rem, 2vw, 1.32rem); line-height: 1.55; max-width: 41ch; margin-block: 1.25rem 1.6rem; }
.button { display: inline-flex; align-items: center; gap: .65rem; padding: .83rem 1.25rem; border-radius: 1rem; text-decoration: none; font-weight: 1000; transition: transform .16s ease; }
.button:hover { transform: translateY(-3px); }
.primary { color: white; background: #bb254d; box-shadow: 0 5px 0 #861c3c; }
.primary span { font-size: .9rem; }
.quiet { display: block; width: fit-content; margin-top: 1.3rem; font-weight: 900; text-underline-offset: .2em; }
.hero-art { position: relative; border: 8px solid #fff; background: #ffdb20; border-radius: 22% 24% 20% 24%; box-shadow: 0 15px 0 #f0dcad; isolation: isolate; }
.hero-art img { width: 100%; height: auto; border-radius: inherit; }
.hero-art figcaption { position: absolute; right: -1rem; bottom: 1rem; padding: .55rem 1rem; border: 3px solid #fff; border-radius: .9rem; background: #c6b4ff; font-weight: 1000; transform: rotate(-7deg); }
.star { position: absolute; color: #6844ce; font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: 1; text-shadow: 2px 3px white; }
.star-one { left: -.28em; top: .34em; }
.star-two { right: -.22em; top: -.23em; color: #d64676; }
.purpose { background: #e8ddff; padding-block: clamp(3rem, 7vw, 6rem); border-radius: 3rem 3rem 0 0; }
.purpose .wrap { text-align: center; }
.purpose-copy { margin-inline: auto; max-width: 57ch; }
.values { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding: 0; margin: 0 0 2.5rem; list-style: none; }
.values li { background: #fff; border-radius: 2rem; padding: .65rem 1rem; font-weight: 900; }
.values span { color: #633cc5; margin-right: .2em; }
.story { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; text-align: left; max-width: 920px; margin: auto; background: #fff; border: .5rem solid #fff; border-radius: 1.8rem; overflow: hidden; }
.story img { width: 100%; height: auto; border-radius: 1.3rem; }
.story > div { padding: clamp(1.2rem, 4vw, 2.6rem); }
.story p, .card p { margin-top: .65rem; line-height: 1.55; }
.explore { padding-block: clamp(3rem, 7vw, 6rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.card { border-radius: 1.5rem; overflow: hidden; display: flex; flex-direction: column; }
.card-art { height: 170px; width: 100%; display: grid; place-items: center; object-fit: cover; font-size: 4rem; }
.game { background: #dff7ea; }
.game .card-art { background: #bfead3; }
.shop { background: #ffebf1; }
.book { background: #fff0c3; }
.book .card-art { background: #ffe190; }
.card-text { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card p { margin-bottom: 1rem; }
.status, .secondary { margin-top: auto; }
.status { font-weight: 900; }
.secondary { background: #fff; border: 2px solid #8b3758; color: #782142; padding-block: .55rem; }
.footer { border-top: 2px solid #e7ddcb; font-weight: 800; }
@media (max-width: 720px) {
  .wrap { width: min(100% - 2rem, 520px); }
  .top { flex-wrap: wrap; }
  nav { font-size: .95rem; }
  .hero, .story, .cards { grid-template-columns: 1fr; }
  .hero-art { width: min(100% - 1rem, 420px); margin-inline: auto; }
  .hero-art figcaption { right: -.65rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}

.storefront { padding-block: clamp(3rem, 7vw, 5rem) 0; }
.storefront h2 { margin-bottom: 1.25rem; text-align: center; }
.storefront .c55-widget { display: inline-block; font-weight: 900; }
.storefront iframe { max-width: 100%; }

/* Keep the Colab55 product grid centered as its columns wrap. */
.storefront .c55-studio-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.5rem, 1.5vw, 1rem);
}
.storefront .c55-studio-masonry > .c55-art-products-link {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.storefront .c55-studio-masonry .c55-art-products-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.hero-art { width: min(100%, 450px); justify-self: center; }
@media (min-width: 721px) {
  .hero-art { transform: translateX(clamp(-1.25rem, -1.5vw, -.5rem)); }
}
.storefront div.c55-widget { display: block; width: 100%; }
.storefront .c55-studio-embed { margin-inline: auto; }
@media (max-width: 580px) {
  .storefront .c55-studio-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.storefront > a.c55-widget { display: table; margin: 0 auto 1rem; }
.storefront:has(.c55-art-products-img) .store-preview { display: none; }
.store-preview { max-width: 36rem; margin-inline: auto; }
.store-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.5rem, 2vw, 1rem); }
.store-preview figure { overflow: hidden; border-radius: 1rem; background: #ffebf1; }
.store-preview img { width: 100%; height: auto; }
.store-preview figcaption { padding: .65rem; text-align: center; font-weight: 900; }
