@font-face { font-family: 'DM Sans'; src: url('assets/DM-Sans.ttf') format('truetype'); font-style: normal; font-weight: 100 1000; font-display: swap; }
:root { color-scheme: dark; --paper: #000; --ink: #fff; --muted: #b0b0b0; --quiet: #8a8a8a; --line: #595959; --panel: #0c0c0c; --accent: #fff; --sans: 'DM Sans', sans-serif; }
:root[data-theme="ink-blue"] { --paper: #122854; --ink: #eff4ff; --muted: #becde9; --quiet: #b0c1e1; --line: #708bb9; --panel: #142b55; --accent: #a9d5ff; }
:root[data-theme="velvet"] { --paper: #4b1d65; --ink: #ffefff; --muted: #e3bee7; --quiet: #d7aedf; --line: #a978b6; --panel: #421954; --accent: #f4b2f7; }
:root[data-theme="ember"] { --paper: #923414; --ink: #fff4df; --muted: #f3d1b8; --quiet: #edc0a2; --line: #ce8b69; --panel: #7d2d12; --accent: #ffe1a5; }
:root[data-theme="moss"] { --paper: #173e30; --ink: #f1ffea; --muted: #c6ddbf; --quiet: #b2cfa9; --line: #6f9b7d; --panel: #123428; --accent: #c0ed9d; }
:root[data-theme="cherry"] { --paper: #6c1737; --ink: #fff0ed; --muted: #ecc2cf; --quiet: #e2aec1; --line: #af6b84; --panel: #59142e; --accent: #ffb2c1; }
* { box-sizing: border-box; }
html { background: var(--paper); transition: background-color .95s ease; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; transition: background-color .95s ease, color .95s ease; overflow-x: hidden; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
a { text-underline-offset: 5px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 24px; top: -60px; padding: 12px; background: var(--ink); color: var(--paper); z-index: 100; }
.skip-link:focus { top: 16px; }
.page-shell { min-height: 100svh; max-width: 1800px; padding: 0 4vw; display: flex; flex-direction: column; margin: 0 auto; }
.masthead { height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 2; }
.studio-label { font-size: 12px; color: var(--muted); }
.masthead-actions { display: flex; align-items: center; gap: 24px; }
.quiet-button { padding: 10px 0; border: 0; background: none; font-size: 12px; color: var(--muted); min-height: 40px; }
.quiet-button:hover { color: var(--ink); }
.hero { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 12px 0 clamp(120px,18svh,180px); position: relative; z-index: 2; pointer-events: none; }
.hero button, .hero input { pointer-events: auto; }
.logo-button { display: block; position: relative; width: clamp(190px, 30svh, 320px); padding: 0; border: 0; background: transparent; transition: transform .3s ease; }
.logo-button img { width: 100%; height: auto; display: block; opacity: 0; }
.logo-button::before { content: ''; position: absolute; inset: 0; background: var(--accent); mask: url('assets/1MC_Transparent.png') center / contain no-repeat; mask-mode: alpha; transition: background-color .95s ease; }
.logo-eye { position: absolute; top: 71.4355%; width: 9.7656%; height: 5.0781%; background: var(--accent); border-radius: 0 0 50% 50% / 0 0 100% 100%; overflow: hidden; pointer-events: none; transition: background-color .95s ease; }
.logo-eye-left { left: 36.2305%; }
.logo-eye-right { left: 54.0527%; }
.logo-pupil { position: absolute; left: calc(50% + var(--eye-look-x, 0%)); top: calc(-4% + var(--eye-look-y, 0%)); width: 12%; height: 69%; background: var(--paper); clip-path: ellipse(50% 100% at 50% 0%); transform: translateX(-50%); transition: background-color .95s ease; }
.logo-button:hover { transform: translateY(-2px); }
.logo-button:active { transform: translateY(0) scale(.975); }
.studio-intro { text-align: center; margin-top: 12px; max-width: 460px; width: 100%; animation: welcome 1.3s .25s both; }
.announcement { display: inline-block; font-size: clamp(17px, 1.6vw, 21px); font-weight: 400; letter-spacing: -.3px; line-height: 1.4; margin: 0; }
.welcome { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 18px 0 12px; }
.signup-form { width: min(340px,100%); margin: 0 auto; }
.email-field { border: 1px solid var(--line); display: flex; border-radius: 5px; padding: 4px; background: transparent; transition: border-color .25s; }
.email-field:focus-within { border-color: var(--ink); }
input[type="email"] { width: 100%; min-width: 0; background: none; color: var(--ink); border: none; padding: 10px 9px; font-size: 13px; border-radius: 0; }
input::placeholder { color: var(--muted); opacity: 1; }
.submit-button { padding: 0 12px; display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; border: none; border-radius: 2px; background: var(--ink); color: var(--paper); }
.submit-button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1; fill: none; }
.submit-button:hover svg { transform: rotate(20deg); }
.submit-button:disabled { cursor: not-allowed; opacity: .6; }
.signup-form[aria-busy="true"] .submit-button { cursor: wait; }
.form-note { font-size: 10px; line-height: 1.6; color: var(--quiet); margin: 9px 0 0; }
.signup-success p { font-size: 13px; color: var(--ink); margin: 0; }
.signup-success { width: min(340px,100%); margin: 0 auto; }
.signup-success .quiet-button { font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
[hidden] { display: none !important; }
.logo-hint { position: absolute; bottom: calc(clamp(120px,18svh,180px) + 240px); left: calc(50% + min(15svh,160px) + 12px); font-size: 11px; color: var(--muted); transform: rotate(8deg); margin: 0; white-space: nowrap; transition: opacity .5s; }
.logo-hint::before { content: ''; display: block; width: 30px; height: 10px; border-top: 1px solid var(--quiet); border-radius: 50%; transform: rotate(20deg); position: absolute; left: -37px; top: -3px; }
.logo-hint.discovered { opacity: 0; pointer-events: none; }
.playground { position: fixed; top: 0; left: 0; right: 0; bottom: 56px; pointer-events: none; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 61px; flex-shrink: 0; font-size: 12px; color: var(--quiet); position: relative; z-index: 2; }
.opents3-credit { text-decoration: none; color: var(--muted); font-size: 12px; }
.opents3-credit strong { font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--quiet); padding-bottom: 2px; }
.opents3-credit:hover strong { border-color: var(--ink); }
.footer-controls { display: flex; gap: 24px; }
.icon-button { padding: 10px 0; display: flex; align-items: center; gap: 7px; background: none; border: 0; font-size: 11px; min-height: 42px; color: var(--muted); }
.icon-button:hover { color: var(--ink); }
.icon-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.sound-wave { display: none; }
#sound-button[aria-pressed="true"] .sound-wave { display: block; }
#sound-button[aria-pressed="true"] .sound-slash { display: none; }
#cat-canvas { position: fixed; width: 100%; height: 100%; inset: 0; z-index: 3; pointer-events: none; }
.accessible-cat { position: fixed; left: 0; top: 0; z-index: 1; border: 0; padding: 0; border-radius: 45%; background: transparent; color: transparent; touch-action: none; cursor: grab; }
.accessible-cat:focus-visible { z-index: 6; outline: 1px dashed var(--ink); outline-offset: 6px; }
.accessible-cat:focus-visible::after { content: 'Space picks up · arrows move · Escape drops'; position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: 160px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--paper); font-size: 11px; }
.accessible-toy { position: fixed; left: 0; top: 0; width: 58px; height: 58px; z-index: 4; padding: 0; font-size: 0; border: 0; border-radius: 50%; color: transparent; background: transparent; touch-action: none; cursor: grab; }
.accessible-toy:focus-visible { outline: 1px dashed var(--ink); outline-offset: 2px; }
.accessible-toy:focus-visible::after { content: 'Arrow keys move. Space drops.'; position: absolute; left: 50%; bottom: 67px; transform: translateX(-50%); padding: 7px 10px; font-size: 11px; width: 160px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--paper); pointer-events: none; }
body.dragging, body.dragging * { cursor: grabbing !important; user-select: none; }
body.yarn-hover, body.cat-hover { cursor: grab; }
.toast { position: fixed; top: 76px; left: 50%; transform: translate(-50%,6px); font-size: 12px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); padding: 11px 17px; z-index: 5; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; border-radius: 4px; max-width: calc(100vw - 32px); text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
dialog { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); padding: 46px 36px 32px; max-width: 475px; width: calc(100vw - 32px); max-height: calc(100svh - 32px); box-shadow: 0 0 0 12px #0003; }
dialog::backdrop { background: #0009; backdrop-filter: blur(8px); }
dialog[open] { animation: arrive .25s ease both; }
.close-button { position: absolute; right: 10px; top: 10px; font-size: 25px; font-weight: 300; width: 40px; height: 40px; background: none; border: 0; color: var(--muted); }
.close-button:hover { color: var(--ink); }
h2 { font-size: 25px; font-weight: 450; letter-spacing: -.6px; line-height: 1.2; margin: 0 0 18px; }
dialog p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 16px; }
#about-dialog a { color: var(--ink); }
#about-dialog .about-signoff { margin-top: 25px; color: var(--ink); }
.noscript-note { padding: 16px; text-align: center; }
.credits-page { max-width: 700px; margin: 70px auto; padding: 0 25px; line-height: 1.8; }
.credits-page h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; font-weight: 450; margin: 55px 0 30px; letter-spacing: -1px; }
.credits-page h2 { font-size: 21px; margin: 35px 0 12px; }
.credits-page p { color: var(--muted); }
.credits-page a { color: var(--ink); }
@keyframes welcome { from { opacity: 0; } to { opacity: 1; } }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-height: 700px) and (min-width: 650px) { .masthead { height: 50px; } .logo-button { width: 27svh; min-width: 165px; } .hero { padding-bottom: 108px; } .studio-intro { margin-top: 6px; } .welcome { margin-top: 12px; } .footer { min-height: 51px; } .logo-hint { bottom: 330px; } }
@media (max-width: 650px) { .page-shell { padding: 0 22px; } .masthead { height: 58px; } .studio-label, .quiet-button { font-size: 11px; } .hero { min-height: 500px; padding: 10px 0 135px; } .logo-button { width: min(61vw,28svh); min-width: 185px; } .studio-intro { margin-top: 12px; } .announcement { font-size: 17px; } .welcome { font-size: 11px; max-width: 265px; margin: 17px auto 12px; } .signup-form { width: min(320px,100%); } input[type="email"] { font-size: 16px; padding: 9px 7px; } .submit-button { font-size: 11px; padding: 0 9px; } .submit-button svg { width: 17px; } .form-note { font-size: 9px; } .logo-hint { bottom: 380px; left: calc(50% + 57px); font-size: 9px; transform: rotate(12deg); } .logo-hint::before { width: 20px; left: -26px; } .footer { padding: 11px 0 14px; min-height: 78px; align-items: flex-end; } .opents3-credit { font-size: 10px; max-width: 145px; line-height: 1.7; } .footer-controls { gap: 16px; } .icon-button { font-size: 10px; } .icon-button svg { width: 14px; height: 14px; } .playground { bottom: 72px; } dialog { padding: 46px 23px 26px; } h2 { font-size: 23px; } dialog p { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 650px) { .logo-hint { left: auto; right: 0; width: 100px; white-space: normal; } }
@media (max-width: 650px) { .logo-hint { display: none; } }

/* The circular supplied artwork has its own alpha; no background or signature is manufactured. */
#about-dialog { max-width: 560px; padding-top: 20px; }
#about-dialog .close-button { position: sticky; float: right; top: 0; right: 0; margin: -8px -24px -8px 0; background: var(--panel); border-radius: 50%; z-index: 1; }
.about-logo { display: block; width: 88px; height: 88px; margin: 0 0 16px; }
.team { margin-top: 28px; }
.team h3 { margin: 0 0 18px; font-size: 16px; font-weight: 500; letter-spacing: -.2px; }
.team-list { margin: 0; display: grid; gap: 14px; }
.team-list > div { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 1.25fr); align-items: baseline; gap: 18px; }
.team-list dt { font-size: 13px; font-weight: 500; }
.team-list dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 420px) { .team-list { gap: 17px; } .team-list > div { grid-template-columns: 1fr; gap: 3px; } #about-dialog .close-button { margin-right: -11px; } }

/* Claw marks and falling scraps belong to the cats; the form stays a real form. */
[data-cat-mischief] { transform-origin: 50% 50%; }
.mischief-knocked { position: relative; }
.mischief-knocked:is(form, .signup-success) { z-index: 2; }
.mischief-knocked .email-field { background: var(--paper); }
.hero:has(.mischief-knocked:focus-within) { z-index: 5; }
.mischief-torn:is(form, .signup-success) .email-field { border-style: solid dashed dashed solid; border-bottom-right-radius: 14px 7px; }
.mischief-debris { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; color: var(--ink); }
.mischief-claws { position: absolute; left: 0; top: 0; overflow: visible; color: var(--accent); opacity: .7; }
.mischief-claws path { fill: none; stroke: currentColor; stroke-width: .9; stroke-linecap: round; stroke-dasharray: 45; animation: cat-claw .22s ease-out both; }
.mischief-scrap { position: absolute; left: 0; top: 0; display: block; text-align: center; color: var(--ink); transform-origin: 50% 60%; opacity: .8; }
.mischief-paper-corner { background: var(--ink); opacity: .7; }
@keyframes cat-claw { from { stroke-dashoffset: 45; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mischief-claws path { animation: none; } }
