:root {
	--bg: #09070c;
	--bg-soft: rgba(17, 14, 24, 0.8);
	--panel: rgba(20, 16, 28, 0.84);
	--panel-strong: rgba(31, 24, 44, 0.92);
	--ink: #f4e8c7;
	--muted: #d0c3a1;
	--line: #c9a45e;
	--accent: #8dd9ff;
	--accent-strong: #3964ff;
	--ember: #ff9c53;
}

@font-face {
	font-family: "DepthsDisplay";
	src: url("./media/fonts/MedievalSharp-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "DepthsBody";
	src: url("./media/fonts/Oswald-VariableFont_wght.ttf") format("truetype");
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	background: #09070c;
	color: var(--ink);
	font-family: "DepthsBody", sans-serif;
}

body {
	position: relative;
}

.backdrop {
	position: fixed;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(7, 6, 11, 0.2), rgba(9, 7, 12, 0.96)),
		radial-gradient(circle at top, rgba(61, 100, 255, 0.2), transparent 35%),
		url("./media/images/splash.png") center top / cover no-repeat;
	filter: saturate(0.88);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at 22% 18%, rgba(141, 217, 255, 0.14), transparent 22%),
		radial-gradient(circle at 80% 12%, rgba(255, 156, 83, 0.16), transparent 20%),
		linear-gradient(transparent 0 96%, rgba(255, 255, 255, 0.025) 96% 100%);
	pointer-events: none;
}

.page-shell {
	position: relative;
	z-index: 1;
	padding: 28px clamp(18px, 3.6vw, 44px) 48px;
}

.hero,
.feature-strip,
.lore-section,
.showcase,
.gallery-grid,
.play-section,
.downloads-section {
	position: relative;
}

.hero {
	display: grid;
	grid-template-columns: minmax(320px, 1.1fr) minmax(300px, 0.9fr);
	gap: 28px;
	align-items: center;
	min-height: 78vh;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--line);
	font-family: "DepthsBody", sans-serif;
	font-size: 0.86rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.wordmark {
	display: block;
	width: min(560px, 100%);
	height: auto;
	margin-bottom: 10px;
	filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.32));
}

h1,
h2,
h3 {
	margin: 0;
	font-family: "DepthsDisplay", serif;
	line-height: 0.98;
}

h1 {
	font-size: clamp(2.8rem, 6vw, 5.8rem);
	max-width: 10ch;
	text-shadow: 0 0 32px rgba(141, 217, 255, 0.14);
}

h2 {
	font-size: clamp(1.8rem, 3.2vw, 3.2rem);
}

h3 {
	font-size: 1.6rem;
}

.lede,
.feature-strip p,
.showcase-copy p,
.gallery-card p,
.play-copy p,
.downloads-section p {
	color: var(--muted);
	font-size: clamp(1rem, 1.35vw, 1.15rem);
	line-height: 1.6;
	max-width: 64ch;
}

.hero-actions,
.hero-stats,
.player-actions,
.download-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-stats {
	margin-top: 24px;
}

.cta,
.audio-toggle {
	border: 1px solid rgba(201, 164, 94, 0.88);
	background: rgba(23, 27, 57, 0.82);
	color: var(--ink);
	text-decoration: none;
	padding: 13px 18px;
	border-radius: 12px;
	font-family: "DepthsBody", sans-serif;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cta.primary {
	background: linear-gradient(180deg, #4c7cff, #273ac1);
	box-shadow: 0 14px 32px rgba(20, 32, 104, 0.32);
}

.cta:hover,
.audio-toggle:hover {
	transform: translateY(-2px);
	background: rgba(44, 55, 107, 0.92);
}

.audio-toggle.is-playing {
	background: linear-gradient(180deg, #6a3e22, #3f2414);
	box-shadow: 0 0 0 1px rgba(255, 156, 83, 0.28), 0 0 24px rgba(255, 156, 83, 0.18);
}

.hero-stats div,
.feature-strip article,
.lore-panel-wrap,
.lore-panel,
.showcase-copy,
.gallery-card,
.play-section,
.playframe-wrap,
.downloads-section {
	border: 1px solid rgba(201, 164, 94, 0.76);
	background: var(--bg-soft);
	backdrop-filter: blur(6px);
}

.hero-stats div {
	min-width: 152px;
	padding: 12px 14px;
	border-radius: 12px;
}

.hero-stats span {
	display: block;
	color: var(--muted);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-stats strong {
	display: block;
	margin-top: 6px;
	font-size: 1.05rem;
}

.hero-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 560px;
}

.poster-frame {
	position: relative;
	width: min(620px, 100%);
	padding: 16px;
	border-radius: 24px;
	border: 1px solid rgba(201, 164, 94, 0.9);
	background:
		linear-gradient(180deg, rgba(33, 25, 43, 0.96), rgba(14, 11, 20, 0.98)),
		var(--panel);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
	transform: rotate(1.1deg);
}

.poster-frame::before {
	content: "";
	position: absolute;
	inset: 11px;
	border: 1px solid rgba(244, 232, 199, 0.16);
	border-radius: 16px;
	pointer-events: none;
}

.poster-frame img,
.showcase-panel img,
.gallery-card img {
	display: block;
	width: 100%;
	height: auto;
}

.poster-frame img {
	border-radius: 12px;
	box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

.poster-badge {
	position: absolute;
	right: 28px;
	bottom: 28px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(201, 164, 94, 0.9);
	background: rgba(24, 27, 58, 0.9);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.feature-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.feature-strip article,
.lore-panel-wrap,
.showcase-copy,
.gallery-card,
.play-section,
.downloads-section {
	padding: 20px;
	border-radius: 18px;
}

.lore-section {
	margin-top: 32px;
}

.lore-copy {
	margin-bottom: 20px;
	max-width: 78ch;
}

.lore-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.lore-tab {
	border: 1px solid rgba(201, 164, 94, 0.82);
	background: rgba(20, 18, 31, 0.82);
	color: var(--ink);
	padding: 11px 16px;
	border-radius: 999px;
	font-family: "DepthsBody", sans-serif;
	font-size: 0.92rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lore-tab:hover {
	transform: translateY(-2px);
	background: rgba(32, 28, 48, 0.94);
}

.lore-tab.is-active {
	background: linear-gradient(180deg, #6a4c23, #3d2a14);
	border-color: var(--ember);
}

.lore-panel-wrap {
	border: 1px solid rgba(201, 164, 94, 0.76);
	background: var(--bg-soft);
	backdrop-filter: blur(6px);
	padding: 0;
	overflow: hidden;
	min-height: 34rem;
}

.lore-panel {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
	gap: 0;
	padding: 0;
	min-height: 34rem;
}

.lore-panel-media {
	position: relative;
	min-height: 34rem;
	border-right: 1px solid rgba(201, 164, 94, 0.4);
	background: rgba(8, 7, 12, 0.92);
}

.lore-panel-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(0.92) contrast(1.04);
}

.lore-panel-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 7, 11, 0.08), rgba(8, 7, 12, 0.75));
}

.lore-image-caption {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 1;
	padding: 12px 14px;
	border: 1px solid rgba(201, 164, 94, 0.45);
	border-radius: 14px;
	background: rgba(16, 12, 24, 0.82);
	color: var(--ink);
	font-size: 0.94rem;
	line-height: 1.45;
}

.lore-panel-content {
	display: flex;
	flex-direction: column;
	padding: 24px 24px 20px;
	min-width: 0;
}

.lore-kicker {
	margin: 12px 0 0;
	color: var(--line);
	font-size: 1rem;
	line-height: 1.5;
}

.lore-scroll,
.showcase-scroll {
	margin-top: 18px;
	padding-right: 12px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(201, 164, 94, 0.7) rgba(19, 16, 28, 0.8);
}

.lore-scroll {
	max-height: 25rem;
}

.showcase-scroll {
	max-height: 18rem;
}

.lore-scroll::-webkit-scrollbar,
.showcase-scroll::-webkit-scrollbar {
	width: 10px;
}

.lore-scroll::-webkit-scrollbar-track,
.showcase-scroll::-webkit-scrollbar-track {
	background: rgba(15, 13, 22, 0.82);
	border-radius: 999px;
}

.lore-scroll::-webkit-scrollbar-thumb,
.showcase-scroll::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(201, 164, 94, 0.92), rgba(106, 76, 35, 0.92));
	border-radius: 999px;
}

.lore-panel h3 {
	margin-bottom: 0;
}

.lore-panel p:last-child,
.showcase-copy p:last-child,
.gallery-card p:last-child,
.downloads-section p:last-child {
	margin-bottom: 0;
}

.showcase {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.92fr);
	gap: 18px;
	margin-top: 32px;
	align-items: stretch;
}

.showcase-panel {
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid rgba(201, 164, 94, 0.72);
	background: var(--panel-strong);
	min-height: 280px;
}

.showcase-panel.tall img,
.showcase-panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bullet-points {
	margin: 18px 0 0;
	padding-left: 18px;
	color: var(--ink);
	line-height: 1.6;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 24px;
}

.gallery-card img {
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin-bottom: 14px;
}

.play-section {
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
	gap: 20px;
	margin-top: 24px;
	align-items: start;
}

.playframe-wrap {
	padding: 14px;
	border-radius: 20px;
}

.playframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 14px;
	background: #000;
}

.player-note {
	margin: 12px 4px 0;
	color: var(--muted);
	font-size: 0.96rem;
}

.downloads-section {
	margin-top: 24px;
}

.download-grid {
	margin-top: 18px;
}

.download-card {
	flex: 1 1 220px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid rgba(201, 164, 94, 0.76);
	background: rgba(26, 22, 36, 0.84);
	color: var(--ink);
	text-decoration: none;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.download-card:hover {
	transform: translateY(-2px);
	border-color: var(--accent);
	background: rgba(32, 28, 48, 0.92);
}

.download-card span {
	display: block;
	color: var(--muted);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.download-card strong {
	display: block;
	margin-top: 8px;
	font-size: 1.12rem;
}

@media (max-width: 1100px) {
	.hero,
	.showcase,
	.play-section,
	.gallery-grid,
	.feature-strip {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: auto;
	}

	.hero-visual {
		min-height: 0;
	}

	.poster-frame {
		transform: none;
	}

	.lore-panel {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.lore-panel-media {
		min-height: 16rem;
		border-right: 0;
		border-bottom: 1px solid rgba(201, 164, 94, 0.4);
	}

	.lore-scroll,
	.showcase-scroll {
		max-height: none;
		padding-right: 0;
	}
}

@media (max-width: 720px) {
	.page-shell {
		padding: 18px 14px 36px;
	}

	.cta,
	.audio-toggle,
	.download-card {
		width: 100%;
		text-align: center;
	}

	.hero-stats div {
		width: 100%;
	}
}
