:root { color-scheme: light; --ink: #173347; --muted: #506574; --paper: #faf8f1; --blue: #126083; --line: #dce2df; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.65 "Trebuchet MS", Arial, sans-serif; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #8b3b0d; }
a:focus-visible, button:focus-visible { outline: 3px solid #bb5700; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); margin: 0 0 1.4rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 1rem; }
h3 { font-size: 1.8rem; margin: .6rem 0 1rem; }
p { margin: 0 0 1.2rem; }
.site-header, main, .site-footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.wordmark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: -.04em; }
.wordmark small { display: block; margin-top: 7px; font-size: .62rem; letter-spacing: .26em; }
nav { display: flex; justify-content: flex-end; gap: 12px 22px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
nav a:hover, nav .active, nav [aria-current] { text-decoration: underline; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 2; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.eyebrow { color: var(--blue); text-transform: uppercase; font-size: .72rem; letter-spacing: .16em; font-weight: 700; margin-bottom: 1rem; }
.lead { color: var(--muted); font-size: 1.2rem; line-height: 1.65; max-width: 620px; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; padding: 36px 0 64px; }
.hero-copy { padding: 20px 0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.button { display: inline-block; background: var(--ink); border-radius: 8px; color: white; padding: 13px 22px; text-decoration: none; font-weight: 700; }
.button:hover { color: white; background: var(--blue); }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.mascot-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 48% 48% 24px 24px; padding: 55px 24px 28px; background: radial-gradient(circle at 50% 25%, #def7fa, #9bd8ed 48%, #4ba6d9); text-align: center; }
.mascot-stage img { position: relative; width: 100%; filter: drop-shadow(0 8px 8px #17476930); }
.sun { position: absolute; top: 12%; left: 18%; width: 95px; height: 95px; border: 6px solid #ffca23; border-radius: 50%; background: #fff188; box-shadow: 0 0 0 10px #ffe56665; }
.sun::before, .sun::after { content: ""; position: absolute; top: 29px; width: 6px; height: 6px; border-radius: 50%; background: #936000; }
.sun::before { left: 24px; }.sun::after { right: 24px; }
.sun span { position: absolute; inset: 28px 0 0; font-size: 36px; color: #936000; }
.stage-wordmark { margin: 12px 0 0; font-size: 2.5rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: #123e57; }
.stage-wordmark span { display: block; font-size: .8rem; letter-spacing: .35em; margin-top: 10px; }
.games-section { padding: 48px 0 64px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-heading > p { max-width: 240px; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.game-card { background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.game-art { height: 300px; display: grid; place-items: center; position: relative; overflow: hidden; }
.clock-art { background: radial-gradient(circle at center, #123e80, #071329); }
.clock-art img { height: 275px; width: 275px; border-radius: 24px; }
.puzzle-art { background: #eff3e9; }
.puzzle-art img { width: 180px; height: 300px; object-fit: contain; }
.bananarilla-art { background: radial-gradient(circle at center, #f5e7a8, #accb86); }
.bananarilla-art img { width: 230px; height: 230px; border-radius: 24px; }
.monkeyrilla-art { background: #d8e6c4; }
.monkeyrilla-art img { width: 230px; height: 230px; border-radius: 24px; }
.testing-note { margin-bottom: 40px; max-width: 760px; }
.testing-links section { margin: 24px 0; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.testing-links section p:last-child { margin: 20px 0 0; }
.fuzzrilla-art { background: radial-gradient(circle at center, #e4edd2, #c3d6b9); }
.fuzzrilla-art img { width: 230px; height: 230px; border-radius: 24px; }
.status { position: absolute; top: 16px; right: 16px; background: #f6df9e; color: #563a0e; font-size: .7rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.card-copy { padding: 28px; }
.card-copy > p:not(.eyebrow) { color: var(--muted); }
.card-meta { font-size: .78rem; margin: 22px 0 0; }
.studio-note { background: #eeeade; border-radius: 18px; padding: 40px; margin-bottom: 64px; }
.studio-note > p { max-width: 650px; }
.page { padding: 48px 0 72px; }
.page-heading { max-width: 820px; margin-bottom: 40px; }
.page-heading h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-content > h2 { margin-top: 48px; }
.page-content > p, .page-content > ul, .page-content > ol { max-width: 760px; }
.page-content li { margin-bottom: .65rem; }
.page-content > :last-child { margin-bottom: 0; }
.page-content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.product-intro { display: grid; grid-template-columns: 1fr 240px; align-items: center; gap: 48px; background: white; padding: 32px; border: 1px solid var(--line); border-radius: 18px; }
.product-intro img { border-radius: 16px; }
.product-intro .status { position: static; display: inline-block; margin-bottom: 16px; }
.art-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; }
figure { margin: 0; }
.art-gallery figure { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.art-gallery img { height: 360px; width: 100%; object-fit: contain; }
figcaption { color: var(--muted); font-size: .85rem; margin-top: 16px; }
.game-screenshot { margin: 32px 0; }
.game-screenshot img { width: 100%; border-radius: 16px; }
.crew-sheet { max-width: 760px; }
.brand-preview { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.brand-preview iframe { display: block; border: 0; width: 320px; aspect-ratio: 9 / 16; height: auto; border-radius: 18px; background: #9bd8ed; }
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: .85rem; }
.site-footer strong { display: block; margin-bottom: 12px; }
.site-footer p, .site-footer small { color: var(--muted); }
.site-footer a { display: block; margin-bottom: 6px; }
@media (min-width: 761px) and (max-width: 1000px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { flex-direction: column; align-items: flex-start; padding: 24px 0; gap: 24px; }
  nav { justify-content: flex-start; gap: 16px 24px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 12px 0 48px; }
  .mascot-stage { width: min(100%, 400px); margin: auto; }
  .section-heading { display: block; }.section-heading > p { max-width: none; }
  .game-grid, .product-intro, .brand-preview { grid-template-columns: 1fr; }
  .product-intro { gap: 24px; padding: 24px; }.product-intro img { width: 180px; }
  .brand-preview { gap: 24px; }.brand-preview iframe { width: min(320px, 100%); }
  .site-footer { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .studio-note { padding: 28px; }
  .art-gallery { gap: 12px; }.art-gallery figure { padding: 12px; }.art-gallery img { height: 240px; }
}
@media (max-width: 380px) { .site-footer, .art-gallery { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
