@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,400,30,0;0,9..144,500,30,0;1,9..144,400,30,0&display=swap");

:root {
	color-scheme: light;
	--bg: #f3eee5;
	--paper: #fffdf7;
	--ink: #211f19;
	--muted: #625e54;
	--line: #c9c2b5;
	--accent: #a53f2b;
	--accent-soft: #e9d9cd;
	--dark: #25251e;
	--dark-ink: #f5eedf;
	font-family: "DM Sans", sans-serif;
	scroll-behavior: smooth;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
}
a {
	color: inherit;
}
button,
a {
	-webkit-tap-highlight-color: transparent;
}
a:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 4px;
}
.page-shell {
	overflow: hidden;
}
.site-header,
.hero,
.section-wrap,
.site-footer {
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: clamp(24px, 5.2vw, 84px);
}
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 88px;
	border-bottom: 1px solid var(--line);
}
.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	font-size: 1.14rem;
	font-weight: 700;
	letter-spacing: -0.045em;
}
.mark {
	width: 29px;
	height: 29px;
	display: grid;
	place-items: center;
	background: var(--ink);
	color: var(--bg);
	font-family: "Fraunces", serif;
	font-size: 1.15rem;
	line-height: 1;
}
.mark span {
	color: #e9a47c;
}
.site-header nav {
	display: flex;
	align-items: center;
	gap: clamp(1.1rem, 3vw, 3rem);
}
.site-header nav a,
.footer-links a {
	text-decoration: none;
	font-size: 0.79rem;
	font-weight: 700;
}
.nav-project {
	border-bottom: 1px solid var(--ink);
	padding-block: 6px;
}
.site-header nav a:hover,
.footer-links a:hover,
.text-link:hover {
	color: var(--accent);
}
.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
	gap: clamp(36px, 5vw, 88px);
	align-items: center;
	min-height: 720px;
	padding-block: 72px 90px;
}
.eyebrow,
.specimen-kicker,
.specimen-index,
.specimen-meta,
.specimen-copy,
.step-number,
.interlude-index,
.scope-marker,
.footer-note {
	font-family: "DM Mono", monospace;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}
.eyebrow {
	display: flex;
	align-items: center;
	gap: 13px;
	color: var(--accent);
	margin: 0 0 29px;
}
.eyebrow-rule {
	width: 25px;
	height: 1px;
	background: currentColor;
}
.hero h1,
.section-heading h2,
.scope h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(3.6rem, 6.1vw, 6.6rem);
	font-weight: 400;
	line-height: 0.99;
	letter-spacing: -0.068em;
	margin: 0;
}
.hero h1 em,
.scope h2 em {
	color: var(--accent);
	font-weight: 400;
}
.hero-lead {
	font-size: clamp(1rem, 1.36vw, 1.18rem);
	line-height: 1.65;
	max-width: 35rem;
	color: var(--muted);
	margin: 29px 0 0;
}
.hero-actions {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
	margin-top: 36px;
}
.button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	min-height: 51px;
	padding: 0 20px;
	text-decoration: none;
	font-size: 0.83rem;
	font-weight: 700;
}
.button-primary {
	background: var(--ink);
	color: var(--paper);
}
.button-primary:hover {
	background: var(--accent);
}
.text-link {
	font-size: 0.83rem;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid;
	padding-bottom: 6px;
}
.hero-boundary {
	margin: 46px 0 0;
	padding-top: 15px;
	border-top: 1px solid var(--line);
	font-family: "DM Mono", monospace;
	color: var(--muted);
	font-size: 0.66rem;
	letter-spacing: 0.035em;
}
.specimen {
	margin: 0;
	transform: rotate(-2deg);
}
.specimen-topline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 3px 14px;
}
.specimen-paper {
	background: var(--paper);
	box-shadow:
		16px 21px 0 #d8cdbb,
		19px 24px 0 #bdb1a0;
	border: 1px solid var(--ink);
	padding: clamp(22px, 3vw, 43px);
	min-height: 480px;
}
.specimen-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	color: var(--muted);
	font-size: 0.56rem;
}
.specimen-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	flex: none;
}
.specimen-paper h2 {
	font-family: "Fraunces", serif;
	font-weight: 400;
	letter-spacing: -0.055em;
	font-size: clamp(2rem, 3vw, 3.2rem);
	margin: 58px 0 8px;
}
.specimen-description {
	color: var(--muted);
	font-size: 0.85rem;
	margin: 0 0 27px;
}
.specimen-body {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding-block: 18px;
	display: grid;
	gap: 9px;
	font-family: "DM Mono", monospace;
	font-size: clamp(0.64rem, 0.9vw, 0.83rem);
	line-height: 1.5;
}
.code-line {
	display: block;
}
.line-no {
	color: #a39b8c;
	padding-right: 19px;
}
.token {
	color: var(--accent);
}
.specimen-bottom {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 23px;
}
.tag {
	font-size: 0.66rem;
	background: var(--accent-soft);
	padding: 6px 9px;
}
.specimen-copy {
	margin-left: auto;
	white-space: nowrap;
	color: var(--accent);
	font-size: 0.58rem;
}
.specimen figcaption {
	max-width: 32rem;
	margin: 30px 0 0 16px;
	color: var(--muted);
	font-size: 0.69rem;
	line-height: 1.5;
	transform: rotate(2deg);
}
.workflow {
	padding-block: 95px 105px;
	border-top: 1px solid var(--line);
}
.section-heading {
	display: grid;
	grid-template-columns: 1fr minmax(250px, 0.4fr);
	column-gap: 5vw;
}
.section-heading .eyebrow {
	grid-column: 1 / -1;
}
.section-heading h2,
.scope h2 {
	font-size: clamp(2.8rem, 4.6vw, 5rem);
}
.section-heading > p:last-child {
	align-self: end;
	color: var(--muted);
	max-width: 22rem;
	line-height: 1.65;
	margin: 0;
}
.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 70px;
	border-top: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
}
.steps article {
	padding: 26px 33px 42px 0;
}
.steps article + article {
	padding-left: 33px;
	border-left: 1px solid var(--line);
}
.step-number {
	color: var(--accent);
}
.steps h3 {
	font-family: "Fraunces", serif;
	font-weight: 400;
	font-size: 2.35rem;
	letter-spacing: -0.055em;
	margin: 43px 0 12px;
}
.steps p {
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.7;
	max-width: 22rem;
}
.steps code {
	font-size: 0.81em;
	background: var(--accent-soft);
	padding: 2px 4px;
}
.interlude {
	background: var(--dark);
	color: var(--dark-ink);
}
.interlude-inner {
	max-width: 1440px;
	min-height: 335px;
	margin: auto;
	padding: 55px clamp(24px, 5.2vw, 84px);
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	position: relative;
}
.interlude-index {
	grid-column: 1 / -1;
	color: #d8a684;
	align-self: start;
}
.interlude p {
	font-family: "Fraunces", serif;
	font-size: clamp(2.2rem, 4.7vw, 5.2rem);
	letter-spacing: -0.05em;
	line-height: 1.07;
	max-width: 920px;
	margin: 0;
}
.interlude em {
	color: #edae83;
}
.interlude-star {
	font-size: 6rem;
	color: #d38b62;
}
.scope {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 10vw;
	padding-block: 110px 130px;
}
.scope-lead > p:not(.eyebrow) {
	color: var(--muted);
	line-height: 1.65;
	max-width: 28rem;
	margin: 28px 0;
}
.button-outline {
	border: 1px solid var(--ink);
	width: max-content;
}
.button-outline:hover {
	background: var(--ink);
	color: var(--bg);
}
.scope-list article {
	border-top: 1px solid var(--ink);
	padding: 24px 0 30px;
}
.scope-marker {
	color: var(--accent);
}
.scope-list h3 {
	font-family: "Fraunces", serif;
	font-size: 1.7rem;
	font-weight: 400;
	letter-spacing: -0.035em;
	margin: 14px 0 8px;
}
.scope-list p {
	color: var(--muted);
	font-size: 0.85rem;
	line-height: 1.7;
	max-width: 34rem;
	margin: 0;
}
.site-footer {
	border-top: 1px solid var(--ink);
	padding-block: 38px 55px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 35px;
}
.site-footer p {
	font-size: 0.78rem;
	color: var(--muted);
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: start;
}
.footer-note {
	grid-column: 1 / -1;
	margin: 0;
}
@media (max-width: 900px) {
	.hero {
		grid-template-columns: 1fr;
		min-height: auto;
		padding-block: 80px;
	}
	.hero-copy {
		max-width: 750px;
	}
	.specimen {
		max-width: 650px;
		margin: 24px auto 0;
	}
	.section-heading {
		grid-template-columns: 1fr;
	}
	.section-heading > p:last-child {
		margin-top: 26px;
	}
	.scope {
		gap: 55px;
	}
}
@media (max-width: 680px) {
	.site-header {
		min-height: 72px;
	}
	.site-header nav {
		gap: 15px;
	}
	.site-header nav a {
		font-size: 0.7rem;
	}
	.site-header nav a:first-child {
		display: none;
	}
	.nav-project {
		white-space: nowrap;
	}
	.hero {
		padding-block: 65px 85px;
		gap: 35px;
	}
	.hero h1 {
		font-size: clamp(3.25rem, 11vw, 5.5rem);
	}
	.hero-actions {
		gap: 16px;
	}
	.hero-boundary {
		line-height: 1.5;
		margin-top: 34px;
	}
	.specimen {
		transform: none;
	}
	.specimen-paper {
		min-height: auto;
		box-shadow: 8px 10px 0 #d8cdbb;
		padding: 22px;
	}
	.specimen-paper h2 {
		margin-top: 45px;
	}
	.specimen-meta {
		font-size: 0.46rem;
	}
	.specimen figcaption {
		transform: none;
		margin: 24px 0 0;
	}
	.workflow {
		padding-block: 70px;
	}
	.steps {
		grid-template-columns: 1fr;
		margin-top: 45px;
	}
	.steps article,
	.steps article + article {
		border-left: 0;
		padding: 21px 0 27px;
	}
	.steps article + article {
		border-top: 1px solid var(--line);
	}
	.steps h3 {
		margin: 13px 0 7px;
		font-size: 2rem;
	}
	.steps p {
		max-width: none;
		margin-bottom: 0;
	}
	.interlude-inner {
		min-height: 300px;
	}
	.interlude-star {
		font-size: 3rem;
	}
	.scope {
		grid-template-columns: 1fr;
		padding-block: 78px;
	}
	.site-footer {
		grid-template-columns: 1fr;
	}
	.footer-links {
		gap: 16px;
	}
	.footer-note {
		grid-column: auto;
	}
}
@media (max-width: 420px) {
	.site-header nav a:nth-child(2) {
		display: none;
	}
	.hero h1 {
		font-size: 3.1rem;
	}
	.specimen-body {
		font-size: 0.62rem;
	}
	.line-no {
		padding-right: 9px;
	}
	.specimen-copy {
		font-size: 0.5rem;
	}
}
@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--bg: #171612;
		--paper: #25231e;
		--ink: #f4eddc;
		--muted: #c0b7a8;
		--line: #514a3f;
		--accent: #edae83;
		--accent-soft: #443022;
		--dark: #e5d8c5;
		--dark-ink: #211f19;
	}
	.mark {
		background: var(--accent);
		color: #211f19;
	}
	.mark span {
		color: #fff8ec;
	}
	.button-primary {
		color: #211f19;
	}
	.specimen-paper {
		box-shadow:
			16px 21px 0 #40372d,
			19px 24px 0 #6e5a47;
	}
	.tag {
		color: #f5dfcb;
	}
	.interlude-index {
		color: #96482d;
	}
	.interlude em {
		color: #a0472e;
	}
}
