/* The studio cat: paper, ink, warm gold. All rules are scoped to feedback. */
.studio-cat { display: block; width: 112px; aspect-ratio: 1; background: url('/assets/studio-cat/golden-british-shorthair-poses.png') no-repeat 50% 50% / 300% 100%; transform-origin: 50% 90%; }
.studio-cat-sleeping { background-position-x: 0%; }
.studio-cat-waving, .studio-cat-stamping { background-position-x: 100%; }
.studio-feedback-launcher { position: fixed; right: 24px; bottom: 18px; z-index: 40; display: grid; justify-items: center; padding: 0; border: 0; background: transparent; color: #f4f0e6; cursor: pointer; font: 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
.studio-feedback-launcher .studio-cat { width: 92px; filter: drop-shadow(0 3px 5px #0005); animation: studio-cat-breathe 5s ease-in-out infinite; }
.studio-cat-caption { position: relative; padding: 7px 12px; border: 1px solid #5c5750; border-radius: 0; background: #151513; color: #e4ded3; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.studio-cat-hint { position: absolute; bottom: calc(100% + 8px); right: 0; width: max-content; max-width: 190px; padding: 9px 12px; border: 1px solid #cfb27d66; background: #f4f0e6; color: #30271d; border-radius: 8px 8px 0 8px; opacity: 0; transform: translateY(5px); transition: opacity .18s, transform .18s; pointer-events: none; }
.studio-feedback-launcher:hover .studio-cat, .studio-feedback-launcher:focus-visible .studio-cat, .studio-cat-awake .studio-cat { background-position-x: 50%; animation: studio-cat-peek .4s ease-out; }
.studio-feedback-launcher:hover .studio-cat-hint, .studio-feedback-launcher:focus-visible .studio-cat-hint { opacity: 1; transform: translateY(0); }
.studio-feedback-launcher:focus-visible { outline: 2px solid #d8b77d; outline-offset: 5px; border-radius: 6px; }
.studio-feedback-nudge { position: fixed; right: 34px; bottom: 154px; z-index: 41; width: 280px; padding: 22px; border: 1px solid #555149; border-radius: 0; background: #151513; color: #eee9df; box-shadow: 0 8px 24px #0004; transform-origin: 90% 100%; animation: studio-note-in .3s ease-out both; }
.studio-feedback-nudge > small { display: block; margin: 0 0 12px; color: #a59d90; font: 9px/1.4 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.studio-invite-copy { display: block; margin: 0 0 17px; color: #b7afa2; font: 13px/1.5 Georgia, serif; }
.studio-invite-paw { display: block; width: 16px; height: 16px; margin: 0 0 13px; color: #b78168; transform: rotate(-9deg); }
.studio-invite-paw svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.studio-feedback-nudge::after { content: ''; position: absolute; right: 28px; bottom: -5px; width: 8px; height: 8px; background: #151513; border-right: 1px solid #555149; border-bottom: 1px solid #555149; transform: rotate(45deg); }
.studio-inviting .studio-cat-caption { background: #1b1916; color: #f4f0e6; border-color: #b78168; }
.studio-feedback-launcher.studio-inviting { z-index: 42; }
.studio-feedback-nudge p { margin: 0 0 10px; font: 20px/1.1 Georgia, serif; }
.studio-feedback-nudge-open { display: inline-flex; align-items: center; gap: 10px; padding: 0 0 3px; border: 0; border-bottom: 1px solid #b78168; background: none; color: #d8b39f; font: 10px/1.4 ui-monospace, monospace; cursor: pointer; }
.studio-feedback-nudge-open svg { width: 17px; height: 17px; fill: currentColor; }
.studio-feedback-nudge-close { position: absolute; right: 5px; top: 5px; width: 28px; height: 28px; border: 0; background: transparent; color: #b7afa2; cursor: pointer; font-size: 18px; }
.studio-feedback-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: #030303bf; backdrop-filter: blur(5px); }
.studio-feedback-dialog { position: relative; box-sizing: border-box; width: min(100%, 570px); max-height: calc(100dvh - 48px); overflow: auto; padding: 38px 34px 24px; border: 1px solid #c9c0b0; border-radius: 0; background: #eeeae1; color: #26221d; box-shadow: 0 24px 100px #0008; animation: studio-note-in .25s ease-out; }
.studio-feedback-dialog *, .studio-feedback-nudge { box-sizing: border-box; }
.studio-feedback-heading { display: grid; grid-template-columns: 1fr 96px; align-items: center; gap: 12px; }
.studio-feedback-dialog h2 { margin: 12px 0 0; font: 400 clamp(29px,4vw,39px)/1.04 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.studio-feedback-eyebrow { margin: 0; color: #8d5638; font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .12em; }
.studio-feedback-mascot { position: relative; align-self: center; padding: 14px 0 0; border: 0; background: transparent; cursor: pointer; }
.studio-feedback-mascot .studio-cat { width: 96px; }
.studio-cat-speech { display: none; }
.studio-feedback-intro { margin: 20px 0 24px; color: #696054; font: 14px/1.5 Georgia, serif; }
.studio-feedback-close { position: absolute; top: 12px; right: 14px; min-height: 28px; border: 0; background: transparent; color: #655b4d; font: 10px/1 ui-monospace, monospace; cursor: pointer; }
.studio-feedback-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.studio-feedback-choices button { display: grid; justify-items: start; gap: 7px; padding: 20px; border: 1px solid #bfb7aa; border-radius: 0; background: transparent; color: #30271d; cursor: pointer; text-align: left; transition: border-color .18s, background .18s; }
.studio-feedback-choices button:hover { border-color: #8d6350; background: #d1c5b533; }
.studio-feedback-choices strong { font: 400 21px/1.1 Georgia, serif; }
.studio-feedback-choices small { font: 10px/1.4 ui-monospace, monospace; color: #7b6c59; }
.studio-choice-icon { display: block; width: 21px; height: 21px; color: #9a7059; transform: rotate(-9deg); }
.studio-choice-icon svg { width: 100%; height: 100%; fill: currentColor; }
.studio-choice-outline { opacity: .55; transform: rotate(12deg); }
.studio-feedback-form { display: grid; gap: 21px; }
.studio-feedback-form fieldset { border: 0; margin: 0; padding: 0; }
.studio-feedback-form legend, .studio-feedback-form label { color: #453a2d; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.studio-feedback-form legend { margin-bottom: 12px; }
.studio-feedback-form legend span, .studio-feedback-form label > span { color: #8a7b68; font-size: 10px; }
.studio-feedback-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.studio-feedback-reason { position: relative; display: flex; align-items: center; gap: 10px; min-height: 53px; padding: 11px 12px; border: 1px solid #c4bdb0; border-radius: 0; background: transparent; color: #655b4d; text-align: left; font: 11px/1.4 ui-monospace, monospace; cursor: pointer; transition: background .15s, border-color .15s; }
.studio-reason-paw { flex: 0 0 25px; width: 25px; height: 25px; opacity: .23; transform: rotate(-14deg); }
.studio-reason-paw svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.studio-feedback-reason[aria-pressed='true'] { background: #c8b9a92a; border: 1px solid #8d6350; color: #805b49; }
.studio-feedback-reason[aria-pressed='true'] .studio-reason-paw { opacity: 1; animation: studio-paw-stamp .32s ease-out; }
.studio-feedback-reason:hover { border-color: #ae7544; background: #dfc89f33; }
.studio-cat-stamping { animation: studio-cat-stamp .45s ease-out; }
.studio-feedback-form label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.studio-feedback-dialog textarea { display: block; box-sizing: border-box; width: 100%; min-height: 96px; resize: vertical; border: 1px solid #d2c5b0; border-radius: 4px; padding: 12px; background: repeating-linear-gradient(transparent, transparent 25px, #b99a6814 25px, #b99a6814 26px) #fffdf680; color: #30271d; font: 15px/26px Georgia, serif; }
.studio-feedback-dialog textarea::placeholder { color: #998974; }
.studio-feedback-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.studio-feedback-back { border: 0; padding: 10px 0; background: transparent; color: #72614a; font: 11px/1.4 ui-monospace, monospace; cursor: pointer; }
.studio-feedback-submit { display: inline-flex; align-items: center; gap: 22px; border: 1px solid #29241e; border-radius: 3px; padding: 13px 18px; background: #29241e; color: #f4f0e6; font: 11px/1.4 ui-monospace, monospace; cursor: pointer; }
.studio-feedback-submit span { color: #d4ad72; font-size: 17px; }
.studio-feedback-submit:hover { background: #493a29; }
.studio-feedback-dialog button:disabled { opacity: .6; cursor: wait; }
.studio-feedback-privacy { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid #d5c8b5; color: #8a7e6e; font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.studio-feedback-status { margin: 10px 0 0; color: #895532; font: 11px/1.5 ui-monospace, monospace; }
.studio-feedback-status:empty { display: none; }
.studio-feedback-signoff { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 13px 0 0; color: #91816b; font: 9px/1.5 ui-monospace, monospace; }
.studio-feedback-signoff span { color: #6f6659; font: 9px/1.5 ui-monospace, monospace; }
.studio-feedback-delivery { position: relative; height: 145px; overflow: hidden; border-block: 1px dashed #c9bcaa; color: #9a6a3b; }
.studio-note-fold { position: absolute; left: 24%; top: 45px; width: 80px; height: 52px; border: 1px solid #ad8d62; background: repeating-linear-gradient(#fffdf7, #fffdf7 12px, #ddcfb6 13px); animation: studio-fold 1.2s ease-in both; }
.studio-paper-plane { position: absolute; top: 36px; left: 24%; width: 75px; height: 60px; opacity: 0; animation: studio-fly 1.7s .6s cubic-bezier(.25,.5,.4,1) both; }
.studio-delivery-stamp { position: absolute; inset: 28px 0 auto; display: grid; justify-items: center; gap: 8px; transform: rotate(-12deg); opacity: 0; animation: studio-arrived .4s 1.7s both; }
.studio-delivery-stamp svg { width: 43px; height: 43px; fill: currentColor; }
.studio-delivery-stamp small { font: 10px/1.3 ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; }
.studio-feedback-open { overflow: hidden; }
.studio-feedback-backdrop[hidden], .studio-feedback-nudge[hidden], .studio-feedback-form[hidden], .studio-feedback-launcher[hidden], .studio-feedback-step-one[hidden], .studio-feedback-delivery[hidden] { display: none !important; }
.studio-feedback-dialog button:focus-visible, .studio-feedback-dialog textarea:focus-visible, .studio-feedback-nudge button:focus-visible { outline: 2px solid #a16a3c; outline-offset: 4px; }
.studio-cat { position: relative; }
.studio-cat { translate: var(--cat-look-x, 0px) var(--cat-look-y, 0px); transition: translate .45s ease-out; animation: studio-cat-breathe 4.8s ease-in-out infinite; }
.studio-cat-attentive { animation: studio-cat-listen 3s ease-in-out infinite; }
.studio-cat-purring { animation: studio-cat-nuzzle 1.1s ease-in-out 2; }
@keyframes studio-cat-listen { 0%,100% { transform: rotate(-1deg); } 50% { transform: rotate(1.2deg) translateY(-1px); } }
@keyframes studio-cat-nuzzle { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-2deg) translateY(-1px); } }
.studio-cat[data-pose] { background-image: url('/assets/studio-cat/golden-british-shorthair-actions.png'); background-size: 300% 200%; animation: none; }
.studio-cat[data-pose='stretch'] { background-position: 0% 0% !important; }
.studio-cat[data-pose='yawn'] { background-position: 50% 0% !important; }
.studio-cat[data-pose='peek'] { background-position: 100% 0% !important; }
.studio-cat[data-pose='roll'] { background-position: 0% 100% !important; }
.studio-cat[data-pose='look'] { background-position: 50% 100% !important; }
.studio-cat[data-pose='hop'] { background-position: 100% 100% !important; }
.studio-cat[data-motion='stretch'] { animation: studio-cat-stretch 1.5s ease-in-out !important; }
.studio-cat[data-motion='yawn'] { animation: studio-cat-yawn 1.5s ease-in-out !important; }
.studio-cat[data-motion='peek'] { animation: studio-cat-scamper 1.2s ease-in-out !important; }
.studio-cat[data-motion='roll'] { animation: studio-cat-roll 1.5s ease-in-out !important; }
.studio-cat[data-motion='look'] { animation: studio-cat-look 1.5s ease-in-out !important; }
.studio-cat[data-motion='hop'] { animation: studio-cat-hop 1.5s ease-in-out !important; }
.studio-cat[data-motion='invite'] { animation: studio-cat-invite 2.4s cubic-bezier(.3,0,.2,1) !important; }
.studio-cat[data-motion='hello'] { animation: studio-cat-hello 1.7s ease-in-out !important; }
@keyframes studio-cat-invite { 0%,100% { transform: none; } 15% { transform: translateY(2px); } 36% { transform: translate(-3px,-27px) rotate(-3deg); } 60% { transform: translateY(0) rotate(1deg); } 78% { transform: translateY(-5px); } }
@keyframes studio-cat-hello { 0%,100% { transform: none; } 35% { transform: translateY(-5px) rotate(-2deg); } 70% { transform: rotate(1deg); } }
@keyframes studio-invite-pop { 0% { opacity: 0; transform: translateY(28px) scale(.7) rotate(-5deg); } 60% { opacity: 1; transform: translateY(-7px) scale(1.04) rotate(1deg); } 80% { transform: translateY(3px) scale(.99); } 100% { opacity: 1; transform: none; } }
@keyframes studio-cat-stretch { 0%,100% { transform: none; } 45% { transform: translateY(2px) rotate(-1deg); } 75% { transform: translateY(-1px); } }
@keyframes studio-cat-yawn { 0%,100% { transform: none; } 45% { transform: translateY(-2px) rotate(-2deg); } 70% { transform: rotate(1deg); } }
@keyframes studio-cat-scamper { 0%,100% { transform: translateX(0) rotate(0); } 30% { transform: translateX(-10px) rotate(-9deg); } 60% { transform: translateX(7px) rotate(6deg); } 80% { transform: translateX(-3px) rotate(-3deg); } }
@keyframes studio-cat-roll { 0%,100% { transform: rotate(0) translateX(0); } 35% { transform: rotate(-18deg) translateX(-7px); } 70% { transform: rotate(16deg) translateX(6px); } }
@keyframes studio-cat-look { 0%,100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-4px) rotate(-8deg); } 70% { transform: rotate(5deg); } }
@keyframes studio-cat-hop { 0%,100% { transform: none; } 18% { transform: translateY(2px); } 40% { transform: translateY(-12px) rotate(-2deg); } 65% { transform: translateY(0); } 80% { transform: translateY(-3px); } }
@keyframes studio-cat-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.012); } }
@keyframes studio-cat-peek { from { transform: translateY(4px) rotate(-3deg); } to { transform: translateY(0) rotate(0); } }
@keyframes studio-note-in { from { opacity: 0; transform: translateY(10px) rotate(-1deg); } to { opacity: 1; transform: translateY(0); } }
@keyframes studio-paw-stamp { 0% { opacity: 0; transform: scale(1.65) rotate(-25deg); } 65% { opacity: 1; transform: scale(.86) rotate(-10deg); } 100% { transform: scale(1) rotate(-14deg); } }
@keyframes studio-cat-stamp { 0%,100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-7px) rotate(-6deg); } 70% { transform: translateY(3px) rotate(3deg); } }
@keyframes studio-fold { 0% { opacity: 1; transform: rotate(-7deg); } 70% { opacity: 1; transform: scale(.65) rotate(15deg); } 100% { opacity: 0; transform: scale(.2) rotate(35deg); } }
@keyframes studio-fly { 0% { opacity: 0; transform: translate(0,12px) rotate(8deg) scale(.5); } 20% { opacity: 1; } 65% { opacity: 1; transform: translate(120px,-8px) rotate(-10deg); } 100% { opacity: 0; transform: translate(340px,-75px) rotate(-25deg) scale(.5); } }
@keyframes studio-arrived { from { opacity: 0; transform: scale(1.5) rotate(-18deg); } to { opacity: 1; transform: scale(1) rotate(-12deg); } }
@media (max-width: 560px) { .studio-feedback-launcher { right: 14px; bottom: 12px; } .studio-feedback-launcher .studio-cat { width: 82px; } .studio-cat-caption { font-size: 9px; padding: 6px 9px; } .studio-feedback-nudge { right: 20px; bottom: 139px; width: 224px; } .studio-feedback-backdrop { padding: 14px; } .studio-feedback-dialog { max-height: calc(100dvh - 28px); padding: 36px 21px 20px; } .studio-feedback-heading { grid-template-columns: 1fr 88px; gap: 6px; } .studio-feedback-mascot .studio-cat { width: 88px; } .studio-cat-speech { font-size: 10px; } .studio-feedback-dialog h2 { font-size: 31px; } .studio-feedback-choices button { padding: 16px 12px; } .studio-feedback-choices strong { font-size: 19px; } .studio-feedback-intro { margin-block: 18px; font-size: 13px; } .studio-feedback-reason { padding: 9px; gap: 7px; font-size: 10px; } .studio-feedback-form { gap: 17px; } .studio-feedback-privacy { margin-top: 20px; font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .studio-cat { translate: none !important; } }
@media (prefers-reduced-motion: reduce) { .studio-cat[data-motion], .studio-feedback-launcher *, .studio-feedback-nudge, .studio-feedback-nudge *, .studio-feedback-dialog, .studio-feedback-dialog *, .studio-feedback-launcher:hover .studio-cat, .studio-feedback-launcher:focus-visible .studio-cat, .studio-cat-awake .studio-cat { animation: none !important; transition: none !important; } .studio-feedback-choices button:hover { transform: none; } .studio-note-fold, .studio-paper-plane { display: none; } .studio-delivery-stamp { opacity: 1; } }
