@view-transition {
	navigation: auto;
}

@font-face {
	font-family: 'Caveat';
	font-weight: 600;
	font-display: swap;
	src: url('/assets/fonts/caveat.woff2') format('woff2');
}

@font-face {
	font-family: 'Caveat';
	font-weight: 700;
	font-display: swap;
	src: url('/assets/fonts/caveat.woff2') format('woff2');
}

@font-face {
	font-family: 'Inter';
	font-weight: 100 900;
	font-display: swap;
	src: url('/assets/fonts/inter.woff2') format('woff2');
}

@font-face {
	font-family: 'Mrs Saint Delafield';
	font-weight: 400;
	font-display: swap;
	src: url('/assets/fonts/mrs-saint-delafield.woff2') format('woff2');
}

:root {
	--gray-1: #fcfcfc;
	--gray-2: #f9f9f9;
	--gray-3: #f0f0f0;
	--gray-4: #e8e8e8;
	--gray-8: #bbb;
	--gray-10: #838383;
	--gray-11: #646464;
	--gray-12: #202020;
	--gray-a2: #00000006;
	--gray-a3: #0000000f;
	--gray-a4: #00000017;
	--gray-a5: #0000001f;
	--gray-a6: #00000026;
	--gray-a7: #00000031;
	--gray-a8: #0004;
	--gray-a9: #00000072;
	--black-a1: #0000000d;
	--black-a2: #0000001a;
	--black-a3: #00000026;
	--black-a4: #0003;
	--black-a5: #0000004d;
	--black-a6: #0006;
	--black-a8: #0009;
	--black-a9: #000000b3;
	--black-a12: #000000f2;
	--white-a7: #ffffff80;
	--white-a12: #fffffff2;
	--orange-9: #f76b15;
	--pink-9: #d6409f;
	--cloud-0-top: #ffe6c2;
	--cloud-0-base: #ffb46b;
	--cloud-1-top: #ffdca8;
	--cloud-1-base: #ff9f4a;
	--cloud-2-top: #ffd6c2;
	--cloud-2-base: #ff8f6b;
	--cloud-3-top: #ffefd2;
	--cloud-3-base: #ffc073;
	--tint-amber: #e9c162;
	--tint-indigo: #8da4ef;
	--tint-blue: #5eb1ef;
	--tint-green: #5bb98b;
	--tint-purple: #be93e4;
	--tint-gray: #cecece;
	--tint-tomato: #ec8e7b;
	--tint-teal: #53b9ab;
	--tint-pink: #e093b2;
	--error: #ce2c31;
	--shadow-2: 0 0 0 1px var(--gray-a3), 0 0 0 0.5px var(--black-a1), 0 1px 1px 0 var(--gray-a2),
		0 2px 1px -1px var(--black-a1), 0 1px 3px 0 var(--black-a1);
	--shadow-4: 0 0 0 1px var(--gray-a3), 0 8px 40px var(--black-a1),
		0 12px 32px -16px var(--gray-a3);
	--glare-opacity: 1;
	--flare-opacity: 1;
	--font-display: 'Inter', ui-sans-serif, system-ui, sans-serif;
	--font-hand: 'Caveat', cursive;
	--font-signature: 'Mrs Saint Delafield', 'Caveat', cursive;
	--font-serif: 'New York', ui-serif, Georgia, serif;
	--tracking-14: -0.087px;
	--page-max-width: 640px;
	--page-padding: 24px;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	color-scheme: light;
}

.dark {
	--gray-1: #111;
	--gray-2: #191919;
	--gray-3: #222;
	--gray-4: #2a2a2a;
	--gray-8: #606060;
	--gray-10: #7b7b7b;
	--gray-11: #b4b4b4;
	--gray-12: #eee;
	--gray-a2: #ffffff09;
	--gray-a3: #ffffff12;
	--gray-a4: #ffffff1b;
	--gray-a5: #fff2;
	--gray-a6: #ffffff2c;
	--gray-a7: #ffffff3b;
	--gray-a8: #fff5;
	--gray-a9: #ffffff64;
	--error: #ff9592;
	--shadow-2: 0 0 0 1px var(--gray-a6), 0 0 0 0.5px var(--black-a3), 0 1px 1px 0 var(--black-a6),
		0 2px 1px -1px var(--black-a6), 0 1px 3px 0 var(--black-a5);
	--shadow-4: 0 0 0 1px var(--gray-a6), 0 8px 40px var(--black-a3),
		0 12px 32px -16px var(--black-a5);
	--glare-opacity: 0.55;
	--cloud-0-top: #fff6e2;
	--cloud-0-base: #ffd9a8;
	--cloud-1-top: #fff0c9;
	--cloud-1-base: #ffc96b;
	--cloud-2-top: #ffe7d1;
	--cloud-2-base: #ffad7a;
	--cloud-3-top: #fdf0e8;
	--cloud-3-base: #f5b49a;
	--flare-opacity: 0.35;
	color-scheme: dark;
}

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

* {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	color: inherit;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html {
	scrollbar-width: none;
	scroll-padding-top: 128px;
	background-color: var(--gray-2);
	overflow-x: hidden;
}

html::-webkit-scrollbar {
	display: none;
}

::selection {
	color: var(--gray-1);
	background: var(--gray-12);
}

body {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100svh;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 450;
	line-height: 24px;
	letter-spacing: var(--tracking-14);
	color: var(--gray-12);
	text-wrap: pretty;
	overflow-x: clip;
}

ul {
	list-style: none;
}

button {
	background: none;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--gray-12);
	outline-offset: 2px;
	border-radius: 2px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-to-content {
	position: absolute;
	top: -100px;
	left: 50%;
	z-index: 100;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 550;
	color: var(--gray-1);
	background: var(--gray-12);
	transform: translate(-50%);
	transition: top 0.2s;
}

.skip-to-content:focus {
	top: 16px;
}

.top-blur {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 40;
	width: 100%;
	height: 144px;
	pointer-events: none;
}

.top-blur::before,
.top-blur::after {
	content: '';
	position: absolute;
	inset: 0;
}

.top-blur::before {
	backdrop-filter: blur(16px);
	mask-image: linear-gradient(#000 42%, #0000 100%);
}

.top-blur::after {
	background: linear-gradient(to bottom, var(--gray-2), color-mix(in srgb, var(--gray-2) 0%, transparent));
}

.nav {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50;
	width: 100%;
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--page-max-width);
	margin: 0 auto;
	padding: 32px var(--page-padding);
}

.nav-logo,
.nav-link {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	color: var(--gray-11);
	transition: color 0.2s;
}

.nav-logo svg {
	display: block;
	width: 24px;
	height: 24px;
}

.nav-link {
	padding: 2px 9px;
	border-radius: 999px;
}

.nav-logo:hover,
.nav-link:hover,
.nav-link[aria-current='page'] {
	color: var(--gray-12);
}

.nav-link[aria-current='page'] {
	background: var(--gray-a3);
}

.nav-list {
	position: relative;
	display: flex;
	align-items: center;
}

.nav-tab {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--tab-w, 0);
	height: var(--tab-h, 0);
	border-radius: 999px;
	background: var(--gray-a3);
	opacity: 0;
	pointer-events: none;
	transform: translate(var(--tab-x, 0), var(--tab-y, 0));
	transition:
		transform 0.24s var(--ease-out),
		width 0.24s var(--ease-out),
		opacity 0.2s;
}

.nav-tab[data-visible] {
	opacity: 1;
}

.theme-toggle {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: 6px;
	border-radius: 999px;
	color: var(--gray-11);
	transition: color 0.2s;
}

.theme-toggle:hover {
	color: var(--gray-12);
}

.theme-toggle svg {
	width: 16px;
	height: 16px;
}

.theme-toggle .moon,
.dark .theme-toggle .sun {
	display: none;
}

.dark .theme-toggle .moon {
	display: block;
}

main {
	flex: 1;
	width: 100%;
	max-width: var(--page-max-width);
	margin: 0 auto;
	padding-inline: max(env(safe-area-inset-left), var(--page-padding))
		max(env(safe-area-inset-right), var(--page-padding));
}

.page {
	display: flex;
	flex-direction: column;
	gap: 80px;
	padding-block: 172px 48px;
}

.intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.signature {
	display: inline-block;
	width: fit-content;
	margin-bottom: -3px;
	padding-inline-start: 2px;
	font-family: var(--font-signature);
	font-size: 76px;
	font-weight: 400;
	line-height: 60px;
	color: var(--gray-12);
	transform: rotate(-3deg);
	transform-origin: 0 100%;
}

.signature span {
	display: inline-block;
	white-space: pre;
}

html[data-preloader] .signature span {
	clip-path: inset(-20% 100% -20% -20%);
	animation: signature-write 0.3s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--i) * 0.25s + 0.12s) forwards;
}

@keyframes signature-write {
	to {
		clip-path: inset(-20%);
	}
}

.greeting {
	color: var(--gray-8);
}

.greeting span {
	display: inline-block;
	margin-inline-start: 0.36em;
	font-size: 1.05em;
	line-height: 1;
	vertical-align: middle;
}

.copy {
	color: var(--gray-11);
}

html[data-preloader] .intro:not([data-ready]) [data-intro-line] {
	opacity: 0;
}

[data-intro-word] {
	transition:
		opacity 0.4s ease-out,
		filter 0.4s ease-out,
		color 0.2s;
}

[data-intro-word][data-pending] {
	opacity: 0;
	filter: blur(4px);
	pointer-events: none;
}

.nav,
.work-section,
.people,
.footer,
.bed {
	transition:
		filter 1.1s cubic-bezier(0.33, 0, 0.2, 1),
		opacity 1.1s cubic-bezier(0.33, 0, 0.2, 1);
}

html[data-preloader] :is(.nav, .work-section, .people, .footer, .bed) {
	opacity: 0.6;
	filter: blur(12px);
	pointer-events: none;
	user-select: none;
}

.intro-controls {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 60;
	display: flex;
	gap: 2px;
	padding: 3px;
	border-radius: 999px;
	background: var(--gray-1);
	box-shadow: var(--shadow-4);
	transform: translateX(-50%);
}

.intro-controls[hidden] {
	display: none;
}

.intro-control {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding-inline: 12px;
	border-radius: 999px;
	font-size: 13px;
	line-height: 28px;
	white-space: nowrap;
	color: var(--gray-12);
	transition: background-color 0.2s;
}

.intro-control:hover,
.intro-control[aria-pressed='true'] {
	background: var(--gray-a4);
}

.serif-emphasis {
	font-family: var(--font-serif);
	font-size: 1.12em;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
	color: var(--gray-12);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--gray-a8);
	text-underline-offset: 3px;
}

.hand-emphasis {
	display: inline-block;
	font-family: var(--font-hand);
	font-size: 1.45em;
	font-weight: 600;
	line-height: 0.8;
	letter-spacing: 0;
	white-space: nowrap;
	vertical-align: -0.08em;
	color: var(--pink-9);
}

.block-chip {
	position: relative;
	display: inline-block;
	margin-inline: 1px;
	padding: 0 7px;
	border-radius: 4px;
	font-size: 0.92em;
	font-weight: 600;
	line-height: 1.55;
	white-space: nowrap;
	vertical-align: 0.02em;
	color: var(--white-a12);
	background: var(--orange-9);
	box-shadow: inset 0 -2px 0 var(--black-a4);
	transition: transform 0.18s;
}

.block-chip::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 8px;
	width: 10px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: var(--orange-9);
	box-shadow: inset 0 -1px 0 var(--black-a4);
}

.block-chip:hover {
	transform: translateY(-1.5px) rotate(-2deg);
}

.text-link {
	color: var(--gray-10);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--gray-a7);
	text-underline-offset: 2px;
	transition:
		color 0.2s,
		text-decoration-color 0.2s;
}

.text-link:hover {
	color: var(--gray-12);
	text-decoration-color: var(--gray-a9);
}

.phrase {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.28em;
	white-space: nowrap;
	vertical-align: -0.12em;
	color: var(--gray-11);
	transition: color 0.2s;
}

.phrase:hover,
.phrase:focus-visible {
	color: var(--gray-12);
}

.phrase-thumb {
	display: inline-flex;
	flex: none;
	width: 1.05em;
	height: 1.05em;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 0 0 1px var(--gray-a4);
}

.phrase-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}

.phrase-text {
	font-weight: 550;
	text-decoration: underline dotted;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--gray-a8);
	text-underline-offset: 3px;
}

.phrase-preview {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	z-index: 30;
	width: min(320px, calc(100vw - 32px));
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px solid var(--gray-a4);
	border-radius: 12px;
	background: var(--gray-2);
	box-shadow: var(--shadow-4);
	opacity: 0;
	pointer-events: none;
	transform: translate(var(--shift, -50%), 4px) scale(0.96);
	transform-origin: 50% 100%;
	transition:
		opacity 0.2s,
		transform 0.2s;
}

.phrase-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

@media (hover: hover) and (pointer: fine) {
	.phrase:hover .phrase-preview,
	.phrase:focus-visible .phrase-preview {
		opacity: 1;
		transform: translate(var(--shift, -50%)) scale(1);
	}
}

.phrase-photo .phrase-thumb img {
	object-position: 50% 15%;
}

.phrase-photo .phrase-preview {
	--shift: 0%;
	top: calc(100% + 10px);
	bottom: auto;
	left: 0;
	width: 220px;
	aspect-ratio: 4 / 5;
	transform-origin: 0 0;
}

.phrase[data-open] .phrase-preview {
	opacity: 1;
	transform: translate(var(--shift, -50%)) scale(1);
}

.section-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--gray-a4);
}

.section-title {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.08px;
}

.section-title a {
	display: inline-flex;
	padding: 3px 9px;
	border-radius: 8px;
	transition: background-color 0.2s;
}

.section-title a:hover {
	background: color-mix(in srgb, var(--gray-4) 92%, transparent);
}

.section-link {
	margin-left: auto;
}

.work-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.work-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.work-item[hidden] {
	display: none;
}

.work-figure {
	overflow: hidden;
	border-radius: 8px;
	background: var(--gray-1);
	box-shadow: var(--shadow-2);
}

.work-link {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: inherit;
	background: var(--tint);
}

.work-image {
	position: absolute;
	top: 9%;
	left: 6%;
	width: 88%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 12px 32px -8px var(--black-a5);
	transition: transform 0.2s;
}

.work-image.is-cover {
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
}

.work-link:hover .work-image {
	transform: scale(1.01);
}

[data-tint='amber'] {
	--tint: var(--tint-amber);
}

[data-tint='indigo'] {
	--tint: var(--tint-indigo);
}

[data-tint='blue'] {
	--tint: var(--tint-blue);
}

[data-tint='green'] {
	--tint: var(--tint-green);
}

[data-tint='purple'] {
	--tint: var(--tint-purple);
}

[data-tint='gray'] {
	--tint: var(--tint-gray);
}

[data-tint='tomato'] {
	--tint: var(--tint-tomato);
}

[data-tint='teal'] {
	--tint: var(--tint-teal);
}

[data-tint='pink'] {
	--tint: var(--tint-pink);
}

.page-heading {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 76px;
	font-size: 24px;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: -0.468px;
}

.twirl {
	display: grid;
	width: 36px;
	height: 36px;
	border-radius: 999px;
}

.twirl svg {
	width: 100%;
	height: 100%;
	overflow: visible;
	transform: rotate(var(--turn, 0deg));
	transition: transform 0.9s var(--ease-out);
}

.search {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--gray-10);
}

.search svg {
	flex: none;
	width: 16px;
	height: 16px;
}

.search input {
	width: 100%;
	min-height: 44px;
	font-size: 16px;
	letter-spacing: -0.175px;
	color: var(--gray-12);
	background: none;
	outline: none;
}

.search input::placeholder {
	color: var(--gray-10);
}

.search:focus-within {
	color: var(--gray-12);
}

.empty {
	color: var(--gray-10);
}

.empty[hidden] {
	display: none;
}

.project-gradient {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: -1;
	width: 100vw;
	height: 400px;
	margin-left: -50vw;
	pointer-events: none;
	background-image: linear-gradient(to bottom, color-mix(in srgb, var(--tint) 20%, transparent), transparent);
}

.article {
	display: flex;
	flex-direction: column;
	padding-block: 252px 96px;
}

.article-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.article-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
}

.article-title {
	font-size: 36px;
	font-weight: 500;
	line-height: 130%;
	letter-spacing: -0.79px;
}

.article-actions {
	display: flex;
	gap: 8px;
}

.button {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 550;
	white-space: nowrap;
	color: var(--gray-10);
	background: var(--gray-1);
	box-shadow: var(--shadow-2);
	transition:
		color 0.2s,
		background-color 0.2s,
		transform 0.18s;
}

.button:hover {
	color: var(--gray-12);
	background: var(--gray-3);
}

.button:active {
	transform: scale(0.98);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--gray-11);
}

.project-figure {
	margin: 32px 0 24px;
	border-radius: 10px;
}

.prose {
	color: var(--gray-11);
	overflow-wrap: break-word;
}

.prose > * + * {
	margin-top: 16px;
}

.prose-post {
	margin-top: 32px;
}

.prose :is(h2, h3, h4) {
	margin-top: 40px;
	font-weight: 500;
	letter-spacing: -0.175px;
	color: var(--gray-12);
}

.prose h2 {
	font-size: 20px;
	line-height: 28px;
}

.prose h3 {
	font-size: 16px;
}

.prose a {
	color: var(--gray-12);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--gray-a7);
	text-underline-offset: 2px;
}

.prose :is(strong, b) {
	font-weight: 600;
	color: var(--gray-12);
}

.prose :is(em, i) {
	font-style: italic;
}

.prose :is(ul, ol) {
	padding-left: 24px;
}

.prose ul {
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose li + li {
	margin-top: 8px;
}

.prose blockquote {
	padding-left: 16px;
	box-shadow: inset 2px 0 0 var(--gray-a6);
	color: var(--gray-10);
}

.prose :is(code, pre) {
	font-family: ui-monospace, 'JetBrains Mono', monospace;
	font-size: 13px;
}

.prose :not(pre) > code {
	padding: 2px 5px;
	border-radius: 4px;
	background: var(--gray-a3);
}

.prose pre {
	padding: 14px 16px;
	overflow-x: auto;
	border-radius: 8px;
	background: var(--gray-a3);
	box-shadow: inset 0 0 0 1px var(--gray-a4);
}

.prose :is(img, video) {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.prose hr {
	height: 1px;
	margin-block: 32px;
	background: var(--gray-a4);
}

.prose table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.prose :is(th, td) {
	padding: 6px 12px 6px 0;
	text-align: left;
	box-shadow: inset 0 -1px 0 var(--gray-a4);
}

.post-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-inline: -12px;
}

.post-link {
	display: flex;
	flex-direction: column;
	padding: 12px;
	border-radius: 10px;
	transition: background-color 0.2s;
}

.post-link:hover {
	background: var(--gray-a3);
}

.post-title {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.175px;
	color: var(--gray-12);
}

.post-date {
	color: var(--gray-10);
}

.post-summary {
	margin-top: 8px;
	color: var(--gray-11);
}

.people {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.section-title > span {
	display: inline-flex;
	padding: 3px 9px;
}

.dock-stage {
	display: flex;
	justify-content: center;
	padding-top: 40px;
}

.dock {
	--dock-size: 44px;
	display: flex;
	align-items: flex-end;
	gap: 8px;
	height: calc(var(--dock-size) + 16px);
	padding: 8px 10px;
	border-radius: 20px;
	background: color-mix(in srgb, var(--gray-1) 82%, transparent);
	box-shadow: var(--shadow-4);
	backdrop-filter: blur(12px);
}

.dock-item {
	position: relative;
	flex: none;
	width: calc(var(--dock-size) * var(--scale, 1));
	height: calc(var(--dock-size) * var(--scale, 1));
	transition:
		width 0.18s var(--ease-out),
		height 0.18s var(--ease-out);
}

.dock-link {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 999px;
}

.dock-link img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	background: var(--gray-a3);
	box-shadow: 0 0 0 1px var(--gray-a4);
}

.dock-label {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap;
	color: var(--gray-1);
	background: var(--gray-12);
	opacity: 0;
	pointer-events: none;
	translate: -50% 4px;
	transition:
		opacity 0.15s,
		translate 0.15s;
}

.dock-item:hover .dock-label,
.dock-link:focus-visible + .dock-label {
	opacity: 1;
	translate: -50% 0;
}

.dock-divider {
	flex: none;
	align-self: center;
	width: 1px;
	height: 32px;
	margin-inline: 2px;
	background: var(--gray-a5);
}

.footer {
	position: relative;
	z-index: 1;
	width: 100%;
	margin-block-start: 64px;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: var(--page-max-width);
	margin-inline: auto;
	padding: 0 var(--page-padding) 24px;
}

.footer-divider {
	display: block;
	width: 100%;
	height: 9px;
	overflow: visible;
}

.footer-divider path {
	fill: none;
	stroke: var(--gray-a6);
	stroke-width: 1.1px;
	stroke-linecap: round;
}

.footer-divider path + path {
	stroke: var(--gray-a4);
	stroke-width: 0.8px;
}

.footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.footer-signature {
	font-family: var(--font-hand);
	font-size: 30px;
	font-weight: 700;
	line-height: 24px;
	color: var(--gray-11);
	user-select: none;
}

.footer-row .text-link {
	text-underline-offset: 3px;
}

.scene {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: clip;
	pointer-events: none;
}

.scene-light,
.scene-flare {
	position: absolute;
	inset: 0 0 auto;
	height: 100svh;
}

.scene-light,
.scene-flare {
	transition: opacity 1.4s ease-out;
}

html[data-preloader] .scene :is(.scene-light, .scene-flare, .cloud-arrive) {
	opacity: 0;
	animation: none;
	transition: none;
}

.scene-ghosts {
	position: absolute;
	inset: 0;
	filter: blur(1.5px);
	background:
		radial-gradient(circle at 72% 24%, #ffbe6e24 0 34px, #0000 36px),
		radial-gradient(circle at 58% 42%, #0000 0 18px, #ffaa5a29 20px, #0000 23px),
		radial-gradient(circle at 40% 66%, #ffb47814 0 70px, #0000 74px),
		radial-gradient(circle at 30% 80%, #ff965a21 0 12px, #0000 14px);
}

.scene-grain {
	position: absolute;
	inset: 0;
	background: 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='0.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -0.55'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.1'/%3E%3C/svg%3E") 0 0 / 160px;
	mask-image: linear-gradient(#000 60%, #0000);
}

.scene-light {
	overflow: hidden;
	opacity: var(--glare-opacity);
	mask-image: linear-gradient(#000 45%, #0000 95%);
}

.scene-sun {
	position: absolute;
	top: -55vmax;
	right: -45vmax;
	width: 130vmax;
	aspect-ratio: 1;
	background: radial-gradient(
		circle,
		#fff6e2b3 0%,
		#ffe2ac80 8%,
		#ffc87d42 18%,
		#ffb0601a 32%,
		#0000 50%
	);
	animation: glare-breathe 9s ease-in-out infinite alternate;
}

.scene-rays {
	position: absolute;
	inset: 0;
	filter: blur(5px);
	transform-origin: 92% -4%;
	background: repeating-conic-gradient(
		from 180deg at 92% -4%,
		#ffc47821 0deg 2.5deg,
		#0000 2.5deg 9deg
	);
	mask-image: radial-gradient(circle at 92% -4%, #000 0%, #00000080 30%, #0000 70%);
	animation: glare-sway 24s ease-in-out infinite alternate;
}

.scene-flare {
	opacity: var(--flare-opacity);
	background: radial-gradient(circle at 92% -4%, #fff4de52 0%, #ffdca024 14%, #0000 30%);
}

@keyframes glare-breathe {
	from {
		opacity: 0.85;
	}
}

@keyframes glare-sway {
	from {
		transform: rotate(-1.5deg);
	}
	to {
		transform: rotate(1.5deg);
	}
}

.cloud {
	position: absolute;
	width: var(--size);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	will-change: transform;
}

@supports (animation-timeline: scroll()) {
	.cloud {
		animation: cloud-parallax linear both;
		animation-timeline: scroll(root);
	}
}

@keyframes cloud-parallax {
	from {
		transform: translate(-50%, calc(-50% - var(--anchor) * var(--parallax) * 1px));
	}
	to {
		transform: translate(-50%, calc(-50% + (var(--max-scroll, 0) - var(--anchor)) * var(--parallax) * 1px));
	}
}

.cloud-arrive {
	width: 100%;
	height: 100%;
	animation: cloud-arrive 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--enter-delay) both;
}

.cloud-sway {
	width: 100%;
	height: 100%;
	animation: cloud-sway var(--sway-duration) ease-in-out var(--sway-delay) infinite alternate;
}

.cloud-shape {
	width: 100%;
	height: 100%;
	opacity: 0.9;
	filter: blur(var(--blur));
	transform: rotate(var(--rotate)) scaleY(var(--tilt));
}

.cloud-shape svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

@keyframes cloud-sway {
	from {
		transform: translateX(-4px);
	}
	to {
		transform: translate(4px, -3px);
	}
}

@keyframes cloud-arrive {
	from {
		opacity: 0;
		transform: translateX(-24px) scale(0.92);
	}
}

.bed {
	position: relative;
	left: 50%;
	flex: none;
	width: 100vw;
	height: clamp(240px, 34vw, 420px);
	margin-block-start: -64px;
	margin-left: -50vw;
	overflow: clip;
	pointer-events: none;
	isolation: isolate;
}

.bed .cloud {
	width: calc(var(--size) * 1vw);
	opacity: 0;
	transform: translate(-50%, -15%);
	will-change: auto;
	animation: none;
	transition:
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--enter-delay),
		opacity 0.5s ease-out var(--enter-delay);
}

.bed[data-visible] .cloud {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.bed .cloud-arrive {
	animation: none;
}

.bed .cloud-shape {
	opacity: 0.95;
}

.intake {
	width: min(100% - 32px, 520px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 24px;
	overflow-y: auto;
	border-radius: 16px;
	color: var(--gray-12);
	background: var(--gray-2);
	box-shadow: var(--shadow-4);
	opacity: 0;
	transform: translateY(12px) scale(0.98);
	transition:
		opacity 0.2s ease-out,
		transform 0.28s var(--ease-out),
		overlay 0.28s allow-discrete,
		display 0.28s allow-discrete;
}

.intake[open] {
	opacity: 1;
	transform: none;
}

@starting-style {
	.intake[open] {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}

.intake::backdrop {
	background: var(--black-a6);
	backdrop-filter: blur(4px);
}

.intake [hidden] {
	display: none;
}

.intake-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.intake-head h2 {
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: -0.3px;
}

.intake-lede {
	color: var(--gray-10);
}

.intake-close {
	display: grid;
	flex: none;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	color: var(--gray-10);
	transition:
		color 0.2s,
		background-color 0.2s;
}

.intake-close:hover {
	color: var(--gray-12);
	background: var(--gray-a3);
}

.intake form {
	display: grid;
	gap: 18px;
}

.intake-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.field,
.choice {
	display: grid;
	gap: 6px;
}

.field,
.choice legend {
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-11);
}

.choice legend {
	margin-bottom: 8px;
}

.field :is(input, textarea) {
	width: 100%;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 450;
	color: var(--gray-12);
	background: var(--gray-a2);
	box-shadow: inset 0 0 0 1px var(--gray-a4);
	outline: none;
	transition:
		box-shadow 0.2s,
		background-color 0.2s;
}

.field textarea {
	min-height: 112px;
	resize: vertical;
}

.field ::placeholder {
	color: var(--gray-10);
}

.field :is(input, textarea):hover {
	box-shadow: inset 0 0 0 1px var(--gray-a6);
}

.field :is(input, textarea):focus-visible {
	background: var(--gray-1);
	box-shadow:
		inset 0 0 0 1px var(--gray-a9),
		0 0 0 3px var(--gray-a4);
}

.field :is(input, textarea):user-invalid {
	box-shadow:
		inset 0 0 0 1px var(--error),
		0 0 0 3px color-mix(in srgb, var(--error) 18%, transparent);
}

.field-hint {
	font-weight: 450;
	color: var(--gray-10);
}

.field:has(:user-invalid) .field-hint {
	color: var(--error);
}

.choice-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.chip {
	position: relative;
}

.chip input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.chip span {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding-inline: 12px;
	border-radius: 999px;
	font-weight: 450;
	white-space: nowrap;
	color: var(--gray-11);
	background: var(--gray-a3);
	transition:
		color 0.2s,
		background-color 0.2s,
		transform 0.18s;
}

.chip:hover span {
	color: var(--gray-12);
	background: var(--gray-a5);
}

.chip:active span {
	transform: scale(0.97);
}

.chip input:checked + span {
	font-weight: 550;
	color: var(--gray-1);
	background: var(--gray-12);
}

.chip input:focus-visible + span {
	outline: 2px solid var(--gray-12);
	outline-offset: 2px;
}

.intake-trap {
	position: absolute;
	left: -9999px;
}

.intake-submit {
	display: block;
	width: 100%;
	height: 40px;
	border-radius: 999px;
	font-weight: 550;
	color: var(--gray-1);
	background: var(--gray-12);
	transition:
		opacity 0.2s,
		transform 0.18s;
}

.intake-submit:hover {
	opacity: 0.88;
}

.intake-submit:active {
	transform: scale(0.98);
}

.intake-submit:disabled {
	opacity: 0.6;
	cursor: progress;
}

.intake-done {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding-top: 8px;
	text-align: center;
	color: var(--gray-11);
}

.intake-done h3 {
	margin-top: 8px;
	font-size: 16px;
	font-weight: 500;
	color: var(--gray-12);
}

.intake-done .intake-submit {
	margin-top: 18px;
}

.status {
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--gray-a3);
}

.status[hidden] {
	display: none;
}

.status.bad {
	color: var(--error);
}

@media (max-width: 640px) {
	.page {
		gap: 64px;
		padding-block: 152px 96px;
	}

	.article {
		padding-top: 152px;
	}

	.article-title {
		font-size: 28px;
	}

	.signature {
		font-size: 64px;
	}

	.section-title {
		font-size: 24px;
		line-height: 32px;
	}

	.nav-link {
		padding-inline: 7px;
	}

	.dock {
		--dock-size: 36px;
		gap: 6px;
		padding-inline: 8px;
	}

	.bed {
		height: clamp(220px, 64vw, 300px);
		margin-block-start: -40px;
	}

	.bed .cloud {
		width: calc(var(--size) * 1.6vw);
	}

	.bed .cloud[data-wide-only] {
		display: none;
	}

	.intake {
		width: 100%;
		max-width: 100%;
		max-height: 92dvh;
		margin: auto 0 0;
		padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
		border-radius: 20px 20px 0 0;
		transform: translateY(48px);
	}

	@starting-style {
		.intake[open] {
			transform: translateY(48px);
		}
	}

	.intake-row {
		grid-template-columns: 1fr;
	}

	.intake-close {
		width: 44px;
		height: 44px;
		margin: -6px -8px 0 0;
	}

	.field :is(input, textarea) {
		min-height: 44px;
		font-size: 16px;
	}

	.chip span {
		height: 40px;
		padding-inline: 14px;
	}

	.intake-submit {
		height: 48px;
	}
}

@media (prefers-reduced-transparency: reduce) {
	.top-blur::before {
		backdrop-filter: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	::before,
	::after {
		animation: none !important;
		transition: none !important;
	}

	.signature span {
		clip-path: none;
	}

	.bed .cloud {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}
