:root {
	--paper: #ede6d6;
	--paper-dark: #e2dac6;
	--ink: #3c2c1e;
	--ink-soft: #6b5642;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	overflow: hidden;
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: "Fraunces", Georgia, "Times New Roman", serif;
}

/* Base paper layer: warm parchment tone, soft vignette, fine grain */
.paper {
	position: fixed;
	inset: 0;
	z-index: 0;
	background-color: var(--paper);
	background-image:
		radial-gradient(ellipse at 50% 40%, rgba(255, 250, 235, 0.45) 0%, rgba(237, 230, 214, 0) 55%),
		radial-gradient(ellipse at 50% 100%, rgba(60, 44, 30, 0.10) 0%, rgba(60, 44, 30, 0) 60%),
		radial-gradient(ellipse at 50% 0%, rgba(60, 44, 30, 0.08) 0%, rgba(60, 44, 30, 0) 55%);
}

.paper::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.235  0 0 0 0 0.173  0 0 0 0 0.118  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
	opacity: 0.22;
	mix-blend-mode: multiply;
}

.paper::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.235  0 0 0 0 0.173  0 0 0 0 0.118  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23f)'/></svg>");
	opacity: 0.4;
	mix-blend-mode: multiply;
}

#ink {
	position: fixed;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: block;
}

.content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1.5rem;
	pointer-events: none;
}

.name {
	font-weight: 440;
	font-size: clamp(2.4rem, 8vw, 5.5rem);
	letter-spacing: 0.01em;
	color: var(--ink);
	line-height: 1.05;
	font-variation-settings: "SOFT" 40, "opsz" 72;
}

.subtitle {
	margin-top: clamp(0.6rem, 2vw, 1.1rem);
	font-weight: 400;
	font-style: italic;
	font-size: clamp(0.85rem, 1.6vw, 1.1rem);
	letter-spacing: 0.42em;
	text-transform: lowercase;
	color: var(--ink-soft);
	padding-left: 0.42em;
}

@media (prefers-reduced-motion: reduce) {
	#ink {
		display: none;
	}
}
