

:root {
	color-scheme: dark;


	--ground: #4A1F22;
	--surface: #5B272B;
	--surface-2: #6F3337;
	--line: #915255;
	--ink-soft: #D0AEAE;
	--ink: #FCE0E0;
	--accent: #93B376;
	--accent-ink: #111111;


	--ground-veil: rgb(74 31 34 / 0.78);
	--shade-ink: rgb(26 9 11 / 0.72);
	--shade-1: 0 1px 0 rgb(26 9 11 / 0.35);
	--shade-2: 0 16px 34px -20px rgb(20 6 8 / 0.85);
	--shade-3: 0 30px 70px -28px rgb(14 4 6 / 0.9);


	--heha-dda: 'Old Standard TT', 'Old Standard TT Fallback', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
	--heha-b90: 'Source Serif 4', 'Source Serif 4 Fallback', 'Source Serif Pro', Charter, 'Bitstream Charter', Georgia, serif;
	--heha-d7d: 'IBM Plex Mono', 'IBM Plex Mono Fallback', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;


	--step--1: clamp(0.8125rem, 0.79rem + 0.12vw, 0.875rem);
	--heha-450: clamp(1.0625rem, 1.03rem + 0.16vw, 1.125rem);
	--heha-cbd: clamp(1.1875rem, 1.12rem + 0.34vw, 1.375rem);
	--heha-ada: clamp(1.4rem, 1.26rem + 0.72vw, 1.875rem);
	--heha-eaa: clamp(1.75rem, 1.46rem + 1.45vw, 2.75rem);
	--heha-f1b: clamp(2.1rem, 1.56rem + 2.7vw, 4rem);
	--heha-c7e: clamp(2.35rem, 1.42rem + 4.65vw, 5.75rem);


	--lead-tight: 1.06;
	--lead-head: 1.14;
	--lead-body: 1.62;
	--track-display: -0.014em;
	--track-open: 0.012em;


	--space-1: 0.375rem;
	--space-2: 0.625rem;
	--space-3: 1rem;
	--space-4: 1.5rem;
	--space-5: 2.25rem;
	--space-6: 3.25rem;
	--space-7: 4.75rem;
	--space-8: 6.5rem;


	--heha-bf2: 78rem;
	--heha-bf2-narrow: 54rem;
	--heha-e37: clamp(1.25rem, 4vw, 3rem);
	--band-y: clamp(4rem, 9vw, 8rem);
	--measure: 65ch;


	--hair: 1px;
	--rule-accent: 2px;
	--lockup-step: clamp(1.25rem, 6.5vw, 5.5rem);
	--stage-indent: clamp(1.25rem, 4vw, 4rem);
	--stage-mark: 0.5625rem;


	--bar-h: 5.5rem;
	--bar-h-tucked: 3.5rem;
	--bar-offset: 0px;
	--dock-h: 4rem;
	--tap: 2.75rem;


	--z-bar: 50;
	--z-sheet: 55;
	--z-dock: 60;
	--z-fab: 64;
	--z-chat: 66;
	--z-consent: 70;
	--z-skip: 90;


	--dur-1: 120ms;
	--dur-2: 160ms;
	--dur-3: 240ms;
	--dur-4: 420ms;
	--dur-5: 720ms;
	--ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ease-in-out: cubic-bezier(0.6, 0, 0.2, 1);
	--ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
}


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


html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-block-start: 1rem;
	background: var(--ground);
}


body {
	margin: 0;
	min-height: 100svh;
	overflow-x: clip;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--heha-b90);
	font-size: var(--heha-450);
	font-weight: 400;
	line-height: var(--lead-body);
	font-optical-sizing: auto;
	font-kerning: normal;
	font-variant-ligatures: common-ligatures;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	hanging-punctuation: first;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
fieldset,
legend { margin: 0; }


fieldset {
	padding: 0;
	border: 0;
	min-width: 0;
}


ul[class],
ol[class] {
	padding: 0;
	list-style: none;
}


img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
}


img { height: auto; }


button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}


button { border-radius: 0; }


table {
	border-collapse: collapse;
	border-spacing: 0;
}


[hidden] { display: none !important; }


::selection {
	background: var(--accent);
	color: var(--accent-ink);
}


:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--heha-dda);
	font-weight: 400;
	color: var(--ink);
	letter-spacing: var(--track-display);
	text-wrap: balance;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}


h1 {
	font-size: var(--heha-c7e);
	line-height: var(--lead-tight);
}


h2 {
	font-size: var(--heha-f1b);
	line-height: 1.08;
}


h3 {
	font-size: var(--heha-ada);
	line-height: var(--lead-head);
	letter-spacing: -0.006em;
}


h4 {
	font-size: var(--heha-cbd);
	line-height: 1.25;
	letter-spacing: 0;
}


h5,
h6 {
	font-size: var(--heha-450);
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0;
}


p {
	max-width: var(--measure);
	text-wrap: pretty;
}


a {
	color: var(--ink);
	text-decoration-line: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color var(--dur-2) var(--ease-out), text-decoration-color var(--dur-2) var(--ease-out);
}


a:hover {
	color: var(--accent);
	text-decoration-thickness: 2px;
}


a:active { color: var(--ink-soft); }


strong,
b { font-weight: 600; }


em,
i { font-style: italic; }


small { font-size: var(--step--1); }


hr {
	height: 0;
	margin: var(--space-6) 0;
	border: 0;
	border-top: var(--hair) solid var(--line);
}


code,
kbd,
samp {
	font-family: var(--heha-d7d);
	font-size: 0.9em;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}


code {
	padding: 0.1em 0.35em;
	background: var(--surface-2);
	border: var(--hair) solid var(--line);
}


.fig {
	font-family: var(--heha-d7d);
	font-weight: 500;
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: 'tnum' 1, 'lnum' 1;
	letter-spacing: -0.01em;
}


.h-display {
	font-size: var(--heha-c7e);
	line-height: var(--lead-tight);
}


.h-section {
	font-size: var(--heha-f1b);
	line-height: 1.08;
}


.h-sub {
	font-size: var(--heha-ada);
	line-height: var(--lead-head);
	letter-spacing: -0.006em;
}


.h-minor {
	font-size: var(--heha-cbd);
	line-height: 1.25;
	letter-spacing: 0;
}


.lede {
	font-size: var(--heha-cbd);
	line-height: 1.5;
	color: var(--ink);
	max-width: 54ch;
}


.soft { color: var(--ink-soft); }


.lockup {
	display: grid;
	justify-items: start;
	max-width: 100%;
}


.lockup__a,
.lockup__b {
	display: block;

	min-width: 0;
	max-width: 100%;
}


.lockup__b {
	position: relative;
	margin-top: 0.16em;
	padding-top: 0.2em;
	padding-left: var(--lockup-step);
}


.lockup__b::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: min(100%, calc(var(--lockup-step) + 4.2em));
	height: var(--rule-accent);
	background: var(--accent);
	transform-origin: left center;
}


.lockup--deep { --lockup-step: clamp(1.25rem, 10vw, 9rem); }


.quote-hung { position: relative; }


.quote-hung::before {
	content: "\201C";
	position: absolute;
	right: 100%;

	top: 0;
	margin-right: 0.04em;

	color: var(--accent);
	font-family: var(--heha-dda);
}


.prose { max-width: var(--measure); }


.prose > * + * { margin-top: 1.15em; }


.prose h2 {
	font-size: var(--heha-eaa);
	line-height: 1.12;
	margin-top: 2.2em;
}


.prose h3 {
	font-size: var(--heha-ada);
	margin-top: 1.9em;
}


.prose h4 {
	font-size: var(--heha-cbd);
	margin-top: 1.6em;
}


.prose h2 + *,
.prose h3 + *,
.prose h4 + * { margin-top: 0.7em; }


.prose ul,
.prose ol { padding-left: 1.35em; }


.prose li {
	max-width: var(--measure);
	padding-left: 0.25em;
}


.prose li + li { margin-top: 0.5em; }


.prose ul { list-style: square; }


.prose ul li::marker { color: var(--ink-soft); }


.prose ol li::marker {
	font-family: var(--heha-d7d);
	font-size: 0.85em;
	color: var(--ink-soft);
}


.prose blockquote {
	padding-left: 1.25rem;
	border-left: var(--rule-accent) solid var(--line);
	font-style: italic;
	color: var(--ink-soft);
}


.prose address { font-style: normal; }


.shell {
	width: 100%;
	max-width: var(--heha-bf2);
	margin-inline: auto;
	padding-inline: var(--heha-e37);
}


.shell--narrow { max-width: var(--heha-bf2-narrow); }


.band {
	position: relative;
	padding-block: var(--band-y);
	background: var(--ground);
}


.band--surface { background: var(--surface); }


.band--tight { --band-y: clamp(2.5rem, 5.5vw, 4.75rem); }


.band--rule { border-top: var(--hair) solid var(--line); }


.band--flush-top { padding-top: 0; }


.flow > * + * { margin-top: var(--flow, 1.1em); }


.stack {
	display: grid;
	gap: var(--stack, var(--space-4));
}


.stack > * { min-width: 0; }


.cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--cluster, var(--space-3) var(--space-4));
}


.cluster > * { min-width: 0; }


.center-col {
	max-width: var(--measure);
	margin-inline: auto;
}


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


.rule {
	display: block;
	width: 100%;
	height: 0;
	border: 0;
	border-top: var(--hair) solid var(--line);
}


.rule--short {
	width: 3.5rem;
	border-top: var(--rule-accent) solid var(--accent);
}


@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}


@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }


	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
}


@media print {
	body {
		background: #FFFFFF;
		color: #111111;
		padding-bottom: 0;
	}


	h1,
	h2,
	h3,
	h4,
	a { color: #111111; }
}
