/* Base tokens and document defaults */

:root {
	--color-bg-dark: #11161d;
	--color-bg-dark-alt: #1b232d;
	--color-parchment: #dcc7a0;
	--color-parchment-deep: #b89b6b;
	--color-gold: #cba567;
	--color-gold-soft: #efd8aa;
	--color-red: #7c2418;
	--color-red-deep: #4f140c;
	--color-frost: #4c759d;
	--color-blue-ice: var(--color-frost);
	--color-blue-ice-deep: #1f3e58;
	--color-ink: #20170f;
	--color-stone: #27303a;
	--color-stone-edge: #3b4651;
	--color-text: #f0e5cf;
	--color-text-muted: #c7bda8;
	--shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
	--shadow-panel: 0 20px 60px rgba(0, 0, 0, 0.45);
	--radius-panel: 22px;
	--radius-card: 18px;
	--font-title: "Cinzel", "Times New Roman", serif;
	--font-body: "Lora", Georgia, serif;
	--container-narrow: 1120px;
	--container-max: 1920px;
	--hero-content-max: 1440px;
	--site-header-height: 6.2rem;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background:
		radial-gradient(circle at 20% 0%, rgba(203, 165, 103, 0.08), transparent 24%),
		radial-gradient(circle at 100% 80%, rgba(76, 117, 157, 0.11), transparent 28%),
		linear-gradient(180deg, #161d26 0%, #0d1117 100%);
	background-attachment: fixed;
	line-height: 1.65;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
	color: #fff7e7;
}

.site-main {
	overflow: clip;
}

.single-scenario .site-main {
	overflow: visible;
}
