:root {
	--ink: #101513;
	--paper: #e9e6de;
	--muted: #989c92;
	--line: rgba(233, 230, 222, 0.15);
	--accent: #c7a570;
}

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

html {
	min-width: 320px;
	background: var(--ink);
}

body {
	min-height: 100svh;
	background: var(--ink);
	color: var(--paper);
	font-family: 'DM Sans', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.page-shell {
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-height: 100svh;
	padding: clamp(1.5rem, 4vw, 3.25rem) clamp(1.5rem, 5vw, 5rem);
	overflow: hidden;
}

.page-shell::before {
	position: absolute;
	inset: clamp(0.75rem, 2vw, 1.6rem);
	border: 1px solid var(--line);
	content: '';
	pointer-events: none;
}

.site-header,
footer {
	position: relative;
	z-index: 1;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.site-header a {
	color: var(--paper);
	text-decoration: none;
}

main {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
}

.identity {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 2.4rem);
}

.monogram {
	display: grid;
	width: clamp(7rem, 13vw, 10rem);
	aspect-ratio: 1;
	place-items: center;
	border: 1px solid var(--accent);
	color: var(--accent);
	font-family: 'Instrument Serif', Georgia, serif;
	font-size: clamp(5.3rem, 9vw, 7.8rem);
	line-height: 1;
}

h1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: 'Instrument Serif', Georgia, serif;
	font-size: clamp(2.9rem, 6vw, 5.4rem);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.8;
}

h1 span {
	margin-top: 1.5rem;
	font-family: 'DM Sans', Arial, sans-serif;
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-indent: 0.3em;
	text-transform: uppercase;
	color: var(--accent);
}

footer {
	color: var(--muted);
}

@media (max-width: 420px) {
	.page-shell {
		padding: 1.5rem;
	}

	.page-shell::before {
		inset: 0.65rem;
	}
}
