:root {
	--ink: #f2eee3;
	--muted: #b7b09f;
	--quiet: #837d70;
	--black: #080909;
	--panel: #111414;
	--panel-2: #171a19;
	--line: #323831;
	--field: #9aa17a;
	--rust: #a9463d;
	--blue: #70a5ae;
	--shadow: rgba(0, 0, 0, 0.45);
	--max: 1180px;
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--black);
}

body {
	min-height: 100%;
	margin: 0;
	color: var(--ink);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	background:
		linear-gradient(90deg, rgba(154, 161, 122, 0.06) 1px, transparent 1px),
		linear-gradient(180deg, rgba(215, 207, 189, 0.04) 1px, transparent 1px),
		radial-gradient(circle at 78% 12%, rgba(112, 165, 174, 0.12), transparent 34rem),
		linear-gradient(160deg, #080909 0%, #101312 48%, #080909 100%);
	background-size: 72px 72px, 72px 72px, auto, auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

img,
svg {
	display: block;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: 1rem;
	z-index: 20;
	padding: 0.6rem 0.8rem;
	color: var(--black);
	background: var(--ink);
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(0);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header,
.site-footer,
.hero,
.results-shell {
	width: min(var(--max), calc(100% - 2rem));
	margin-inline: auto;
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 0;
	color: var(--muted);
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.9rem;
	letter-spacing: 0.18em;
	text-decoration: none;
}

.brand-lockup img {
	width: 2.125rem;
	height: 2.125rem;
}

.site-header p,
.site-footer p {
	margin: 0;
	font-size: 0.875rem;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 23rem;
	align-items: center;
	gap: clamp(2rem, 6vw, 5.5rem);
	min-height: min(680px, calc(100vh - 8rem));
	padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 6vw, 4rem);
}

.eyebrow,
.panel-kicker {
	margin: 0 0 0.85rem;
	color: var(--field);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 10ch;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3.8rem, 10vw, 8.25rem);
	font-weight: 400;
	line-height: 0.88;
	letter-spacing: 0;
}

.dek {
	max-width: 42rem;
	margin: 1.5rem 0 2rem;
	color: var(--muted);
	font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.search-form {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	width: min(100%, 45rem);
	padding: 0.35rem;
	border: 1px solid rgba(215, 207, 189, 0.2);
	border-radius: 8px;
	background: rgba(17, 20, 20, 0.86);
	box-shadow: 0 1.5rem 4rem var(--shadow);
	backdrop-filter: blur(12px);
}

.search-form input,
.search-form button {
	min-height: 3.75rem;
	border: 0;
	font: inherit;
}

.search-form input {
	min-width: 0;
	padding: 0 1rem;
	color: var(--ink);
	background: transparent;
	outline: none;
}

.search-form input::placeholder {
	color: var(--quiet);
}

.search-form:focus-within {
	border-color: rgba(154, 161, 122, 0.72);
	box-shadow: 0 0 0 3px rgba(154, 161, 122, 0.15), 0 1.5rem 4rem var(--shadow);
}

.search-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0 1.1rem;
	color: #101211;
	font-weight: 800;
	background: var(--ink);
	border-radius: 6px;
	cursor: pointer;
}

.search-form button svg {
	width: 1.1rem;
	height: 1.1rem;
	fill: currentColor;
}

.search-form button:hover,
.search-form button:focus-visible {
	background: #ffffff;
}

.search-suggestions {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	right: 0;
	z-index: 10;
	overflow: hidden;
	border: 1px solid rgba(215, 207, 189, 0.18);
	border-radius: 8px;
	background: rgba(13, 15, 15, 0.98);
	box-shadow: 0 1.25rem 3.5rem var(--shadow);
}

.search-suggestions a {
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr);
	gap: 0.25rem 1rem;
	padding: 0.85rem 1rem;
	text-decoration: none;
	border-bottom: 1px solid rgba(215, 207, 189, 0.09);
}

.search-suggestions a:last-child {
	border-bottom: 0;
}

.search-suggestions a:hover,
.search-suggestions a:focus-visible {
	background: rgba(154, 161, 122, 0.1);
}

.search-suggestions span,
.result-item span {
	color: var(--field);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.search-suggestions strong {
	min-width: 0;
	overflow-wrap: anywhere;
}

.search-suggestions em {
	grid-column: 2;
	color: var(--quiet);
	font-size: 0.88rem;
	font-style: normal;
}

.quick-searches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1rem;
}

.request-button {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	width: fit-content;
	margin-top: 1.25rem;
	padding: 0.72rem 0.9rem;
	color: var(--ink);
	font-weight: 800;
	text-decoration: none;
	border: 1px solid rgba(159, 64, 56, 0.7);
	border-radius: 6px;
	background: rgba(159, 64, 56, 0.16);
}

.request-button svg {
	width: 1rem;
	height: 1rem;
	fill: currentColor;
}

.request-button:hover,
.request-button:focus-visible {
	border-color: var(--rust);
	background: rgba(159, 64, 56, 0.28);
}

.quick-searches a {
	padding: 0.42rem 0.65rem;
	color: var(--muted);
	font-size: 0.9rem;
	text-decoration: none;
	border: 1px solid rgba(215, 207, 189, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
}

.quick-searches a:hover,
.quick-searches a:focus-visible {
	color: var(--ink);
	border-color: rgba(154, 161, 122, 0.55);
}

.sample-panel,
.archive-section {
	border: 1px solid rgba(215, 207, 189, 0.16);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(23, 26, 25, 0.94), rgba(12, 14, 14, 0.94));
	box-shadow: 0 1.25rem 4rem var(--shadow);
}

.sample-panel {
	padding: 1.4rem;
}

.meter-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.7rem;
}

.meter-grid div,
.detail-stats div,
.date-pair div {
	padding: 0.8rem;
	border: 1px solid rgba(215, 207, 189, 0.11);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.03);
}

.meter-grid strong,
.detail-stats strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2rem;
	line-height: 1;
	font-weight: 400;
}

.meter-grid span,
.detail-stats span,
.date-pair span {
	display: block;
	margin-top: 0.35rem;
	color: var(--quiet);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.field-bars {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	align-items: end;
	gap: 0.45rem;
	height: 12rem;
	margin: 1.5rem 0;
	padding: 0.75rem;
	border-left: 1px solid rgba(215, 207, 189, 0.16);
	border-bottom: 1px solid rgba(215, 207, 189, 0.16);
}

.field-bars span {
	display: block;
	height: var(--bar);
	min-height: 1rem;
	background: linear-gradient(180deg, var(--field), var(--rust));
}

.sample-note {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.results-shell {
	padding-bottom: 4rem;
}

.overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 21rem;
	gap: 1rem;
	align-items: start;
}

.archive-section {
	padding: clamp(1rem, 3vw, 1.6rem);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(215, 207, 189, 0.14);
}

.section-heading h2,
.section-heading h3,
.empty-state h2,
.detail-header h2,
.feature-callout h3 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0;
}

.section-heading h2,
.empty-state h2,
.detail-header h2 {
	font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-heading h3,
.feature-callout h3 {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.tight {
	display: block;
	margin-bottom: 0.75rem;
	padding-bottom: 0;
	border-bottom: 0;
}

.tight .eyebrow {
	margin-bottom: 0.35rem;
}

.play-list,
.result-list,
.history-list,
.album-table,
.track-table,
.play-history {
	display: grid;
	gap: 0.65rem;
}

.play-row,
.play-history article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	padding: 0.9rem 0;
	border-bottom: 1px solid rgba(215, 207, 189, 0.09);
}

.play-row:last-child,
.play-history article:last-child {
	border-bottom: 0;
}

.play-row a:first-child,
.source-date,
.album-reference,
.track-line,
.album-line,
.history-list a,
.result-item {
	text-decoration: none;
}

.play-row a:first-child,
.album-line span,
.track-line span,
.history-list strong,
.play-history a,
.result-item strong {
	color: var(--ink);
	font-weight: 750;
}

.play-row p,
.play-history p,
.result-item em,
.album-line em,
.history-list em {
	margin: 0.25rem 0 0;
	color: var(--quiet);
	font-size: 0.92rem;
	font-style: normal;
}

.source-date,
.album-reference,
.play-history article > span {
	color: var(--muted);
	font-size: 0.9rem;
	white-space: nowrap;
}

.album-reference {
	display: inline-flex;
	width: fit-content;
	margin-top: 0.35rem;
	color: var(--blue);
	font-size: 0.86rem;
	font-weight: 750;
}

.ranked-list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: artists;
}

.ranked-list li {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.75rem;
	align-items: center;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(215, 207, 189, 0.09);
	counter-increment: artists;
}

.ranked-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.ranked-list li::before {
	content: counter(artists, decimal-leading-zero);
	color: var(--rust);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.ranked-list a {
	text-decoration: none;
}

.ranked-list > li > span {
	color: var(--quiet);
	font-size: 0.9rem;
	white-space: nowrap;
}

.secondary-heading {
	margin-top: 1.5rem;
}

.result-item {
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr);
	gap: 0.2rem 1rem;
	padding: 1rem;
	border: 1px solid rgba(215, 207, 189, 0.1);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.03);
}

.result-item em {
	grid-column: 2;
}

.result-item:hover,
.result-item:focus-visible,
.track-line:hover,
.track-line:focus-visible,
.album-line:hover,
.album-line:focus-visible,
.history-list a:hover,
.history-list a:focus-visible {
	border-color: rgba(154, 161, 122, 0.5);
	background: rgba(154, 161, 122, 0.08);
}

.detail-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: start;
	padding-bottom: 1.2rem;
	border-bottom: 1px solid rgba(215, 207, 189, 0.14);
}

.detail-header h2 a {
	color: var(--muted);
}

.detail-stats {
	display: flex;
	gap: 0.75rem;
}

.detail-stats div {
	min-width: 8rem;
}

.feature-callout {
	margin: 1.2rem 0;
	padding: 1.1rem;
	border-left: 3px solid var(--rust);
	background: rgba(159, 64, 56, 0.09);
}

.feature-callout p,
.feature-callout span {
	margin: 0;
	color: var(--muted);
}

.feature-callout h3 {
	margin: 0.2rem 0;
}

.detail-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 20rem;
	gap: 1.25rem;
	align-items: start;
	margin-top: 1.25rem;
}

.track-line,
.album-line,
.history-list a {
	display: grid;
	gap: 0.2rem;
	padding: 0.85rem;
	border: 1px solid rgba(215, 207, 189, 0.1);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.025);
}

.track-line {
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: baseline;
	gap: 1rem;
}

.album-line {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 0.35rem 1rem;
}

.track-line strong,
.album-line strong,
.album-line em,
.track-line em {
	color: var(--muted);
	font-size: 0.9rem;
	font-style: normal;
	white-space: nowrap;
}

.album-line em {
	grid-column: 1 / -1;
	margin: 0;
}

.line-title,
.track-line .line-title,
.ranked-list .line-title {
	display: block;
	color: var(--ink);
	font-weight: 750;
}

.line-subtitle,
.track-line .line-subtitle,
.ranked-list .line-subtitle {
	display: block;
	margin-top: 0.15rem;
	color: var(--quiet);
	font-size: 0.82rem;
	font-style: normal;
	font-weight: 650;
	letter-spacing: 0;
	text-transform: none;
}

.album-table + .section-heading {
	margin-top: 1.35rem;
}

.date-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.25rem 0;
}

.date-pair strong {
	display: block;
	margin-top: 0.3rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 400;
}

.empty-state,
.error-page {
	max-width: 48rem;
}

.empty-state p:last-child,
.error-page p:last-child {
	color: var(--muted);
}

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 2rem 0 3rem;
	color: var(--quiet);
	border-top: 1px solid rgba(215, 207, 189, 0.12);
}

.site-footer a {
	color: var(--muted);
}

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

	.hero,
	.overview-grid,
	.detail-columns {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 0;
		padding-top: 2.2rem;
	}

	.sample-panel,
	.compact-section {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.site-header,
	.site-footer,
	.hero,
	.results-shell {
		width: min(100% - 1rem, var(--max));
	}

	.brand-lockup {
		font-size: 0.82rem;
		letter-spacing: 0.12em;
	}

	.hero h1 {
		font-size: clamp(3.2rem, 18vw, 5.4rem);
	}

	.search-form {
		grid-template-columns: 1fr;
	}

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

	.search-suggestions a,
	.result-item {
		grid-template-columns: 1fr;
	}

	.search-suggestions em,
	.result-item em {
		grid-column: auto;
	}

	.meter-grid,
	.detail-header,
	.detail-stats,
	.date-pair,
	.track-line,
	.album-line,
	.play-row,
	.play-history article,
	.site-footer {
		grid-template-columns: 1fr;
	}

	.detail-stats,
	.site-footer {
		display: grid;
	}

	.source-date,
	.play-history article > span,
	.album-reference,
	.track-line strong,
	.album-line strong,
	.album-line em,
	.track-line em {
		white-space: normal;
	}
}
