@font-face {
	font-family: CocoshellRound;
	src: url("assets/fonts/cocoshell-round.woff2?v=web0012") format("woff2");
	font-display: swap;
	font-weight: 400 500;
}
@font-face {
	font-family: CocoshellRound;
	src: url("assets/fonts/cocoshell-round-bold.woff2?v=web0012") format("woff2");
	font-display: swap;
	font-weight: 600 900;
}
:root {
	--cream: #f5ebe0;
	--ink: #3e2723;
	--body: #5d4037;
	--brown: #7f5539;
	--warm: #9c6644;
	--footer: #6b5344;
	--white: #fff;
	--round: 24px;
	--shadow: 0 14px 28px #603b2320;
	font-family: CocoshellRound, "Microsoft YaHei", sans-serif;
	color: var(--ink);
	background: var(--cream);
	font-synthesis: none;
}
* {
	box-sizing: border-box;
}
html {
	scroll-padding-top: 110px;
	scrollbar-color: #a07859 #f5ebe0;
	scrollbar-width: auto;
}
/* Chromium / Safari classic scrollbar, including native up/down buttons. */
@supports selector(::-webkit-scrollbar) {
	html {
		scrollbar-color: auto;
	}
	::-webkit-scrollbar {
		width: 15px;
		height: 15px;
	}
	::-webkit-scrollbar-track,
	::-webkit-scrollbar-corner {
		background: #f5ebe0;
	}
	::-webkit-scrollbar-thumb {
		background: #a07859;
		border: 3px solid #f5ebe0;
		border-radius: 12px;
	}
	::-webkit-scrollbar-thumb:hover {
		background: #7f5539;
	}
	::-webkit-scrollbar-thumb:active {
		background: #68442e;
	}
	::-webkit-scrollbar-button {
		display: none;
	}
	::-webkit-scrollbar-button:single-button {
		display: block;
		background-color: #f5ebe0;
		background-repeat: no-repeat;
		background-position: center;
		background-size: 9px 9px;
	}
	::-webkit-scrollbar-button:single-button:vertical {
		height: 18px;
	}
	::-webkit-scrollbar-button:single-button:horizontal {
		width: 18px;
	}
	::-webkit-scrollbar-button:single-button:vertical:decrement {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 7L5 3L9 7Z' fill='%237f5539'/%3E%3C/svg%3E");
	}
	::-webkit-scrollbar-button:single-button:vertical:increment {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3L5 7L9 3Z' fill='%237f5539'/%3E%3C/svg%3E");
	}
	::-webkit-scrollbar-button:single-button:horizontal:decrement {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M7 1L3 5L7 9Z' fill='%237f5539'/%3E%3C/svg%3E");
	}
	::-webkit-scrollbar-button:single-button:horizontal:increment {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1L7 5L3 9Z' fill='%237f5539'/%3E%3C/svg%3E");
	}
	::-webkit-scrollbar-button:single-button:hover {
		background-color: #ead9c6;
	}
}
body {
	margin: 0;
	font-size: 20px;
	line-height: 1.8;
}
button,
input,
textarea {
	font: inherit;
}
button,
a,
input,
textarea {
	-webkit-tap-highlight-color: transparent;
}
button,
a {
	touch-action: manipulation;
}
button {
	cursor: pointer;
	color: inherit;
}
a {
	color: inherit;
	text-decoration: none;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
svg {
	display: block;
}
h1,
h2,
p {
	margin: 0;
}
h1,
h2 {
	font-weight: 600;
	line-height: 1.4;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid #b17a54;
	outline-offset: 5px;
}
input:focus-visible,
textarea:focus-visible {
	outline-offset: 2px;
}
[hidden] {
	display: none !important;
}
.svg-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
.skip-link {
	position: fixed;
	top: -70px;
	left: 20px;
	z-index: 100;
	background: white;
	border-radius: 8px;
	padding: 6px 18px;
}
.skip-link:focus {
	top: 12px;
}
.container {
	max-width: 1248px;
	width: calc(100% - 96px);
	margin-inline: auto;
}
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 20;
	height: 86px;
	background: #fffdfa;
	box-shadow: 0 5px 16px #5035201a;
}
.header-inner {
	max-width: 1248px;
	width: calc(100% - 96px);
	height: 100%;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 28px;
}
.brand {
	justify-self: start;
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1.2;
}
.brand-coconut {
	width: 54px;
	height: 54px;
	overflow: visible;
}
.brand-wordmark {
	width: 140px;
	height: 47px;
	mix-blend-mode: multiply;
}
.brand > span {
	font-size: 22px;
	font-weight: 600;
	white-space: nowrap;
}
.brand small {
	display: block;
	font-size: 9px;
	letter-spacing: 2px;
	font-weight: 500;
	margin-top: 5px;
}
.header-balance {
	min-width: 150px;
}
nav {
	display: flex;
	align-items: center;
	gap: 36px;
}
nav a {
	font-size: 20px;
	white-space: nowrap;
	color: var(--body);
	position: relative;
	padding: 8px 0;
	transition:
		color 0.18s,
		transform 0.18s;
}
nav a:hover {
	color: var(--warm);
	transform: translateY(-2px);
}
nav a::after {
	content: "";
	height: 3px;
	width: 16px;
	border-radius: 3px;
	background: var(--warm);
	position: absolute;
	bottom: 2px;
	left: calc(50% - 8px);
	transform: scaleX(0);
	transition: transform 0.18s;
}
nav a[aria-current="page"]::after {
	transform: scaleX(1);
}
main {
	padding-top: 86px;
	min-height: calc(100vh - 330px);
}
main:focus {
	outline: none;
}
.page {
	padding-bottom: 104px;
}
.page-heading {
	text-align: center;
	padding: 62px 24px 68px;
}
.eyebrow {
	font-size: 13px;
	letter-spacing: 4px;
	color: var(--warm);
	margin-bottom: 15px;
	line-height: 1.5;
}
.page-heading h1 {
	font-size: clamp(36px, 4.1vw, 60px);
	color: var(--brown);
	letter-spacing: 2px;
	margin-bottom: 20px;
}
.page-heading > p:last-child {
	font-size: 23px;
	color: var(--body);
	line-height: 1.65;
}
.game-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px;
}
.game-card {
	min-width: 0;
	border-radius: var(--round);
	background: var(--white);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition:
		transform 0.28s cubic-bezier(0.2, 0.65, 0.3, 1),
		box-shadow 0.28s;
	position: relative;
}
.cover-button {
	display: block;
	width: 100%;
	border: 0;
	background: #e8decb;
	padding: 0;
	aspect-ratio: 2.14;
	overflow: hidden;
	border-radius: var(--round) var(--round) 0 0;
}
.cover-button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.game-copy {
	padding: 29px 32px 32px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.game-copy h2 {
	font-size: 31px;
	margin-bottom: 13px;
	line-height: 1.4;
	letter-spacing: 1px;
}
.game-copy > p {
	font-size: 19px;
	color: var(--brown);
	line-height: 1.85;
	min-height: 105px;
	margin-bottom: 24px;
}
.card-actions {
	display: flex;
	gap: 12px;
	margin-top: auto;
}
.game-card { cursor: pointer; }
#content-dialog.is-coming { width: min(460px, calc(100% - 32px)); background: #fffdf8; }
.coming-notice { padding: 42px 26px 34px; text-align: center; }
.coming-notice img { margin: 0 auto 18px; width: 80px; height: 72px; object-fit: contain; }
.coming-notice .coming-game { color: var(--warm); font-size: 16px; margin-bottom: 8px; }
.coming-notice h2 { color: var(--brown); font-size: clamp(23px, 5vw, 30px); line-height: 1.5; }
.coming-notice > p:not(.coming-game) { color: var(--body); font-size: 16px; line-height: 1.9; margin: 14px 0 25px; }
.coming-notice .button { min-width: 138px; }
.button {
	border: 1.5px solid transparent;
	border-radius: 10px;
	min-height: 50px;
	padding: 10px 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	transition:
		transform 0.2s,
		background 0.2s,
		box-shadow 0.2s;
	white-space: nowrap;
}
.card-actions .button {
	padding: 11px 10px;
	flex: 1;
	min-width: 0;
}
.button-outline {
	border-color: #b5805f;
	color: var(--brown);
	background: var(--white);
}
.button-solid {
	background: var(--brown);
	color: #fff;
}
.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 10px #58352020;
}
.button-outline:hover {
	background: #fcf4eb;
}
.button-solid:hover {
	background: #9c6644;
}
.button:active {
	transform: translateY(0);
}
.icon {
	width: 19px;
	height: 19px;
	flex-shrink: 0;
}
.about-content {
	max-width: 1024px;
}
.studio-card {
	background: white;
	border-radius: var(--round);
	padding: 36px;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 44px;
	align-items: center;
	box-shadow: var(--shadow);
}
.studio-portrait {
	width: 300px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 5px solid white;
	box-shadow: 0 8px 22px #54372515;
	object-fit: cover;
}
.studio-copy h2 {
	font-size: 40px;
	line-height: 1.4;
	letter-spacing: 2px;
}
.studio-name {
	font-size: 16px;
	letter-spacing: 3px;
	color: var(--warm);
	margin: 6px 0 18px;
}
.studio-copy > p:not(.studio-name) {
	color: var(--body);
	font-size: 22px;
	line-height: 1.9;
}
.studio-story {
	padding: 40px 8px 0;
}
.studio-story section + section {
	margin-top: 34px;
}
.studio-story h2 {
	font-size: 34px;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 18px;
}
.studio-story h2:before {
	content: "";
	width: 30px;
	height: 3px;
	display: block;
	border-radius: 2px;
	background: #bd9677;
	flex-shrink: 0;
}
.studio-story p {
	font-size: 22px;
	color: var(--body);
	line-height: 1.95;
	padding-left: 48px;
}
.contact-layout {
	max-width: 1100px;
	display: grid;
	grid-template-columns: 340px minmax(0, 640px);
	gap: 64px;
	align-items: center;
}
.contact-form {
	background: white;
	border-radius: var(--round);
	padding: 32px;
	box-shadow: var(--shadow);
	min-width: 0;
	position: relative;
	z-index: 1;
}
.contact-form h2 {
	font-size: 32px;
	margin: 0 0 24px;
	letter-spacing: 1px;
}
.contact-form label {
	display: block;
	font-size: 18px;
	margin-bottom: 7px;
	line-height: 1.6;
}
.contact-form input,
.contact-form textarea {
	display: block;
	width: 100%;
	background: #fff;
	border: 1.5px solid #d4ae8e;
	border-radius: 12px;
	padding: 12px 16px;
	color: var(--ink);
	font-size: 19px;
	line-height: 1.7;
	margin-bottom: 20px;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}
.contact-form input {
	height: 55px;
}
.contact-form textarea {
	resize: vertical;
	min-height: 150px;
	max-height: 420px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #a5816a;
	opacity: 1;
}
.contact-form input:focus,
.contact-form textarea:focus {
	border-color: #946345;
	box-shadow: 0 0 0 2px #b5805f16;
}
.send-button {
	width: 100%;
	min-height: 55px;
	font-size: 20px;
}
.form-note {
	font-size: 14px;
	color: #866651;
	margin: 12px 0 0;
	text-align: center;
	line-height: 1.7;
	min-height: 24px;
}
.sheep-scene {
	width: 100%;
	position: relative;
	align-self: center;
	isolation: isolate;
}
.sheep-pet {
	display: block;
	border: 0;
	padding: 0;
	width: 100%;
	background: transparent;
	border-radius: 40%;
	cursor: pointer;
	touch-action: manipulation;
}
#contact-sheep {
	width: 320px;
	max-width: 100%;
	margin: 0 auto;
	height: auto;
	image-rendering: pixelated;
	overflow: visible;
	display: block;
}
#contact-sheep:not([data-ready="true"]):not([data-ready="fallback"]) {
	background: url("assets/sheep/artist/neutral-eyes.png") center / contain no-repeat;
}
.sheep-character {
	transform-origin: 210px 382px;
}
.sheep-head,
.sheep-torso {
	will-change: auto;
}
.sheep-eye {
	transform-origin: 0 0;
}
.pupil {
	transform: translate(var(--eye-x, 0px), var(--eye-y, 0px));
}
.sheep-ear {
	will-change: auto;
}
.sheep-tail {
	transform-origin: 315px 260px;
	animation: tail-wag 7s ease-in-out infinite;
}
.sheep-wool {
	transform-box: fill-box;
	transform-origin: center 70%;
	animation: wool-breathe 5s ease-in-out infinite;
}
.sheep-scene:not(.is-active) *,
.sheep-scene:not(.is-visible) * {
	animation-play-state: paused;
}
.sheep-mouth .mouth-open {
	opacity: 0;
	transform-origin: 0 0;
}
.sheep-scene.is-bleating .mouth-closed {
	opacity: 0;
}
.sheep-scene.is-bleating .mouth-open {
	opacity: 1;
}
.sheep-bubble {
	position: absolute;
	left: calc(50% + min(37%, 118px) - 6px);
	top: calc(29.7% - 1.4em + 55px);
	font-size: clamp(18px, 2.2vw, 25px);
	color: #6d4c37;
	line-height: 1.4;
	white-space: nowrap;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform-origin: left bottom;
	z-index: 3;
}
.sheep-bubble.is-visible {
	visibility: visible;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
@keyframes wool-breathe {
	0%,
	100% {
		transform: scale(1, 1);
	}
	50% {
		transform: scale(1.008, 1.012);
	}
}
.site-footer {
	background: var(--footer);
	color: #fff3e0;
	text-align: center;
	padding: 54px 24px 36px;
	min-height: 330px;
}
.footer-brand {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.3;
	position: relative;
}
.footer-brand .footer-coconut {
	width: 92px;
	height: 85px;
	overflow: visible;
	transition: transform 0.28s;
}
.footer-brand .footer-wordmark {
	width: 140px;
	height: 47px;
	margin-top: 4px;
	overflow: hidden;
}
.footer-brand > span {
	font-size: 23px;
	letter-spacing: 2px;
}
.footer-brand small {
	font-size: 10px;
	letter-spacing: 2px;
	margin-top: 5px;
}
.coconut-drops {
	opacity: 1;
	animation: none;
}
.brand:hover .brand-coconut,
.brand:focus-visible .brand-coconut,
.footer-brand:hover .footer-coconut,
.footer-brand:focus-visible .footer-coconut {
	animation: coconut-rock 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links {
	display: flex;
	align-items: center;
	gap: 15px;
	position: relative;
	flex-wrap: wrap;
}
.social-about {
	margin-top: 22px;
	color: var(--brown);
	--icon-cutout: #fff;
}
.social-footer {
	justify-content: center;
	margin-top: 28px;
	--icon-cutout: var(--footer);
}
.social-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1.5px solid currentColor;
	border-radius: 11px;
	background: transparent;
	color: inherit;
	padding: 5px;
	flex-shrink: 0;
	transition:
		transform 0.22s,
		background 0.22s;
	cursor: pointer;
}
.social-link svg {
	width: 27px;
	height: 27px;
	overflow: visible;
}
.icon-cutout {
	fill: var(--icon-cutout);
}
.social-link:hover,
.social-link:focus-visible {
	transform: translateY(-5px) scale(1.12);
}
.social-link:hover svg,
.social-link:focus-visible svg {
	animation: icon-hello 0.48s ease-out;
}
.social-footer .social-link:hover {
	background: #fff1df12;
}
.social-about .social-link:hover {
	background: #f8eee3;
}
.social-tooltip {
	position: absolute;
	bottom: calc(100% + 15px);
	left: 50%;
	transform: translate(-50%, 5px);
	width: max-content;
	max-width: min(300px, calc(100vw - 40px));
	padding: 10px 16px;
	background: #fffdf9;
	color: var(--ink);
	box-shadow: 0 4px 16px #38231920;
	border: 1px solid #e8d6c2;
	border-radius: 10px;
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.16s,
		transform 0.16s,
		visibility 0.16s;
	pointer-events: none;
	z-index: 10;
	white-space: normal;
	overflow-wrap: anywhere;
}
.social-tooltip:after {
	content: "";
	position: absolute;
	left: calc(50% - 5px);
	bottom: -6px;
	width: 10px;
	height: 10px;
	background: #fffdf9;
	border-right: 1px solid #e8d6c2;
	border-bottom: 1px solid #e8d6c2;
	transform: rotate(45deg);
}
.social-link:hover .social-tooltip,
.social-link:focus-visible .social-tooltip,
.social-link.is-open .social-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}
.site-footer > p {
	font-size: 14px;
	margin-top: 26px;
	opacity: 0.88;
	line-height: 1.5;
}
dialog {
	padding: 0;
	border: 0;
	background: #fffdf9;
	color: var(--ink);
	border-radius: 22px;
	box-shadow: 0 20px 90px #25180e40;
	max-width: calc(100vw - 36px);
	max-height: calc(100dvh - 36px);
	width: 650px;
	overflow: auto;
}
dialog::backdrop {
	background: #32231b78;
}
body.modal-open {
	overflow: hidden;
}
.dialog-close {
	position: absolute;
	right: 14px;
	top: 12px;
	border: 0;
	border-radius: 50%;
	background: #fffaf2;
	color: var(--brown);
	font-family: Arial, sans-serif;
	font-size: 30px;
	line-height: 1;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	z-index: 3;
	box-shadow: 0 2px 8px #39251c18;
}
.dialog-close:hover {
	background: #f0e0cc;
}
.dialog-cover {
	width: 100%;
	aspect-ratio: 2.14;
	object-fit: cover;
}
.dialog-copy {
	padding: 30px 36px 36px;
}
.dialog-copy h2 {
	font-size: 32px;
	margin-bottom: 16px;
}
.dialog-copy p {
	font-size: 20px;
	color: var(--body);
	line-height: 1.9;
}
.dialog-copy p + p {
	margin-top: 14px;
}
.dialog-copy .button {
	margin-top: 24px;
}
.dialog-copy .release-note {
	color: var(--warm);
	font-size: 17px;
}
.dialog-copy ul {
	padding-left: 24px;
	font-size: 18px;
	line-height: 1.9;
	color: var(--body);
}
#game-dialog {
	width: min(1200px, calc(100vw - 24px));
	overflow: hidden;
}
.game-toolbar {
	height: 56px;
	display: flex;
	align-items: center;
	padding-inline: 22px;
}
.game-toolbar h2 {
	font-size: 23px;
}
.game-toolbar .dialog-close {
	top: 7px;
	right: 9px;
}
#game-frame {
	display: block;
	width: 100%;
	height: min(56.25vw, calc(100dvh - 145px));
	aspect-ratio: 16 / 9;
	border: 0;
	background: #313b34;
	max-height: 675px;
}
.game-session-note {
	font-size: 14px;
	text-align: center;
	padding: 10px 16px;
	color: #775744;
	line-height: 1.6;
}
.noscript-note {
	padding: 20px;
	text-align: center;
}
@keyframes coconut-rock {
	0%,
	100% {
		transform: rotate(0);
	}
	22% {
		transform: translateY(-7px) rotate(-13deg);
	}
	55% {
		transform: translateY(-3px) rotate(10deg);
	}
	78% {
		transform: rotate(-4deg);
	}
}
@keyframes coconut-splash {
	0%,
	100% {
		opacity: 0;
		transform: translateY(0) scale(0.6);
	}
	35% {
		opacity: 1;
		transform: translateY(-7px) scale(1);
	}
	80% {
		opacity: 0;
		transform: translateY(-12px) scale(1.1);
	}
}
@keyframes icon-hello {
	0%,
	100% {
		transform: rotate(0);
	}
	30% {
		transform: rotate(-10deg);
	}
	65% {
		transform: rotate(8deg);
	}
}
@keyframes blink {
	0%,
	43%,
	47%,
	100% {
		transform: scaleY(1);
	}
	45% {
		transform: scaleY(0.09);
	}
}
@keyframes tail-wag {
	0%,
	80%,
	100% {
		transform: rotate(0);
	}
	85% {
		transform: rotate(-8deg);
	}
	90% {
		transform: rotate(8deg);
	}
	95% {
		transform: rotate(-5deg);
	}
}
@keyframes ear-twitch {
	0%,
	70%,
	78%,
	100% {
		transform: rotate(0);
	}
	73% {
		transform: rotate(-12deg);
	}
	76% {
		transform: rotate(5deg);
	}
}
@keyframes listening {
	0%,
	100% {
		transform: rotate(0);
	}
	40% {
		transform: rotate(12deg);
	}
	70% {
		transform: rotate(-5deg);
	}
}
@media (hover: hover) and (pointer: fine) {
	.game-card:hover {
		transform: translateY(-7px) scale(1.012);
		box-shadow: 0 23px 35px #603b232b;
	}
	.game-card:hover .cover-button img {
		transform: scale(1.045);
	}
}
@media (min-width: 1600px) {
	.page-heading {
		padding-top: 74px;
		padding-bottom: 76px;
	}
}
@media (max-width: 1100px) {
	.container,
	.header-inner {
		width: calc(100% - 64px);
	}
	.game-grid {
		gap: 28px;
	}
	.game-copy {
		padding: 24px;
	}
	.game-copy h2 {
		font-size: 28px;
	}
	.game-copy > p {
		font-size: 18px;
		min-height: 110px;
	}
	.card-actions {
		gap: 8px;
	}
	.card-actions .button {
		font-size: 15px;
		padding-inline: 6px;
		gap: 5px;
	}
	.contact-layout {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 64px;
	}
	.studio-card {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 28px;
	}
	.studio-portrait {
		width: 240px;
	}
	.studio-copy > p:not(.studio-name) {
		font-size: 21px;
	}
}
@media (max-width: 850px) {
	.header-inner {
		grid-template-columns: 1fr auto;
		gap: 20px;
	}
	.header-balance {
		display: none;
	}
	nav {
		gap: 26px;
	}
	.game-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}
	.game-copy > p {
		min-height: 100px;
	}
	.game-copy h2 {
		font-size: 29px;
	}
	.card-actions .button {
		font-size: 16px;
	}
	.studio-card {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 24px;
		padding: 28px;
	}
	.studio-portrait {
		width: 200px;
	}
	.studio-copy h2 {
		font-size: 34px;
	}
	.studio-name {
		font-size: 13px;
		letter-spacing: 2px;
	}
	.studio-copy > p:not(.studio-name) {
		font-size: 20px;
	}
	.social-about {
		gap: 12px;
	}
	.social-about .social-link {
		width: 35px;
		height: 35px;
	}
	.contact-layout {
		grid-template-columns: 210px minmax(0, 1fr);
		gap: 64px;
	}
	.contact-form {
		padding: 26px;
	}
	.page-heading {
		padding-top: 50px;
		padding-bottom: 48px;
	}
	.page-heading > p:last-child {
		font-size: 21px;
	}
}
@media (max-width: 600px) {
	body {
		font-size: 18px;
	}
	.container {
		width: calc(100% - 40px);
	}
	.site-header {
		height: 116px;
	}
	.header-inner {
		width: calc(100% - 36px);
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 4px;
	}
	.brand {
		gap: 7px;
		align-self: center;
	}
	.brand-coconut {
		width: 40px;
		height: 40px;
	}
	.brand-wordmark {
		width: 120px;
		height: 40px;
	}
	.brand > span {
		font-size: 20px;
	}
	.brand small {
		font-size: 8px;
		letter-spacing: 1.6px;
		margin-top: 3px;
	}
	nav {
		gap: 36px;
	}
	nav a {
		font-size: 18px;
		padding: 7px 0;
	}
	main {
		padding-top: 116px;
	}
	html {
		scroll-padding-top: 128px;
	}
	.page {
		padding-bottom: 64px;
	}
	.page-heading {
		padding: 38px 20px 40px;
	}
	.eyebrow {
		font-size: 11px;
		letter-spacing: 3px;
		margin-bottom: 10px;
	}
	.page-heading h1 {
		font-size: 36px;
		letter-spacing: 1px;
		margin-bottom: 16px;
	}
	.page-heading > p:last-child {
		font-size: 19px;
		line-height: 1.8;
		max-width: 310px;
		margin-inline: auto;
	}
	.game-grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		gap: 30px;
	}
	.game-copy {
		padding: 25px 28px 28px;
	}
	.game-copy h2 {
		font-size: 30px;
		margin-bottom: 12px;
	}
	.game-copy > p {
		font-size: 19px;
		min-height: 0;
		margin-bottom: 26px;
		line-height: 1.8;
	}
	.card-actions {
		gap: 14px;
	}
	.card-actions .button {
		font-size: 17px;
		padding-inline: 8px;
		min-height: 48px;
	}
	.game-card {
		border-radius: 20px;
	}
	.cover-button {
		border-radius: 20px 20px 0 0;
	}
	.about-page .page-heading h1 {
		font-size: 30px;
	}
	.studio-card {
		grid-template-columns: 1fr;
		justify-items: center;
		padding: 28px 24px;
		gap: 22px;
	}
	.studio-portrait {
		width: 210px;
	}
	.studio-copy {
		text-align: center;
	}
	.studio-copy h2 {
		font-size: 33px;
	}
	.studio-copy > p:not(.studio-name) {
		text-align: left;
		font-size: 20px;
		line-height: 1.9;
	}
	.social-about {
		justify-content: center;
		margin-top: 24px;
		gap: 15px;
	}
	.social-about .social-link {
		width: 40px;
		height: 40px;
	}
	.studio-story {
		padding: 32px 4px 0;
	}
	.studio-story h2 {
		font-size: 27px;
		gap: 13px;
		margin-bottom: 15px;
	}
	.studio-story h2:before {
		width: 20px;
	}
	.studio-story p {
		padding-left: 0;
		font-size: 20px;
		line-height: 1.95;
	}
	.studio-story section + section {
		margin-top: 28px;
	}
	.contact-layout {
		display: flex;
		flex-direction: column;
		gap: 0;
		position: relative;
	}
	.sheep-scene {
		width: 190px;
		margin-top: -22px;
		margin-bottom: -24px;
		align-self: center;
		z-index: 2;
		pointer-events: none;
	}
	#contact-sheep {
		height: 190px;
	}
	.contact-form {
		width: 100%;
		padding: 27px 22px 22px;
		border-radius: 20px;
	}
	.contact-form h2 {
		font-size: 29px;
		margin-bottom: 22px;
	}
	.contact-form input,
	.contact-form textarea {
		font-size: 18px;
		margin-bottom: 18px;
		padding: 11px 13px;
	}
	.contact-form input {
		height: 53px;
	}
	.contact-form textarea {
		min-height: 155px;
	}
	.contact-form label {
		font-size: 18px;
	}
	.form-note {
		font-size: 14px;
		line-height: 1.8;
	}
	.site-footer {
		padding: 38px 20px 30px;
		min-height: 306px;
	}
	.site-footer > p {
		font-size: 12px;
	}
	.social-links {
		gap: 14px;
	}
	.social-tooltip {
		font-size: 15px;
		max-width: calc(100vw - 32px);
	}
	.social-link:first-child .social-tooltip {
		left: 0;
		transform: translate(0, 5px);
	}
	.social-link:first-child:hover .social-tooltip,
	.social-link:first-child:focus-visible .social-tooltip,
	.social-link:first-child.is-open .social-tooltip {
		transform: translate(0, 0);
	}
	.social-link:first-child .social-tooltip:after {
		left: 14px;
	}
	.social-link:last-child .social-tooltip {
		left: auto;
		right: 0;
		transform: translate(0, 5px);
		width: 265px;
	}
	.social-link:last-child:hover .social-tooltip,
	.social-link:last-child:focus-visible .social-tooltip,
	.social-link:last-child.is-open .social-tooltip {
		transform: translate(0, 0);
	}
	.social-link:last-child .social-tooltip:after {
		left: auto;
		right: 14px;
	}
	.dialog-copy {
		padding: 26px 24px;
	}
	.dialog-copy h2 {
		font-size: 29px;
	}
	.dialog-copy p {
		font-size: 19px;
	}
	.game-session-note {
		font-size: 12px;
		padding: 8px 12px;
	}
	.game-toolbar {
		height: 49px;
		padding-inline: 16px;
	}
	.game-toolbar h2 {
		font-size: 21px;
	}
	.game-toolbar .dialog-close {
		width: 36px;
		height: 36px;
		top: 6px;
		font-size: 27px;
	}
	#game-frame {
		height: min(56.25vw, calc(100dvh - 130px));
	}
}
@media (max-width: 350px) {
	nav {
		gap: 26px;
	}
	.container {
		width: calc(100% - 32px);
	}
	.game-copy {
		padding: 23px;
	}
	.card-actions {
		gap: 9px;
	}
	.card-actions .button {
		font-size: 16px;
	}
	.page-heading h1 {
		font-size: 32px;
	}
	.about-page .page-heading h1 {
		font-size: 27px;
	}
	.social-links {
		gap: 11px;
	}
	.contact-form {
		padding-inline: 19px;
	}
}
.social-links .social-link .social-tooltip {
	display: none;
	left: calc(50% + var(--tip-adjust, 0px));
	right: auto;
	width: max-content;
	max-width: min(300px, calc(100vw - 32px));
	transform: translate(-50%, 0);
}
.social-links .social-link:hover .social-tooltip,
.social-links .social-link:focus-visible .social-tooltip,
.social-links .social-link.is-open .social-tooltip {
	display: block;
	transform: translate(-50%, 0);
	animation: tooltip-in 0.15s ease-out;
}
.social-links .social-link .social-tooltip:after {
	left: calc(50% - var(--tip-adjust, 0px) - 5px);
	right: auto;
}
.social-links .social-link.tooltip-dismissed .social-tooltip {
	display: none;
}

/* Selectable hover cards: the trigger and panel are siblings, so links/text
   selection and copy controls are never nested inside another button. */
.social-item {
	position: relative;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
}
.social-item.is-open { z-index: 12; }
.social-item > .social-link { width: 100%; height: 100%; }
.social-item > .social-tooltip {
	display: none;
	left: calc(50% + var(--tip-adjust, 0px));
	right: auto;
	width: max-content;
	max-width: min(320px, calc(100vw - 32px));
	transform: translate(-50%, 0);
	pointer-events: auto;
	user-select: text;
	-webkit-user-select: text;
	cursor: text;
}
.social-item.is-open > .social-tooltip {
	display: block;
	opacity: 1;
	visibility: visible;
	animation: tooltip-in 0.15s ease-out;
}
.social-item > .social-tooltip.is-scrollable {
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}
.social-item > .social-tooltip:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -22px;
	height: 22px;
}
.social-item > .social-tooltip:after {
	left: calc(50% - var(--tip-adjust, 0px) - 5px);
	right: auto;
}
.social-item[data-social="email"] > .social-tooltip {
	width: 310px;
	text-align: left;
}
.email-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 8px;
	row-gap: 2px;
}
.email-row + .email-row {
	border-top: 1px solid #eee1d3;
	margin-top: 9px;
	padding-top: 9px;
}
.email-label { grid-column: 1 / -1; font-size: 13px; color: var(--brown); }
.contact-address { font-size: 14px; overflow-wrap: anywhere; }
.copy-email {
	font: inherit;
	font-size: 12px;
	color: var(--brown);
	border: 1px solid #ddc8b2;
	border-radius: 6px;
	background: #faf2e9;
	padding: 3px 6px;
	cursor: pointer;
	min-width: 40px;
	user-select: none;
}
.copy-email:hover { background: #f0e0ce; }
.site-footer > p.footer-registration { margin-top: 8px; }
.footer-registration a { color: inherit; font: inherit; text-decoration: none; }
.footer-registration a:hover,
.footer-registration a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.coconut-drops {
	opacity: 1;
	animation: none;
}
@keyframes tooltip-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@media (max-height: 520px) and (min-width: 601px) {
	.site-header {
		height: 66px;
	}
	main {
		padding-top: 66px;
	}
	.brand-coconut {
		width: 44px;
		height: 44px;
	}
	.brand > span {
		font-size: 20px;
	}
	.page-heading {
		padding: 24px 20px 28px;
	}
	.eyebrow {
		font-size: 11px;
		margin-bottom: 6px;
	}
	.page-heading h1 {
		font-size: 36px;
		line-height: 1.25;
		margin-bottom: 10px;
	}
	.page-heading > p:last-child {
		font-size: 18px;
		line-height: 1.5;
	}
	.page {
		padding-bottom: 64px;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
	.game-card:hover,
	.game-card:hover .cover-button img,
	.button:hover,
	.social-link:hover,
	.social-link:focus-visible,
	nav a:hover {
		transform: none;
	}
	.sheep-scene.is-reading .sheep-character,
	.sheep-scene.is-reading .sheep-head,
	.sheep-scene.is-reading .sheep-shadow {
		transform: none;
	}
	.coconut-drops {
		opacity: 1;
		animation: none;
	}
}
/* Droplets start on the supplied coconut's opening and arc beyond its rim. */
.drop {
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
}
.drop-left-main {
	animation: var(--drop-main, none);
}
.drop-left-small {
	animation: var(--drop-small, none);
}
.drop-right {
	animation: var(--drop-right, none);
}
.brand:hover,
.brand:focus-visible,
.footer-brand:hover,
.footer-brand:focus-visible {
	--drop-main: juice-left 0.85s ease-out;
	--drop-small: juice-left-small 0.85s ease-out;
	--drop-right: juice-right 0.85s ease-out;
}
@keyframes juice-left {
	0%,
	10% {
		opacity: 0;
		transform: translate(7px, 10px) scale(0.3);
	}
	33% {
		opacity: 1;
		transform: translate(-15px, -23px) scale(1);
	}
	70% {
		opacity: 0.8;
		transform: translate(-20px, -18px) scale(0.9);
	}
	100% {
		opacity: 0;
		transform: translate(-23px, -9px) scale(0.5);
	}
}
@keyframes juice-left-small {
	0%,
	20% {
		opacity: 0;
		transform: translate(3px, 10px) scale(0.2);
	}
	42% {
		opacity: 1;
		transform: translate(-5px, -27px) scale(1);
	}
	75% {
		opacity: 0.7;
		transform: translate(-10px, -21px) scale(0.8);
	}
	100% {
		opacity: 0;
		transform: translate(-14px, -13px) scale(0.3);
	}
}
@keyframes juice-right {
	0%,
	12% {
		opacity: 0;
		transform: translate(-5px, 9px) scale(0.3);
	}
	35% {
		opacity: 1;
		transform: translate(13px, -14px) scale(1);
	}
	75% {
		opacity: 0.75;
		transform: translate(19px, -9px) scale(0.9);
	}
	100% {
		opacity: 0;
		transform: translate(23px, -2px) scale(0.4);
	}
}
.form-note:empty {
	display: none;
}
@media (max-width: 600px) {
	.sheep-scene {
		pointer-events: auto;
		width: 256px;
		margin-top: -24px;
		margin-bottom: -22px;
	}
	.sheep-pet {
		border-radius: 35%;
		transform: translateX(-8px);
	}
	#contact-sheep {
		width: 256px;
		height: auto;
	}
	.sheep-bubble {
		font-size: 18px;
		left: calc(84% - 6px);
	}
}
@media (max-width: 340px) {
	.sheep-bubble { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.drop {
		animation: none !important;
	}
	.sheep-scene.is-reading .sheep-character,
	.sheep-scene.is-reading .sheep-head,
	.sheep-scene.is-reading .sheep-shadow {
		transform: none;
	}
}
