/*
Theme Name: IRON CHANT Fresh Valhalla
Theme URI: https://ironchant.com
Author: IRON CHANT
Author URI: https://ironchant.com
Description: Fresh Hostinger WordPress theme for IRON CHANT with AdSense verification, official music links, Viking visual storytelling, and merch sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: iron-chant-fresh
Tags: music, entertainment, e-commerce, custom-menu, featured-images
*/

:root {
	--charcoal: #040302;
	--iron: #11100e;
	--forge: #1b0b07;
	--blood: #8f1712;
	--ember: #ef4b1f;
	--gold: #f0a83a;
	--gold-soft: #ffd480;
	--ice: #9bb6c4;
	--steel: #73838b;
	--bone: #f8eddd;
	--ash: #b6afa4;
	--line: rgba(255, 212, 128, 0.2);
	--line-hot: rgba(240, 168, 58, 0.54);
	--shadow: 0 26px 90px rgba(0, 0, 0, 0.62);
	--content: min(1180px, calc(100vw - 40px));
	--serif: Georgia, "Times New Roman", serif;
	--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(130deg, rgba(143, 23, 18, 0.28), transparent 34%),
		linear-gradient(230deg, rgba(155, 182, 196, 0.12), transparent 54%),
		linear-gradient(180deg, #040302, #160907 36%, #071012 72%, #040302);
	color: var(--bone);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: 0;
}

body.nav-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1rem;
	color: var(--ash);
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--bone);
	font-family: var(--serif);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
}

h1 {
	max-width: 980px;
	font-size: clamp(3.8rem, 9vw, 8.8rem);
}

h2 {
	font-size: clamp(2.2rem, 5.4vw, 5.4rem);
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--gold);
	color: var(--charcoal);
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 80;
	width: 100%;
	border-bottom: 1px solid rgba(255, 212, 128, 0.18);
	background: linear-gradient(180deg, rgba(4, 3, 2, 0.96), rgba(27, 11, 7, 0.68), rgba(4, 3, 2, 0.2));
	backdrop-filter: blur(14px);
}

.nav-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: var(--content);
	min-height: 74px;
	margin: 0 auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 210px;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-hot);
	background: linear-gradient(135deg, var(--gold), var(--blood));
	color: #130704;
	font-family: var(--serif);
	font-weight: 900;
}

.brand-copy {
	display: grid;
	line-height: 1.1;
}

.brand-name {
	font-family: var(--serif);
	font-size: 1.2rem;
	font-weight: 900;
}

.brand-line {
	color: var(--ash);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
}

.primary-nav .menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-nav a {
	color: rgba(248, 237, 221, 0.84);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a:focus,
.footer-nav a:hover,
.footer-nav a:focus {
	color: var(--gold-soft);
}

.nav-action,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 3px;
	font-size: 0.82rem;
	font-weight: 950;
	text-transform: uppercase;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-action {
	border-color: rgba(240, 168, 58, 0.66);
	color: var(--gold-soft);
}

.button:hover,
.nav-action:hover {
	transform: translateY(-2px);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	background: rgba(4, 3, 2, 0.72);
	color: var(--bone);
}

.nav-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: currentColor;
}

.section-inner {
	width: var(--content);
	margin: 0 auto;
}

.site-main {
	overflow: hidden;
}

.hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: 100vh;
	padding: 148px 0 82px;
	background: var(--charcoal) url("assets/images/hero.jpg") center / cover no-repeat;
}

.hero-media,
.cinema-bg,
.final-visual {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-media {
	object-position: center;
	filter: saturate(1.12) contrast(1.12);
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 3, 2, 0.92) 0%, rgba(27, 11, 7, 0.72) 42%, rgba(4, 3, 2, 0.18) 82%),
		linear-gradient(0deg, rgba(4, 3, 2, 0.96) 0%, rgba(4, 3, 2, 0.1) 48%, rgba(4, 3, 2, 0.52) 100%);
}

.sparks {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.55;
	background-image:
		radial-gradient(circle, rgba(255, 212, 128, 0.8) 0 1px, transparent 1.6px),
		radial-gradient(circle, rgba(239, 75, 31, 0.9) 0 1.4px, transparent 2px);
	background-position: 0 0, 24px 18px;
	background-size: 148px 148px, 220px 220px;
	animation: iron-sparks 18s linear infinite;
	pointer-events: none;
}

@keyframes iron-sparks {
	to {
		background-position: 160px 260px, -180px -220px;
	}
}

.hero-content {
	position: relative;
	z-index: 2;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--gold-soft);
	font-size: 0.76rem;
	font-weight: 950;
	text-transform: uppercase;
	text-shadow: 0 0 22px rgba(239, 75, 31, 0.5);
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 44px;
	height: 1px;
	background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-copy {
	max-width: 760px;
	margin-top: 24px;
	color: rgba(248, 237, 221, 0.9);
	font-size: clamp(1.02rem, 1.8vw, 1.25rem);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.button-primary {
	border-color: rgba(255, 212, 128, 0.88);
	background: linear-gradient(135deg, #ffcc69 0%, #ef4b1f 48%, #73100d 100%);
	color: #130704;
	box-shadow: 0 15px 46px rgba(143, 23, 18, 0.42);
}

.button-secondary {
	border-color: rgba(155, 182, 196, 0.42);
	background: rgba(9, 18, 20, 0.72);
	color: var(--bone);
}

.button-ghost {
	border-color: rgba(240, 168, 58, 0.38);
	background: rgba(79, 13, 10, 0.46);
	color: var(--bone);
}

.platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 980px;
	margin-top: 36px;
}

.platform-card {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 8px 14px 8px 8px;
	overflow: hidden;
	border: 1px solid rgba(248, 237, 221, 0.18);
	background: linear-gradient(135deg, rgba(239, 75, 31, 0.12), rgba(155, 182, 196, 0.05)), rgba(4, 3, 2, 0.72);
	color: var(--bone);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
	transition: transform 180ms ease, border-color 180ms ease;
}

.platform-card::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 2px;
	background: var(--platform, var(--gold));
	box-shadow: 0 0 20px var(--glow, rgba(240, 168, 58, 0.45));
}

.platform-card:hover,
.platform-card:focus {
	transform: translateY(-3px);
	border-color: var(--platform, var(--line-hot));
}

.platform-code {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: linear-gradient(135deg, var(--platform, var(--gold)), rgba(248, 237, 221, 0.16));
	color: #050301;
	font-size: 0.78rem;
	font-weight: 950;
}

.platform-name {
	font-size: 0.78rem;
	font-weight: 950;
	text-transform: uppercase;
	white-space: nowrap;
}

.platform-youtube {
	--platform: #ff3d2f;
	--glow: rgba(255, 61, 47, 0.42);
}

.platform-spotify {
	--platform: #1ed760;
	--glow: rgba(30, 215, 96, 0.32);
}

.platform-apple {
	--platform: #f8eddd;
	--glow: rgba(248, 237, 221, 0.28);
}

.platform-facebook {
	--platform: #7ea7ff;
	--glow: rgba(126, 167, 255, 0.34);
}

.platform-instagram {
	--platform: #f0a83a;
	--glow: rgba(239, 75, 31, 0.38);
}

.section {
	position: relative;
	padding: clamp(72px, 9vw, 132px) 0;
	border-top: 1px solid rgba(255, 212, 128, 0.12);
}

.section-dark {
	background:
		linear-gradient(145deg, rgba(143, 23, 18, 0.28), transparent 42%),
		linear-gradient(180deg, rgba(17, 16, 14, 0.92), rgba(4, 3, 2, 0.98));
}

.section-frost {
	background:
		linear-gradient(135deg, rgba(155, 182, 196, 0.15), transparent 48%),
		linear-gradient(225deg, rgba(143, 23, 18, 0.16), transparent 56%),
		linear-gradient(180deg, #050504, #0e1212);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.76fr);
	gap: clamp(34px, 7vw, 86px);
	align-items: center;
}

.split.reverse {
	grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1fr);
}

.section-copy h2,
.section-heading h2 {
	max-width: 860px;
}

.section-copy p {
	max-width: 720px;
}

.section-heading {
	display: grid;
	gap: 10px;
	margin-bottom: 36px;
}

.section-heading.center {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.section-heading.center .eyebrow {
	margin-inline: auto;
}

.frame {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.frame::before {
	content: "";
	position: absolute;
	inset: 12px;
	z-index: 2;
	border: 1px solid rgba(255, 212, 128, 0.24);
	pointer-events: none;
}

.frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portrait {
	aspect-ratio: 4 / 5;
}

.wide {
	aspect-ratio: 16 / 10;
}

.release-grid,
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.release-card,
.product-card,
.symbol-card,
.gateway-card {
	overflow: hidden;
	border: 1px solid rgba(255, 212, 128, 0.18);
	background: linear-gradient(145deg, rgba(143, 23, 18, 0.18), rgba(248, 237, 221, 0.03)), rgba(4, 3, 2, 0.82);
	box-shadow: var(--shadow);
}

.release-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.release-body,
.product-body,
.gateway-card,
.symbol-card {
	padding: 22px;
}

.release-card a,
.text-link {
	color: var(--gold-soft);
	font-weight: 950;
	text-transform: uppercase;
}

.cinema-strip {
	position: relative;
	display: grid;
	align-items: end;
	min-height: 640px;
	background: var(--charcoal);
}

.cinema-strip::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 3, 2, 0.92), rgba(143, 23, 18, 0.42), rgba(4, 3, 2, 0.78)),
		linear-gradient(0deg, rgba(4, 3, 2, 0.96), rgba(4, 3, 2, 0.1));
}

.cinema-panel {
	position: relative;
	z-index: 2;
	padding-bottom: 34px;
}

.two-col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	max-width: 960px;
	margin-top: 28px;
}

.gateway-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.gateway-card {
	min-height: 210px;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gateway-card:hover {
	transform: translateY(-4px);
	border-color: var(--line-hot);
	background: linear-gradient(145deg, rgba(240, 168, 58, 0.2), rgba(143, 23, 18, 0.14)), rgba(4, 3, 2, 0.86);
}

.gateway-card span {
	display: block;
	margin-bottom: 42px;
	color: var(--gold-soft);
	font-family: var(--serif);
	font-size: 1.8rem;
	font-weight: 900;
}

.symbol-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.symbol-card {
	min-height: 180px;
}

.symbol-mark {
	display: block;
	width: 52px;
	height: 52px;
	margin-bottom: 28px;
	border: 1px solid rgba(255, 212, 128, 0.42);
	background:
		linear-gradient(45deg, transparent 43%, rgba(239, 75, 31, 0.46) 44%, rgba(239, 75, 31, 0.46) 56%, transparent 57%),
		linear-gradient(135deg, rgba(240, 168, 58, 0.2), rgba(155, 182, 196, 0.08));
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.gallery-grid figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 212, 128, 0.16);
	background: var(--charcoal);
	box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

.gallery-grid img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 260ms ease, filter 260ms ease;
}

.gallery-grid figure:hover img {
	transform: scale(1.04);
	filter: contrast(1.08) saturate(1.08);
}

.product-card img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.center-actions {
	display: flex;
	justify-content: center;
	margin-top: 34px;
}

.final-cta {
	position: relative;
	display: grid;
	align-items: center;
	min-height: 600px;
	padding: 96px 0;
	background: var(--charcoal);
}

.final-visual {
	filter: saturate(1.08) contrast(1.08);
}

.final-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 3, 2, 0.92), rgba(4, 3, 2, 0.52), rgba(4, 3, 2, 0.2)),
		linear-gradient(0deg, rgba(4, 3, 2, 0.96), rgba(4, 3, 2, 0.06));
}

.final-content {
	position: relative;
	z-index: 2;
}

.final-content h2 {
	max-width: 920px;
}

.site-footer {
	border-top: 1px solid var(--line);
	background: #030201;
}

.footer-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: start;
	width: var(--content);
	margin: 0 auto;
	padding: 34px 0;
}

.footer-brand {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--bone);
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 900;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: flex-end;
}

.footer-nav a {
	color: var(--ash);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

.footer-credit {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--steel);
	font-size: 0.86rem;
}

.content-main,
.archive-main {
	padding: 130px 0 86px;
}

.content-shell {
	max-width: 880px;
}

.entry-content a {
	color: var(--gold-soft);
	text-decoration: underline;
}

@media (max-width: 1080px) {
	.nav-action {
		display: none;
	}

	.release-grid,
	.product-grid,
	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.symbol-grid,
	.gateway-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	:root {
		--content: min(100vw - 28px, 680px);
	}

	.nav-shell {
		min-height: 66px;
	}

	.nav-toggle {
		display: block;
	}

	.primary-nav {
		position: fixed;
		top: 66px;
		left: 14px;
		right: 14px;
		display: none;
		padding: 18px;
		border: 1px solid var(--line);
		background: rgba(4, 3, 2, 0.96);
		box-shadow: var(--shadow);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		display: grid;
		gap: 14px;
	}

	.hero {
		min-height: 92vh;
		padding-top: 118px;
	}

	.hero::after {
		background:
			linear-gradient(90deg, rgba(4, 3, 2, 0.9) 0%, rgba(27, 11, 7, 0.64) 58%, rgba(4, 3, 2, 0.24) 100%),
			linear-gradient(0deg, rgba(4, 3, 2, 0.96) 0%, rgba(4, 3, 2, 0.1) 48%, rgba(4, 3, 2, 0.5) 100%);
	}

	.split,
	.split.reverse,
	.two-col {
		grid-template-columns: 1fr;
	}

	.gateway-grid,
	.symbol-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-shell {
		grid-template-columns: 1fr;
	}

	.footer-nav {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	h1 {
		font-size: clamp(3rem, 16vw, 4.8rem);
	}

	h2 {
		font-size: 2.35rem;
	}

	.brand {
		min-width: 0;
	}

	.brand-line {
		display: none;
	}

	.button-row,
	.button {
		width: 100%;
	}

	.platforms {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.platform-card {
		width: 100%;
		padding-right: 10px;
	}

	.release-grid,
	.product-grid,
	.gallery-grid,
	.gateway-grid,
	.symbol-grid {
		grid-template-columns: 1fr;
	}
}
