@font-face {
	font-family: "Subway Novella";
	src: url("../fonts/SubwayNovella.ttf") format("truetype");
	font-display: swap;
}

@font-face {
	font-family: "Impact Label Reversed";
	src: url("../fonts/ImpactLabelReversed.ttf") format("truetype");
	font-display: swap;
}

:root {
	--ink: #111111;
	--paper: #f5f2ec;
	--paper-soft: #fffaf1;
	--red: #c20106;
	--red-dark: #8f080c;
	--steel: #2d3337;
	--muted: #6d6860;
	--line: rgba(17, 17, 17, 0.16);
	--shadow: 0 18px 55px rgba(17, 17, 17, 0.16);
	--title: "Impact Label Reversed", Impact, Haettenschweiler, sans-serif;
	--stamp: "Subway Novella", Impact, Haettenschweiler, sans-serif;
	--text: "Courier New", Courier, monospace;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--text);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(rgba(255, 250, 241, 0.88), rgba(255, 250, 241, 0.88)),
		url("../images/og_Rejected_Productions.jpg") center / cover;
}

main {
	width: 100%;
	overflow: hidden;
}

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

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

button,
input,
textarea {
	font: inherit;
}

:focus-visible {
	outline: 3px solid var(--red);
	outline-offset: 4px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	width: 100%;
	padding: 12px clamp(18px, 4vw, 56px);
	background: rgba(17, 17, 17, 0.94);
	color: var(--paper-soft);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	min-width: 0;
}

.brand-mark {
	color: var(--red);
	font-family: var(--stamp);
	font-size: 22px;
	line-height: 0.95;
	text-transform: uppercase;
	transform: rotate(-5deg);
}

.brand-name {
	color: var(--paper-soft);
	font-family: var(--title);
	font-size: 20px;
	line-height: 0.95;
	transform: scaleX(0.88);
	transform-origin: left center;
	white-space: nowrap;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-nav a {
	padding: 9px 12px;
	border-radius: 6px;
	color: var(--paper-soft);
	transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
	background: var(--red);
}

.site-nav .admin-notice {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(255, 250, 241, 0.1);
	border: 1px solid rgba(255, 250, 241, 0.18);
}

.site-nav .admin-notice[hidden] {
	display: none;
}

.admin-count {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--red);
	color: var(--paper-soft);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	background: transparent;
	color: var(--paper-soft);
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 5px auto;
	background: currentColor;
	transition: opacity 160ms ease, transform 160ms ease;
	transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.hero {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	min-height: calc(100vh - 72px);
	padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.hero-media {
	position: relative;
	min-width: 0;
}

.hero-media img {
	width: min(520px, 100%);
	margin-inline: auto;
	filter: drop-shadow(0 22px 24px rgba(17, 17, 17, 0.2));
}

.hero-copy {
	max-width: 720px;
	min-width: 0;
}

.kicker,
.project-type {
	margin: 0 0 12px;
	color: var(--red-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: var(--title);
	font-weight: 400;
	line-height: 1;
}

h1 {
	max-width: 780px;
	margin-bottom: 22px;
	font-size: clamp(46px, 7vw, 106px);
	overflow-wrap: normal;
}

.hero-title {
	display: grid;
	gap: 6px;
	width: min(100%, 780px);
	line-height: 0.9;
}

.hero-title span {
	display: block;
	max-width: 100%;
	white-space: nowrap;
}

.hero-title-production {
	font-size: 0.78em;
}

h2 {
	margin-bottom: 22px;
	font-size: clamp(38px, 7vw, 78px);
}

h3 {
	margin-bottom: 14px;
	font-size: clamp(28px, 4vw, 46px);
}

.hero-copy p:not(.kicker) {
	max-width: 650px;
	font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 16px;
	border: 2px solid var(--ink);
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button:disabled {
	cursor: wait;
	opacity: 0.66;
	transform: none;
}

.button.primary {
	background: var(--red);
	border-color: var(--red);
	color: var(--paper-soft);
}

.button.secondary {
	background: rgba(255, 250, 241, 0.72);
	color: var(--ink);
}

.intro-band {
	width: 100%;
	padding: clamp(28px, 5vw, 54px) clamp(18px, 5vw, 72px);
	background: var(--ink);
	color: var(--paper-soft);
}

.intro-band p {
	width: min(980px, 100%);
	margin: 0 auto;
	font-size: clamp(20px, 3vw, 34px);
	line-height: 1.35;
}

.section {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
	padding: clamp(64px, 9vw, 118px) 0;
}

.section-heading {
	max-width: 780px;
}

.featured-project {
	display: grid;
	grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
	gap: clamp(22px, 5vw, 54px);
	align-items: center;
	margin-top: 34px;
	padding: clamp(18px, 3vw, 30px);
	background: var(--paper-soft);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.featured-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 6px;
	background: var(--steel);
}

.featured-copy p,
.project-card p,
.about-copy p,
.contact-copy p,
.watch-section p {
	color: var(--steel);
}

.text-link {
	display: inline-flex;
	margin-top: 6px;
	margin-right: 14px;
	color: var(--red-dark);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}

.project-card {
	min-height: 260px;
	padding: clamp(18px, 3vw, 28px);
	background: rgba(255, 250, 241, 0.9);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.project-card.in-development {
	background: var(--ink);
	color: var(--paper-soft);
}

.project-card.in-development p {
	color: rgba(255, 250, 241, 0.82);
}

.watch-list {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}

.watch-item {
	display: grid;
	gap: 4px;
	padding: 18px 20px;
	background: rgba(255, 250, 241, 0.9);
	border: 1px solid var(--line);
	border-radius: 8px;
	transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.watch-item:hover {
	border-color: rgba(194, 1, 6, 0.46);
	box-shadow: 0 12px 30px rgba(17, 17, 17, 0.1);
	transform: translateY(-2px);
}

.watch-item.episode-group:hover {
	transform: none;
}

.watch-item span {
	color: var(--red-dark);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.watch-item strong {
	color: var(--ink);
	font-size: clamp(18px, 2vw, 24px);
	line-height: 1.25;
}

.episode-list {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}

.episode-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	color: var(--steel);
	font-weight: 700;
}

.episode-list a::after {
	content: "Watch";
	color: var(--red-dark);
	font-size: 13px;
	text-transform: uppercase;
}

.episode-list a:hover {
	color: var(--red-dark);
}

.about-section,
.contact-section {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.85fr);
	gap: clamp(26px, 5vw, 66px);
	align-items: start;
}

.about-panel {
	padding: 8px;
	background: var(--ink);
	border-radius: 8px;
	color: var(--paper-soft);
	box-shadow: var(--shadow);
}

.about-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-panel li {
	display: grid;
	gap: 4px;
	padding: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.about-panel li:last-child {
	border-bottom: 0;
}

.about-panel span {
	color: rgba(255, 250, 241, 0.62);
	font-size: 13px;
	text-transform: uppercase;
}

.about-panel strong {
	font-size: 18px;
}

.contact-section {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto clamp(64px, 9vw, 118px);
	padding: clamp(28px, 5vw, 46px);
	background: var(--paper-soft);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.contact-form {
	display: grid;
	gap: 14px;
}

.contact-form label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid rgba(17, 17, 17, 0.28);
	border-radius: 6px;
	background: #ffffff;
	color: var(--ink);
	padding: 12px;
}

.contact-form textarea {
	resize: vertical;
}

.contact-form input[name="website"] {
	display: none;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	padding: 24px clamp(18px, 5vw, 72px);
	background: var(--ink);
	color: var(--paper-soft);
}

.site-footer p {
	margin: 0;
}

.footer-links a {
	color: var(--paper-soft);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.simple-page {
	display: grid;
	min-height: 100vh;
	place-items: center;
	padding: 20px;
}

.message-panel {
	width: min(640px, 100%);
	padding: clamp(28px, 6vw, 56px);
	background: var(--paper-soft);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.message-panel h1 {
	font-size: clamp(48px, 9vw, 88px);
}

.admin-panel {
	width: min(980px, 100%);
}

.admin-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 20px;
}

.admin-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px 0;
}

.admin-login-back {
	margin-top: 18px;
}

.form-error {
	padding: 12px 14px;
	background: rgba(194, 1, 6, 0.08);
	border: 1px solid rgba(194, 1, 6, 0.24);
	border-radius: 6px;
	color: var(--red-dark);
	font-weight: 700;
}

.submission-list {
	display: grid;
	gap: 14px;
}

.submission-card {
	padding: 18px;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 8px;
}

.submission-card header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.submission-card header div {
	display: grid;
	gap: 2px;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.status-badge.sent {
	background: rgba(18, 146, 66, 0.12);
	color: #0f6f34;
}

.status-badge.saved {
	background: rgba(194, 1, 6, 0.1);
	color: var(--red-dark);
}

.status-badge.unknown {
	background: rgba(17, 17, 17, 0.08);
	color: var(--muted);
}

.submission-card header span,
.submission-card small {
	color: var(--muted);
}

.submission-card a {
	color: var(--red-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.submission-card .submission-subject {
	margin: 14px 0 6px;
	color: var(--ink);
	font-size: 18px;
	font-weight: 700;
}

.submission-card p {
	margin: 14px 0;
	white-space: normal;
}

.icon-button {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(194, 1, 6, 0.28);
	border-radius: 6px;
	background: rgba(194, 1, 6, 0.08);
	color: var(--red-dark);
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	transition: background 160ms ease, transform 160ms ease;
}

.icon-button svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon-button:hover {
	background: rgba(194, 1, 6, 0.16);
	transform: translateY(-1px);
}

.hash-output {
	display: grid;
	gap: 6px;
	margin-top: 18px;
	font-weight: 700;
}

.hash-output textarea {
	width: 100%;
	border: 1px solid rgba(17, 17, 17, 0.28);
	border-radius: 6px;
	background: #ffffff;
	color: var(--ink);
	padding: 12px;
	resize: vertical;
}

@media (max-width: 980px) {
	.site-header {
		align-items: flex-start;
	}

	.nav-toggle {
		display: block;
	}

	.site-nav {
		position: absolute;
		right: 18px;
		top: 64px;
		display: none;
		width: min(240px, calc(100vw - 36px));
		padding: 8px;
		background: var(--ink);
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 8px;
		box-shadow: var(--shadow);
	}

	.site-nav.is-open {
		display: grid;
	}

	.hero,
	.featured-project,
	.about-section,
	.contact-section {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: auto;
		padding-top: 34px;
	}

	.hero-media {
		order: 2;
	}

	.hero-copy {
		order: 1;
	}

	.project-grid {
		grid-template-columns: 1fr;
	}

	.site-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 460px) {
	.hero-actions,
	.footer-links {
		display: grid;
	}

	.button {
		width: 100%;
	}
}
