:root {
	--bg: #fff8fb;
	--surface: #ffffff;
	--ink: #151119;
	--muted: #645c6d;
	--line: #ece2ea;
	--pink: #e21c82;
	--pink-dark: #b60d63;
	--blue: #1f73ff;
	--lime: #b8f34f;
	--night: #15111c;
	--radius: 8px;
	--shadow: 0 18px 50px rgba(21, 17, 28, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: Inter, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

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

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

a:hover {
	color: var(--pink);
}

.wrap {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 20px;
	width: 100%;
}

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

.skip-link:focus {
	background: var(--surface);
	clip: auto;
	height: auto;
	left: 16px;
	padding: 12px 16px;
	top: 16px;
	width: auto;
	z-index: 99;
}

.topline {
	background: var(--night);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.topline-inner,
.masthead {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.topline-inner {
	min-height: 36px;
}

.masthead {
	min-height: 110px;
}

.site-header {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 20;
}

.site-branding {
	min-width: 0;
}

.site-title,
.footer-brand {
	color: var(--ink);
	display: inline-block;
	font-size: clamp(28px, 5vw, 54px);
	font-weight: 900;
	line-height: 0.9;
	text-transform: uppercase;
}

.site-title::after,
.footer-brand::after {
	color: var(--pink);
	content: " UP";
}

.site-description {
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	margin: 8px 0 0;
	text-transform: uppercase;
}

.custom-logo-link img {
	max-height: 84px;
	width: auto;
}

.menu-toggle {
	align-items: center;
	background: var(--night);
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
	display: none;
	flex-direction: column;
	gap: 5px;
	height: 44px;
	justify-content: center;
	width: 48px;
}

.menu-toggle span:not(.screen-reader-text) {
	background: #fff;
	display: block;
	height: 2px;
	width: 22px;
}

.primary-nav {
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.primary-nav ul,
.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.primary-nav a {
	display: block;
	font-size: 13px;
	font-weight: 900;
	padding: 15px 14px;
	text-transform: uppercase;
}

.primary-nav .current-menu-item > a,
.primary-nav a:hover {
	background: var(--pink);
	color: #fff;
}

.hero-band {
	background:
		linear-gradient(120deg, rgba(226, 28, 130, 0.95), rgba(31, 115, 255, 0.88)),
		var(--night);
	color: #fff;
	padding: 34px 0 44px;
}

.hero-layout {
	min-height: 420px;
}

.hero-card,
.hero-empty {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.hero-media,
.single-featured,
.card-media,
.list-media {
	background: #20172a;
	border-radius: var(--radius);
	overflow: hidden;
}

.hero-media img,
.fallback-hero {
	aspect-ratio: 16 / 9;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.hero-copy {
	align-self: end;
	padding: 24px 0;
}

.hero-copy h1,
.hero-empty h1,
.entry-header h1,
.not-found-page h1 {
	font-size: clamp(36px, 6vw, 72px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.94;
	margin: 14px 0;
}

.hero-copy p,
.hero-empty p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 18px;
	margin: 16px 0 0;
}

.post-chip,
.eyebrow {
	background: var(--lime);
	border-radius: 999px;
	color: var(--night);
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	padding: 8px 10px;
	text-transform: uppercase;
}

.entry-meta {
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	margin-top: 10px;
	text-transform: uppercase;
}

.hero-copy .entry-meta {
	color: rgba(255, 255, 255, 0.72);
}

.content-band {
	padding: 44px 0 56px;
}

.section-heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.section-heading h2,
.feature-strip h2,
.archive-header h1,
.widget-title {
	font-size: clamp(24px, 4vw, 40px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.section-heading a {
	color: var(--pink);
	font-weight: 900;
}

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

.post-card,
.list-card,
.widget,
.comments-area {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.card-media img,
.card-media .fallback-art {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
}

.card-body {
	padding: 18px;
}

.card-body h3,
.list-body h2 {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 12px 0 0;
}

.card-body p,
.list-body p,
.archive-description,
.single-article,
.comments-area {
	color: var(--muted);
}

.fallback-art {
	align-items: center;
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(135deg, rgba(226, 28, 130, 0.95), rgba(31, 115, 255, 0.92)),
		var(--night);
	display: flex;
	justify-content: center;
	width: 100%;
}

.fallback-art span {
	color: #fff;
	font-size: clamp(42px, 9vw, 118px);
	font-weight: 900;
	line-height: 1;
}

.feature-strip {
	background: var(--night);
	color: #fff;
	padding: 44px 0;
}

.strip-grid {
	align-items: center;
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr 1.2fr;
}

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

.mini-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	padding: 18px;
}

.mini-card span {
	color: var(--lime);
	display: block;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.mini-card strong {
	display: block;
	font-size: 20px;
	line-height: 1.05;
	margin-top: 8px;
}

.page-layout {
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) 320px;
	padding-bottom: 56px;
	padding-top: 44px;
}

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

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

.list-media img,
.list-media .fallback-art {
	aspect-ratio: 11 / 8;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.single-article {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	padding: clamp(22px, 5vw, 42px);
}

.entry-header {
	color: var(--ink);
	margin-bottom: 24px;
}

.single-featured {
	margin: 0 0 30px;
}

.single-featured img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}

.single-featured figcaption {
	background: #f8f2f7;
	color: var(--muted);
	font-size: 13px;
	padding: 10px 12px;
}

.entry-content {
	color: var(--ink);
	font-size: 18px;
	line-height: 1.78;
}

.entry-content a {
	color: var(--pink-dark);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.entry-content blockquote {
	border-left: 4px solid var(--pink);
	color: var(--muted);
	font-size: 22px;
	font-weight: 700;
	margin: 28px 0;
	padding: 4px 0 4px 20px;
}

.entry-content h2,
.entry-content h3 {
	color: var(--ink);
	letter-spacing: 0;
	line-height: 1.1;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.tag-list a {
	background: #f3e8f0;
	border-radius: 999px;
	color: var(--pink-dark);
	font-size: 12px;
	font-weight: 900;
	padding: 8px 10px;
	text-transform: uppercase;
}

.sidebar {
	display: grid;
	gap: 18px;
	align-content: start;
}

.widget {
	padding: 20px;
}

.widget ul {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.widget li + li {
	border-top: 1px solid var(--line);
	margin-top: 10px;
	padding-top: 10px;
}

.search-form {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.search-form label {
	flex: 1;
}

.search-field {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	font: inherit;
	min-height: 44px;
	padding: 0 12px;
	width: 100%;
}

.search-form button,
.form-submit .submit {
	background: var(--pink);
	border: 0;
	border-radius: var(--radius);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 900;
	min-height: 44px;
	padding: 0 16px;
}

.nav-links {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 28px;
}

.page-numbers,
.post-navigation a {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	display: inline-flex;
	font-weight: 900;
	padding: 10px 13px;
}

.page-numbers.current {
	background: var(--night);
	color: #fff;
}

.comments-area {
	margin-top: 28px;
	padding: 24px;
}

.comment-list {
	margin: 0;
	padding-left: 20px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: block;
	font: inherit;
	padding: 12px;
	width: 100%;
}

.not-found-page {
	padding: 80px 0;
	text-align: center;
}

.not-found-page .search-form {
	margin-left: auto;
	margin-right: auto;
	max-width: 560px;
}

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

.footer-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr 1fr 220px;
	padding-bottom: 34px;
	padding-top: 38px;
}

.footer-brand {
	font-size: 30px;
}

.footer-grid p {
	color: var(--muted);
	margin: 10px 0 0;
}

.footer-nav a {
	display: block;
	font-weight: 900;
	padding: 5px 0;
}

.footer-bottom {
	background: var(--night);
	color: rgba(255, 255, 255, 0.74);
	font-size: 12px;
	font-weight: 700;
	padding: 12px 0;
}

.footer-bottom .wrap {
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.empty-state,
.no-results {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}

.home .site-header,
.home .site-footer {
	display: none;
}

.landing-main {
	min-height: 100vh;
}

.countdown-landing {
	align-items: center;
	background: #050208;
	color: #fff;
	display: flex;
	isolation: isolate;
	min-height: 100vh;
	overflow: hidden;
	position: relative;
}

.video-background,
.landing-overlay {
	inset: 0;
	position: absolute;
}

.video-background {
	z-index: -3;
}

.video-background video {
	height: 100%;
	inset: 0;
	object-fit: cover;
	pointer-events: none;
	position: absolute;
	width: 100%;
}

.landing-overlay {
	background:
		linear-gradient(90deg, rgba(4, 0, 0, 0.94), rgba(34, 0, 0, 0.46) 52%, rgba(92, 0, 0, 0.78)),
		linear-gradient(0deg, rgba(255, 21, 0, 0.34), rgba(255, 122, 0, 0.16));
	z-index: -1;
}

.landing-overlay::after {
	background:
		radial-gradient(circle at 78% 18%, rgba(255, 0, 0, 0.46), transparent 28%),
		radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
	background-size: auto, 5px 5px;
	content: "";
	inset: 0;
	opacity: 0.34;
	position: absolute;
}

.landing-content {
	padding-bottom: 44px;
	padding-top: 28px;
	text-align: center;
}

.landing-logo {
	filter: drop-shadow(0 0 16px rgba(255, 39, 0, 0.72)) drop-shadow(0 8px 22px rgba(0, 0, 0, 0.72));
	height: auto;
	margin: 0 auto 32px;
	max-width: min(150px, 35vw);
}

.landing-content h1,
.fire-title {
	color: #050000;
	font-family: "Homemade Apple", cursive;
	font-size: clamp(34px, 6.2vw, 92px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 auto;
	max-width: 1040px;
	position: relative;
	animation: kpu-fire-text 0.82s ease-in-out infinite alternate;
	text-transform: none;
}

.fire-title::before {
	color: rgba(255, 246, 168, 0.2);
	content: "tomorrow we\a watch it burn";
	white-space: pre;
	filter: blur(10px);
	inset: 0;
	position: absolute;
	transform: translateY(4px);
	z-index: -1;
}

.title-line {
	display: block;
}

.landing-copy {
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(17px, 2vw, 24px);
	font-weight: 700;
	margin: 24px 0 0;
	max-width: 680px;
}

.countdown-timer {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(112px, 150px));
	justify-content: center;
	margin-top: 46px;
}

.countdown-item {
	background: rgba(12, 0, 0, 0.42);
	border: 1px solid rgba(255, 83, 0, 0.38);
	border-radius: var(--radius);
	backdrop-filter: blur(12px);
	box-shadow: 0 0 24px rgba(255, 0, 0, 0.18);
	min-height: 124px;
	padding: 18px 14px;
}

.countdown-item strong {
	color: #ffe766;
	display: block;
	font-size: clamp(38px, 6vw, 70px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.9;
	text-shadow: 0 0 10px rgba(255, 79, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.58);
}

.countdown-item span {
	color: rgba(255, 255, 255, 0.72);
	display: block;
	font-size: 12px;
	font-weight: 900;
	margin-top: 12px;
	text-transform: uppercase;
}

.landing-social {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 30px;
}

.landing-social a {
	align-items: center;
	background: rgba(255, 244, 190, 0.92);
	border-radius: 999px;
	color: #07040b;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	transition: transform 160ms ease, background 160ms ease;
	width: 48px;
}

.landing-social a:hover {
	background: #ffdb45;
	color: #07040b;
	transform: translateY(-2px);
}

.landing-social svg {
	display: block;
	fill: currentColor;
	height: 22px;
	width: 22px;
}

@keyframes kpu-fire-text {
	0% {
		text-shadow:
			0 0 10px #fff6b8,
			7px -8px 18px #ffe45f,
			-14px -18px 28px #ffb12a,
			15px -30px 40px #ff5a00,
			-12px -44px 48px #d51f00,
			0 -58px 58px #7b1200,
			8px -72px 68px #2c0500;
	}

	48% {
		text-shadow:
			0 0 12px #fff9c9,
			-8px -10px 22px #ffec7a,
			16px -20px 34px #ff9f1f,
			-18px -34px 42px #f04400,
			18px -48px 54px #b91500,
			2px -64px 62px #6b1000,
			-6px -78px 72px #240300;
	}

	100% {
		text-shadow:
			0 0 14px #fffad1,
			10px -9px 24px #fff08f,
			-18px -18px 36px #ffc247,
			20px -36px 48px #ff6a00,
			-20px -52px 58px #e33300,
			0 -68px 66px #8d1b00,
			10px -82px 76px #350600;
	}
}

@media (max-width: 900px) {
	.menu-toggle {
		display: inline-flex;
	}

	.primary-nav {
		display: none;
	}

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

	.primary-nav ul {
		display: block;
		padding: 8px 0;
	}

	.primary-nav a {
		padding: 12px 0;
	}

	.hero-card,
	.hero-empty,
	.strip-grid,
	.page-layout,
	.footer-grid {
		grid-template-columns: 1fr;
	}

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

	.sidebar {
		grid-row: auto;
	}
}

@media (max-width: 640px) {
	.wrap {
		padding: 0 16px;
	}

	.masthead {
		min-height: 92px;
	}

	.topline-inner,
	.section-heading,
	.footer-bottom .wrap {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.hero-band {
		padding-top: 22px;
	}

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

	.hero-copy {
		padding: 0;
	}

	.post-grid,
	.strip-cards,
	.list-card {
		grid-template-columns: 1fr;
	}

	.list-card {
		padding: 12px;
	}

	.search-form {
		flex-direction: column;
	}

	.search-form button {
		width: 100%;
	}

	.countdown-landing {
		align-items: flex-start;
	}

	.landing-overlay {
		background:
			linear-gradient(0deg, rgba(4, 0, 0, 0.97), rgba(34, 0, 0, 0.52) 56%, rgba(88, 0, 0, 0.76)),
			linear-gradient(0deg, rgba(255, 21, 0, 0.34), rgba(255, 122, 0, 0.16));
	}

	.landing-logo {
		margin-bottom: 30px;
		max-width: min(140px, 44vw);
	}

	.fire-title {
		font-size: clamp(54px, 17vw, 92px);
		line-height: 1.08;
		max-width: 100%;
	}

	.fire-title::before {
		display: none;
	}

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

	.countdown-item {
		min-height: 104px;
	}
}
