:root {
	--mv-bg: #07060a;
	--mv-bg-veil: #110e18;
	--mv-ink: #f3ece3;
	--mv-soft: #b8aea4;
	--mv-muted: #7a7280;
	--mv-gold: #e8b87a;
	--mv-gold-dim: rgba(232, 184, 122, 0.35);
	--mv-violet: #6b5a8e;
	--mv-violet-glow: rgba(107, 90, 142, 0.35);
	--mv-line: rgba(243, 236, 227, 0.08);

	--mv-font: "Sora", system-ui, sans-serif;
	--mv-display: "Playfair Display", Georgia, serif;

	--mv-read: 44rem;
	--mv-wide: min(76rem, 94vw);
	--mv-gutter: clamp(1.25rem, 4vw, 3rem);
	--mv-space: clamp(4rem, 11vw, 7rem);

	--global-body-font-family: var(--mv-font);
	--global-heading-font-family: var(--mv-display);
	--global-content-width: var(--mv-wide);
	--global-content-edge-padding: var(--mv-gutter);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--mv-bg);
	color: var(--mv-soft);
	font-family: var(--mv-font);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% -10%, var(--mv-violet-glow), transparent 55%),
		radial-gradient(ellipse 50% 45% at 85% 75%, rgba(232, 184, 122, 0.08), transparent 50%),
		radial-gradient(ellipse 40% 35% at 10% 60%, rgba(80, 60, 120, 0.15), transparent 45%);
	pointer-events: none;
	z-index: 0;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	opacity: 0.04;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 0;
}

.mv-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a {
	color: var(--mv-gold);
	text-decoration: none;
	transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover,
a:focus {
	color: var(--mv-ink);
}

h1, h2, h3 {
	font-family: var(--mv-display);
	font-weight: 500;
	color: var(--mv-ink);
	line-height: 1.2;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.screen-reader-text:focus {
	background: var(--mv-bg-veil);
	clip: auto !important;
	clip-path: none;
	color: var(--mv-ink);
	display: block;
	height: auto;
	left: 1rem;
	padding: 1rem;
	top: 1rem;
	width: auto;
	z-index: 200000;
}
