/*
Theme Name: IRON CHANT Hostinger Social
Theme URI: https://example.com/iron-chant
Author: IRON CHANT
Author URI: https://example.com
Description: Cinematic Viking music WordPress theme for IRON CHANT, built for Hostinger, social traffic, music gateways, and Viking merchandise.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: iron-chant
Tags: entertainment, e-commerce, custom-logo, custom-menu, featured-images, full-site-editing-ready
*/

:root {
	--black: #020303;
	--black-soft: #080706;
	--midnight: #0c0f10;
	--midnight-2: #15110d;
	--stone: #332821;
	--steel: #8fa3a9;
	--mist: #c8c1b6;
	--ash: #968d80;
	--bone: #f7ead8;
	--gold: #f2a93b;
	--gold-soft: #ffd27a;
	--ember: #ff5a1f;
	--crimson: #b21f1a;
	--blood: #64110f;
	--ice: #9ec3d0;
	--line: rgba(242, 234, 223, 0.14);
	--line-strong: rgba(242, 169, 59, 0.52);
	--shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
	--radius: 8px;
	--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(128deg, rgba(158, 195, 208, 0.12), transparent 42%),
		linear-gradient(236deg, rgba(178, 31, 26, 0.2), transparent 56%),
		linear-gradient(180deg, #020303, #110806 36%, #071113 68%, #020303 100%);
	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(--mist);
}

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

h1 {
	max-width: 960px;
	font-size: clamp(3.2rem, 8vw, 7.5rem);
}

h2 {
	font-size: clamp(2.25rem, 5vw, 4.8rem);
}

h3 {
	font-size: clamp(1.35rem, 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(--black);
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	border-bottom: 1px solid rgba(242, 169, 59, 0.18);
	background: linear-gradient(180deg, rgba(2, 3, 3, 0.94), rgba(38, 9, 6, 0.58), rgba(2, 3, 3, 0.34));
	backdrop-filter: blur(14px);
}

.nav-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: var(--content);
	min-height: 76px;
	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-strong);
	background:
		linear-gradient(135deg, rgba(242, 169, 59, 0.36), rgba(178, 31, 26, 0.22)),
		var(--black-soft);
	color: var(--gold-soft);
	font-family: var(--serif);
	font-weight: 700;
}

.brand-logo img {
	width: 46px;
	height: 46px;
	object-fit: cover;
}

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

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

.brand-line {
	color: var(--ash);
	font-size: 0.72rem;
	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(242, 234, 223, 0.82);
	font-size: 0.86rem;
	font-weight: 700;
	text-transform: uppercase;
}

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

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

.header-action {
	border-color: rgba(211, 167, 87, 0.5);
	color: var(--gold-soft);
}

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

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: rgba(5, 7, 10, 0.55);
	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 86px;
	background: var(--black) url("assets/images/hero.jpg") center / cover no-repeat;
}

.hero-media,
.story-bg,
.final-cta > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-media {
	object-position: 48% 50%;
	filter: saturate(1.18) contrast(1.16);
}

.hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(2, 3, 3, 0.9) 0%, rgba(38, 9, 6, 0.68) 42%, rgba(2, 3, 3, 0.16) 78%),
		linear-gradient(0deg, rgba(2, 3, 3, 0.94) 0%, rgba(2, 3, 3, 0.14) 48%, rgba(2, 3, 3, 0.48) 100%),
		linear-gradient(135deg, rgba(178, 31, 26, 0.38), transparent 42%, rgba(255, 90, 31, 0.2));
}

.hero-weather {
	position: absolute;
	inset: 0;
	opacity: 0.56;
	background-image:
		radial-gradient(circle, rgba(247, 234, 216, 0.7) 0 1px, transparent 1.5px),
		radial-gradient(circle, rgba(255, 90, 31, 0.86) 0 1.5px, transparent 2px);
	background-position: 0 0, 24px 18px;
	background-size: 150px 150px, 210px 210px;
	animation: iron-weather 18s linear infinite;
}

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

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

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--gold-soft);
	text-shadow: 0 0 22px rgba(255, 90, 31, 0.34);
	font-size: 0.77rem;
	font-weight: 900;
	text-transform: uppercase;
}

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

.hero-copy {
	max-width: 760px;
	margin-top: 26px;
	color: rgba(247, 234, 216, 0.9);
	font-size: clamp(1rem, 1.8vw, 1.22rem);
}

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

.button-primary {
	border-color: rgba(255, 210, 122, 0.88);
	background: linear-gradient(135deg, #ffca61 0%, #e24b20 46%, #7d130f 100%);
	color: #120806;
	box-shadow: 0 15px 46px rgba(178, 31, 26, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-secondary {
	border-color: rgba(158, 195, 208, 0.42);
	background: rgba(10, 20, 22, 0.72);
	color: var(--bone);
}

.button-ghost {
	border-color: rgba(242, 169, 59, 0.34);
	background: rgba(100, 17, 15, 0.42);
	color: var(--bone);
}

.hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 42px;
}

.hero-tags span {
	padding: 8px 12px;
	border: 1px solid rgba(242, 169, 59, 0.28);
	background: rgba(2, 3, 3, 0.58);
	color: rgba(247, 234, 216, 0.84);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.social-rail {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 980px;
	margin-top: 22px;
}

.social-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 1 172px;
	min-height: 54px;
	padding: 8px 14px 8px 8px;
	overflow: hidden;
	border: 1px solid rgba(242, 234, 223, 0.18);
	border-radius: 6px;
	background:
		linear-gradient(135deg, rgba(255, 90, 31, 0.12), rgba(158, 195, 208, 0.05)),
		rgba(2, 3, 3, 0.72);
	color: var(--bone);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-link::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 2px;
	background: var(--social-color, var(--gold));
	box-shadow: 0 0 20px var(--social-glow, rgba(211, 167, 87, 0.5));
}

.social-link:hover,
.social-link:focus {
	transform: translateY(-3px);
	border-color: var(--social-color, var(--line-strong));
	box-shadow: 0 18px 54px var(--social-glow, rgba(211, 167, 87, 0.28));
}

.social-link.is-pending,
.gateway-card.is-pending {
	cursor: not-allowed;
	opacity: 0.72;
	pointer-events: none;
}

.social-icon {
	display: grid;
	place-items: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 4px;
	background:
		linear-gradient(135deg, var(--social-color, var(--gold)), rgba(242, 234, 223, 0.18)),
		var(--black);
	color: #05070a;
	line-height: 1;
}

.social-icon svg,
.gateway-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.social-icon .filled,
.gateway-icon .filled {
	fill: currentColor;
	stroke: none;
}

.social-text {
	display: grid;
	gap: 1px;
	min-width: 0;
}

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

.social-hint {
	color: var(--ash);
	font-size: 0.66rem;
	font-weight: 800;
	text-transform: uppercase;
	white-space: nowrap;
}

.social-soon {
	padding: 2px 6px;
	border: 1px solid rgba(242, 234, 223, 0.16);
	color: var(--ash);
	font-size: 0.6rem;
	font-weight: 900;
	text-transform: uppercase;
}

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

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

.social-x {
	--social-color: #f2eadf;
	--social-glow: rgba(242, 234, 223, 0.24);
}

.social-apple {
	--social-color: #f5f0ea;
	--social-glow: rgba(245, 240, 234, 0.22);
}

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

.social-instagram {
	--social-color: #f2a93b;
	--social-glow: rgba(255, 90, 31, 0.38);
}

.social-kofi {
	--social-color: #ff6b6b;
	--social-glow: rgba(255, 107, 107, 0.34);
}

.section {
	position: relative;
	padding: clamp(72px, 9vw, 132px) 0;
	border-top: 1px solid rgba(242, 234, 223, 0.08);
}

.section-about,
.section-gateways,
.section-studio {
	background:
		linear-gradient(140deg, rgba(100, 17, 15, 0.34), transparent 44%),
		linear-gradient(180deg, rgba(12, 15, 16, 0.9), rgba(2, 3, 3, 0.98)),
		var(--midnight);
}

.section-universe,
.section-symbols {
	background:
		linear-gradient(135deg, rgba(158, 195, 208, 0.13), transparent 48%),
		linear-gradient(235deg, rgba(178, 31, 26, 0.18), transparent 54%),
		linear-gradient(180deg, var(--black), #10100d);
}

.section-videos,
.section-shop,
.section-gallery {
	background:
		linear-gradient(220deg, rgba(255, 90, 31, 0.18), transparent 46%),
		linear-gradient(140deg, rgba(242, 169, 59, 0.08), transparent 50%),
		linear-gradient(180deg, #070504, #111614);
}

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

.split.reverse {
	grid-template-columns: minmax(320px, 0.78fr) 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.narrow {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

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

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

.framed-media::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(211, 167, 87, 0.26);
	pointer-events: none;
}

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

.tall-media {
	aspect-ratio: 4 / 5;
}

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

.world-card,
.symbol-card,
.gateway-card,
.post-card {
	border: 1px solid rgba(242, 169, 59, 0.18);
	background:
		linear-gradient(145deg, rgba(178, 31, 26, 0.16), rgba(247, 234, 216, 0.03)),
		rgba(2, 3, 3, 0.76);
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.world-card {
	min-height: 270px;
	padding: 24px;
}

.card-count {
	display: block;
	margin-bottom: 56px;
	color: var(--gold);
	font-family: var(--serif);
	font-size: 2rem;
	line-height: 1;
}

.world-card h3,
.symbol-card h3,
.product-card h3,
.video-card h3 {
	margin-bottom: 12px;
}

.world-card p,
.symbol-card p,
.product-card p,
.video-card p,
.gateway-card p {
	font-size: 0.95rem;
}

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

.video-card,
.product-card {
	overflow: hidden;
	border: 1px solid rgba(242, 169, 59, 0.2);
	background: rgba(2, 3, 3, 0.82);
	box-shadow: var(--shadow);
}

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

.video-card-body {
	padding: 22px;
}

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

.section-story {
	min-height: 620px;
	display: grid;
	align-items: end;
	background: var(--black);
}

.story-bg {
	filter: saturate(0.84) contrast(1.08);
}

.section-story::after,
.final-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(2, 3, 3, 0.9), rgba(100, 17, 15, 0.42), rgba(2, 3, 3, 0.76)),
		linear-gradient(0deg, rgba(2, 3, 3, 0.96), rgba(2, 3, 3, 0.12));
}

.story-panel {
	position: relative;
	z-index: 2;
	padding-bottom: 28px;
}

.story-columns {
	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 {
	position: relative;
	min-height: 220px;
	padding: 24px;
	overflow: hidden;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gateway-card:hover {
	transform: translateY(-4px);
	border-color: var(--line-strong);
	background:
		linear-gradient(145deg, rgba(242, 169, 59, 0.2), rgba(178, 31, 26, 0.14)),
		rgba(2, 3, 3, 0.86);
}

.gateway-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 28px;
	border: 1px solid rgba(242, 234, 223, 0.18);
	border-radius: 4px;
	background:
		linear-gradient(135deg, var(--social-color, var(--gold)), rgba(242, 234, 223, 0.12)),
		rgba(2, 3, 3, 0.84);
	color: #05070a;
	box-shadow: 0 16px 34px var(--social-glow, rgba(242, 169, 59, 0.18));
}

.gateway-title {
	display: block;
	margin-bottom: 18px;
	color: var(--gold-soft);
	font-family: var(--serif);
	font-size: 1.8rem;
	font-weight: 700;
}

.gateway-youtube {
	--social-color: #ff3d2f;
	--social-glow: rgba(255, 61, 47, 0.2);
}

.gateway-facebook {
	--social-color: #7ea7ff;
	--social-glow: rgba(126, 167, 255, 0.18);
}

.gateway-x {
	--social-color: #f2eadf;
	--social-glow: rgba(242, 234, 223, 0.16);
}

.gateway-apple {
	--social-color: #f5f0ea;
	--social-glow: rgba(245, 240, 234, 0.16);
}

.gateway-spotify {
	--social-color: #1ed760;
	--social-glow: rgba(30, 215, 96, 0.18);
}

.gateway-instagram {
	--social-color: #f2a93b;
	--social-glow: rgba(255, 90, 31, 0.2);
}

.gateway-kofi {
	--social-color: #ff6b6b;
	--social-glow: rgba(255, 107, 107, 0.18);
}

.gateway-shop {
	--social-color: #ffd27a;
	--social-glow: rgba(242, 169, 59, 0.22);
}

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

.symbol-card {
	position: relative;
	min-height: 210px;
	padding: 28px 24px 24px;
	overflow: hidden;
}

.symbol-card span {
	display: block;
	width: 54px;
	height: 54px;
	margin-bottom: 34px;
	border: 1px solid rgba(211, 167, 87, 0.42);
	background:
		linear-gradient(135deg, rgba(211, 167, 87, 0.24), rgba(111, 135, 147, 0.05)),
		linear-gradient(45deg, transparent 45%, rgba(224, 106, 46, 0.34) 46%, rgba(224, 106, 46, 0.34) 54%, transparent 55%);
}

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

.gallery-item {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	background: rgba(5, 7, 10, 0.78);
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

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

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

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

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

.product-card > div {
	padding: 22px;
}

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

.image-stack {
	position: relative;
	min-height: 620px;
}

.image-stack img {
	position: absolute;
	width: 62%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.image-stack img:first-child {
	left: 0;
	top: 0;
}

.image-stack img:last-child {
	right: 0;
	bottom: 0;
}

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

.final-cta > img {
	filter: saturate(0.88) contrast(1.08);
}

.final-cta-inner {
	position: relative;
	z-index: 2;
	max-width: var(--content);
}

.final-cta h2 {
	max-width: 930px;
}

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

.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: 700;
}

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

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

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

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

.post-list {
	display: grid;
	gap: 18px;
}

.post-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 22px;
	padding: 18px;
}

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

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

.content-header {
	margin-bottom: 32px;
}

.entry-content {
	color: var(--mist);
}

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

.single-hero {
	margin: 0 0 32px;
}

.single-hero img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}

.commerce-main {
	padding-top: 86px;
	background:
		linear-gradient(225deg, rgba(224, 106, 46, 0.12), transparent 48%),
		linear-gradient(180deg, var(--black), #0c151c);
}

.commerce-shell .woocommerce {
	color: var(--mist);
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce-products-header__title.page-title {
	color: var(--mist);
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	background: rgba(5, 7, 10, 0.78);
	box-shadow: var(--shadow);
}

.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 4 / 5;
	margin: 0;
	object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
	padding: 18px 18px 4px;
	color: var(--bone);
	font-family: var(--serif);
	font-size: 1.35rem;
	line-height: 1.12;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	display: block;
	padding: 0 18px;
	color: var(--gold-soft);
	font-weight: 800;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce div.product form.cart .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 14px 18px 20px;
	padding: 0 18px;
	border: 1px solid rgba(255, 210, 122, 0.88);
	border-radius: 4px;
	background: linear-gradient(135deg, #ffca61 0%, #e24b20 46%, #7d130f 100%);
	color: #120806;
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

.woocommerce div.product {
	color: var(--mist);
}

.woocommerce div.product div.images img {
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-color: var(--line);
	background: rgba(242, 234, 223, 0.08);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--bone);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--gold);
	background: rgba(242, 234, 223, 0.08);
	color: var(--bone);
}

.error-main {
	background: var(--black);
}

.error-cta {
	min-height: 100vh;
}

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

	.world-grid,
	.video-grid,
	.gallery-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gateway-grid,
	.product-grid {
		grid-template-columns: repeat(2, 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(5, 7, 10, 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-shade {
		background:
			linear-gradient(90deg, rgba(2, 3, 3, 0.9) 0%, rgba(38, 9, 6, 0.66) 58%, rgba(2, 3, 3, 0.28) 100%),
			linear-gradient(0deg, rgba(2, 3, 3, 0.96) 0%, rgba(2, 3, 3, 0.12) 48%, rgba(2, 3, 3, 0.5) 100%);
	}

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

	.tall-media {
		max-height: 720px;
	}

	.symbol-grid,
	.product-grid,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.image-stack {
		min-height: 520px;
	}

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

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

@media (max-width: 560px) {
	h1 {
		font-size: clamp(2.8rem, 15vw, 4.25rem);
	}

	h2 {
		font-size: 2.3rem;
	}

	.brand {
		min-width: 0;
	}

	.brand-line {
		display: none;
	}

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

	.button {
		padding: 0 14px;
		text-align: center;
	}

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

	.hero-tags span {
		text-align: center;
	}

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

	.social-link {
		width: 100%;
		padding: 8px;
	}

	.social-icon {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
	}

	.social-hint,
	.social-soon {
		display: none;
	}

	.world-grid,
	.video-grid,
	.gallery-grid,
	.gateway-grid {
		grid-template-columns: 1fr;
	}

	.world-card,
	.gateway-card,
	.symbol-card {
		min-height: auto;
	}

	.card-count,
	.gateway-title {
		margin-bottom: 26px;
	}

	.post-card {
		grid-template-columns: 1fr;
	}

	.image-stack {
		display: grid;
		gap: 14px;
		min-height: 0;
	}

	.image-stack img {
		position: static;
		width: 100%;
	}
}
