/* Fonts */
@import url("https://use.typekit.net/qsw6clr.css");
@font-face {
	font-family: "Geometric";
	src: url("../fonts/geometric.ttf") format("truetype");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

:root {
	/* Lovetown ink & paper — mirrors the main site */
	--red: #c83742;
	--red-deep: #a3242f;
	--red-soft: #e1606b;
	--ink: #29231f;
	--paper: #faf3e7;
	--cream: #fffdf6;

	--font-display: "Geometric", "ofelia-display", "Arial Black", sans-serif;
	--font-body: "ofelia-display", "Gill Sans", system-ui, sans-serif;

	--sketchy: 255px 15px 225px 15px / 15px 225px 15px 255px;
	--sketchy-alt: 15px 225px 15px 255px / 255px 15px 225px 15px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background:
		radial-gradient(
			ellipse 60% 50% at 75% 35%,
			rgba(200, 55, 66, 0.09),
			transparent 70%
		),
		var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	min-height: 100vh;
	min-height: 100dvh;
	overflow-x: hidden;
}

/* paper grain, same recipe as the main site */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 5;
	pointer-events: none;
	opacity: 0.5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0.25 0.25 0 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
	background: var(--red);
	color: var(--cream);
}

/* ============ LAYOUT ============ */
main {
	max-width: 1200px;
	margin: 0 auto;
	min-height: calc(100vh - 52px);
	min-height: calc(100dvh - 52px);
	padding: clamp(1.5rem, 4vw, 4rem);

	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

/* ============ COPY ============ */
.kicker {
	display: inline-block;
	font-size: 0.92rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;

	background: var(--cream);
	border: 2px solid var(--ink);
	border-radius: var(--sketchy-alt);
	box-shadow: 3px 3px 0 var(--ink);
	padding: 0.5em 1.1em;
	margin-bottom: 1.4rem;
}

.beat-heart {
	display: inline-block;
	color: var(--red);
	animation: pulse 1.6s infinite ease-in-out;
}

h1 {
	font-family: var(--font-display);
	font-size: clamp(2.8rem, 7vw, 5.6rem);
	line-height: 0.95;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin-bottom: 1.2rem;
}
h1 span {
	display: block;
}
.love-text {
	color: var(--red);
	background: linear-gradient(
		100deg,
		var(--red-deep),
		var(--red) 45%,
		var(--red-soft)
	);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.pressing-text {
	color: var(--ink);
	font-size: 0.68em;
	letter-spacing: 0.22em;
}

.tagline {
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	line-height: 1.55;
	margin-bottom: 1.6rem;
}

/* ============ FORMAT STICKERS ============ */
.formats {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-bottom: 2rem;
}
.formats li {
	font-family: var(--font-display);
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;

	color: var(--cream);
	background: var(--chip, var(--red));
	border: 2px solid var(--ink);
	border-radius: var(--sketchy-alt);
	box-shadow: 2px 2px 0 var(--ink);
	padding: 0.45em 1em;
}
.formats li:nth-child(odd) {
	rotate: -1.5deg;
}
.formats li:nth-child(even) {
	rotate: 1.5deg;
}

/* ============ BUTTONS ============ */
.links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
}
.btn {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;

	color: var(--ink);
	background: var(--cream);
	border: 3px solid var(--ink);
	border-radius: var(--sketchy);
	box-shadow: 4px 4px 0 var(--ink);

	padding: 0.8em 1.5em;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		background-color 0.15s ease;
}
.btn:hover {
	transform: translate(-2px, -2px) rotate(-1deg);
	box-shadow: 7px 7px 0 var(--ink);
}
.btn:active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--ink);
}
.btn-primary {
	background: var(--red);
	color: var(--cream);
}
.btn-primary:hover {
	background: var(--red-deep);
}

/* ============ THE RECORD ============ */
.deck {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.vinyl {
	position: relative;
	width: min(100%, 76vh, 540px);
	aspect-ratio: 1;
	border-radius: 50%;

	/* grooves */
	background: repeating-radial-gradient(
		circle at center,
		#242019 0px,
		#332d29 2px,
		#242019 4px
	);
	border: 3px solid var(--ink);
	box-shadow: 12px 14px 0 rgba(41, 35, 31, 0.18);

	animation: record-spin 7s linear infinite;
}

/* the pressing logo is the record's label */
.vinyl .label {
	position: absolute;
	inset: 27%;
	width: 46%;
	height: 46%;
	border-radius: 50%;
}

/* stationary light sheen sitting on top of the spinning disc */
.sheen {
	position: absolute;
	width: min(100%, 76vh, 540px);
	aspect-ratio: 1;
	border-radius: 50%;
	pointer-events: none;

	background: conic-gradient(
		from 320deg,
		rgba(255, 253, 246, 0.14) 0deg,
		transparent 55deg,
		transparent 160deg,
		rgba(255, 253, 246, 0.1) 190deg,
		transparent 245deg
	);
}

@keyframes record-spin {
	to {
		rotate: 360deg;
	}
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.15);
	}
}

/* ============ TICKER ============ */
.ticker {
	position: sticky;
	bottom: 0;
	overflow: hidden;
	background: var(--red);
	color: var(--cream);
	border-top: 3px solid var(--ink);
}
.ticker-track {
	display: flex;
	width: max-content;
	animation: ticker-scroll 32s linear infinite;
}
.ticker-group {
	display: flex;
	align-items: center;
	gap: 2.4rem;
	padding: 0.6rem 1.2rem;
	white-space: nowrap;

	font-family: var(--font-display);
	font-size: clamp(0.95rem, 1.8vw, 1.2rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.ticker-group i {
	font-style: normal;
	font-size: 0.9em;
	animation: pulse 2s infinite ease-in-out;
}
@keyframes ticker-scroll {
	to {
		transform: translateX(-50%);
	}
}

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 800px) {
	main {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2.5rem;
		padding-top: 2.5rem;
	}
	.deck {
		order: -1;
	}
	.vinyl,
	.sheen {
		width: min(72vw, 340px);
	}
	.formats,
	.links {
		justify-content: center;
	}
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
