/* Lilrose: the game's look and feel on the web. Everything lives on the grey studio stage, like the game. */

:root {
	--white: #fcfcfc;
	--paper: #f4f4f4;
	--ink: #383838;
	--ink-soft: #5f6066;
	--pink: #d69495;
	--pink-ink: #9a5e61;
	--pink-light: #f3c6c7;
	--pink-top: #c47f81;
	--pink-bottom: #af6669;
	--pink-lip: #8e5457;
	--teal: #8bb6bd;
	--teal-top: #6a98a0;
	--teal-bottom: #56858e;
	--teal-lip: #446d75;
	--grey-top: #858894;
	--grey-bottom: #6e6f75;
	--stage-top: #5f616b;
	--stage-mid: #54555c;
	--stage-bottom: #33343b;
	--text: #fcfcfc;
	--text-soft: #ececef;
	--text-dim: #d4d5da;
	--line: rgb(255 255 255 / 0.14);

	--radius-m: 20px;
	--radius-l: 32px;
	--shadow-soft: 0 10px 28px rgb(14 14 20 / 0.32);
	--shadow-lift: 0 24px 60px rgb(14 14 20 / 0.42);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--dur-1: 120ms;
	--dur-2: 240ms;
	--gutter: max(1rem, 4vw);
	--wide: 72rem;
	--font-soft: var(--wp--preset--font-family--quicksand, Quicksand, ui-rounded, system-ui, sans-serif);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 380ms; animation-timing-function: ease-out; }
.lr-seg { view-transition-name: lr-nav; }

/* ---------- the stage ---------- */

html { background: var(--stage-bottom); scroll-behavior: smooth; }
body {
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	background: transparent;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
body::before, body::after {
	content: "";
	position: fixed;
	inset: -10vh -10vw;
	z-index: -2;
	pointer-events: none;
}
body::before {
	background:
		radial-gradient(70% 55% at 50% 38%, rgb(255 255 255 / 0.09), transparent 70%),
		linear-gradient(180deg, var(--stage-top) 0%, var(--stage-mid) 48%, var(--stage-bottom) 100%);
}
/* the title screen's soft colour blooms, drifting slowly */
body::after {
	z-index: -1;
	background:
		radial-gradient(38% 30% at 12% 14%, rgb(184 126 134 / 0.4), transparent 70%),
		radial-gradient(32% 28% at 92% 20%, rgb(160 160 134 / 0.34), transparent 70%),
		radial-gradient(40% 32% at 84% 92%, rgb(110 142 148 / 0.36), transparent 70%);
	animation: lr-drift 28s ease-in-out infinite alternate;
}
@keyframes lr-drift {
	from { transform: translate3d(-2%, -1%, 0) scale(1); }
	to { transform: translate3d(2%, 2%, 0) scale(1.06); }
}

::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; border-radius: 8px; }
.lr-seg :focus-visible, .lr-sheet :focus-visible { outline-color: var(--pink-ink); }
html { scrollbar-color: #8f939f transparent; }
img { max-width: 100%; height: auto; }
a { color: var(--pink-light); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; transition: color var(--dur-2) var(--ease-out); }
a:hover { color: var(--white); }
.lr-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lr-icon { display: inline-block; flex: none; }

.wp-site-blocks { padding: 0; }
.lr-main { padding-inline: var(--gutter); padding-bottom: clamp(4rem, 10vw, 8rem); }
.lr-main > * { max-width: var(--wide); margin-inline: auto !important; }
.lr-main > * + * { margin-top: clamp(5rem, 12vw, 10rem); }
.lr-main--home > * + * { margin-top: clamp(6rem, 14vw, 12rem); }

h1, h2, h3, .wp-block-post-title { color: var(--text); }

/* ---------- motion system ---------- */

/* Without script everything simply shows; the script adds .js and reveals things as they arrive. */
.js :is([data-reveal], .lr-spread, .lr-note, .lr-story__close, .lr-list .wp-block-post) {
	opacity: 0;
	transform: translate3d(0, 28px, 0) scale(0.98);
	transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
	transition-delay: calc(var(--i, 0) * 90ms);
}
.js :is([data-reveal], .lr-spread, .lr-note, .lr-story__close, .lr-list .wp-block-post).is-in { opacity: 1; transform: none; }
.js [data-enter] { opacity: 0; transform: translate3d(0, 18px, 0); animation: lr-enter 900ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 110ms); }
@keyframes lr-enter { to { opacity: 1; transform: none; } }

/* ---------- section headings ---------- */

.lr-section-head { max-width: 44rem; }
.lr-section-head h2 { margin: 0; font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.lr-section-head p { margin: 1rem 0 0; color: var(--text-soft); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 600; max-width: 36rem; text-wrap: pretty; }
.lr-section-head--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; max-width: none; }

.lr-head { text-align: center; padding-top: clamp(2rem, 6vw, 4.5rem); max-width: 48rem; }
.lr-head h1, .lr-head .wp-block-post-title, .lr-head .wp-block-query-title {
	margin: 0;
	font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
	font-weight: 900;
	line-height: 1.04;
	letter-spacing: -0.025em;
	text-wrap: balance;
	animation: lr-enter 900ms var(--ease-out) both;
}
.lr-head__intro, .lr-head__lead, .lr-head p {
	color: var(--text-soft);
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	font-weight: 600;
	max-width: 36rem;
	margin: 1rem auto 0;
	text-wrap: pretty;
	animation: lr-enter 900ms var(--ease-out) 120ms both;
}
.lr-head__intro > * { margin-inline: auto; }
.lr-head + * { margin-top: clamp(2.5rem, 6vw, 4rem) !important; }

/* ---------- buttons: the game's pills ---------- */

.lr-pill,
.wp-block-button.is-style-pink .wp-block-button__link,
.wp-block-button.is-style-teal .wp-block-button__link {
	--top: var(--pink-top); --bottom: var(--pink-bottom); --lip: var(--pink-lip); --lift: 0px; --press: 0px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-width: 10.5rem;
	min-height: 3.75rem;
	padding: 0 2rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--top), var(--bottom));
	box-shadow: 0 calc(6px + var(--lift) - var(--press)) 0 var(--lip), 0 calc(14px + var(--lift) * 2) calc(26px + var(--lift) * 2) rgb(14 14 20 / 0.36), inset 0 1px 0 rgb(255 255 255 / 0.24);
	color: var(--white);
	font-size: 1.375rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	cursor: pointer;
	transform: translate3d(0, calc(var(--press) - var(--lift)), 0);
	transition: transform 260ms var(--ease-spring), box-shadow 260ms var(--ease-spring), filter var(--dur-2);
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}
.lr-pill--teal, .wp-block-button.is-style-teal .wp-block-button__link { --top: var(--teal-top); --bottom: var(--teal-bottom); --lip: var(--teal-lip); }
.lr-pill:hover, .wp-block-button.is-style-pink .wp-block-button__link:hover, .wp-block-button.is-style-teal .wp-block-button__link:hover { --lift: 3px; filter: brightness(1.05); color: var(--white); }
.lr-pill:active, .lr-pill.is-down,
.wp-block-button.is-style-pink .wp-block-button__link:active,
.wp-block-button.is-style-teal .wp-block-button__link:active {
	--lift: 0px; --press: 6px;
	transition-duration: 90ms;
	transition-timing-function: ease-out;
}
.lr-pill.is-down { scale: 1.03 0.95; }
.lr-pill.is-pop { animation: lr-pop 520ms var(--ease-out); }
@keyframes lr-pop {
	0% { scale: 1.03 0.95; }
	35% { scale: 0.97 1.05; }
	65% { scale: 1.015 0.985; }
	100% { scale: 1 1; }
}
.lr-pill:focus-visible { outline: 3px solid var(--white); outline-offset: 6px; border-radius: 999px; }
.lr-pill--small { min-width: 0; min-height: 2.75rem; padding: 0 1.4rem; font-size: 1.1875rem; }
.lr-pill__tag {
	position: absolute;
	top: -0.7rem;
	right: -0.4rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: var(--white);
	color: var(--teal-lip);
	font-size: 0.6875rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	box-shadow: 0 4px 10px rgb(14 14 20 / 0.25);
	rotate: 6deg;
}

.lr-round {
	display: inline-grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	flex: none;
	padding: 0;
	border: 0;
	border-radius: 30%;
	background: linear-gradient(180deg, #ffffff, #ececef);
	box-shadow: 0 8px 18px rgb(14 14 20 / 0.3), inset 0 1px 0 #fff, inset 0 -2px 0 rgb(0 0 0 / 0.06);
	color: var(--ink);
	cursor: pointer;
	transition: transform 300ms var(--ease-spring), box-shadow 300ms var(--ease-spring);
}
.lr-round:hover { transform: translateY(-2px) rotate(-2deg); }
.lr-round:active { transform: scale(0.9); transition-duration: 90ms; }
.lr-round--small { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.lr-round--icon { width: 4rem; height: 4rem; }

.lr-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	color: var(--text);
	font-weight: 800;
	text-decoration: none;
	position: relative;
}
.lr-more::before {
	content: "";
	position: absolute;
	left: 0;
	right: 1.75rem;
	bottom: 8px;
	height: 2px;
	border-radius: 2px;
	background: var(--pink);
	transform: scaleX(0.25);
	transform-origin: left;
	transition: transform 420ms var(--ease-out);
}
.lr-more:hover::before { transform: scaleX(1); }
.lr-more .lr-icon { filter: invert(1) brightness(2); transition: transform 420ms var(--ease-spring); }
.lr-more:hover { color: var(--white); }
.lr-more:hover .lr-icon { transform: translateX(5px); }

/* ---------- header and the sliding tab pill ---------- */

.lr-site-header { padding: clamp(0.75rem, 2vw, 1.25rem) var(--gutter) 0; position: relative; z-index: 5; }
.lr-header { max-width: var(--wide); margin: 0 auto; display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.lr-header__logo { display: inline-flex; padding: 0.4rem 0.25rem; border-radius: 12px; transition: transform 400ms var(--ease-spring); }
.lr-header__logo:hover { transform: rotate(-3deg) scale(1.04); }
.lr-header__logo img { width: 7.25rem; height: auto; display: block; }
.lr-header__nav { margin-inline: auto; }
.lr-seg {
	position: relative;
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0.375rem;
	list-style: none;
	border-radius: 999px;
	background: rgb(236 236 240 / 0.94);
	box-shadow: 0 14px 34px rgb(14 14 20 / 0.32), inset 0 1px 2px rgb(0 0 0 / 0.08);
}
.lr-seg li { position: relative; z-index: 1; }
.lr-seg__blob {
	position: absolute;
	top: 0.375rem;
	left: 0;
	height: calc(100% - 0.75rem);
	width: var(--w, 0);
	transform: translateX(var(--x, 0));
	border-radius: 999px;
	background: var(--white);
	box-shadow: 0 4px 12px rgb(14 14 20 / 0.16);
	transition: transform 520ms var(--ease-spring), width 520ms var(--ease-spring);
	z-index: 0;
}
.lr-seg a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0 1.05rem;
	border-radius: 999px;
	color: #5f6066;
	font-size: 0.875rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 300ms var(--ease-out);
}
.lr-seg a .lr-icon { width: 22px; height: 22px; opacity: 0.7; transition: opacity var(--dur-2), transform 420ms var(--ease-spring); }
.lr-seg a:hover { color: var(--ink); }
.lr-seg a:hover .lr-icon { opacity: 1; transform: rotate(-10deg) scale(1.12); }
.lr-seg a[aria-current="page"] { color: #7f4a4d; }
.lr-seg a[aria-current="page"] .lr-icon { opacity: 1; }
html:not(.js) .lr-seg a[aria-current="page"] { background: var(--white); box-shadow: 0 4px 12px rgb(14 14 20 / 0.16); }
.lr-header__menu { display: none; margin-left: auto; }
@media (max-width: 1023px) {
	.lr-seg a .lr-icon { display: none; }
	.lr-seg a { padding: 0 0.8rem; }
}
@media (max-width: 860px) {
	.lr-header__nav, .lr-header__play { display: none; }
	.lr-header__menu { display: inline-grid; }
}

.lr-sheet {
	position: fixed;
	inset: auto 0 0 0;
	width: 100%;
	max-width: 36rem;
	max-height: 90vh;
	margin: 0 auto;
	padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
	border: 0;
	border-radius: var(--radius-l) var(--radius-l) 0 0;
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 -18px 50px rgb(14 14 20 / 0.35);
}
.lr-sheet[open] { animation: lr-sheet-in 520ms var(--ease-spring); }
.lr-sheet::backdrop { background: rgb(28 29 34 / 0.55); backdrop-filter: blur(3px); }
@keyframes lr-sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.lr-sheet__head { display: flex; align-items: center; justify-content: space-between; }
.lr-sheet__title { margin: 0; font-weight: 800; color: var(--ink-soft); }
.lr-sheet__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: 1.25rem 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.lr-sheet[open] .lr-sheet__tiles li { animation: lr-tile-in 520ms var(--ease-spring) both; }
.lr-sheet[open] .lr-sheet__tiles li:nth-child(2) { animation-delay: 50ms; }
.lr-sheet[open] .lr-sheet__tiles li:nth-child(3) { animation-delay: 100ms; }
.lr-sheet[open] .lr-sheet__tiles li:nth-child(4) { animation-delay: 150ms; }
.lr-sheet[open] .lr-sheet__tiles li:nth-child(5) { animation-delay: 200ms; }
@keyframes lr-tile-in { from { opacity: 0; transform: translateY(18px) scale(0.85); } to { opacity: 1; transform: none; } }
.lr-tile { display: grid; justify-items: center; gap: 0.5rem; padding: 0.25rem; color: var(--ink); font-weight: 800; font-size: 0.9375rem; text-decoration: none; border-radius: 16px; }
.lr-tile:hover { color: var(--ink); }
.lr-tile .lr-round { width: 4.25rem; height: 4.25rem; box-shadow: 0 6px 14px rgb(14 14 20 / 0.18), inset 0 1px 0 #fff; }
.lr-tile[aria-current="page"] .lr-round { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--pink), 0 6px 14px rgb(14 14 20 / 0.18); }
.lr-tile[aria-current="page"] { color: var(--pink-ink); }
.lr-sheet__play { margin: 1.75rem 0 0; display: flex; }
.lr-sheet__play .lr-pill { flex: 1; }

/* ---------- dolls: stand up, breathe and sway, paint on tap ---------- */

.lr-idle { display: block; transform-origin: 50% 100%; }
@keyframes lr-stand { from { opacity: 0; transform: translateY(40px) scale(0.92, 1.06); } 60% { opacity: 1; transform: translateY(-6px) scale(1.03, 0.97); } to { opacity: 1; transform: none; } }
@keyframes lr-sway { from { transform: rotate(-1.2deg) scaleY(1); } to { transform: rotate(1.2deg) scaleY(1.012); } }

.lr-doll {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transform-origin: 50% 100%;
	transform: rotate(var(--lean, 0deg)) translateY(var(--hop, 0px));
	transition: transform 600ms var(--ease-spring);
	-webkit-tap-highlight-color: transparent;
}
.lr-doll img { display: block; height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.lr-doll__paint { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1000ms var(--ease-out); }
.lr-doll.is-painted .lr-doll__paint { clip-path: inset(0 0 0 0); }
.lr-doll:hover { --hop: -10px; }
.lr-doll.is-squash { animation: lr-squash 560ms var(--ease-out); }
@keyframes lr-squash { 0% { scale: 1 1; } 25% { scale: 1.08 0.9; } 55% { scale: 0.96 1.06; } 80% { scale: 1.02 0.98; } 100% { scale: 1 1; } }
.lr-doll:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; border-radius: 24px; }

.lr-hint {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	padding: 0.55rem 1.1rem 0.55rem 0.8rem;
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 800;
	box-shadow: var(--shadow-soft);
}
.lr-hint .lr-icon { animation: lr-brush 2.6s ease-in-out infinite; transform-origin: 80% 20%; }
@keyframes lr-brush { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-16deg); } 80% { transform: rotate(10deg); } 90% { transform: rotate(-6deg); } }
/* ---------- colour coming back ---------- */

.lr-bloom, .wp-block-image.is-style-bloom {
	--r: 18%;
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-lift);
	background: #c9cdc9;
}
.lr-bloom img, .wp-block-image.is-style-bloom img { display: block; width: 100%; height: auto; border-radius: inherit; }
.lr-bloom__grey, .wp-block-image.is-style-bloom img { filter: grayscale(1) brightness(1.06) contrast(0.92); }
.lr-bloom__colour {
	position: absolute;
	inset: 0;
	-webkit-mask-image: radial-gradient(circle at 50% 60%, #000 var(--r), transparent calc(var(--r) + 14%));
	mask-image: radial-gradient(circle at 50% 60%, #000 var(--r), transparent calc(var(--r) + 14%));
}
.wp-block-image.is-style-bloom .lr-bloom__colour { filter: none; }
[data-parallax-img] { scale: 1.12; translate: 0 var(--py, 0); }
.lr-story .is-style-storybook {
	margin: 0;
	font-weight: 800;
	font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--text);
	text-wrap: balance;
}

/* ---------- home: a painted world, the dolls that painted it ---------- */

/* The header floats over the painted world on the home page. */
.home .lr-site-header { position: absolute; inset: 0 0 auto; }
.lr-main--home { padding-top: 0; }

@property --hr { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.lr-main > .lr-launch { max-width: none; margin-inline: calc(var(--gutter) * -1) !important; }
.lr-launch {
	--dh: 9.5rem;
	position: relative;
	display: grid;
	grid-template-areas: "world" "text";
	grid-template-rows: min(64svh, 34rem) auto;
	isolation: isolate;
}
.lr-launch__world {
	grid-area: world;
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 0 0 var(--radius-l) var(--radius-l);
	background: #8a8d88;
	box-shadow: var(--shadow-lift);
}
.lr-launch__world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 34% 50%; }
/* The world starts grey, then the paint spreads out from where the doll stands. */
.lr-launch__paint { clip-path: circle(var(--hr) at 47% 66%); }
.js .lr-launch__paint { animation: lr-spread 2600ms cubic-bezier(0.5, 0, 0.2, 1) 500ms both; }
html:not(.js) .lr-launch__paint { --hr: 150%; }
@keyframes lr-spread { from { --hr: 0%; } to { --hr: 150%; } }
.lr-launch__world::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(30 31 36 / 0.55) 0%, transparent 26%, transparent 62%, rgb(30 31 36 / 0.5) 100%);
	pointer-events: none;
}
.lr-launch__text { grid-area: text; padding: clamp(4rem, 10vw, 6rem) var(--gutter) 0; position: relative; z-index: 2; }
.lr-launch h1 {
	margin: 0;
	font-size: clamp(3rem, 1.4rem + 6.4vw, 6rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
.lr-launch__lead { margin: 1.25rem 0 0; max-width: 32rem; color: var(--text-soft); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 600; text-wrap: pretty; }
.lr-launch__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.lr-launch__actions .lr-pill { min-height: 4.25rem; font-size: 1.5rem; }
.lr-launch__credit {
	grid-area: world;
	align-self: start;
	justify-self: end;
	margin: 5.5rem var(--gutter) 0 0;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.9rem 0.45rem 0.7rem;
	border-radius: 999px;
	background: rgb(252 252 252 / 0.92);
	color: var(--ink);
	font-size: 0.8125rem;
	font-weight: 800;
	box-shadow: var(--shadow-soft);
	z-index: 2;
}
.lr-launch__dolls { grid-area: world; align-self: end; justify-self: center; margin-bottom: calc(var(--dh) * -0.42) !important; z-index: 3; }

/* A crowd of painted dolls on one floor, overlapping a little like a group photo. */
.lr-crowd { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; margin: 0; padding: 0; list-style: none; }
.lr-crowd__doll { height: calc(var(--dh) * var(--h)); margin-inline: calc(var(--dh) * -0.07); position: relative; z-index: calc(10 - var(--n) % 3); }
.lr-crowd__btn {
	display: block;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transform-origin: 50% 100%;
	transition: transform 600ms var(--ease-spring);
	-webkit-tap-highlight-color: transparent;
}
.lr-crowd__btn img {
	display: block;
	height: 100%;
	width: auto;
	max-width: none;
	filter: drop-shadow(0 16px 12px rgb(10 10 14 / 0.42));
	transform-origin: 50% 100%;
	animation: lr-sway calc(4.2s + var(--n) * 0.31s) ease-in-out calc(var(--n) * -0.7s) infinite alternate;
	user-select: none;
	-webkit-user-drag: none;
}
.lr-crowd__btn:hover { transform: translateY(-10px) rotate(-2deg); }
.lr-crowd__btn.is-squash { animation: lr-squash 560ms var(--ease-out); }
.lr-crowd__btn:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; border-radius: 24px; }
.js .lr-launch__dolls .lr-crowd__doll { opacity: 0; animation: lr-stand 900ms var(--ease-spring) forwards; animation-delay: calc(1300ms + var(--n) * 120ms); }
.lr-launch__dolls .lr-crowd__doll:nth-child(n+4) { display: none; }

@media (min-width: 640px) {
	.lr-launch { --dh: 12rem; }
	.lr-launch__dolls .lr-crowd__doll:nth-child(n+4) { display: block; }
}
@media (min-width: 960px) {
	.lr-launch {
		--dh: clamp(13rem, 4rem + 13vw, 20rem);
		grid-template-areas: "world";
		grid-template-rows: max(40rem, 100svh);
	}
	.lr-launch__world { border-radius: 0; }
	.lr-launch__world img { object-position: 50% 50%; }
	.lr-launch__world::after {
		background:
			linear-gradient(180deg, rgb(30 31 36 / 0.5) 0%, transparent 18%),
			linear-gradient(270deg, rgb(30 31 36 / 0.86) 0%, rgb(30 31 36 / 0.62) 30%, rgb(30 31 36 / 0) 58%),
			linear-gradient(0deg, rgb(30 31 36 / 0.55) 0%, transparent 30%);
	}
	/* The cabin and the doll stand on the left of the picture, so the words sit on the right. */
	.lr-launch__text { grid-area: world; align-self: center; justify-self: end; width: min(44rem, 50vw); padding: 4rem max(var(--gutter), calc(50vw - 36rem)) calc(var(--dh) * 0.3) 0; }
	.lr-launch h1 { font-size: min(6rem, 5.2vw); }
	.lr-launch__dolls { justify-self: start; margin-left: max(var(--gutter), calc(50vw - 38rem)) !important; margin-bottom: calc(var(--dh) * -0.12) !important; }
	.lr-launch__credit { align-self: end; justify-self: end; margin: 0 max(var(--gutter), calc(50vw - 36rem)) 1.5rem 0; }
}

/* ---------- the four games ---------- */

.lr-modes__list { display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
.lr-mode { position: relative; display: grid; overflow: hidden; border-radius: var(--radius-l); background: #2a2b31; box-shadow: var(--shadow-lift); isolation: isolate; }
.lr-mode__pic { margin: 0; aspect-ratio: 4 / 3; }
.lr-mode__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.lr-mode:hover .lr-mode__pic img { transform: scale(1.045); }
.lr-mode__text { padding: 1.25rem 1.5rem 1.5rem; }
.lr-mode h3 { margin: 0; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.02; letter-spacing: -0.02em; }
.lr-mode p { margin: 0.6rem 0 0; color: var(--text-soft); font-size: 1.0625rem; font-weight: 600; max-width: 30rem; text-wrap: pretty; }
@media (min-width: 900px) {
	.lr-modes__list { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(22rem, 30vw, 28rem); }
	.lr-mode--jump { grid-column: span 7; }
	.lr-mode--flag { grid-column: span 5; }
	.lr-mode--paintball { grid-column: span 5; }
	.lr-mode--world { grid-column: span 7; }
	.lr-mode__pic { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
	.lr-mode__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(24 25 30 / 0.9) 0%, rgb(24 25 30 / 0.55) 32%, transparent 62%); }
	.lr-mode__text { align-self: end; padding: 2rem; }
}

/* ---------- paint any time: drag the brush across the forest ---------- */

.lr-any { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.lr-any__text h2 { margin: 0; font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; max-width: 40rem; }
.lr-any__text > p:not(.lr-hint) { margin: 1rem 0 1.5rem; color: var(--text-soft); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 600; max-width: 38rem; text-wrap: pretty; }
.lr-wipe {
	--cut: 62%;
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-l);
	background: #8a8d88;
	box-shadow: var(--shadow-lift);
	touch-action: pan-y;
	cursor: ew-resize;
	user-select: none;
}
@media (min-width: 700px) { .lr-wipe { aspect-ratio: 16 / 9; } }
.lr-wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 34% 50%; pointer-events: none; }
@media (min-width: 700px) { .lr-wipe img { object-position: 50% 50%; } }
.lr-wipe__paint { clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.lr-wipe__handle { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 4px; margin-left: -2px; background: var(--white); box-shadow: 0 0 18px rgb(14 14 20 / 0.35); pointer-events: none; }
.lr-wipe__handle .lr-round { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 4rem; height: 4rem; border-radius: 50%; transition: scale 300ms var(--ease-spring); }
.lr-wipe.is-dragging .lr-wipe__handle .lr-round { scale: 1.12; }
.lr-wipe__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.lr-wipe:has(.lr-wipe__range:focus-visible) { outline: 3px solid var(--white); outline-offset: 4px; }

/* ---------- every doll starts white ---------- */

.lr-wall__crowd { --dh: 8rem; margin-top: clamp(2.5rem, 6vw, 4rem); row-gap: 1.5rem; }
@media (min-width: 700px) { .lr-wall__crowd { --dh: 11rem; row-gap: 2rem; } }
@media (min-width: 1100px) { .lr-wall__crowd { --dh: 13rem; } }
.js .lr-wall__crowd .lr-crowd__doll { opacity: 0; }
.js .lr-wall__crowd.is-in .lr-crowd__doll { animation: lr-stand 900ms var(--ease-spring) forwards; animation-delay: calc(var(--n) * 55ms); }
.lr-wall__more { margin: 2rem 0 0; text-align: center; }

/* ---------- where it all started: real photos, printed ---------- */

.lr-print, .lr-origin__basket, .lr-origin__photos li, .lr-steps__list figure, .lr-bridge__real {
	margin: 0;
	padding: clamp(6px, 0.8vw, 10px);
	border-radius: 10px;
	background: var(--white);
	box-shadow: var(--shadow-lift);
	rotate: var(--tilt, 0deg);
	transition: rotate 600ms var(--ease-spring), transform 600ms var(--ease-spring);
}
:is(.lr-origin__basket, .lr-origin__photos li, .lr-steps__list figure, .lr-bridge__real) img { display: block; width: 100%; height: auto; border-radius: 5px; }
:is(.lr-origin__basket, .lr-origin__photos li, .lr-steps__list figure, .lr-bridge__real):hover { rotate: 0deg; transform: translateY(-4px); }
.lr-origin { display: grid; gap: clamp(4rem, 10vw, 7rem); }
.lr-origin__intro { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lr-origin__basket { --tilt: -2deg; }
.lr-origin__text :is(h1, h2) { margin: 0; font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
.lr-origin__text p { margin: 1rem 0 0; color: var(--text-soft); font-size: 1.125rem; font-weight: 600; max-width: 34rem; text-wrap: pretty; }
.lr-origin__text .lr-origin__lead { color: var(--text); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 700; }
.lr-origin__sign { color: var(--pink-light) !important; font-weight: 800 !important; }
@media (min-width: 860px) { .lr-origin__intro { grid-template-columns: 1.1fr 1fr; } }
.lr-origin--full { padding-top: clamp(1.5rem, 4vw, 3rem); }
.lr-origin__photos { columns: 2; column-gap: clamp(1rem, 2.5vw, 2rem); margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .lr-origin__photos { columns: 3; } }
.lr-origin__photos li { break-inside: avoid; margin-bottom: clamp(1rem, 2.5vw, 2rem); }
.lr-origin__photos li:nth-child(odd) { --tilt: 1.5deg; }
.lr-origin__photos li:nth-child(even) { --tilt: -1.5deg; }

.lr-steps__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(1rem, 2.5vw, 2rem); margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .lr-steps__list { grid-template-columns: repeat(4, 1fr); } }
.lr-steps__list li:nth-child(odd) figure { --tilt: -1.5deg; }
.lr-steps__list li:nth-child(even) figure { --tilt: 1.5deg; }
.lr-steps__n {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 1.25rem 0 0;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--pink-top), var(--pink-bottom));
	box-shadow: 0 4px 0 var(--pink-lip);
	color: var(--white);
	font-size: 1.1875rem;
	font-weight: 900;
}
.lr-steps__list h3 { margin: 0.75rem 0 0; font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.5rem); }
.lr-steps__list h3 + p { margin: 0.4rem 0 0; color: var(--text-soft); font-weight: 600; font-size: 1rem; text-wrap: pretty; }
.lr-care { display: flex; gap: 0.9rem; align-items: center; max-width: 44rem; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); color: var(--text-soft); font-weight: 600; }
.lr-care .lr-icon { filter: invert(1) brightness(2); flex: none; }
.lr-care strong { color: var(--text); }

.lr-bridge { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem clamp(1rem, 3vw, 2.5rem); align-items: end; }
.lr-bridge figure { margin: 0; }
.lr-bridge figcaption { margin-top: 0.75rem; color: var(--text-dim); font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
.lr-bridge__real { --tilt: -2.5deg; }
.lr-bridge__real figcaption { color: var(--ink-soft); margin-top: 0.5rem; }
.lr-bridge__game { display: grid; justify-items: center; }
.lr-bridge__game img { height: clamp(14rem, 34vw, 24rem); width: auto; filter: drop-shadow(0 22px 18px rgb(10 10 14 / 0.45)); animation: lr-sway 4.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.lr-bridge__text { grid-column: 1 / -1; }
.lr-bridge__text h3 { margin: 0; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.lr-bridge__text p { margin: 1rem 0 0; color: var(--text-soft); font-size: 1.125rem; font-weight: 600; max-width: 32rem; }
.lr-bridge__text p:last-child { margin-top: 1.75rem; }
@media (min-width: 900px) {
	.lr-bridge { grid-template-columns: 0.9fr 0.7fr 1.2fr; align-items: center; }
	.lr-bridge__text { grid-column: auto; }
}
.lr-origin__more { margin: 0; }

/* ---------- doll cards: the game's family-coloured cards, tilting like a held card ---------- */

.lr-cards { margin: 0; padding: 0; list-style: none; }
.lr-cards--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: clamp(2rem, 3vw, 2.75rem) clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 599px) {
	.lr-cards--grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 0.875rem; }
	.lr-cards--grid .lr-card h2 { font-size: 1.25rem; }
	.lr-cards--grid .lr-card__text > p:last-child { font-size: 0.9375rem; }
	.lr-cards--grid .lr-card__stage { border-radius: var(--radius-m); }
}
.lr-card { display: grid; grid-template-rows: auto 1fr; perspective: 900px; }
.lr-card__stage {
	--t1: var(--teal-top); --t2: var(--teal-bottom);
	position: relative;
	aspect-ratio: 4 / 4.4;
	border-radius: var(--radius-l);
	background: radial-gradient(70% 16% at 50% 93%, rgb(14 14 20 / 0.28), transparent 70%), linear-gradient(180deg, var(--t1), var(--t2));
	box-shadow: 0 14px 30px rgb(14 14 20 / 0.32), inset 0 1px 0 rgb(255 255 255 / 0.28);
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
	transform-style: preserve-3d;
	transition: transform 700ms var(--ease-spring), box-shadow 500ms var(--ease-out);
}
.lr-card.is-hot .lr-card__stage { --ty: -6px; box-shadow: 0 30px 50px rgb(14 14 20 / 0.42), inset 0 1px 0 rgb(255 255 255 / 0.28); transition-duration: 160ms, 500ms; }
.lr-card--pink .lr-card__stage { --t1: var(--pink-top); --t2: var(--pink-bottom); }
.lr-card--grey .lr-card__stage { --t1: var(--grey-top); --t2: var(--grey-bottom); }
.lr-card__glare { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / 0.28), transparent 70%); opacity: 0; transition: opacity 400ms; pointer-events: none; }
.lr-card.is-hot .lr-card__glare { opacity: 1; }
.lr-card__stage .lr-doll, .lr-card__pic { position: absolute; inset: 7% 7% 6%; transform: translateZ(40px); }
.lr-card__stage .lr-doll img, .lr-card__pic { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 100%; transition: transform 700ms var(--ease-spring); transform-origin: 50% 100%; }
.lr-card.is-hot .lr-card__stage .lr-doll img { transform: scale(1.07) translateY(-3%); }
.lr-card__text { padding: 1rem 0.25rem 0; }
.lr-card :is(h2, h3) { margin: 0; font-size: 1.5rem; color: var(--text); }
.lr-card :is(h2, h3) a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.lr-card :is(h2, h3) a:hover { color: var(--pink-light); }
.lr-card__family { margin: 0.15rem 0 0; color: var(--text-dim); font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.lr-card__text > p:last-child { margin: 0.5rem 0 0; color: var(--text-soft); font-weight: 600; }

.lr-cards--row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(66%, 15rem);
	gap: 1.25rem;
	margin-top: 2rem;
	padding: 0.75rem var(--gutter) 1.5rem;
	margin-inline: calc(var(--gutter) * -1);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.lr-cards--row::-webkit-scrollbar { display: none; }
.lr-cards--row .lr-card { scroll-snap-align: start; }
@media (min-width: 1100px) {
	.lr-cards--row { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
	.lr-cards--row .lr-card h3 { font-size: 1.25rem; }
	.lr-cards--row .lr-card__text > p:last-child { font-size: 0.9375rem; }
}

/* ---------- play soon: the forest paints itself back, over and over ---------- */

@property --r { syntax: "<percentage>"; inherits: true; initial-value: 18%; }
.lr-soon { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; scroll-margin-top: 2rem; }
@media (min-width: 860px) { .lr-soon { grid-template-columns: 1.3fr 1fr; } }
.lr-soon__scene { aspect-ratio: 16 / 9; }
.lr-soon__scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lr-bloom--loop { animation: lr-bloom-loop 7s var(--ease-out) infinite; }
@keyframes lr-bloom-loop { 0% { --r: 0%; } 55% { --r: 105%; } 85% { --r: 105%; } 100% { --r: 0%; } }
.lr-soon h2 { margin: 0; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); }
.lr-soon p { max-width: 60ch; margin: 0.75rem 0 0; color: var(--text-soft); font-weight: 600; font-size: 1.125rem; }

/* ---------- lists on the stage: news and guides ---------- */

.lr-rows, .lr-list .wp-block-post-template { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lr-rows > li, .lr-list .wp-block-post { border-bottom: 1px solid var(--line); }
.lr-rows a {
	display: grid;
	grid-template-columns: 7rem 1fr auto;
	gap: 0.25rem 1.5rem;
	align-items: baseline;
	padding: 1.75rem 0.5rem;
	color: var(--text);
	text-decoration: none;
	border-radius: 16px;
	transition: background 400ms var(--ease-out), padding 500ms var(--ease-spring);
}
.lr-rows a:hover { background: rgb(255 255 255 / 0.06); padding-inline: 1.25rem; color: var(--text); }
.lr-rows time { color: var(--text-dim); font-size: 0.9375rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.lr-rows__title { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); font-weight: 900; }
.lr-rows__line { grid-column: 2; color: var(--text-soft); font-weight: 600; max-width: 56ch; }
.lr-rows .lr-icon { grid-column: 3; grid-row: 1 / span 2; align-self: center; filter: invert(1) brightness(2); opacity: 0.5; transition: transform 500ms var(--ease-spring), opacity 300ms; }
.lr-rows a:hover .lr-icon { transform: translateX(6px); opacity: 1; }
@media (max-width: 640px) {
	.lr-rows a { grid-template-columns: 1fr auto; }
	.lr-rows time, .lr-rows__title, .lr-rows__line { grid-column: 1; }
	.lr-rows .lr-icon { grid-column: 2; grid-row: 1 / span 3; }
}

.lr-list { max-width: 50rem !important; }
.lr-list .wp-block-post { position: relative; display: grid; gap: 0.3rem; padding: 1.75rem 0; }
.lr-list .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.lr-list .wp-block-post-date { color: var(--text-dim); font-size: 0.9375rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.lr-list .wp-block-post-title { margin: 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.lr-list .wp-block-post-title a { color: var(--text); text-decoration: none; background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 2px no-repeat; transition: background-size 500ms var(--ease-out); }
.lr-list .wp-block-post-title a:hover { background-size: 100% 2px; }
.lr-list .wp-block-post-excerpt p { margin: 0.25rem 0 0; color: var(--text-soft); max-width: 60ch; }
.lr-list .wp-block-query-pagination { margin-top: 1.5rem; font-weight: 800; }

.lr-guides { list-style: none; margin-inline: auto !important; max-width: 50rem !important; padding: 0; border-top: 1px solid var(--line); }
.lr-guides li { position: relative; display: flex; gap: 1.5rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.lr-guides li:hover .lr-round { transform: translateY(-3px) rotate(-6deg); }
.lr-guides h2 { margin: 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.lr-guides h2 a { color: var(--text); text-decoration: none; }
.lr-guides h2 a::after { content: ""; position: absolute; inset: 0; }
.lr-guides h2 a:hover { color: var(--pink-light); }
.lr-guides p { margin: 0.35rem 0 0; color: var(--text-soft); font-weight: 600; }

/* ---------- promise: the grown-ups corner, ruled like the news ---------- */

.lr-promise ul { display: grid; margin: 2.5rem 0 1.5rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .lr-promise ul { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.lr-promise li { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.25rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.lr-promise li .lr-round { grid-row: span 2; }
.lr-promise li h3 { margin: 0; font-size: 1.25rem; align-self: end; }
.lr-promise li p { margin: 0; color: var(--text-soft); font-weight: 600; align-self: start; max-width: 40ch; }
.lr-promise li:hover .lr-round { transform: translateY(-4px) rotate(-6deg); }

/* ---------- articles on the stage ---------- */

.lr-article { max-width: 44rem !important; padding-top: clamp(1.5rem, 5vw, 3.5rem); }
.lr-article > * { max-width: 40rem; margin-inline: auto; }
.lr-article h1, .lr-article .wp-block-post-title { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); line-height: 1.06; letter-spacing: -0.025em; margin-top: 0.5rem; text-wrap: balance; animation: lr-enter 900ms var(--ease-out) both; }
.lr-article .wp-block-post-content { animation: lr-enter 900ms var(--ease-out) 140ms both; }
.lr-article .wp-block-post-content > p:first-child { font-size: 1.25rem; color: var(--text); }
.lr-article p, .lr-article li { color: var(--text-soft); font-size: 1.125rem; text-wrap: pretty; }
.lr-article strong { color: var(--text); }
.lr-article h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 3rem; }
.lr-article h3 { font-size: 1.25rem; margin-top: 2rem; }
.lr-article .wp-block-post-date { color: var(--text-dim); font-weight: 800; margin-bottom: 0; }
.lr-article ul, .lr-article ol { padding-left: 1.25rem; }
.lr-article li + li { margin-top: 0.5rem; }
.lr-article li::marker { color: var(--pink); }
.lr-article .wp-block-image img { border-radius: var(--radius-m); box-shadow: var(--shadow-lift); }
.wp-block-image.is-style-phone { margin: 2.5rem auto; max-width: 16rem; border-radius: 30px; padding: 7px; background: #26272c; box-shadow: var(--shadow-lift); }
.lr-article .wp-block-image.is-style-phone img, .wp-block-image.is-style-phone img { display: block; border-radius: 23px; width: 100%; box-shadow: none; }
.lr-article .wp-block-buttons { margin-top: 2rem; }
.lr-back { margin: 0; }
.lr-back .lr-more { color: var(--text-dim); font-size: 0.9375rem; }
.lr-back .lr-more::before { display: none; }
.lr-back .lr-more:hover .lr-icon { transform: translateX(-5px); }
.lr-lost { text-align: center; }

.lr-keys { list-style: none; padding: 0 !important; display: grid; gap: 1rem; }
.lr-keys li { display: flex; gap: 1rem; align-items: center; margin: 0 !important; }
.lr-keys li::marker { content: none; }
.lr-keys img { width: 3.25rem; height: 3.25rem; padding: 0.6rem; border-radius: 30%; background: linear-gradient(180deg, #fff, #ececef); box-shadow: 0 6px 14px rgb(14 14 20 / 0.28); flex: none; transition: transform 400ms var(--ease-spring); }
.lr-keys li:hover img { transform: rotate(-8deg) scale(1.06); }

/* ---------- story page: picture-book spreads ---------- */

.lr-story { display: grid; gap: clamp(5rem, 12vw, 10rem); padding-top: clamp(2rem, 5vw, 4rem); }
.lr-story > * { max-width: var(--wide); width: 100%; margin-inline: auto !important; }
.lr-spread { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 820px) {
	.lr-spread { grid-template-columns: 1.45fr 1fr; }
	.lr-spread--flip { grid-template-columns: 1fr 1.45fr; }
	.lr-spread--flip > .wp-block-image { order: 2; }
}
.lr-spread > .wp-block-image { margin: 0; overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-lift); }
.lr-spread > .wp-block-image img { display: block; width: 100%; height: auto; border-radius: var(--radius-l); scale: 1.08; translate: 0 var(--py, 0); }
.lr-spread > .wp-block-image.lr-doll-pic img { scale: 1; translate: none; }
.lr-spread > .wp-block-image.lr-grey img { filter: grayscale(1) brightness(1.06) contrast(0.92); }
.lr-spread > .wp-block-image.lr-doll-pic { display: grid; place-items: center; overflow: visible; box-shadow: none; border-radius: 0; }
.lr-spread > .wp-block-image.lr-doll-pic img { width: auto; max-height: 32rem; border-radius: 0; filter: drop-shadow(0 26px 24px rgb(10 10 14 / 0.45)); animation: lr-sway 4.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.lr-spread__text > p:not(.is-style-storybook) { color: var(--text-soft); font-size: 1.125rem; font-weight: 600; max-width: 32rem; margin: 1.25rem 0 0; }
.lr-note { max-width: 44rem !important; text-align: center; }
.lr-note h2 { margin: 0; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); }
.lr-note p { color: var(--text-soft); font-size: 1.125rem; font-weight: 600; }
.lr-story__close { text-align: center; max-width: 40rem !important; }
.lr-story__close .wp-block-buttons { justify-content: center; gap: 1.25rem 2rem; margin-top: 2rem; }
.wp-block-buttons .wp-block-button.is-style-pink .wp-block-button__link,
.wp-block-buttons .wp-block-button.is-style-teal .wp-block-button__link { min-width: clamp(9.5rem, 30vw, 13rem); min-height: 4.25rem; font-size: 1.5rem; }

/* ---------- play page ---------- */

.lr-play-hero { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); justify-items: center; text-align: center; padding-top: clamp(1.5rem, 4vw, 3rem); }
.lr-play-hero__text h1 { margin: 0; font-size: clamp(2.75rem, 1.5rem + 5vw, 5rem); line-height: 1; letter-spacing: -0.03em; animation: lr-enter 900ms var(--ease-out) both; }
.lr-play-hero__text p { margin: 1rem auto 0; max-width: 34rem; color: var(--text-soft); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 600; animation: lr-enter 900ms var(--ease-out) 120ms both; }
.lr-play-scene { display: block; width: 100%; aspect-ratio: 16 / 8; cursor: pointer; animation: lr-enter 900ms var(--ease-out) 220ms both, lr-bloom-loop 7s var(--ease-out) infinite; transition: transform 500ms var(--ease-spring), box-shadow 500ms var(--ease-out); }
.lr-play-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lr-play-scene:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 34px 70px rgb(14 14 20 / 0.5); }
.lr-play-scene:active { transform: scale(0.99); transition-duration: 120ms; }
.lr-play-scene__button {
	position: absolute;
	left: 50%;
	top: 50%;
	translate: -50% -50%;
	display: grid;
	place-items: center;
	width: clamp(5.5rem, 12vw, 8.5rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--teal-top), var(--teal-bottom));
	box-shadow: 0 9px 0 var(--teal-lip), 0 24px 44px rgb(14 14 20 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.3);
	transition: transform 400ms var(--ease-spring), box-shadow 300ms var(--ease-spring);
	z-index: 2;
}
.lr-play-scene__button .lr-icon { width: 46%; height: auto; margin-left: 8%; }
.lr-play-scene:hover .lr-play-scene__button { transform: scale(1.08); }
.lr-play-scene:active .lr-play-scene__button { transform: translateY(7px); box-shadow: 0 2px 0 var(--teal-lip), 0 10px 20px rgb(14 14 20 / 0.4); }
.lr-pill--big { min-width: clamp(13rem, 40vw, 18rem); min-height: 4.75rem; font-size: 1.75rem; }
.lr-play-hero__go { margin: 0; }

.lr-play-steps ol { display: grid; gap: 2rem 3rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .lr-play-steps ol { grid-template-columns: repeat(3, 1fr); } }
.lr-play-steps h3 { margin: 0.9rem 0 0; font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.lr-play-steps li p:last-child { margin: 0.5rem 0 0; color: var(--text-soft); font-weight: 600; }

.lr-controls__cols { display: grid; gap: 3rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .lr-controls__cols { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.lr-controls__label { margin: 0 0 0.5rem; color: var(--text-dim); font-size: 0.875rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.lr-controls ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lr-controls li { display: flex; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.lr-controls h3 { margin: 0; font-size: 1.125rem; }
.lr-controls li p { margin: 0.2rem 0 0; color: var(--text-soft); font-weight: 600; }
.lr-controls__keys li p { margin: 0; }
@media (max-width: 599px) { .lr-controls__keys li { flex-direction: column; align-items: flex-start; gap: 0.75rem; } .lr-keys-row { min-width: 0; } }
.lr-keys-row { display: flex; gap: 0.35rem; flex: none; min-width: 9.5rem; }
kbd {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.6rem;
	border-radius: 10px;
	background: linear-gradient(180deg, #ffffff, #e8e8ec);
	box-shadow: 0 4px 0 #b9bac2, 0 8px 14px rgb(14 14 20 / 0.3);
	color: var(--ink);
	font: 900 0.875rem/1 var(--wp--preset--font-family--nunito, Nunito, sans-serif);
	letter-spacing: 0.04em;
	transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.lr-controls__keys li:hover kbd { transform: translateY(3px); box-shadow: 0 1px 0 #b9bac2, 0 4px 8px rgb(14 14 20 / 0.3); }

.lr-support { max-width: 48rem !important; text-align: center; }
.lr-support h2 { margin: 0; font-size: clamp(2rem, 1.3rem + 3vw, 3rem); }
.lr-support ul { display: grid; gap: 0.9rem; margin: 2rem auto; padding: 0; list-style: none; justify-items: center; }
.lr-support li { display: inline-flex; gap: 0.75rem; align-items: center; padding: 0.7rem 1.2rem 0.7rem 0.8rem; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 800; box-shadow: var(--shadow-soft); text-align: left; }

/* ---------- single character ---------- */

.lr-character { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-top: clamp(1rem, 3vw, 2rem); }
@media (min-width: 860px) { .lr-character { grid-template-columns: 1fr 1fr; } }
.lr-character__pic { margin: 0; display: grid; justify-items: center; gap: 1.25rem; }
.lr-character__pic .lr-doll { height: min(34rem, 55svh); }
.lr-character__pic .lr-doll img { filter: drop-shadow(0 26px 24px rgb(10 10 14 / 0.45)); }
.lr-character__pic .lr-doll { animation: lr-stand 900ms var(--ease-spring) both; }
.lr-character__pic > img { max-height: 36rem; width: auto !important; object-fit: contain; filter: drop-shadow(0 26px 24px rgb(10 10 14 / 0.45)); animation: lr-stand 900ms var(--ease-spring) both, lr-sway 4.6s ease-in-out 900ms infinite alternate; transform-origin: 50% 100%; }
.lr-character__text h1 { margin: 0.5rem 0 0; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); letter-spacing: -0.025em; }
.lr-character__line { font-size: 1.375rem; font-weight: 700; color: var(--text); }
.lr-character__text p { color: var(--text-soft); font-size: 1.125rem; }

/* ---------- footer ---------- */

.lr-site-footer { padding: 0 var(--gutter) calc(2rem + env(safe-area-inset-bottom)); }
.lr-footer { max-width: var(--wide); margin: 0 auto; display: grid; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 0.9375rem; font-weight: 600; }
@media (min-width: 760px) { .lr-footer { grid-template-columns: 1.4fr 1fr auto; align-items: start; } }
.lr-footer__brand p { margin: 0.6rem 0 0; max-width: 22rem; }
.lr-footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.lr-footer a { color: var(--text); display: inline-flex; min-height: 44px; align-items: center; }
.lr-footer__credit { margin: 0; }

/* ---------- reduced motion: keep it still, keep it all visible ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.js :is([data-reveal], .lr-spread, .lr-note, .lr-story__close, .lr-list .wp-block-post), .js [data-enter], .js .lr-crowd .lr-crowd__doll { opacity: 1 !important; transform: none !important; }
	.lr-launch__paint { --hr: 150% !important; animation: none !important; }
	.lr-bloom { --r: 120% !important; }
	[data-parallax-img] { translate: none; }
}

/* ---------- editor ---------- */

.editor-styles-wrapper { background: var(--stage-mid); color: var(--text); }
