/* Design tokens: change the look here, not in components. */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 400 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
	--ink: #16140f;
	--ink-soft: #6a655c;
	--paper: #f8f5ef;
	--surface: #fff;
	--accent: #ff4f2e;
	--sun: #ffc933;
	--sky: #dcecf5;
	--mint: #dff1e4;
	--peach: #fbe3d6;
	--lilac: #e7e2f6;
	--line: rgb(22 20 15 / .12);

	--font-head: "Bricolage", system-ui, sans-serif;
	--font-body: "Figtree", system-ui, sans-serif;
	--font-accent: "Instrument Serif", Georgia, serif;

	--step--1: .875rem;
	--step-0: clamp(1rem, .97rem + .15vw, 1.125rem);
	--step-1: clamp(1.25rem, 1.15rem + .45vw, 1.6rem);
	--step-2: clamp(2.25rem, 1.7rem + 2.6vw, 4rem);
	--step-3: clamp(3rem, 1.8rem + 6vw, 7.5rem);

	--gap: clamp(1rem, .7rem + 1.4vw, 2rem);
	--space: clamp(4rem, 2.5rem + 7vw, 9rem);
	--radius: 1.25rem;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 1px 1px rgb(22 20 15 / .04), 0 1.25rem 2.5rem -1rem rgb(22 20 15 / .14);
	--wrap: 82rem;
	--wrap-text: 44rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 var(--step-0)/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
em { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--surface); }

.skip-link { position: absolute; left: -999px; top: .5rem; padding: .5rem 1rem; background: var(--surface); border-radius: .75rem; }
.skip-link:focus { left: .5rem; z-index: 30; }

/* Page transitions between pages, no script needed. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out .22s var(--ease) both; }
::view-transition-new(root) { animation: page-in .38s var(--ease) both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-.5rem); } }
@keyframes page-in { from { opacity: 0; transform: translateY(.75rem); } }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Layout */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--text { max-width: var(--wrap-text); }
.section { padding-block: var(--space); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--tint { background: #efeae0; }

.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 4rem); }
.section-head--row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; max-width: none; }
.section-title { margin: 0; font-size: var(--step-2); }
.section-lead { margin: 1rem 0 0; max-width: 34rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.35; }
.kicker { display: block; margin-bottom: 1rem; color: var(--ink-soft); font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.card-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }

/* Header: logo sticker and a floating bar */
:root { --head: 4.75rem; }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--head); pointer-events: none; transition: transform .45s cubic-bezier(.6, 0, .2, 1); animation: head-in .8s cubic-bezier(.3, 1.4, .5, 1) backwards; }
.site-header[data-away] { transform: translateY(-120%); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); height: 100%; }
.site-logo, .site-bar { pointer-events: auto; }
.site-logo { padding: .3rem .7rem; border-radius: 1.1rem; background: var(--surface); box-shadow: 0 .5rem 1.4rem rgb(22 20 15 / .14); transition: rotate .4s cubic-bezier(.3, 1.8, .5, 1), scale .4s cubic-bezier(.3, 1.8, .5, 1); }
.site-logo:hover { rotate: 3deg; scale: 1.08; }
.site-logo img { display: block; width: auto; height: 2.75rem; }
.site-bar { position: relative; display: flex; gap: .4rem; align-items: center; padding: .35rem; border-radius: 99rem; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 .6rem 1.8rem rgb(22 20 15 / .14); transition: padding .3s; }
.site-header[data-stuck] .site-bar { padding: .2rem; }
.site-nav { position: relative; }
.site-nav ul { position: relative; z-index: 1; display: flex; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.site-nav li > a { display: block; padding: .55rem 1rem; font-weight: 600; text-decoration: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.site-nav__blob { position: absolute; inset-block: 0; left: 0; width: 0; border-radius: 99rem; background: var(--sun); opacity: 0; transition: transform .4s cubic-bezier(.3, 1.3, .5, 1), width .4s cubic-bezier(.3, 1.3, .5, 1), opacity .25s; }
.site-nav .current-menu-item > a { color: var(--accent); }
.roll { position: relative; display: inline-block; perspective: 20rem; }
.roll span { display: inline-block; transition: transform .4s cubic-bezier(.6, 0, .2, 1), opacity .3s; transform-origin: 50% 50% -.6em; backface-visibility: hidden; }
.roll::after { content: attr(data-t); position: absolute; inset: 0; opacity: 0; transition: transform .4s cubic-bezier(.6, 0, .2, 1), opacity .3s; transform: rotateX(-90deg); transform-origin: 50% 50% -.6em; backface-visibility: hidden; }
a:hover > .roll span { transform: rotateX(90deg); opacity: 0; }
a:hover > .roll::after { transform: rotateX(0); opacity: 1; }
.site-bar__play { padding: .55rem 1.3rem; border-radius: 99rem; background: var(--accent); color: var(--surface); font-weight: 700; text-decoration: none; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
.site-bar__play:hover { background: var(--ink); }
.burger { position: relative; display: block; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.burger i { position: absolute; left: 28%; width: 44%; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .4s cubic-bezier(.6, 0, .2, 1), width .3s; }
.burger i:first-child { top: 41%; }
.burger i:last-child { top: 57%; width: 28%; }
.burger:hover i:last-child { width: 44%; }
@keyframes head-in { from { transform: translateY(-120%); } }

/* Panels under Games and Apps */
.mega { position: absolute; top: 100%; right: 0; width: 32rem; padding-top: .7rem; perspective: 60rem; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.mega__panel { padding: 1rem; border-radius: 1.75rem; background: var(--surface); box-shadow: 0 1.5rem 4rem rgb(22 20 15 / .22); transform: rotateX(-14deg) translateY(-.6rem); transform-origin: 50% 0; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.site-nav li:hover > .mega, .site-nav li:focus-within > .mega { visibility: visible; opacity: 1; }
.site-nav li:hover > .mega .mega__panel, .site-nav li:focus-within > .mega .mega__panel { transform: none; }
.mega__grid { display: grid; gap: .6rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__tile { display: grid; justify-items: center; gap: .35rem; padding: .7rem .5rem; border-radius: 1.1rem; background: var(--tint, var(--paper)); font-size: var(--step--1); font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.mega__tile img { width: 3.75rem; height: 3.75rem; object-fit: contain; transition: transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.mega__grid--apps img { border-radius: 22%; }
.mega__tile:hover { transform: translateY(-3px); }
.mega__tile:hover img { transform: rotate(-8deg) scale(1.12); }
.mega__all { display: flex; justify-content: space-between; margin-top: .75rem; padding: .7rem 1rem; border-radius: 1rem; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.mega__all span { transition: transform .3s; }
.mega__all:hover span { transform: translateX(.35rem); }

/* Full-screen menu */
.navsheet { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; background: var(--bg, var(--ink)); color: var(--fg, var(--paper)); clip-path: circle(0 at var(--x, 100%) var(--y, 0)); transition: clip-path .65s cubic-bezier(.7, 0, .2, 1), background .4s, color .4s; }
.navsheet.is-open { clip-path: circle(150vmax at var(--x, 100%) var(--y, 0)); }
.navsheet::backdrop { background: transparent; }
.is-locked { overflow: hidden; }
.navsheet__big { min-width: 0; }
.navsheet__grip { display: none; }
.navsheet__close { position: fixed; top: 1rem; right: max(1rem, 3vw); z-index: 1; background: var(--fg, var(--paper)); }
.navsheet__close i { background: var(--bg, var(--ink)); left: 26%; width: 48%; top: calc(50% - 1px); }
.navsheet.is-open .navsheet__close i:first-child { transform: rotate(45deg); }
.navsheet.is-open .navsheet__close i:last-child { width: 48%; transform: rotate(-45deg); }
.navsheet__grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr); align-items: center; min-height: 100dvh; padding-block: 4rem; }
.navsheet__links { margin: 0; padding: 0; list-style: none; counter-reset: page; perspective: 60rem; }
.navsheet__links li { counter-increment: page; opacity: 0; transform: translateY(70%) rotateX(-60deg); transform-origin: 0 100%; transition: transform .7s cubic-bezier(.2, 1.2, .4, 1), opacity .4s; }
.navsheet.is-open .navsheet__links li { opacity: 1; transform: none; }
.navsheet.is-open .navsheet__links li:nth-child(1) { transition-delay: .2s; }
.navsheet.is-open .navsheet__links li:nth-child(2) { transition-delay: .26s; }
.navsheet.is-open .navsheet__links li:nth-child(3) { transition-delay: .32s; }
.navsheet.is-open .navsheet__links li:nth-child(4) { transition-delay: .38s; }
.navsheet.is-open .navsheet__links li:nth-child(5) { transition-delay: .44s; }
.navsheet__links a { display: inline-block; font: 700 clamp(2.75rem, 1rem + 6.5vw, 7rem)/1.08 var(--font-head); letter-spacing: -.04em; text-decoration: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.navsheet__links a::before { content: counter(page, decimal-leading-zero); margin-right: .6rem; font: italic 400 .3em var(--font-accent, serif); letter-spacing: 0; opacity: .6; vertical-align: .9em; }
.navsheet__links a:hover, .navsheet__links a:focus-visible { transform: translateX(1rem) skewX(-6deg); }
.navsheet__stage { position: relative; aspect-ratio: 1; }
.navsheet__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.4) rotate(-24deg); transition: transform .55s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; }
.navsheet__stage img.is-on { opacity: 1; transform: none; }
.navsheet__side { display: grid; gap: .6rem; }
.navsheet__label { margin: 0; font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.navsheet__game { display: flex; gap: .6rem; align-items: center; padding: .4rem .9rem .4rem .4rem; border-radius: 99rem; background: var(--tint); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.navsheet__game img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.navsheet__game:hover { transform: translateX(.4rem) scale(1.02); }
.navsheet__small { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: 1rem 0 0; padding: 0; list-style: none; font-weight: 600; }
.navsheet__small a { text-decoration: none; }
.navsheet__small a:hover { text-decoration: underline; }

/* Bottom bar on phones */
.dock { display: none; }

/* Footer: curved hills, one huge word, a map of the site */
.site-footer { --hill: clamp(4rem, 2rem + 8vw, 10rem); --p: 0; overflow: clip; }
.home .site-footer { position: relative; margin-top: calc(var(--hill) * -1); }
.home .chat { padding-bottom: calc(var(--space) + clamp(4rem, 2rem + 8vw, 10rem)); }
.site-footer__hills { position: relative; height: var(--hill); }
.site-footer__hills i { position: absolute; left: -10%; width: 120%; height: 300%; border-radius: 50%; will-change: transform; }
.site-footer__hills i:nth-child(1) { top: 0; background: var(--sun); transform: translateY(calc((1 - var(--p)) * 3rem)); }
.site-footer__hills i:nth-child(2) { top: 28%; background: var(--accent); transform: translateY(calc((1 - var(--p)) * 2rem)); }
.site-footer__hills i:nth-child(3) { top: 56%; background: var(--ink); transform: translateY(calc((1 - var(--p)) * 1rem)); }
.site-footer__body { position: relative; background: var(--ink); color: var(--paper); }
.site-footer__show { position: relative; padding-top: 6vw; }
.site-footer__word { margin: 0; color: var(--paper); font: 800 15.5vw/1 var(--font-head); letter-spacing: -.045em; text-align: center; white-space: nowrap; }
.site-footer__word span { display: inline-block; white-space: pre; color: var(--c, var(--paper)); text-shadow: .012em .012em 0 var(--s), .024em .024em 0 var(--s), .036em .036em 0 var(--s), .048em .048em 0 var(--s); cursor: default; }
.site-footer__word span:nth-child(4n + 1) { --c: var(--sun); --s: #b97c00; }
.site-footer__word span:nth-child(4n + 2) { --c: var(--paper); --s: #8f8a80; }
.site-footer__word span:nth-child(4n + 3) { --c: #ff7a5e; --s: #a92c12; }
.site-footer__word span:nth-child(4n) { --c: #8fdcc4; --s: #24755c; }
.js .site-footer__word span { transform: translateY(115%) rotate(8deg); opacity: 0; }
.js .site-footer__word.is-in span { transform: none; opacity: 1; transition: transform .8s cubic-bezier(.2, 1.3, .4, 1) calc(var(--i) * 45ms), opacity .3s calc(var(--i) * 45ms); }
.site-footer__word span.is-hop, .site-footer__toy.is-hop { animation: foot-hop .6s cubic-bezier(.3, 1.4, .5, 1); }
.site-footer__toy { position: absolute; z-index: 1; width: auto; height: 7vw; min-height: 2.5rem; object-fit: contain; filter: drop-shadow(0 .5rem .6rem rgb(0 0 0 / .45)); transform: translateY(calc((1 - var(--p)) * 4rem)); }
.site-footer__toy--rocket { top: 0; left: 6%; rotate: 18deg; }
.site-footer__toy--star { top: 1%; left: 34%; rotate: -10deg; }
.site-footer__toy--controller { top: 0; left: 62%; rotate: 12deg; }
.site-footer__toy--balloon { top: 0; right: 4%; rotate: 8deg; }
@keyframes foot-hop { 40% { translate: 0 -22%; scale: 1.08 .94; } 70% { translate: 0 3%; scale: .96 1.05; } }
.site-footer__map { display: grid; gap: .75rem; grid-template-columns: repeat(12, minmax(0, 1fr)); padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) 2rem; }
.site-footer__cell { padding: 1.5rem; border-radius: 1.75rem; background: rgb(248 245 239 / .06); transition: background .3s, transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.site-footer__cell:hover { background: rgb(248 245 239 / .11); transform: translateY(-.25rem); }
.site-footer__cell--play { grid-column: span 5; rotate: -.5deg; }
.site-footer__cell--apps { grid-column: span 3; }
.site-footer__cell--learn { grid-column: span 2; margin-top: 1.5rem; }
.site-footer__cell--studio { grid-column: span 2; background: var(--accent); }
.site-footer__cell--studio:hover { background: var(--accent); }
.site-footer summary { margin-bottom: .75rem; font: 700 var(--step-1) var(--font-head); color: var(--sun); list-style: none; }
.site-footer summary::-webkit-details-marker { display: none; }
.site-footer__cell--studio summary { color: var(--surface); }
.site-footer ul { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.site-footer ul.site-footer__two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; }
.site-footer a { font-weight: 500; text-decoration: none; transition: color .2s; }
.site-footer li a:hover { color: var(--sun); }
.site-footer__cell--studio li a:hover { color: var(--ink); }
.site-footer li a.site-footer__all { color: var(--sun); font-weight: 700; }
.site-footer__end { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding-block: 1rem 1.5rem; border-top: 1px solid rgb(248 245 239 / .14); font-size: var(--step--1); color: rgb(248 245 239 / .6); }
.site-footer__end p { flex: 1 1 auto; margin: 0; }
.site-footer__store { padding: .35rem .9rem; border: 1px solid rgb(248 245 239 / .3); border-radius: 99rem; color: var(--paper); }
.site-footer__store:hover { background: var(--paper); color: var(--ink); }
.site-footer__top { margin-left: auto; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--sun); }
.site-footer__top img { width: auto; height: 1.9rem; transition: transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.site-footer__top:hover img { transform: translateY(-.3rem) rotate(6deg); }

@media (max-width: 52rem) {
	.site-bar { display: none; }
	:root { --head: 3.75rem; }
	.site-logo img { height: 2.1rem; }
	.consent { bottom: 5.75rem; }

	.dock { position: fixed; inset: auto .6rem max(.6rem, env(safe-area-inset-bottom)); z-index: 22; display: flex; padding: .3rem; border-radius: 1.6rem; background: rgb(22 20 15 / .92); backdrop-filter: blur(12px); box-shadow: 0 .7rem 2rem rgb(22 20 15 / .35); color: var(--paper); }
	.dock__link { display: grid; flex: 1 1 0; justify-items: center; align-content: center; gap: .1rem; min-height: 3.2rem; padding: 0; border: 0; border-radius: 1.3rem; background: none; color: inherit; font: 600 .7rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: min-height .3s, background .25s, color .25s; }
	.dock__link svg { fill: none; stroke: currentcolor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
	.dock__link:active svg { transform: scale(.78) rotate(-8deg); }
	.dock__link[aria-current] { background: var(--sun); color: var(--ink); }
	.dock__link span { max-height: 1rem; overflow: hidden; transition: max-height .3s, opacity .2s; }
	.dock[data-small] .dock__link { min-height: 2.6rem; }
	.dock[data-small] .dock__link span { max-height: 0; opacity: 0; }

	.navsheet__grid { grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start; padding-block: 3rem 7rem; }
	.navsheet__stage { display: none; }
	.navsheet__grip { position: sticky; top: .6rem; z-index: 1; display: block; width: 3rem; height: .3rem; margin: .6rem auto 0; border-radius: 1rem; background: currentcolor; opacity: .4; }
	.navsheet__close { top: auto; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); width: 3.5rem; height: 3.5rem; }
	.navsheet__links a { font-size: clamp(2.5rem, 1rem + 9vw, 4rem); }

	.site-footer__body { padding-bottom: 5rem; }
	.site-footer__toy { height: 11vw; }
	.site-footer__show { padding-top: 15vw; }
	.site-footer__word { font-size: 14.5vw; letter-spacing: -.03em; }
	.site-footer__map { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-top: 1.75rem; }
	.site-footer__cell { grid-column: auto; margin-top: 0; padding: 0; rotate: none; border-radius: 1.25rem; }
	.site-footer__cell:hover { transform: none; }
	.site-footer summary { position: relative; margin: 0; padding: 1rem 3rem 1rem 1.25rem; cursor: pointer; }
	.site-footer summary::after { content: "+"; position: absolute; top: 50%; right: 1.25rem; font-weight: 400; transform: translateY(-50%); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
	.site-footer details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
	.site-footer details ul { padding: 0 1.25rem 1.25rem; }
	.site-footer li a { display: block; padding-block: .3rem; }
	.site-footer__cell::details-content { block-size: 0; overflow: clip; transition: block-size .35s cubic-bezier(.6, 0, .2, 1), content-visibility .35s allow-discrete; }
	.site-footer__cell[open]::details-content { block-size: auto; }
	.site-footer { interpolate-size: allow-keywords; }
}

/* Buttons */
.button {
	position: relative;
	display: inline-block;
	overflow: hidden;
	padding: .85rem 1.6rem;
	border: 1.5px solid var(--ink);
	border-radius: 99rem;
	background: var(--ink);
	color: var(--paper);
	font: 600 1rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: color .3s, background .3s, border-color .3s;
}
.button:hover { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.button--plain { background: transparent; color: var(--ink); }
.band--ink .button--plain { border-color: var(--paper); color: var(--paper); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Home hero: objects float at different depths around the headline. */
.hero { position: relative; display: grid; overflow: hidden; min-height: 100svh; background: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(38rem circle at var(--mx, 50%) var(--my, 42%), #fff, transparent 70%), radial-gradient(90% 70% at 50% 45%, #fffdf8 0%, var(--paper) 55%, #efe7d8 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .05; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: 5rem; text-align: center; pointer-events: none; }
.hero__inner a { pointer-events: auto; }
.hero__title { margin: 0 0 1.5rem; font-size: clamp(3.25rem, 1.6rem + 7.4vw, 9rem); line-height: .94; letter-spacing: -.045em; perspective: 40rem; }
.hero__end { display: block; white-space: nowrap; }
.hero__keep { white-space: nowrap; }
.hero__word { display: inline-block; overflow: clip; overflow-clip-margin: .14em; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__letter { display: inline-block; }
.hero__swap { display: inline-block; color: var(--accent); text-align: left; will-change: transform; }
.hero__lead { max-width: 30rem; margin: 0 0 2rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.35; }
.hero .button-row { justify-content: center; }
.hero__scene { position: absolute; inset: 0; z-index: 1; }
.float { position: absolute; left: var(--x); top: var(--y); width: min(var(--s), 18rem); rotate: var(--r); }
.float__push { display: block; }
.float img { width: 100%; height: auto; cursor: pointer; filter: drop-shadow(0 1.5rem 1.25rem rgb(22 20 15 / .16)); }
.hero__spark { position: absolute; z-index: 4; width: .7rem; height: .7rem; border-radius: 30%; pointer-events: none; }
.hero__reveal { position: absolute; inset: 0; z-index: 5; display: none; place-items: center; background: var(--accent); color: var(--surface); clip-path: circle(0% at 50% 50%); pointer-events: none; }
.hero.is-flying .hero__reveal { display: grid; }
.hero__reveal-text { margin: 0; font: 700 clamp(4rem, 2rem + 10vw, 12rem)/.95 var(--font-head); letter-spacing: -.045em; text-align: center; }
.hero__reveal-text em { display: block; color: var(--ink); }

@media (max-width: 52rem) {
	.hero { min-height: 46rem; }
	.hero__title { max-width: 11ch; }
	.hero__end { display: inline; white-space: normal; }
	.hero__inner { padding-block: 10rem 11rem; }
	.float:nth-child(n + 7) { display: none; }
	.float:nth-child(1) { top: 9%; left: 6%; width: 19vw; }
	.float:nth-child(5) { top: 7%; left: 50%; width: 12vw; }
	.float:nth-child(3) { top: 10%; left: 73%; width: 15vw; }
	.float:nth-child(4) { top: auto; bottom: 12%; left: 6%; width: 18vw; }
	.float:nth-child(6) { top: auto; bottom: 11%; left: 39%; width: 13vw; }
	.float:nth-child(2) { top: auto; bottom: 12%; left: 68%; width: 24vw; }
}

/* Game ring: a sideways list by default, a 3D ring when motion is on */
.strip { overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 6rem); background: var(--accent); color: var(--surface); }
.strip__head { text-align: center; }
.strip__title { margin: 0; font-size: var(--step-3); line-height: .95; letter-spacing: -.04em; }
.strip__title em { color: var(--ink); }
.strip__hint { margin: .75rem 0 clamp(1.5rem, 1rem + 2vw, 3rem); font-size: var(--step-1); }
.strip__stage { --card: clamp(11rem, 18vw, 19rem); overflow-x: auto; scrollbar-width: none; }
.strip__ring { display: flex; gap: 1rem; width: max-content; padding-inline: 1.25rem; }
.spin {
	position: relative;
	display: flex;
	flex: none;
	flex-direction: column;
	width: var(--card);
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 1.75rem;
	background: linear-gradient(165deg, #fff 0%, var(--tint) 62%);
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .75), 0 1.75rem 2.5rem -1.25rem rgb(22 20 15 / .45);
	text-decoration: none;
}
.spin__art { position: relative; flex: 1; min-height: 0; }
.spin__art img { position: absolute; inset: 9% 9% 2%; width: 82%; height: 89%; object-fit: contain; filter: drop-shadow(0 .9rem .7rem rgb(22 20 15 / .2)); transition: transform .6s var(--ease); }
.spin:hover .spin__art img { transform: scale(1.1) translateY(-3%) rotate(-4deg); }
.spin__foot { display: flex; gap: .5rem; align-items: center; justify-content: space-between; min-height: 4.25rem; padding: .25rem .9rem .9rem 1.15rem; }
.spin__name { font: 600 clamp(1rem, .9rem + .4vw, 1.3rem)/1.12 var(--font-head); letter-spacing: -.02em; }
.spin__go { display: grid; flex: none; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.05rem; transition: background .3s, transform .4s var(--ease); }
.spin:hover .spin__go { background: var(--accent); transform: rotate(45deg) scale(1.1); }

.strip__stage.is-ring { position: relative; overflow: visible; height: calc(var(--card) * 1.42); perspective: clamp(90rem, 240vw, 300rem); cursor: grab; touch-action: pan-y; user-select: none; }
.strip__stage.is-ring:active { cursor: grabbing; }
.is-ring .strip__ring { position: absolute; top: 50%; left: 50%; display: block; width: 0; padding: 0; transform-style: preserve-3d; }
.is-ring .spin { position: absolute; top: calc(var(--card) * -.625); left: calc(var(--card) / -2); backface-visibility: hidden; }

/* Stats: each number shown as a picture */
.bento-band { padding-bottom: var(--space); }
.bento { display: grid; gap: var(--gap); grid-template-columns: repeat(24, 1fr); }
.bento__cell { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; overflow: hidden; padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: #221f19; border: 1px solid rgb(248 245 239 / .08); border-radius: var(--radius); transition: border-color .4s; }
.bento__cell:hover { border-color: rgb(248 245 239 / .28); }
.bento__cell--dots { grid-column: span 13; grid-row: span 2; min-height: clamp(22rem, 38vw, 34rem); }
.bento__cell--apps { grid-column: span 11; }
.bento__cell--rating { grid-column: span 5; }
.bento__cell--games { grid-column: span 6; }
.bento__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.bento__note { position: absolute; left: clamp(1.25rem, 1rem + 1vw, 2rem); bottom: 1.1rem; margin: 0; color: rgb(248 245 239 / .7); pointer-events: none; }
.bento__note b { color: var(--paper); font-weight: 600; }
.bento__stat { margin: 0; color: rgb(248 245 239 / .7); line-height: 1.2; }
.bento__stat b { display: block; color: var(--paper); font: 700 var(--step-2)/1 var(--font-head); letter-spacing: -.03em; }
.bento__wall { display: grid; gap: clamp(.25rem, .5vw, .45rem); }
.bento__wall--apps { grid-template-columns: repeat(11, 1fr); }
.bento__wall--apps img { width: 100%; height: auto; border-radius: 23%; }
.bento__wall--games { grid-template-columns: repeat(6, 1fr); }
.bento__wall--games img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.stars { position: relative; }
.stars__row { display: flex; gap: 2%; }
.stars__row img { width: 18.4%; height: auto; }
.stars__row--off { opacity: .16; filter: grayscale(1); }
.stars__row--on { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); transition: clip-path 3.2s cubic-bezier(.3, .6, .2, 1) .5s; }
.bento.is-in .stars__row--on { clip-path: inset(0 8% 0 0); }

@media (max-width: 52rem) {
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento__cell--dots, .bento__cell--apps { grid-column: span 2; grid-row: auto; }
	.bento__cell--rating, .bento__cell--games { grid-column: span 1; }
	.bento__cell--dots { min-height: 19rem; }
}

/* Play: a dark game table */
.play {
	position: relative;
	overflow: hidden;
	padding-block: var(--space) clamp(2.5rem, 2rem + 3vw, 4.5rem);
	background: radial-gradient(44rem circle at var(--px, 68%) var(--py, 45%), #38322a 0%, transparent 70%), var(--ink);
	color: var(--paper);
}
.play::after { content: ""; position: absolute; inset: auto 0 0; height: 16rem; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.play__ghost { position: absolute; top: 50%; left: -2%; font: 800 clamp(11rem, 6rem + 26vw, 34rem)/1 var(--font-head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgb(248 245 239 / .09); transform: translateY(-50%); white-space: nowrap; pointer-events: none; }
.play__grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; }
.play .kicker { color: rgb(248 245 239 / .6); }
.play__title { margin: 0 0 1.5rem; font-size: var(--step-2); }
.play__title em { color: var(--sun); }
.play__status { min-height: 2.8em; margin: 0 0 1.5rem; font-size: var(--step-1); line-height: 1.3; color: rgb(248 245 239 / .85); }
.play__score { display: flex; gap: clamp(1.5rem, 3vw, 3rem); margin: 0 0 2rem; padding-block: 1.1rem; border-block: 1px solid rgb(248 245 239 / .16); }
.play__score dt { font-size: var(--step--1); color: rgb(248 245 239 / .6); }
.play__score dd { margin: 0; font: 700 var(--step-2)/1.1 var(--font-head); font-variant-numeric: tabular-nums; }
.play__all { font-weight: 600; text-decoration: none; }
.play__all span { display: inline-block; transition: transform .35s var(--ease); }
.play__all:hover span { transform: translateX(.4rem); }
.play__table { position: relative; perspective: 90rem; }
.play__board { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.5rem, 1.2vw, 1rem); transform-style: preserve-3d; }

.qm { display: block; aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; cursor: pointer; perspective: 60rem; touch-action: manipulation; }
.qm__inner { position: relative; display: block; width: 100%; height: 100%; pointer-events: none; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.qm:hover .qm__back { filter: brightness(1.12); }
.qm.is-open .qm__inner { transform: rotateY(180deg); }
.qm__face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 1.1rem; backface-visibility: hidden; box-shadow: 0 1.25rem 1.75rem -.75rem rgb(0 0 0 / .6); }
.qm__back { background: linear-gradient(150deg, color-mix(in srgb, var(--back) 78%, #fff), var(--back) 70%); transition: filter .2s; box-shadow: inset 0 0 0 clamp(.3rem, .6vw, .5rem) var(--back), inset 0 0 0 clamp(.4rem, .75vw, .65rem) rgb(255 255 255 / .45), 0 1.25rem 1.75rem -.75rem rgb(0 0 0 / .6); }
.qm__back svg { width: 42%; fill: #fff; filter: drop-shadow(0 .25rem .3rem rgb(0 0 0 / .2)); }
.qm__front { background: linear-gradient(165deg, #fff, #f3ede2); transform: rotateY(180deg); }
.qm__front img { width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 .5rem .4rem rgb(22 20 15 / .22)); }
.qm.is-done { cursor: default; }
.qm.is-done .qm__front { box-shadow: 0 0 0 3px var(--sun), 0 0 2rem rgb(255 201 51 / .45); }
.qm__bit { position: absolute; top: 50%; left: 50%; z-index: 4; width: .6rem; height: .85rem; border-radius: .15rem; pointer-events: none; }

.play__win[hidden] { display: none; }
.play__win { position: absolute; inset: 50% auto auto 50%; z-index: 3; width: min(100%, 30rem); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); background: var(--paper); border-radius: 1.5rem; box-shadow: 0 2rem 4rem rgb(0 0 0 / .55); color: var(--ink); text-align: center; translate: -50% -50%; }
.play__win-text { margin: 0 0 1.25rem; font: 700 var(--step-2)/1.02 var(--font-head); letter-spacing: -.03em; }
.play__win .button-row { justify-content: center; }
.play__win-main { background: var(--accent); border-color: var(--accent); color: var(--surface); }

@media (max-width: 52rem) {
	.play__grid { grid-template-columns: 1fr; }
	.play__status { min-height: 0; }
}

/* Game tiles */
.game-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(46%, 15rem), 1fr)); }
.game { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transform-style: preserve-3d; }
.game__art { display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint, var(--sky)); font-size: clamp(2.75rem, 6vw, 4rem); }
.game__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.game__art { position: relative; }
.game__art .game__object { position: absolute; inset: 0; object-fit: contain; padding: 15%; filter: drop-shadow(0 .6rem .6rem rgb(22 20 15 / .15)); }
.game:hover .game__art img { transform: scale(1.05); }
.game__body { padding: .9rem 1.1rem 1.1rem; }
.game__title { display: block; font: 600 1.15rem/1.2 var(--font-head); letter-spacing: -.01em; }
.game__meta { color: var(--ink-soft); font-size: var(--step--1); }

/* App rows */
.app-groups { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem) var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr)); }
.app-group__title { margin: 0; padding-bottom: .75rem; border-bottom: 1px solid var(--ink); font-size: var(--step-1); letter-spacing: -.015em; }
.app-group__list { margin: 0; padding: 0; list-style: none; }
.app-row { display: flex; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease); }
.app-row:hover { padding-left: .6rem; }
.app-row img { flex: none; width: 3rem; height: 3rem; border-radius: 23%; }
.app-row b { display: block; font: 600 1.05rem/1.2 var(--font-head); letter-spacing: -.01em; }
.app-row small { display: block; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.3; }

/* Cards */
.card { display: flex; flex-direction: column; text-decoration: none; }
.card__media { overflow: hidden; border-radius: var(--radius); }
.card__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__image { transform: scale(1.04); }

/* Picture loading. Only with JS, so pictures never stay hidden.
   The far object-position keeps a half-loaded picture out of the box, so slow networks show the placeholder, not a picture drawing top-down.
   Most non-photo pictures are see-through art and icons, so they get a crisp round disc that gently pulses, not a square box.
   A see-through grey, so the disc suits light and dark sections alike. Filters such as drop-shadow follow its round shape.
   :where keeps this general rule weak, so the photo rules below win. */
.js :where(img[src]):not(.is-in) { object-position: -300vw 0; color: transparent; background: radial-gradient(circle closest-side, rgb(128 128 128 / .18) 98%, transparent) center / 70% 70% no-repeat; animation: picture-pulse 1.1s ease-in-out infinite alternate; }
@keyframes picture-pulse { to { background-size: 82% 82%; } }
/* Photos get a shimmer box, then sharpen in. */
.js :is(.card__image, .tv__screen img, [data-read-cover], .post-cover img, .article-image img, .prose img):not(.is-in) { object-position: -300vw 0; color: transparent; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%) 0 0 / 200% 100% no-repeat, color-mix(in srgb, var(--ink) 8%, var(--paper)); animation: photo-shimmer 1.3s linear infinite; }
.js :is(.card__image, .tv__screen img, [data-read-cover], .article-image img, .prose img).is-in { animation: photo-sharpen .6s var(--ease); }
.js .post-cover img.is-in { animation: rise 1s var(--ease) .1s backwards, photo-sharpen .6s var(--ease); }
@keyframes photo-shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes photo-sharpen { from { filter: blur(14px); } }
/* Kids photos (.photo-play): a bright colour box with a crisp hills-and-sun picture and a glow sweep, then the photo pops in. Colours rotate so a grid is not one flat tint. */
.photo-play { --play: var(--peach); }
.photo-play:nth-child(5n+2) { --play: var(--sky); }
.photo-play:nth-child(5n+3) { --play: var(--mint); }
.photo-play:nth-child(5n+4) { --play: var(--lilac); }
.photo-play:nth-child(5n+5) { --play: color-mix(in srgb, var(--sun) 35%, var(--surface)); }
.room.photo-play .tv__screen { --play: var(--sky); }
.room.photo-play .shelf__card { --play: var(--mint); }
.js .photo-play :is(.card__image, .tv__screen img, [data-read-cover], .post-cover img, .prose img):not(.is-in) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 44'%3E%3Ccircle cx='47' cy='11' r='7' fill='%23fff' fill-opacity='.9'/%3E%3Cpath d='M2 42 20 19a3 3 0 0 1 4.6 0L35 32l6.4-7.6a3 3 0 0 1 4.6 0L62 42z' fill='%23fff' fill-opacity='.75' stroke='%23fff' stroke-opacity='.75' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center / 4.5rem auto no-repeat, linear-gradient(100deg, transparent 25%, rgb(255 255 255 / .65) 50%, transparent 75%) 0 0 / 200% 100% no-repeat, var(--play); animation: photo-shimmer-play 1.6s ease-in-out infinite; }
.js .photo-play :is(.card__image, .tv__screen img, [data-read-cover], .prose img).is-in { animation: photo-pop .7s var(--ease); }
.js .photo-play .post-cover img.is-in { animation: rise 1s var(--ease) .1s backwards, photo-pop .7s var(--ease); }
@keyframes photo-shimmer-play { from { background-position: center, 150% 0; } to { background-position: center, -50% 0; } }
@keyframes photo-pop { from { scale: .94; filter: blur(10px); } 60% { scale: 1.015; filter: blur(0); } }

/* A failed picture never shows the browser's broken-image icon. Art and icons simply stay empty;
   a photo shows a soft box with a picture sign so its space does not look like a hole. */
.js img.is-broken { object-position: -300vw 0; color: transparent; background: none; animation: none; }
.js :is(.card__image, .tv__screen img, [data-read-cover], .post-cover img, .article-image img, .prose img).is-broken { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a655c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='m4 18 5-5 4 4 3-3 4 4'/%3E%3C/svg%3E") center / min(2.75rem, 60%) no-repeat, var(--play, color-mix(in srgb, var(--ink) 6%, var(--paper))); animation: none; }

@media (prefers-reduced-motion: reduce) {
	.js :where(img[src]):not(.is-in), .js :is(.card__image, .tv__screen img, [data-read-cover], .post-cover img, .article-image img, .prose img) { animation: none; }
}
.card__title { padding-top: .85rem; font: 600 1.25rem/1.2 var(--font-head); letter-spacing: -.015em; }
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }

/* Statement */
.statement { margin: 0; max-width: 20ch; font: 700 var(--step-3)/1 var(--font-head); letter-spacing: -.035em; }
.statement em { color: var(--sun); }

/* Reviews: a deck of cards to throw */
.reviews { overflow: hidden; }
.reviews__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
.reviews__title { margin: 0 0 1.5rem; font-size: var(--step-3); line-height: .95; letter-spacing: -.04em; }
.reviews__title em { color: var(--accent); }
.reviews__score { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; margin: 0 0 2rem; font-weight: 600; }
.reviews__score b { font: 700 var(--step-2)/1 var(--font-head); letter-spacing: -.03em; }
.reviews__score span { color: #f5a300; letter-spacing: .08em; }
.reviews__score small { flex-basis: 100%; color: var(--ink-soft); font-size: var(--step--1); font-weight: 400; }
.reviews__nav { display: none; gap: .6rem; align-items: center; }
.reviews.is-live .reviews__nav { display: flex; flex-wrap: wrap; }
.reviews__arrow { width: 3.25rem; height: 3.25rem; border: 1.5px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.reviews__arrow:hover { background: var(--ink); color: var(--paper); transform: scale(1.08); }
.reviews__dots { display: flex; gap: .35rem; margin-left: .5rem; }
.reviews__dots i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
.reviews__dots i.is-on { width: 1.6rem; border-radius: 1rem; background: var(--accent); }
.reviews__hint { color: var(--ink-soft); font: italic 400 var(--step-0) var(--font-accent); }

.deck { display: grid; gap: var(--gap); }
.reviews.is-live .deck { position: relative; height: clamp(24rem, 20rem + 8vw, 29rem); touch-action: pan-y; user-select: none; cursor: grab; }
.reviews.is-live .deck:active { cursor: grabbing; }
.deck__card { position: relative; display: flex; flex-direction: column; margin: 0; overflow: hidden; padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); background: linear-gradient(160deg, #fff 0%, var(--tint) 75%); border-radius: 2rem; box-shadow: 0 1px 1px rgb(22 20 15 / .05), 0 2rem 3rem -1.5rem rgb(22 20 15 / .3); }
.reviews.is-live .deck__card { position: absolute; inset: 0 1.5rem 1.25rem 0; }
.deck__mark { position: absolute; top: .35rem; right: 1.5rem; font: italic 400 7rem/.8 var(--font-accent); color: var(--accent); opacity: .16; pointer-events: none; }
.deck__stars { margin-bottom: .9rem; color: #f5a300; font-size: 1.15rem; letter-spacing: .12em; }
.deck__quote { flex: 1; margin: 0 0 1.25rem; font: italic 400 clamp(1.4rem, 1.05rem + 1.25vw, 2.1rem)/1.18 var(--font-accent); letter-spacing: -.01em; }
.deck__who { display: flex; gap: .75rem; align-items: center; }
.deck__who img { width: 3.25rem; height: 3.25rem; border-radius: 23%; box-shadow: 0 .4rem .8rem rgb(22 20 15 / .18); }
.deck__who b { display: block; font: 600 1.1rem/1.2 var(--font-head); }
.deck__who small { display: block; color: var(--ink-soft); font-size: var(--step--1); }

@media (max-width: 52rem) {
	.reviews__grid { grid-template-columns: 1fr; }
	.reviews.is-live .deck { height: 27rem; }
	.reviews.is-live .deck__card { inset: 0 1rem 1rem 0; }
}

/* Playground: objects fall and can be thrown */
.playground { overflow: hidden; padding-top: var(--space); background: var(--paper); }
.playground__head { position: relative; z-index: 2; display: flex; flex-wrap: nowrap; gap: 1rem clamp(1rem, 3vw, 3rem); align-items: end; justify-content: space-between; }
.playground__title { flex: 1; margin: 0; font-size: clamp(2.6rem, 1.4rem + 5vw, 6.25rem); line-height: .95; letter-spacing: -.04em; }
.playground__title em { color: var(--accent); }
.playground__stage { position: relative; height: clamp(28rem, 66vh, 40rem); margin-top: 1rem; touch-action: pan-y; user-select: none; }
.playground__jelly { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Arcade button: asks not to be pressed */
.bigbtn { position: relative; flex: none; width: clamp(7.5rem, 5rem + 7vw, 11rem); aspect-ratio: 1; padding: .55rem; border: 0; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #3a342b, #16140f 70%); box-shadow: 0 .4rem 0 #000, 0 1.25rem 2rem rgb(22 20 15 / .35); cursor: pointer; animation: bigbtn-wiggle 5s ease-in-out infinite; touch-action: manipulation; }
.bigbtn::before { content: ""; position: absolute; inset: -.5rem; border: 3px solid var(--accent); border-radius: 50%; pointer-events: none; animation: bigbtn-ring 2.2s ease-out infinite; }
.bigbtn__cap { display: grid; place-items: center; width: 100%; height: 100%; padding: .6rem; border-radius: 50%; background: radial-gradient(circle at 36% 28%, #ff9a7c 0%, #ff4f2e 42%, #c92a08 100%); box-shadow: 0 .65rem 0 #8e1b03, inset 0 -.35rem .6rem rgb(120 20 0 / .45), inset 0 .25rem .4rem rgb(255 255 255 / .45); color: var(--surface); font: 800 clamp(1rem, .85rem + .6vw, 1.4rem)/1 var(--font-head); letter-spacing: -.02em; text-shadow: 0 2px 2px rgb(120 20 0 / .6); transform: translateY(-.65rem); transition: transform .12s ease, box-shadow .12s ease; }
.bigbtn:hover .bigbtn__cap { transform: translateY(-.85rem); box-shadow: 0 .85rem 0 #8e1b03, inset 0 -.35rem .6rem rgb(120 20 0 / .45), inset 0 .25rem .4rem rgb(255 255 255 / .45); }
.bigbtn:active .bigbtn__cap { transform: translateY(0); box-shadow: 0 0 0 #8e1b03, inset 0 -.2rem .4rem rgb(120 20 0 / .45), inset 0 .15rem .3rem rgb(255 255 255 / .3); }
.bigbtn:hover { animation-play-state: paused; }
@keyframes bigbtn-ring { from { opacity: .7; transform: scale(.95); } to { opacity: 0; transform: scale(1.3); } }
@keyframes bigbtn-wiggle { 0%, 88%, 100% { rotate: 0deg; } 91% { rotate: -6deg; } 94% { rotate: 6deg; } 97% { rotate: -3deg; } }
.playground__stage img { position: absolute; top: 0; left: 0; width: clamp(5.5rem, 10vw, 9.5rem); height: clamp(5.5rem, 10vw, 9.5rem); object-fit: contain; cursor: grab; touch-action: none; will-change: transform; filter: drop-shadow(0 .6rem .5rem rgb(22 20 15 / .18)); }
.playground__stage img.is-held { cursor: grabbing; }

/* Airplane mode: a switch that acts out offline */
.air { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 100svh; padding-block: 8.5rem 3rem; color: var(--ink); text-align: center; transition: color .9s; }
.air__sky, .air__night { position: absolute; inset: 0; transition: opacity 1s; }
.air__sky { background: radial-gradient(14rem 5rem at 18% 26%, #fff 40%, transparent 72%), radial-gradient(20rem 6rem at 80% 20%, #fff 36%, transparent 72%), radial-gradient(16rem 5rem at 66% 74%, rgb(255 255 255 / .8) 36%, transparent 72%), linear-gradient(#8fd6ff, #d8f1ff 60%, #fff4dd); }
.air__night { opacity: 0; background:
	radial-gradient(2px 2px at 14% 22%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 30% 62%, #fff 50%, transparent),
	radial-gradient(2px 2px at 46% 16%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 62% 44%, #fff 50%, transparent),
	radial-gradient(2px 2px at 78% 24%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 88% 68%, #fff 50%, transparent),
	radial-gradient(1.5px 1.5px at 8% 78%, #fff 50%, transparent), radial-gradient(2px 2px at 54% 84%, #fff 50%, transparent),
	radial-gradient(clamp(2rem, 4vw, 4.5rem) circle at 90% 13%, #fff5d0 60%, rgb(255 245 208 / .25) 62%, transparent 74%),
	linear-gradient(#0a1033, #1b1a55 70%, #33246f); }
.air.is-offline { color: var(--paper); }
.air.is-offline .air__sky { opacity: 0; }
.air.is-offline .air__night { opacity: 1; }
.air__status { position: absolute; top: 5rem; left: 50%; z-index: 2; display: flex; gap: .6rem; align-items: center; padding: .4rem .9rem; border-radius: 99rem; background: rgb(255 255 255 / .55); backdrop-filter: blur(8px); font-size: var(--step--1); font-weight: 600; translate: -50% 0; transition: background .9s; }
.air.is-offline .air__status { background: rgb(255 154 31 / .18); box-shadow: 0 0 0 1px rgb(255 154 31 / .55), 0 0 1.5rem rgb(255 154 31 / .3); }
.air__mini { display: none; width: 1.1rem; fill: #ff9a1f; transform: rotate(90deg); }
.air.is-offline .air__mini { display: block; }
.air.is-offline .air__bars { display: none; }
.air__bars { display: flex; gap: 3px; align-items: flex-end; height: 1rem; }
.air__bars i { display: block; width: 4px; border-radius: 2px; background: currentcolor; }
.air__bars i:nth-child(1) { height: 30%; }
.air__bars i:nth-child(2) { height: 55%; }
.air__bars i:nth-child(3) { height: 78%; }
.air__bars i:nth-child(4) { height: 100%; }
.air__plane { position: absolute; top: 45%; left: 0; z-index: 1; width: clamp(8rem, 16vw, 13rem); height: auto; opacity: 0; pointer-events: none; }
.air__inner { position: relative; z-index: 2; display: grid; justify-items: center; }
.air__title { max-width: 16ch; min-height: 2em; margin: 0 0 1rem; font-size: var(--step-3); line-height: .98; letter-spacing: -.04em; }
.air__line { min-height: 2.7em; max-width: 30rem; margin: 0 0 1.75rem; font-size: var(--step-1); line-height: 1.3; opacity: .85; }
.air__switch { --w: clamp(11rem, 8rem + 12vw, 17rem); position: relative; width: var(--w); height: calc(var(--w) * .52); padding: 0; border: 0; border-radius: 99rem; background: rgb(22 20 15 / .22); box-shadow: inset 0 .35rem .8rem rgb(22 20 15 / .22); cursor: pointer; transition: background .4s, transform .2s var(--ease); touch-action: manipulation; }
.air__switch:hover { transform: scale(1.04); }
.air__knob { position: absolute; top: 6%; left: 3.5%; display: grid; place-items: center; width: calc(var(--w) * .45); height: calc(var(--w) * .45); border-radius: 50%; background: linear-gradient(160deg, #fff, #e9e4da); box-shadow: 0 .6rem 1.1rem rgb(22 20 15 / .35); color: var(--ink); transition: left .5s cubic-bezier(.3, 1.6, .5, 1); }
.air__knob svg { width: 52%; fill: currentcolor; transition: transform .5s var(--ease); }
.air.is-offline .air__switch { background: #ff9a1f; box-shadow: inset 0 .35rem .8rem rgb(120 60 0 / .4), 0 0 3rem rgb(255 154 31 / .55); }
.air.is-offline .air__knob { left: 51.5%; color: #e87a00; }
.air.is-offline .air__knob svg { transform: rotate(90deg); }
.air.is-waiting .air__switch { animation: air-nudge 3.5s ease-in-out infinite; }
@keyframes air-nudge { 0%, 84%, 100% { rotate: 0deg; } 88% { rotate: -3deg; } 92% { rotate: 3deg; } 96% { rotate: -1.5deg; } }
.air__apps { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.5rem, 1.2vw, 1rem); min-height: clamp(3.5rem, 7vw, 5.25rem); margin-top: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.air__apps img { width: clamp(3.25rem, 6.5vw, 5.25rem); height: auto; border-radius: 23%; box-shadow: 0 0 2rem rgb(120 160 255 / .55); }
.air__promises { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.air__promises li { display: flex; gap: .7rem; align-items: center; padding: .55rem 1.1rem .55rem .55rem; background: linear-gradient(150deg, rgb(255 255 255 / .16), rgb(255 255 255 / .05)); border: 1px solid rgb(255 255 255 / .2); border-radius: 99rem; text-align: left; backdrop-filter: blur(10px); box-shadow: 0 1rem 2rem -1rem rgb(0 0 0 / .6); }
.air__badge { display: grid; flex: none; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: linear-gradient(150deg, #ffd95e, #ff9a1f); box-shadow: 0 0 1.25rem rgb(255 170 50 / .55); }
.air__badge svg { width: 58%; fill: #3a1f00; }
.air__promises b { display: block; font: 700 1.05rem/1.1 var(--font-head); letter-spacing: -.015em; }
.air__promises small { display: block; font-size: .8rem; line-height: 1.2; opacity: .75; }

/* Apps orbit: a phone with every app circling it */
.orbit {
	--glow: #ff4f2e;
	position: relative;
	overflow: hidden;
	min-height: 100svh;
	color: var(--paper);
	background:
		radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 78% 12%, #fff 50%, transparent),
		radial-gradient(1px 1px at 34% 68%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 62% 84%, #fff 50%, transparent),
		radial-gradient(1px 1px at 88% 58%, #fff 50%, transparent), radial-gradient(1px 1px at 22% 88%, #fff 50%, transparent),
		radial-gradient(1px 1px at 48% 30%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 94% 34%, #fff 50%, transparent),
		radial-gradient(60rem circle at 68% 50%, color-mix(in srgb, var(--glow) 34%, transparent), transparent 70%),
		linear-gradient(#d9330f, #1a1040 12rem, #120b2e);
	transition: background .9s;
}
.orbit__grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); align-items: center; min-height: 100svh; padding-block: 5.5rem 2rem; }
.orbit__label { margin: 0 0 1.5rem; font: 600 var(--step--1) var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: rgb(248 245 239 / .6); }
.orbit__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.orbit__tab { position: relative; padding: 0 0 .65rem; border: 0; background: none; color: rgb(248 245 239 / .55); font: 600 var(--step--1) var(--font-body); text-align: left; cursor: pointer; transition: color .3s; }
.orbit__tab::before, .orbit__tab::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; border-radius: 3px; background: rgb(248 245 239 / .18); }
.orbit__tab::after { background: var(--sun); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.orbit__tab:hover, .orbit__tab.is-on { color: var(--paper); }
.orbit__title { min-height: 2em; margin: 0 0 .75rem; font: 700 clamp(2.5rem, 1.5rem + 3.2vw, 4.75rem)/1 var(--font-head); letter-spacing: -.04em; text-wrap: balance; }
.orbit__line { margin: 0 0 clamp(1.25rem, 1rem + 1.5vw, 2rem); max-width: 26rem; color: rgb(248 245 239 / .72); font-size: var(--step-1); line-height: 1.3; }
.orbit__app { position: relative; max-width: 28rem; padding: 1.15rem; overflow: hidden; background: linear-gradient(150deg, rgb(255 255 255 / .14), rgb(255 255 255 / .04)); border: 1px solid rgb(255 255 255 / .16); border-radius: 1.5rem; backdrop-filter: blur(14px); box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / .5); }
.orbit__app::before { content: ""; position: absolute; top: -40%; left: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--glow); filter: blur(3.5rem); opacity: .4; pointer-events: none; transition: background .9s; }
.orbit__app-head { position: relative; display: flex; gap: .9rem; align-items: center; margin-bottom: .75rem; }
.orbit__app-icon { flex: none; width: 4rem; height: 4rem; border-radius: 23%; box-shadow: 0 .6rem 1.1rem rgb(0 0 0 / .4); }
.orbit__app-title { margin: 0; font: 600 clamp(1.1rem, 1rem + .4vw, 1.35rem)/1.15 var(--font-head); letter-spacing: -.02em; }
.orbit__facts { display: flex; flex-wrap: wrap; gap: .75rem; margin: .25rem 0 0; padding: 0; list-style: none; font-size: var(--step--1); font-weight: 600; color: var(--sun); }
.orbit__facts:empty { display: none; }
.orbit__app-short { position: relative; min-height: 2.8em; margin: 0 0 1rem; color: rgb(248 245 239 / .78); font-size: .95rem; line-height: 1.4; }
.orbit__actions { position: relative; display: flex; gap: .5rem; }
.orbit__get { flex: 1; padding: .8rem 1.25rem; border-radius: 99rem; background: var(--sun); color: var(--ink); font-weight: 700; text-align: center; text-decoration: none; transition: transform .3s var(--ease), background .3s; }
.orbit__get:hover { background: #ffd95e; transform: scale(1.02); }
.orbit__more { display: grid; flex: none; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgb(255 255 255 / .14); color: var(--paper); font-size: 1.15rem; text-decoration: none; transition: background .3s, transform .4s var(--ease); }
.orbit__more:hover { background: var(--paper); color: var(--ink); transform: rotate(45deg); }

.orbit__stage { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; }
.orbit__icon { flex: none; width: 3.5rem; }
.orbit__icon img { width: 100%; height: auto; border-radius: 23%; box-shadow: 0 .75rem 1.25rem rgb(0 0 0 / .45); }
.orbit__icon span { display: none; }
.orbit__phone, .orbit__ring { display: none; }

.orbit.is-live .orbit__stage { display: block; height: min(82svh, 44rem); perspective: 90rem; cursor: grab; touch-action: pan-y; user-select: none; }
.orbit.is-live .orbit__stage:active { cursor: grabbing; }
.orbit.is-live .orbit__ring { position: absolute; top: 50%; left: 50%; display: block; border: 1px solid rgb(248 245 239 / .14); border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.orbit__ring--a { width: 66%; height: 52%; }
.orbit__ring--b { width: 91%; height: 82%; }
.orbit.is-live .orbit__phone {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	width: min(17rem, 30vh);
	height: min(35rem, 62vh);
	margin: calc(min(35rem, 62vh) / -2) 0 0 calc(min(17rem, 30vh) / -2);
	overflow: hidden;
	border: .55rem solid #0b0a12;
	border-radius: 2.4rem;
	background: #0b0a12;
	box-shadow: 0 0 0 1px rgb(255 255 255 / .22), 0 2.5rem 5rem rgb(0 0 0 / .6), 0 0 7rem color-mix(in srgb, var(--glow) 55%, transparent);
	transition: width .55s var(--ease), height .55s var(--ease), margin .55s var(--ease);
}
.orbit.is-live .orbit__phone.is-wide { width: min(35rem, 62vh); height: min(17rem, 30vh); margin: calc(min(17rem, 30vh) / -2) 0 0 calc(min(35rem, 62vh) / -2); }
.orbit__phone img { width: 100%; height: 100%; object-fit: cover; }
.orbit.is-live .orbit__icon { position: absolute; top: 0; left: 0; width: clamp(3rem, 4.6vw, 4.75rem); transition: opacity .5s, filter .5s; will-change: transform; }
.orbit__icon.is-dim { opacity: .32; filter: saturate(.3); }
.orbit__icon.is-active img { box-shadow: 0 0 0 3px var(--sun), 0 0 1.75rem rgb(255 201 51 / .7); }
.orbit.is-live .orbit__icon span { position: absolute; bottom: 110%; left: 50%; z-index: 9; display: block; padding: .25rem .6rem; border-radius: .5rem; background: var(--paper); color: var(--ink); font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; translate: -50% .3rem; pointer-events: none; transition: opacity .2s, translate .2s; }
.orbit.is-live .orbit__icon:hover span { opacity: 1; translate: -50% 0; }

@media (max-width: 52rem) {
	.orbit__grid { grid-template-columns: 1fr; padding-top: 5rem; }
	.orbit.is-live .orbit__stage { order: -1; height: 26rem; }
	.orbit__title { min-height: 0; }
	.orbit__app { max-width: none; }
	.orbit.is-live .orbit__phone { width: 8.75rem; height: 18rem; margin: -9rem 0 0 -4.375rem; border-width: .35rem; border-radius: 1.5rem; }
	.orbit.is-live .orbit__phone.is-wide { width: 18rem; height: 8.75rem; margin: -4.375rem 0 0 -9rem; }
	.orbit.is-live .orbit__icon { width: 2.6rem; }
}

/* Topics: each one has its own colours and a morphing shape */
@property --c1 { syntax: "<color>"; inherits: true; initial-value: #ff5fa2; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #ffb13d; }
.topics { --bg-now: var(--paper); --ink-now: var(--ink); position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); background: var(--bg-now); color: var(--ink-now); transition: color .5s, --c1 .8s, --c2 .8s; }
.topics__wash, .topics__layer { position: absolute; inset: 0; pointer-events: none; }
.topics__grid { position: relative; display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.topics__kicker { margin: 0 0 1rem; font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.topic { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding-block: clamp(.6rem, .4rem + .6vw, 1rem); border-top: 1px solid color-mix(in srgb, currentcolor 22%, transparent); text-decoration: none; }
.topic:last-child { border-bottom: 1px solid color-mix(in srgb, currentcolor 22%, transparent); }
.topic__no { font-size: var(--step--1); font-weight: 600; opacity: .6; }
.topic__title { display: block; font: 700 clamp(2rem, 1.3rem + 2.8vw, 4.25rem)/1 var(--font-head); letter-spacing: -.04em; transition: transform .45s var(--ease); }
.topic__line { display: block; overflow: hidden; max-height: 1.6em; line-height: 1.5; opacity: .75; }
.topic__go { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1.5px solid currentcolor; border-radius: 50%; font-size: 1.1rem; transition: transform .45s var(--ease), background .3s; }
.topics.is-live .topic__line { max-height: 0; opacity: 0; transition: max-height .45s var(--ease), opacity .4s; }
.topics.is-live .topic { opacity: .55; transition: opacity .35s; }
.topics.is-live .topic.is-on { opacity: 1; }
.topics.is-live .topic.is-on .topic__title { transform: translateX(.6rem); }
.topics.is-live .topic.is-on .topic__line { max-height: 3.2em; padding-left: .6rem; opacity: .8; }
.topics.is-live .topic.is-on .topic__go { transform: rotate(45deg) scale(1.1); }

.topics__stage { display: none; }
.topics.is-live .topics__stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.topics__blob { position: absolute; inset: 4%; background: conic-gradient(from 210deg, var(--c1), var(--c2), var(--c1)); box-shadow: inset 0 0 4rem rgb(255 255 255 / .45), 0 2.5rem 4rem -1.5rem color-mix(in srgb, var(--c1) 60%, transparent); animation: topics-morph 11s ease-in-out infinite, topics-turn 26s linear infinite; }
.topics__blob::after { content: ""; position: absolute; inset: 12% 18% 45% 22%; border-radius: 50%; background: rgb(255 255 255 / .35); filter: blur(1.75rem); }
@keyframes topics-morph {
	0%, 100% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; }
	33% { border-radius: 42% 58% 38% 62% / 60% 40% 62% 38%; }
	66% { border-radius: 62% 38% 48% 52% / 40% 62% 42% 60%; }
}
@keyframes topics-turn { to { rotate: 360deg; } }
.topics__float, .topics__hold { position: relative; display: block; width: 72%; }
.topics__hold { width: 100%; }
.topics__art { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 1.75rem 1.5rem rgb(22 20 15 / .35)); }

@media (max-width: 52rem) {
	.topics__grid { grid-template-columns: 1fr; }
	.topics.is-live .topics__stage { position: sticky; top: .5rem; z-index: 2; order: -1; width: min(70vw, 16rem); margin-inline: auto; }
	.topic__go { width: 2.25rem; height: 2.25rem; }
}

/* Room: a TV and a bookshelf side by side */
.room { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; background: radial-gradient(70rem circle at 30% 20%, #fff0d6, transparent 70%), #f6dfb9; }
.room__grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.room__head { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.room__title { margin: 0; font-size: var(--step-2); letter-spacing: -.035em; }
.room__all { font-weight: 600; text-decoration: none; }
.room__all span { display: inline-block; transition: transform .35s var(--ease); }
.room__all:hover span { transform: translateX(.35rem); }
.room__floor { height: clamp(3rem, 2rem + 3vw, 5rem); margin-top: -1px; background: repeating-linear-gradient(90deg, #b9743a 0 7rem, #ad6a32 7rem 7.15rem, #c07c40 7.15rem 14rem, #a96630 14rem 14.15rem); box-shadow: inset 0 .6rem .9rem rgb(90 40 0 / .3); }

.tv { position: relative; padding-top: 3.5rem; }
.tv__antenna { position: absolute; bottom: calc(100% - 3.6rem); left: 50%; width: .3rem; height: 3.75rem; border-radius: .3rem; background: linear-gradient(#ddd, #8a8f99); transform-origin: 50% 100%; }
.tv__antenna::after { content: ""; position: absolute; top: -.35rem; left: -.2rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); }
.tv__antenna--a { rotate: -24deg; }
.tv__antenna--b { rotate: 26deg; }
.tv__body { display: grid; gap: clamp(.75rem, 1.2vw, 1.25rem); grid-template-columns: minmax(0, 1fr) clamp(4.5rem, 7.5vw, 7rem); padding: clamp(.75rem, 1.2vw, 1.25rem); background: linear-gradient(160deg, #e0683c, #b63f1c); border-radius: 1.75rem; box-shadow: inset 0 .2rem 0 rgb(255 255 255 / .3), inset 0 -.4rem 0 rgb(90 20 0 / .35), 0 1.75rem 2.5rem -1rem rgb(70 30 0 / .55); }
.tv__screen { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #111; border-radius: 1.25rem; box-shadow: inset 0 0 0 .3rem #2a1a12; color: var(--surface); text-decoration: none; }
.tv__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .7s var(--ease), opacity .12s; }
.tv__screen:hover img { transform: scale(1.04); }
.tv__screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(transparent 55%, rgb(0 0 0 / .72)), radial-gradient(120% 90% at 30% 10%, rgb(255 255 255 / .16), transparent 45%); pointer-events: none; }
.tv__noise { position: absolute; inset: 0; z-index: 2; opacity: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); background-color: #777; pointer-events: none; }
.tv__screen.is-static .tv__noise { opacity: 1; animation: tv-noise .17s steps(4) infinite; }
.tv__screen.is-static img { opacity: 0; }
@keyframes tv-noise { to { background-position: 80px 120px; } }
.tv__play { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 4rem; height: 4rem; padding-left: .25rem; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 1.2rem; translate: -50% -50%; transition: transform .35s var(--ease), background .3s; }
.tv__screen:hover .tv__play { background: var(--sun); transform: scale(1.14); }
.tv__caption { position: absolute; inset: auto 0 0; z-index: 1; display: block; padding: .9rem 1.1rem; font: 600 clamp(1rem, .9rem + .5vw, 1.35rem)/1.2 var(--font-head); }
.tv__channel { display: block; margin-bottom: .2rem; color: var(--sun); font: 700 .8rem/1 ui-monospace, monospace; letter-spacing: .08em; }
.tv__panel { display: flex; flex-direction: column; gap: .5rem; align-items: center; justify-content: flex-start; padding: .9rem .4rem; background: #3a2318; border-radius: 1.1rem; }
.tv__dial { position: relative; width: clamp(3.25rem, 5.5vw, 5rem); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: conic-gradient(#f5ede0, #bfb2a0, #f5ede0, #bfb2a0, #f5ede0); box-shadow: 0 .3rem 0 #150b06, 0 .5rem .8rem rgb(0 0 0 / .5), inset 0 0 0 .2rem rgb(255 255 255 / .5); cursor: grab; touch-action: none; }
.tv__dial:active { cursor: grabbing; }
.tv__dial.is-hinting { animation: tv-hint 4s ease-in-out infinite; }
@keyframes tv-hint { 0%, 80%, 100% { rotate: 0deg; } 86% { rotate: 22deg; } 93% { rotate: -14deg; } }
.tv__mark { position: absolute; top: 8%; left: 50%; width: .3rem; height: 30%; border-radius: .2rem; background: var(--accent); translate: -50% 0; }
.tv__label { color: var(--sun); font: italic 400 var(--step-0)/1 var(--font-accent); text-align: center; }
.tv__grille { flex: 1; width: 70%; min-height: 2rem; margin-top: .5rem; border-radius: .4rem; background: repeating-linear-gradient(#20120c 0 .22rem, #5a3a2b .22rem .44rem); }

.shelf__card { display: grid; gap: .9rem; grid-template-columns: clamp(6.5rem, 12vw, 11rem) minmax(0, 1fr); align-items: center; padding: .7rem; margin-bottom: 1.1rem; background: var(--surface); border-radius: 1.1rem; box-shadow: 0 1.25rem 2rem -1rem rgb(70 30 0 / .5); color: var(--ink); text-decoration: none; }
.shelf__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .7rem; }
.shelf__card-text { font: 600 clamp(1rem, .9rem + .45vw, 1.3rem)/1.18 var(--font-head); letter-spacing: -.015em; }
.shelf__open { display: block; margin-top: .4rem; color: var(--accent); font: 600 var(--step--1) var(--font-body); letter-spacing: 0; }
.shelf__row { display: flex; gap: .2rem; align-items: flex-end; height: clamp(14rem, 22vw, 19rem); padding-inline: .6rem; }
.book { position: relative; display: flex; flex: var(--wide) 1 0; align-items: center; justify-content: center; min-width: 0; height: var(--tall); overflow: hidden; padding: .5rem .15rem; background: linear-gradient(90deg, rgb(0 0 0 / .22), transparent 22%, rgb(255 255 255 / .2) 46%, transparent 62%, rgb(0 0 0 / .26)), var(--book); border-radius: .3rem .3rem .1rem .1rem; box-shadow: inset 0 .5rem 0 rgb(255 255 255 / .22), inset 0 -.5rem 0 rgb(0 0 0 / .14); color: var(--surface); text-decoration: none; transition: transform .4s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s; }
.book span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; max-height: 100%; font: 600 clamp(.72rem, .62rem + .3vw, .95rem)/1.25 var(--font-head); writing-mode: vertical-rl; rotate: 180deg; }
.book.is-out { z-index: 1; transform: translateY(-1.5rem) rotate(-2deg) scale(1.05); box-shadow: inset 0 .5rem 0 rgb(255 255 255 / .22), 0 1rem 1.25rem rgb(70 30 0 / .4); }
.shelf__plank { height: 1.1rem; background: linear-gradient(#a8622a, #7f4518); border-radius: .3rem; box-shadow: 0 1rem 1.25rem -.4rem rgb(70 30 0 / .55); }

@media (max-width: 52rem) {
	.room__grid { grid-template-columns: minmax(0, 1fr); }
	.shelf__row { overflow-x: auto; scrollbar-width: none; padding-top: 1.5rem; }
	.book { flex: 0 0 2.6rem; }
}

/* About: one big sentence with stickers inside it */
.about { padding-block: var(--space); background: var(--paper); }
.about__q { margin: 0 0 clamp(1.5rem, 1rem + 2vw, 3rem); font: 600 var(--step--1) var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.about__big { margin: 0 0 clamp(2rem, 1.5rem + 3vw, 4.5rem); font: 700 clamp(1.75rem, .6rem + 5.2vw, 5.75rem)/1.14 var(--font-head); letter-spacing: -.04em; }
.stick { display: inline-block; padding: 0 .28em 0 .12em; border-radius: .45em; background: var(--stick); white-space: nowrap; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.stick img { display: inline-block; width: .95em; height: .95em; margin: -.1em .12em -.1em 0; object-fit: contain; vertical-align: -.08em; filter: drop-shadow(0 .06em .06em rgb(22 20 15 / .25)); transition: rotate .4s cubic-bezier(.3, 1.8, .5, 1); }
.stick:hover { transform: rotate(-2deg) scale(1.03); }
.stick:hover img { rotate: -16deg; }
.stick--a { --stick: var(--peach); }
.stick--b { --stick: var(--sky); }
.stick--c { --stick: var(--mint); }
.stick--d { --stick: var(--lilac); }
.stick--e { --stick: #fdf0cc; }
.about__foot { display: flex; flex-wrap: wrap; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: center; justify-content: space-between; }
.about__foot p { flex: 1 1 24rem; max-width: 42rem; margin: 0; color: var(--ink-soft); }

/* Questions: a chat conversation */
.chat { padding-block: var(--space); background: radial-gradient(50rem circle at 15% 30%, #7a5cff, transparent 70%), radial-gradient(44rem circle at 90% 80%, #e8316b, transparent 70%), #2a1a6b; color: var(--surface); }
.chat__wrap { display: grid; gap: clamp(2rem, 1.5rem + 4vw, 6rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; }
.chat__intro { position: sticky; top: 6rem; }
.chat__title { margin: 0 0 1rem; font-size: var(--step-3); line-height: .95; letter-spacing: -.04em; }
.chat__title em { color: var(--sun); }
.chat__lead { margin: 0 0 1.75rem; max-width: 22rem; font-size: var(--step-1); line-height: 1.3; opacity: .85; }
.chat__who { display: inline-flex; gap: .75rem; align-items: center; padding: .5rem 1.1rem .5rem .6rem; border-radius: 99rem; background: rgb(255 255 255 / .12); backdrop-filter: blur(10px); }
.chat__who img { width: 3.4rem; height: auto; padding: .2rem .35rem; border-radius: .7rem; background: var(--surface); }
.chat__who b { display: block; font: 600 1rem/1.2 var(--font-head); }
.chat__who small { display: flex; gap: .35rem; align-items: center; opacity: .8; }
.chat__who i { width: .5rem; height: .5rem; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 .6rem #3ddc84; }
.chat__log { display: grid; gap: .75rem; }
.chat__item { padding: 0; border: 0; }
.chat__ask { display: block; width: fit-content; max-width: 88%; margin-left: auto; padding: .8rem 1.15rem; border-radius: 1.4rem 1.4rem .35rem 1.4rem; background: rgb(255 255 255 / .16); backdrop-filter: blur(10px); font-weight: 600; line-height: 1.3; list-style: none; cursor: pointer; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .25s, color .25s; }
.chat__ask::-webkit-details-marker { display: none; }
.chat__ask:hover { transform: translateX(-.35rem) scale(1.02); background: rgb(255 255 255 / .28); }
.chat__item[open] .chat__ask { background: var(--sun); color: var(--ink); }
.chat__reply { position: relative; width: fit-content; max-width: 88%; margin-top: .6rem; padding: .85rem 1.15rem; border-radius: 1.4rem 1.4rem 1.4rem .35rem; background: var(--surface); color: var(--ink); line-height: 1.4; animation: chat-in .35s cubic-bezier(.3, 1.5, .5, 1); transform-origin: 0 100%; }
.chat__reply p { margin: 0; }
.chat__dots { display: none; gap: .3rem; padding-block: .4rem; }
.chat__dots i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink-soft); animation: chat-dot .9s ease-in-out infinite; }
.chat__dots i:nth-child(2) { animation-delay: .15s; }
.chat__dots i:nth-child(3) { animation-delay: .3s; }
.chat__item.is-typing .chat__dots { display: flex; }
.chat__item.is-typing .chat__reply p { display: none; }
@keyframes chat-in { from { opacity: 0; transform: scale(.6); } }
@keyframes chat-dot { 50% { transform: translateY(-.3rem); opacity: .5; } }

@media (max-width: 52rem) {
	.chat__wrap { grid-template-columns: minmax(0, 1fr); }
	.chat__intro { position: static; }
}

/* Pages */
.page-title { font-size: var(--step-2); margin: 0 0 var(--gap); }
.article-image img { width: auto; max-height: 28rem; margin-inline: auto; border-radius: var(--radius); }
.article-image { margin: 0 0 var(--gap); }
.prose img { width: auto; max-height: 24rem; margin-inline: auto; border-radius: var(--radius); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); margin-block: 1.75em .5em; }
.prose h3 { font-size: var(--step-1); margin-block: 1.5em .5em; }
.prose a { color: var(--accent); }
.prose .button { color: var(--paper); }
.nav-links { display: flex; gap: .5rem; margin-top: var(--gap); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.chips li { padding: .25rem .85rem; border-radius: 99rem; background: var(--surface); font-size: var(--step--1); font-weight: 600; }

details { padding: 1rem 0; border-bottom: 1px solid var(--line); }
summary { font-weight: 600; cursor: pointer; }
details p:last-child { margin-bottom: 0; }

/* Inner page top */
.page-hero { position: relative; overflow: hidden; margin-top: calc(var(--head) * -1); padding-top: var(--head); background: var(--bg); color: var(--fg); border-radius: 0 0 50% 50% / 0 0 clamp(1.5rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem); }
.page-hero::before { content: ""; position: absolute; top: -30%; right: -5%; width: min(60vw, 42rem); aspect-ratio: 1; border-radius: 42% 58% 55% 45%; background: var(--blob); opacity: .9; animation: hero-blob 14s ease-in-out infinite alternate; }
.page-hero__row { position: relative; display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; padding-block: clamp(2rem, 1rem + 5vw, 6rem) clamp(3rem, 2rem + 6vw, 7rem); }
.page-hero__tag { margin: 0 0 .5rem; font: 800 var(--step-3)/1 var(--font-head); letter-spacing: -.04em; }
.page-hero__title { margin: 0; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 6rem); line-height: 1; letter-spacing: -.04em; animation: rise .8s var(--ease) backwards; }
.page-hero__lead { max-width: 34rem; margin: 1.1rem 0 0; font-size: var(--step-1); line-height: 1.35; opacity: .85; animation: rise .8s var(--ease) .1s backwards; }
.page-hero__toys { position: relative; aspect-ratio: 4 / 3; }
.page-hero__toys img { position: absolute; width: auto; height: 46%; object-fit: contain; filter: drop-shadow(0 .8rem 1rem rgb(0 0 0 / .25)); animation: toy-float 5s ease-in-out infinite alternate; }
.page-hero__toys img:nth-child(1) { top: 4%; left: 8%; height: 62%; rotate: -8deg; }
.page-hero__toys img:nth-child(2) { top: 44%; left: 58%; animation-delay: -2s; rotate: 10deg; }
.page-hero__toys img:nth-child(3) { top: 0; left: 66%; height: 32%; animation-delay: -3.5s; }
@keyframes hero-blob { to { border-radius: 58% 42% 45% 55%; rotate: 25deg; } }
@keyframes toy-float { to { translate: 0 -8%; } }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } }

/* Chips for topics and filters */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 3rem); }
.chip-row a, .chip-row button { padding: .5rem 1.05rem; border: 0; border-radius: 99rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font: 600 var(--step--1) var(--font-body); text-decoration: none; cursor: pointer; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s, color .2s; }
.chip-row a:hover, .chip-row button:hover { transform: translateY(-2px) rotate(-1.5deg); }
.chip-row [aria-current], .chip-row [aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.game[hidden] { display: none; }

/* Blog list */
.hub__main { min-width: 0; }
.post-grid { display: grid; gap: clamp(1.75rem, 1.25rem + 2vw, 3rem) var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid--flow { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.post-grid--flow .card { grid-column: span 2; }
@media (min-width: 52.01rem) {
	.post-grid--flow:has(.card--lead) .card:nth-child(5n + 2), .post-grid--flow:has(.card--lead) .card:nth-child(5n + 3) { grid-column: span 3; }
	.post-grid--flow:not(:has(.card--lead)) .card:nth-child(5n + 1), .post-grid--flow:not(:has(.card--lead)) .card:nth-child(5n + 2) { grid-column: span 3; }
}
.post-grid--flow .card--lead { grid-column: 1 / -1; display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.card--lead .card__image { aspect-ratio: 16 / 10; }
.card--lead .card__title { font-size: var(--step-2); line-height: 1.05; letter-spacing: -.03em; }
.card__text { display: grid; justify-items: start; gap: .3rem; padding-top: .85rem; }
.card__cat { padding: .1rem .65rem; border-radius: 99rem; background: var(--sun); font-size: .75rem; font-weight: 700; }
.card .card__title { padding-top: 0; }
.card__line { color: var(--ink-soft); }
.card__media { transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s; }
.card:hover .card__media { transform: translateY(-.35rem) rotate(-.8deg); box-shadow: 0 1.2rem 2.4rem rgb(22 20 15 / .18); }
.nav-links { flex-wrap: wrap; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: .8rem; border-radius: 99rem; box-shadow: 0 0 0 1px var(--line); text-decoration: none; }
.page-numbers.current { background: var(--ink); color: var(--paper); }

/* Blog post */
html { scroll-behavior: smooth; }
.read-bar { position: fixed; inset: 0 0 auto; z-index: 30; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; animation: read-grow linear both; animation-timeline: scroll(root); }
@supports not (animation-timeline: scroll()) { .read-bar { display: none; } }
@keyframes read-grow { to { transform: scaleX(1); } }
.reader { background: var(--paper); color: var(--ink); transition: background .3s, color .3s; }
.reader[data-night] { --paper: #14121f; --ink: #f3efe8; --ink-soft: #b6b0c4; --surface: #211e30; --line: rgb(255 255 255 / .14); }
.reader[data-night] .card__cat { color: #16140f; }
.post-hero { position: relative; overflow: hidden; margin-top: calc(var(--head) * -1); padding-top: var(--head); background: var(--bg); color: var(--fg); }
.post-hero::before { content: ""; position: absolute; top: -40%; left: -8%; width: min(50vw, 34rem); aspect-ratio: 1; border-radius: 45% 55% 60% 40%; background: var(--blob); opacity: .55; animation: hero-blob 14s ease-in-out infinite alternate; }
.post-hero__in { position: relative; max-width: 62rem; padding-block: clamp(1.25rem, 1rem + 2vw, 3rem) clamp(6rem, 4rem + 8vw, 11rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .1rem .5rem; margin-bottom: 1rem; font-size: var(--step--1); font-weight: 600; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs a + a::before { content: "/"; margin-right: .5rem; opacity: .5; }
.post-hero__title { margin: 0; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.75rem); line-height: 1.03; letter-spacing: -.035em; overflow-wrap: anywhere; animation: rise .8s var(--ease) backwards; }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin: 1rem 0 0; font-size: var(--step--1); font-weight: 600; opacity: .85; }
.post-body { display: grid; gap: var(--gap) clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr) 16rem; align-items: start; padding-bottom: var(--space); }
.post-cover { grid-column: 1 / -1; margin: clamp(-9rem, -4rem - 6vw, -5rem) 0 0; position: relative; }
.post-cover img { display: block; width: 100%; max-width: 1200px; height: auto; max-height: 40rem; margin-inline: auto; object-fit: cover; border-radius: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 1.5rem 3.5rem rgb(22 20 15 / .22); animation: rise 1s var(--ease) .1s backwards; }
.post-side > * { min-width: 0; }
.post-side { min-width: 0; grid-template-columns: minmax(0, 1fr); position: sticky; top: 1.25rem; grid-column: 2; grid-row: 2; display: grid; gap: 1.5rem; max-height: calc(100vh - 2.5rem); overflow-y: auto; scrollbar-width: none; }
.post-body--plain .post-side, .post-body--plain .post-text { grid-row: 1; }
.post-body--plain { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.post-page:has(.post-body--plain) .post-hero__in { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.post-text { grid-column: 1; grid-row: 2; min-width: 0; font-size: 1.15rem; line-height: 1.7; }
.post-text > p:first-child { font-size: var(--step-1); line-height: 1.45; }
.post-text h2 { scroll-margin-top: 1.5rem; overflow-wrap: anywhere; }
.post-text h3 { overflow-wrap: anywhere; }
.post-text a { overflow-wrap: anywhere; }
.post-text ul, .post-text ol { padding-left: 1.4rem; }
.post-text li { margin-bottom: .4rem; }
.post-text ul li::marker { color: var(--accent); }
.post-text ol li::marker { color: var(--accent); font-weight: 700; }
.post-text blockquote { position: relative; margin: 2rem 0; padding: 1.25rem 0 1.25rem 1.75rem; border-left: 5px solid var(--accent); font: italic 400 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.25 var(--font-accent); }
.post-text blockquote p { margin: 0; }
.post-text blockquote cite { display: block; margin-top: .5rem; font: 600 var(--step--1) var(--font-body); }
.post-text figure { margin: 2rem 0; }
.post-text figure img { width: auto; max-width: 100%; height: auto; max-height: 34rem; margin-inline: auto; border-radius: var(--radius); }
.post-text figcaption { margin-top: .5rem; color: var(--ink-soft); font-size: var(--step--1); text-align: center; }
.post-text .alignfull, .post-text .alignwide { width: 100%; }
.post-text iframe, .post-text video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.can-zoom { cursor: zoom-in; }
.post-text .wp-block-gallery { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.callout { margin-block: 1.5rem; padding: 1rem 1.25rem; border-radius: 1.25rem; background: color-mix(in srgb, var(--sun) 24%, var(--surface)); font-size: 1.05rem; line-height: 1.55; }
.callout--answer { background: color-mix(in srgb, var(--mint) 70%, var(--surface)); box-shadow: inset 5px 0 0 #19c37d; }
.callout--warn { background: color-mix(in srgb, var(--peach) 70%, var(--surface)); box-shadow: inset 5px 0 0 var(--accent); }
.reader[data-night] .callout { background: #3a3120; color: #fff4d6; }
.reader[data-night] .callout--answer { background: #12382a; color: #dcf9e9; box-shadow: inset 5px 0 0 #2fd39a; }
.reader[data-night] .callout--warn { background: #47211a; color: #ffe4da; }
.reader[data-night] .callout a { color: var(--sun); }
.table-scroll { overflow-x: auto; margin-block: 1.5rem; border-radius: 1.25rem; box-shadow: 0 0 0 1px var(--line); scrollbar-width: thin; }
.table-scroll:focus-visible { outline: 2px solid var(--accent); }
.table-scroll table { width: 100%; min-width: 34rem; border-collapse: collapse; background: var(--surface); font-size: 1rem; line-height: 1.4; }
.table-scroll th, .table-scroll td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.table-scroll th { background: var(--ink); color: var(--paper); font-weight: 700; }
.table-scroll tr:nth-child(even) td { background: color-mix(in srgb, var(--paper) 55%, var(--surface)); }
.table-scroll tbody tr:hover td { background: color-mix(in srgb, var(--sun) 22%, var(--surface)); }
.table-scroll th button { all: unset; display: block; width: 100%; cursor: pointer; }
.table-scroll th button:focus-visible { outline: 2px solid var(--sun); }
.table-scroll th[aria-sort="ascending"] button::after { content: " ↑"; }
.table-scroll th[aria-sort="descending"] button::after { content: " ↓"; }
.code { margin-block: 1.5rem; overflow: hidden; border-radius: 1.25rem; background: #171425; color: #f2eefa; }
.code__bar { display: flex; align-items: center; justify-content: space-between; min-height: 2.6rem; padding: .25rem .5rem .25rem 1rem; background: rgb(255 255 255 / .07); font-size: var(--step--1); font-weight: 600; text-transform: capitalize; }
.code__bar button { padding: .25rem .8rem; border: 0; border-radius: 99rem; background: var(--sun); color: #16140f; font: 600 var(--step--1) var(--font-body); cursor: pointer; }
.code pre { overflow-x: auto; margin: 0; padding: 1rem; background: none; color: inherit; font: .95rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre; tab-size: 4; }
.code pre:focus-visible { outline: 2px solid var(--sun); outline-offset: -2px; }
.code code { padding: 0; background: none; color: inherit; font: inherit; }
.tok-note { color: #9b94b3; font-style: italic; }
.tok-text { color: #a6e3a1; }
.tok-word { color: #f5a97f; }
.tok-num { color: #8bd5ff; }
.post-text :not(pre) > code { padding: .1rem .35rem; border-radius: .35rem; background: color-mix(in srgb, var(--ink) 9%, transparent); font: .9em ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.post-by { display: flex; gap: 1.25rem; align-items: center; margin-top: 3rem; padding: 1.25rem; border-radius: 1.5rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 1rem; }
.prose .post-by img { flex: none; width: 6.5rem; max-height: none; height: auto; margin: 0; padding: .3rem .4rem; border-radius: 1rem; background: #fff; }
.post-by b { font: 700 1.1rem var(--font-head); }
.post-by p { margin: .2rem 0 .3rem; color: var(--ink-soft); line-height: 1.45; }
.post-next { padding-bottom: var(--space); }
.post-toc p, .post-share p { margin: 0 0 .5rem; font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.post-toc ol { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; font-size: var(--step--1); line-height: 1.3; }
.post-toc a { overflow-wrap: anywhere; display: block; padding: .3rem 0 .3rem .7rem; border-left: 2px solid var(--line); text-decoration: none; transition: color .2s, border-color .2s; }
.post-toc a:hover { color: var(--accent); }
.post-toc a.is-here { border-left-color: var(--accent); color: var(--accent); font-weight: 700; }
.post-share { display: flex; flex-wrap: wrap; gap: .4rem; }
.post-share p { width: 100%; }
.post-share a, .post-share button { padding: .4rem .85rem; border: 0; border-radius: 99rem; background: var(--ink); color: var(--paper); font: 600 var(--step--1) var(--font-body); text-decoration: none; cursor: pointer; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.post-share a:hover, .post-share button:hover { transform: translateY(-2px) scale(1.04); }
.post-share [aria-pressed="true"] { background: var(--sun); color: #16140f; }
.post-try { transition: background .2s; display: flex; gap: .7rem; align-items: center; padding: .7rem; border-radius: 1.25rem; background: var(--sun); color: #16140f; text-decoration: none; }
.post-try:hover { background: #ffd65c; }
.post-try:hover img { transform: rotate(-8deg); }
.post-try img { transition: transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.prose em { font: inherit; font-style: italic; letter-spacing: normal; }
.post-try img { flex: none; width: 3rem; height: 3rem; border-radius: 22%; object-fit: contain; }
.post-try small { display: block; font-size: .75rem; font-weight: 600; }
.post-try b { font: 700 1rem/1.15 var(--font-head); }
.share-float { display: none; }
.resume { position: fixed; bottom: 1rem; left: 50%; z-index: 24; display: flex; gap: .6rem; align-items: center; padding: .4rem .5rem .4rem 1rem; border-radius: 99rem; background: var(--ink); color: var(--paper); font-size: var(--step--1); font-weight: 600; box-shadow: 0 .8rem 2rem rgb(22 20 15 / .3); translate: -50% 0; white-space: nowrap; animation: rise .5s var(--ease); }
.resume[hidden] { display: none; }
.resume button { padding: .3rem .8rem; border: 0; border-radius: 99rem; background: var(--sun); color: #16140f; font: 600 var(--step--1) var(--font-body); cursor: pointer; }
.resume [data-resume-no] { padding: .3rem .6rem; background: none; color: inherit; }
.zoom { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: clamp(.75rem, 3vw, 2.5rem); border: 0; background: rgb(10 8 18 / .92); }
.zoom[open] { display: grid; place-items: center; }
.zoom::backdrop { background: transparent; }
.zoom img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 1rem; animation: fan-in .35s cubic-bezier(.3, 1.3, .5, 1); }
.zoom button { position: fixed; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--surface); font-size: 1.5rem; cursor: pointer; }

/* Games and apps lists */
.game { transition: box-shadow .3s; }
.game:hover .game__object { transform: scale(1.14) rotate(-5deg); }
.app-group { padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: 2rem; background: var(--tint); }
.app-group__title { font-size: var(--step-2); border-bottom: 0; letter-spacing: -.03em; }
.app-group .app-row { padding-inline: .6rem; border-radius: 1rem; border-bottom: 0; transition: background .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.app-group .app-row:hover { padding-left: .6rem; background: rgb(255 255 255 / .6); transform: translateX(.3rem); }
.app-row img { box-shadow: 0 .3rem .7rem rgb(22 20 15 / .16); }
.app-more { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

/* App page */
.app-page { --deep: color-mix(in srgb, var(--accent-app) 34%, #100e1c); }
.app-hero { position: relative; overflow: hidden; margin-top: calc(var(--head) * -1); padding-top: var(--head); background: color-mix(in srgb, var(--accent-app) 30%, var(--paper)); }
.app-hero::before { content: ""; position: absolute; top: -18%; right: -12%; width: min(62vw, 54rem); aspect-ratio: 1; border-radius: 45% 55% 58% 42%; background: var(--accent-app); animation: hero-blob 14s ease-in-out infinite alternate; }
.app-hero__row { position: relative; display: grid; gap: clamp(1.5rem, 4vw, 4rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; padding-block: clamp(1rem, 1rem + 2vw, 3rem) clamp(2.5rem, 2rem + 3vw, 5rem); }
.app-hero__icon { width: clamp(4.5rem, 7vw, 6.5rem); height: auto; margin-bottom: 1.25rem; border-radius: 23%; box-shadow: 0 1rem 2rem rgb(22 20 15 / .25); rotate: -5deg; transition: rotate .4s cubic-bezier(.3, 1.8, .5, 1), scale .4s cubic-bezier(.3, 1.8, .5, 1); animation: pop-in .7s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.app-hero__icon:hover { rotate: 6deg; scale: 1.08; }
.app-hero__title { margin: 0 0 1rem; font-size: clamp(2.5rem, 1.3rem + 4vw, 5.25rem); line-height: 1; letter-spacing: -.04em; animation: rise .8s var(--ease) backwards; }
.app-hero__lead { max-width: 38rem; margin: 0 0 1.25rem; font-size: var(--step-1); line-height: 1.35; animation: rise .8s var(--ease) .1s backwards; }
.app-hero__act { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: var(--step--1); }
.facts b { display: block; font: 700 1.2rem/1.1 var(--font-head); }
.app-fan { position: relative; height: clamp(24rem, 40vw, 36rem); }
.app-fan img { position: absolute; top: 50%; left: 50%; width: auto; height: 90%; border-radius: 1.5rem; box-shadow: 0 1.5rem 3rem rgb(22 20 15 / .3); translate: -50% -50%; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); animation: fan-in .9s cubic-bezier(.3, 1.3, .5, 1) backwards; }
.app-fan img:nth-child(1) { z-index: 2; }
.app-fan img:nth-child(2) { transform: translateX(-32%) rotate(-10deg) scale(.9); animation-delay: .12s; }
.app-fan img:nth-child(3) { transform: translateX(32%) rotate(10deg) scale(.9); animation-delay: .2s; }
.app-fan:hover img:nth-child(2) { transform: translateX(-44%) rotate(-14deg) scale(.92); }
.app-fan:hover img:nth-child(3) { transform: translateX(44%) rotate(14deg) scale(.92); }
.app-fan:hover img:nth-child(1) { transform: scale(1.03); }
.app-fan--wide img { width: 84%; height: auto; }
.app-fan--wide img:nth-child(2) { transform: translate(-8%, -34%) rotate(-6deg) scale(.86); }
.app-fan--wide img:nth-child(3) { transform: translate(8%, 34%) rotate(6deg) scale(.86); }
.app-fan--wide:hover img:nth-child(2) { transform: translate(-10%, -42%) rotate(-8deg) scale(.86); }
.app-fan--wide:hover img:nth-child(3) { transform: translate(10%, 42%) rotate(8deg) scale(.86); }
@keyframes fan-in { from { opacity: 0; transform: translateY(3rem) scale(.8); } }
@keyframes pop-in { from { transform: scale(0) rotate(-30deg); } }

.app-look { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--deep); color: var(--surface); }
.app-look__head { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.app-look__title { margin: 0; font-size: var(--step-2); letter-spacing: -.03em; }
.app-look__go { display: flex; gap: .4rem; }
.app-look__go button { width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.app-look__go button:hover { transform: scale(1.14); }
.shots { display: flex; gap: .85rem; overflow-x: auto; padding-inline: max(1.25rem, calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(1.25rem, calc((100vw - var(--wrap)) / 2)); scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.shots::-webkit-scrollbar { display: none; }
.shots.is-drag { scroll-snap-type: none; cursor: grabbing; }
.shots img { flex: none; width: auto; height: clamp(17rem, 30vw, 25rem); border-radius: 1.25rem; scroll-snap-align: start; user-select: none; }

.app-block { padding-block: clamp(2rem, 1.5rem + 2.5vw, 4rem); }
.app-block__title { margin: 0 0 1.25rem; font-size: var(--step-2); letter-spacing: -.03em; }
.feature-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.feature { flex: 1 1 15rem; padding: 1.4rem; border: 0; border-radius: 1.5rem; background: color-mix(in srgb, var(--accent-app, var(--sun)) 18%, var(--surface)); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.feature:nth-child(4n + 1) { flex-basis: 24rem; background: var(--deep); color: var(--surface); }
.feature:nth-child(4n + 1) h3 { font-size: var(--step-1); }
.feature:nth-child(4n + 1) p { color: inherit; opacity: .8; }
.feature:hover { transform: translateY(-.3rem) rotate(-.6deg); }
.feature h3 { margin: 0 0 .4rem; font-size: 1.25rem; letter-spacing: -.015em; }
.feature p { margin: 0; color: var(--ink-soft); }
.app-duo { display: grid; gap: clamp(1.5rem, 4vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; padding-top: 0; }
.app-who { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border-radius: 2rem; background: color-mix(in srgb, var(--accent-app) 30%, var(--paper)); }
.app-who .chips { margin: 0; }
.app-faq { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); background: radial-gradient(44rem circle at 12% 20%, color-mix(in srgb, var(--accent-app) 60%, #100e1c), transparent 70%), var(--deep); color: var(--surface); }
.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 4.25rem; counter-increment: step; min-height: 3rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.15rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 1.25rem var(--font-head); }
.page-end { justify-content: center; margin-top: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }

@media (max-width: 52rem) {
	.page-hero__row { grid-template-columns: minmax(0, 1fr); }
	.page-hero__toys { display: none; }
	.app-hero__row { grid-template-columns: minmax(0, 1fr); }
	.app-fan { height: 21rem; }
	.app-look__go { display: none; }
	.app-look__title { line-height: 1.1; }
	.shots img { width: auto; height: auto; max-width: 84vw; max-height: 26rem; }
	.app-hero::before { top: auto; bottom: -8%; width: 110vw; }
	.page-hero::before { top: -62%; right: -30%; width: 75vw; }
	.post-grid, .post-grid--flow { grid-template-columns: minmax(0, 1fr); }
	.post-grid--flow .card { grid-column: auto; }
	.post-grid--flow .card--lead { display: flex; }
}

/* Contact */
.reach { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.reach__tile { display: grid; gap: .35rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 2rem; text-decoration: none; transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.reach__tile:hover { transform: translateY(-.4rem) rotate(-1deg); }
.reach__tile small { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.reach__tile b { font: 700 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.15 var(--font-head); letter-spacing: -.02em; overflow-wrap: anywhere; }
.reach__tile--a { background: var(--sun); }
.reach__tile--b { background: var(--mint); }
.reach__tile--c { background: var(--lilac); }
.help { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.help h2 { margin: 0 0 .75rem; font-size: var(--step-2); letter-spacing: -.03em; }
.help p + h2 { margin-top: 2.5rem; }
.help__end { margin: 2.5rem 0 0; color: var(--ink-soft); }
.page .prose { font-size: 1.125rem; line-height: 1.75; }
.page .prose > p:first-of-type { font-size: var(--step-1); line-height: 1.45; }
.page .prose h2 { margin-block: 1.6em .4em; font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); line-height: 1.08; letter-spacing: -.03em; }
.page .prose h3 { letter-spacing: -.02em; }
.page--our-story { max-width: 46rem; }
.page--our-story .prose { font-size: 1.2rem; line-height: 1.8; }
.page--our-story .prose h2:first-child { margin-top: 0; font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.page--our-story .prose > p:first-of-type { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); line-height: 1.4; }
.page--our-story .prose > p:first-of-type::first-letter { float: left; margin: .06em .1em 0 0; color: var(--accent); font: 800 3.4em/.8 var(--font-head); }
.page--our-story .prose > p:last-of-type { padding: 1.25rem 1.5rem; border-radius: 1.5rem; background: var(--sun); font-weight: 500; }

/* Help questions */
.hub { margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); interpolate-size: allow-keywords; scroll-margin-top: 1rem; }
.hub__head { display: grid; justify-items: center; gap: 1rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); text-align: center; }
.hub__title { margin: 0; font-size: clamp(2.25rem, 1.3rem + 4vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.hub__search { display: flex; gap: .7rem; align-items: center; width: min(100%, 38rem); padding: .4rem 1rem .4rem 1.2rem; border-radius: 99rem; background: var(--surface); box-shadow: 0 .8rem 2.2rem rgb(22 20 15 / .12), 0 0 0 2px transparent; transition: box-shadow .25s, transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.hub__search:focus-within { box-shadow: 0 1rem 2.6rem rgb(22 20 15 / .16), 0 0 0 2px var(--accent); transform: scale(1.015); }
.hub__search svg { flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.hub__search input { flex: 1; min-width: 0; height: 2.75rem; border: 0; outline: 0; background: none; color: var(--ink); font: 500 1.1rem var(--font-body); }
.hub__search input::-webkit-search-cancel-button { cursor: pointer; }
.hub__search kbd { padding: .05rem .5rem; border-radius: .4rem; background: var(--paper); font: 600 var(--step--1) var(--font-body); color: var(--ink-soft); }
.hub__count { margin: 0; color: var(--ink-soft); font-size: var(--step--1); font-weight: 600; }
html:not(.js) .hub__search, html:not(.js) .hub__nav { display: none; }
.hub__body { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: 17rem minmax(0, 1fr); align-items: start; }
.hub__nav { position: sticky; top: 1.25rem; display: grid; gap: .25rem; }
.hub__nav button { display: flex; gap: .6rem; align-items: center; min-height: 2.9rem; padding: .35rem .8rem; border: 0; border-radius: 1rem; background: none; color: var(--ink); font: 600 var(--step--1) var(--font-body); text-align: left; cursor: pointer; transition: background .2s, color .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.hub__nav button:hover { background: rgb(22 20 15 / .06); transform: translateX(.25rem); }
.hub__nav button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.hub__nav img { flex: none; width: 1.9rem; height: 1.9rem; object-fit: contain; transition: rotate .4s cubic-bezier(.3, 1.8, .5, 1); }
.hub__nav button:hover img { rotate: -14deg; }
.hub__nav span { flex: 1; }
.hub__nav small { opacity: .6; font-weight: 700; }
.hub__apps { display: flex; gap: .4rem; overflow-x: auto; margin-bottom: 1rem; padding-bottom: .25rem; scrollbar-width: none; }
.hub__apps[hidden] { display: none; }
.hub__apps button { flex: none; padding: .4rem .9rem; border: 0; border-radius: 99rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 var(--step--1) var(--font-body); cursor: pointer; }
.hub__apps button[aria-pressed="true"] { background: var(--sun); box-shadow: none; }
.hub__group { margin-bottom: 1.5rem; }
.hub__topic { margin: 0 0 .6rem; font-size: var(--step-1); letter-spacing: -.02em; }
.hub__item { margin-bottom: .5rem; padding: 0; border: 0; border-radius: 1.25rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s, transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.hub__item:hover { transform: translateX(.2rem); }
.hub__item[open] { box-shadow: 0 1rem 2.4rem rgb(22 20 15 / .12); transform: none; }
.hub__item[hidden] { display: none; }
.hub__item::details-content { block-size: 0; overflow: clip; transition: block-size .35s cubic-bezier(.5, 0, .2, 1), content-visibility .35s allow-discrete; }
.hub__item[open]::details-content { block-size: auto; }
.hub__q { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 3.5rem; padding: .7rem .9rem .7rem 1.25rem; border-radius: 1.25rem; font: 600 1.125rem/1.25 var(--font-head); letter-spacing: -.01em; list-style: none; cursor: pointer; }
.hub__q::-webkit-details-marker { display: none; }
.hub__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hub__q small { display: inline-block; margin-left: .25rem; padding: 0 .5rem; border-radius: 99rem; background: var(--paper); color: var(--ink-soft); font: 600 .75rem/1.6 var(--font-body); letter-spacing: 0; vertical-align: .1em; }
.hub__q mark { border-radius: .25rem; background: var(--sun); color: inherit; }
.hub__q i { position: relative; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--paper); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
.hub__q i::before, .hub__q i::after { content: ""; position: absolute; top: 50%; left: 50%; width: .8rem; height: 2px; border-radius: 2px; background: var(--ink); translate: -50% -50%; }
.hub__q i::after { rotate: 90deg; }
.hub__item[open] .hub__q i { background: var(--sun); transform: rotate(135deg); }
.hub__a { position: relative; padding: 0 1.25rem 1.2rem 4rem; }
.hub__a::before { content: ""; position: absolute; top: .1rem; left: 1.25rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--paper) var(--logo) center / 80% no-repeat; }
.hub__a p { margin: 0 0 .4rem; }
.hub__link { font-weight: 700; color: var(--accent); text-decoration: none; }
.hub__link:hover { text-decoration: underline; }
.hub__also { display: grid; gap: .25rem; margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.hub__also[hidden] { display: none; }
.hub__also p { margin: 0; color: var(--ink-soft); font-size: var(--step--1); font-weight: 700; }
.hub__also a { font-size: var(--step--1); font-weight: 600; text-decoration: none; }
.hub__also a:hover { color: var(--accent); }
.hub__more { display: block; margin-inline: auto; }
.hub__more[hidden], .hub__empty[hidden] { display: none; }
.hub__empty { display: grid; justify-items: center; gap: .6rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 2rem; background: var(--lilac); text-align: center; }
.hub__empty img { width: 7rem; height: 7rem; object-fit: contain; animation: toy-float 2.5s ease-in-out infinite alternate; }
.hub__empty h3 { margin: 0; font-size: var(--step-1); }
.hub__empty p { max-width: 30rem; margin: 0; overflow-wrap: anywhere; }
.hub__try { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: .5rem; }
.hub__try button { padding: .35rem .9rem; border: 0; border-radius: 99rem; background: var(--surface); color: var(--ink); font: 600 var(--step--1) var(--font-body); cursor: pointer; }

@media (max-width: 52rem) {
	.hub__body { grid-template-columns: minmax(0, 1fr); }
	.hub__nav { top: 0; z-index: 3; display: flex; overflow-x: auto; margin-inline: -1.25rem; padding: .5rem 1.25rem; background: var(--paper); scrollbar-width: none; }
	.hub__nav button { flex: none; min-height: 2.75rem; background: var(--surface); }
	.hub__nav button:hover { transform: none; }
	.hub__nav small { display: none; }
	.hub__search kbd { display: none; }
	.hub__a { padding-left: 1.25rem; }
	.hub__a::before { display: none; }
}

/* Blog list */
.wrap.blog { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) var(--space); }
.blog__bar { position: sticky; top: 0; z-index: 5; margin: 0 -.75rem clamp(1.25rem, 1rem + 1vw, 2rem); padding: .6rem .75rem; border-radius: 1.5rem; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); }
.blog__topics { flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: .15rem; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.blog__topics a { flex: none; }
.blog__tools { display: none; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: .6rem; }
.is-live .blog__tools { display: flex; }
.blog__search input { height: 2.6rem; padding-inline: 1rem; border: 0; border-radius: 99rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font: 500 1rem var(--font-body); }
.blog__search { flex: 1 1 14rem; max-width: 26rem; }
.blog__search input { width: 100%; }
.blog__search input:focus { outline: 2px solid var(--accent); }
.blog__sort { display: flex; gap: .15rem; padding: .2rem; border-radius: 99rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.blog__sort button { flex: 1; min-height: 2.2rem; padding: 0 1rem; border: 0; border-radius: 99rem; background: none; color: var(--ink); font: 600 var(--step--1) var(--font-body); white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.blog__sort button:hover { background: rgb(22 20 15 / .06); }
.blog__sort button:focus-visible { outline: 2px solid var(--accent); }
.blog__sort button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.blog__count { color: var(--ink-soft); font-size: var(--step--1); font-weight: 600; }
.blog__more { display: block; margin: clamp(1.5rem, 1rem + 2vw, 3rem) auto 0; }
.blog__more[hidden] { display: none; }
.is-live .pagination--quiet { margin-top: 1.5rem; opacity: .75; }
.blog__row { margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); }
.blog__row[hidden], .blog__cta[hidden] { display: none; }
.blog__row .section-title { margin: 0; }
.blog__row .section-head--row { margin-bottom: 1.25rem; }
.blog__rowtitle { margin-bottom: 1.25rem !important; }
.blog__all { font-weight: 700; color: var(--accent); text-decoration: none; }
.blog__all:hover { text-decoration: underline; }
.blog__cta { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: 2rem; background: var(--lilac); }
.blog__cta h2 { flex: 1 1 18rem; margin: 0; font-size: var(--step-3); line-height: 1; letter-spacing: -.04em; }
.post-grid--found { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card__meta { color: var(--ink-soft); font-size: var(--step--1); }
.card__title { overflow-wrap: anywhere; }
.card__media { position: relative; display: block; background: var(--mint); }
.card__image { display: block; height: auto; }
.card:hover .card__media { box-shadow: .5rem .5rem 0 var(--sun); }
.card--ghost .card__media { aspect-ratio: 3 / 2; }
.card--ghost .card__media, .ghost-line { background: linear-gradient(90deg, #ece6da 25%, #f6f2ea 50%, #ece6da 75%); background-size: 200% 100%; animation: ghost 1.2s linear infinite; }
.ghost-line { display: block; height: 1rem; margin-top: .6rem; border-radius: 1rem; }
.ghost-line--short { width: 60%; }
@keyframes ghost { to { background-position: -200% 0; } }
.pagination .nav-links { display: flex; }

@media (max-width: 64rem) and (min-width: 52.01rem) {
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-grid--flow { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.post-grid--flow .card { grid-column: span 3; }
	.post-grid--flow .card--lead { grid-column: 1 / -1; }
	.post-body { grid-template-columns: minmax(0, 1fr) 13rem; }
}

@media (max-width: 52rem) {
	.post-body { grid-template-columns: minmax(0, 1fr); }
	.post-body--plain .post-side, .post-body--plain .post-text, .post-side, .post-text { position: static; grid-column: 1; grid-row: auto; max-height: none; overflow: visible; }
	.post-text { font-size: 1.08rem; }
	.post-toc { padding: 1rem 1.25rem; border-radius: 1.25rem; background: var(--surface); }
	.share-float { position: fixed; right: 1rem; bottom: 5.25rem; z-index: 21; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--sun); color: #16140f; box-shadow: 0 .5rem 1.2rem rgb(22 20 15 / .3); cursor: pointer; }
	.share-float[hidden] { display: none; }
	.share-float svg { fill: none; stroke: currentcolor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
	.resume { bottom: 5.25rem; }
	.post-grid--found { grid-template-columns: minmax(0, 1fr); }
	.blog__bar { margin-inline: -.5rem; padding-inline: .5rem; }
	.blog__sort { flex: 1 1 100%; }
}

/* Kids Videos plugin was made for a dark page. */
body .rjkv {
	--rjkv-ink: var(--ink);
	--rjkv-muted: var(--ink-soft);
	--rjkv-dim: var(--ink-soft);
	--rjkv-line: var(--line);
	--rjkv-glass: var(--surface);
	--rjkv-font-b: var(--font-body);
	--rjkv-font-d: var(--font-head);
}

/* Consent */
.consent[hidden] { display: none; }
.consent { position: fixed; inset: auto 1rem 1rem auto; z-index: 25; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; width: min(100% - 2rem, 25rem); padding: 1.1rem; background: var(--surface); border-radius: var(--radius); box-shadow: 0 1.5rem 3rem -1rem rgb(22 20 15 / .35); }
.consent p { flex: 1 1 100%; margin: 0; font-size: var(--step--1); line-height: 1.4; }
.consent .button { padding: .5rem 1.1rem; font-size: var(--step--1); }

@media (prefers-reduced-motion: reduce) {
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
	* { transition: none !important; animation: none !important; }
}
