/* ==========================================================================
   The Colors Blend - site styles
   Palette carried over from the original site: black page, #0d0d0d panels,
   grey text, white links, and the poster-red accents.
   ========================================================================== */

:root {
	--bg: #000;
	--panel: #0d0d0d;
	--panel-raised: #151515;
	--line: #262626;
	--text: #b8b8b8;
	--text-muted: #8a8a8a;
	--heading: #f2f2f2;
	--link: #fff;
	--accent: #a61c00;
	--accent-hover: #c75461;
	--accent-dark: #822100;
	--disclosure-bg: #d4e8e8;
	--disclosure-text: #333;
	--success: #3f9a2e;
	--warning: #bf9117;
	--error: #df4b37;

	--font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Oswald", Impact, "Arial Narrow", sans-serif;

	--radius: 6px;
	--wrap: 1120px;
	--gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1.0625rem/1.6 var(--font-body);
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--link); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent-hover); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--accent-hover);
	outline-offset: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.2;
	color: var(--heading);
	margin: 0 0 .6em;
}
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }

/* --- Disclosure bar -------------------------------------------------- */
.disclosure {
	margin: 0;
	padding: 8px var(--gutter);
	background: var(--disclosure-bg);
	color: var(--disclosure-text);
	font-size: .875rem;
	text-align: center;
}

/* --- Header ---------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 96px; padding-top: 8px; padding-bottom: 8px;
}
.site-logo { flex: 0 1 376px; line-height: 0; }
.site-logo img { width: 100%; max-width: 376px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.site-nav a {
	display: block; padding: 8px 12px; border-radius: var(--radius);
	font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
	letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	color: #8f8f8f;
}
.site-nav a:hover { color: #fff; background: #1a1a1a; }
.site-nav a[aria-current="page"] { color: #fff; background: #222; box-shadow: inset 0 -2px 0 var(--accent); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
	.site-header__inner { flex-wrap: wrap; min-height: 72px; }
	.site-logo { flex-basis: 240px; }
	.js .nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
		background: var(--panel); cursor: pointer;
	}
	.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
		display: block; width: 20px; height: 2px; background: #ddd; position: relative; content: "";
	}
	.nav-toggle__bar::before { position: absolute; top: -6px; }
	.nav-toggle__bar::after { position: absolute; top: 6px; }
	.site-nav { flex-basis: 100%; }
	.js .site-nav { display: none; }
	.js .site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; padding-bottom: 8px; }
}

/* --- Main ------------------------------------------------------------ */
.site-main { padding: clamp(20px, 4vw, 40px) 0 56px; }
.page-title { margin-bottom: .75em; }

.breadcrumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #555; }
.breadcrumbs a { color: var(--text-muted); }

.panel {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(18px, 3vw, 32px);
}
.panel + .panel { margin-top: 24px; }
.panel > :last-child { margin-bottom: 0; }

.panel-title {
	display: flex; align-items: center; gap: 12px;
	font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em;
}
.panel-title::before { content: ""; width: 6px; height: 1.1em; background: var(--accent); border-radius: 2px; }

.lead { font-size: 1.15rem; color: #cfcfcf; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: #fff; }
.prose ul { padding-left: 1.2em; }

/* --- Buttons --------------------------------------------------------- */
.button, button.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 0; border-radius: var(--radius);
	background: var(--accent); color: #fff;
	font: 600 1rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none;
	cursor: pointer;
}
.button:hover, input[type="submit"]:hover { background: var(--accent-hover); color: #fff; }
.button--ghost { background: transparent; border: 1px solid #444; }
.button--ghost:hover { background: #1c1c1c; border-color: var(--accent-hover); }
.button--ebay::after { content: "\2197"; font-size: .9em; }

/* --- Forms ----------------------------------------------------------- */
label { display: block; font-weight: 600; color: #e6e6e6; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field-hint { display: block; font-size: .875rem; color: var(--text-muted); font-weight: 400; margin-top: 4px; }
.req { color: var(--accent-hover); }

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="file"], select, textarea {
	width: 100%; max-width: 480px;
	padding: 10px 12px; min-height: 44px;
	background: #fff; color: #222;
	border: 1px solid #555; border-radius: var(--radius);
	font: 1rem/1.4 var(--font-body);
}
input[type="file"] { background: var(--panel-raised); color: var(--text); }
textarea { min-height: 160px; resize: vertical; }
.field-error input, .field-error textarea, .field-error select { border-color: var(--error); box-shadow: 0 0 0 2px rgba(223, 75, 55, .35); }

.form-grid { display: grid; gap: 0 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.form-grid .field input, .form-grid .field select { max-width: none; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 4px; margin: 0 0 20px; }
legend { padding: 0 8px; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: #ddd; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Notices --------------------------------------------------------- */
.notice {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 14px 16px; margin: 0 0 20px;
	border-left: 4px solid #555; border-radius: var(--radius);
	background: var(--panel-raised);
}
.notice-label {
	flex: none; padding: 2px 8px; border-radius: 3px;
	font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff;
	background: var(--accent);
}
.notice-body > :last-child { margin-bottom: 0; }
.notice-error   { border-color: var(--error); }   .notice-error .notice-label   { background: var(--error); }
.notice-warning { border-color: var(--warning); } .notice-warning .notice-label { background: var(--warning); }
.notice-success { border-color: var(--success); } .notice-success .notice-label { background: var(--success); }
.notice-notice  { border-color: var(--accent); }

/* --- Home ------------------------------------------------------------ */
.page-home .site-main { padding-top: 0; }

.hero {
	/* full-bleed band; text stays aligned with the content column */
	margin: 0 calc(50% - 50vw) 28px;
	padding: clamp(28px, 5vw, 56px) calc(50vw - 50%) clamp(28px, 4vw, 44px);
	background:
		radial-gradient(ellipse at 80% 0%, rgba(166, 28, 0, .22), transparent 60%),
		linear-gradient(180deg, #111 0%, var(--bg) 100%);
	border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .35em; }
.hero .lead { max-width: 60ch; margin-bottom: 1.4em; }
.hero p:last-child { margin-bottom: 0; }
.button--lg { min-height: 52px; padding: 14px 30px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }

.home-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.home-grid__full { grid-column: 1 / -1; }
@media (max-width: 860px) { .home-grid { grid-template-columns: minmax(0, 1fr); } }

/* Card: title strip, body, optional footer strip */
.card {
	display: flex; flex-direction: column;
	background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
	overflow: hidden;
}
.card__title {
	margin: 0; padding: 14px 22px;
	border-bottom: 1px solid var(--line);
	font-size: 1.3rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-hover);
}
.card__body { flex: 1; padding: 20px 22px; }
.card__body > :last-child { margin-bottom: 0; }
.card__note { margin: 16px 0 0; }
.card__footer {
	display: flex; justify-content: flex-end; gap: 20px; align-items: center;
	margin: 0; padding: 12px 22px;
	background: var(--panel-raised); border-top: 1px solid var(--line);
	font-size: .9rem; font-weight: 600;
}
.card__footer a { color: var(--accent-hover); text-decoration: none; }
.card__footer a:first-child:not(:last-child) { margin-right: auto; color: var(--text-muted); font-weight: 400; }
.card__footer a:hover { text-decoration: underline; }

.year-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.card .year-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 480px) { .card .year-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.year-grid a {
	display: block; padding: 7px 0; text-align: center; text-decoration: none;
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-raised);
	font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em;
}
.year-grid a:hover { border-color: var(--accent); background: #1d0d08; }

.filter-form { display: grid; gap: 14px 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; }
.filter-form--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .filter-form--2col { grid-template-columns: minmax(0, 1fr); } }
.filter-form .field { margin: 0; }
.filter-form select { max-width: none; }
.filter-form .filter-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.filter-form .filter-actions .button { border-radius: 999px; padding: 10px 24px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; }

.thumb-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 1000px) { .thumb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .thumb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.thumb-grid a { display: block; text-decoration: none; text-align: center; }
.thumb-grid img {
	display: block; width: 100%; aspect-ratio: 11 / 15; object-fit: contain;
	background: #050505; border-radius: 4px; box-shadow: 0 2px 10px rgba(0, 0, 0, .6);
	transition: transform .15s ease;
}
.thumb-grid a:hover img { transform: translateY(-3px); }
.thumb-grid__caption { display: block; margin-top: 8px; font-size: .8rem; line-height: 1.35; color: var(--text-muted); }
.thumb-grid a:hover .thumb-grid__caption { color: #fff; }

.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.article-list--row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.article-list a { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.article-list a:hover span { text-decoration: underline; text-decoration-color: var(--accent-hover); }
.article-list img { flex: none; width: 50px; height: 50px; border-radius: 4px; }

.promo-row { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
@media (max-width: 700px) { .promo-row { grid-template-columns: minmax(0, 1fr); } }
.promo {
	display: block; padding: 20px 24px; border-radius: 10px; text-decoration: none; color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .5); transition: transform .15s ease, filter .15s ease;
}
.promo:hover { transform: translateY(-2px); filter: brightness(1.12); color: #fff; }
.promo--learn { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); }
.promo--shop { background: linear-gradient(135deg, #1e1e1e, #333); border: 1px solid #3a3a3a; }
.promo__kicker { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.promo__title { display: block; margin-top: 4px; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { .thumb-grid img, .promo { transition: none; } .thumb-grid a:hover img, .promo:hover { transform: none; } }

/* --- Poster gallery -------------------------------------------------- */
.gallery-toolbar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.gallery-toolbar p { margin: 0; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
	border: 1px solid #3a3a3a; border-radius: 999px; font-size: .875rem; text-decoration: none;
}
.chip:hover { border-color: var(--accent-hover); }
.chip::after { content: "\00d7"; color: var(--accent-hover); }

.year-tabs { list-style: none; margin: 0 0 24px; padding: 0 0 8px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.year-tabs a {
	display: block; padding: 6px 12px; border-radius: var(--radius); white-space: nowrap;
	text-decoration: none; background: var(--panel-raised); border: 1px solid var(--line);
	font-family: var(--font-display); letter-spacing: .04em;
}
.year-tabs a[aria-current="page"] { background: var(--accent); border-color: var(--accent); }
.year-tabs a:hover { border-color: var(--accent-hover); }

.poster-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }

.poster {
	display: grid; gap: 20px 28px; grid-template-columns: 240px minmax(0, 1fr);
	padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
@media (max-width: 640px) { .poster { grid-template-columns: minmax(0, 1fr); } }

.poster__media { display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; }
.poster__media img { border-radius: 3px; background: #050505; }
.poster__title { font-size: 1.3rem; margin-bottom: .5em; }
.poster__title a { text-decoration: none; }
.poster__title a:hover { text-decoration: underline; text-decoration-color: var(--accent-hover); }

.poster-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0 0 16px; }
.poster-facts dt { color: var(--text-muted); font-weight: 600; }
.poster-facts dd { margin: 0; color: #e0e0e0; overflow-wrap: anywhere; }

.poster__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.copy-link { display: flex; gap: 8px; max-width: 480px; margin-top: 16px; }
.copy-link input { flex: 1; min-width: 0; background: var(--panel-raised); color: var(--text); border-color: #333; }

.poster-detail .poster { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
@media (max-width: 760px) { .poster-detail .poster { grid-template-columns: minmax(0, 1fr); } }

/* --- Pagination ------------------------------------------------------ */
.pagination { margin: 28px 0 0; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.pagination a { background: var(--accent); color: #fff; }
.pagination a:hover { background: var(--accent-hover); }
.pagination [aria-current="page"] { background: #333; color: #fff; }
.pagination .gap { color: var(--text-muted); min-width: 24px; }

.back-to-top { text-align: center; margin-top: 24px; }

/* --- Links page ------------------------------------------------------ */
.link-section + .link-section { margin-top: 28px; }
.link-table { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-table li { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.link-table .desc { color: var(--text-muted); }
@media (max-width: 640px) { .link-table li { grid-template-columns: minmax(0, 1fr); } }

/* --- eBay searches --------------------------------------------------- */
.search-groups { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.search-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.search-groups h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }

/* --- Articles -------------------------------------------------------- */
.article .byline { color: var(--text-muted); }
.article h2 { color: var(--accent-hover); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 1.8em; }
.article figure { margin: 1.5em 0; text-align: center; }
.article figure img { border-radius: 3px; }
.article figcaption { margin-top: 8px; font-size: .875rem; color: var(--text-muted); }
.article .float-right, .article .float-left { max-width: 46%; }
@media (min-width: 700px) {
	.article .float-right { float: right; margin: .3em 0 1em 28px; }
	.article .float-left  { float: left;  margin: .3em 28px 1em 0; }
}
@media (max-width: 699px) { .article .float-right, .article .float-left { max-width: 100%; } }
.article .clear { clear: both; }
.article .figure-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.article .figure-row figure { margin: 0; }
.article .sources { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 2em; font-size: .95rem; }

/* --- Lightbox -------------------------------------------------------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox img { display: block; max-width: 96vw; max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 4px; color: #ddd; font-size: .9rem; }
.lightbox__bar button { min-width: 44px; min-height: 44px; border: 1px solid #444; border-radius: var(--radius); background: #111; color: #fff; font-size: 1.1rem; cursor: pointer; }
.lightbox__bar button:hover { border-color: var(--accent-hover); }

/* --- Footer ---------------------------------------------------------- */
.site-footer { border-top: 1px solid #333; background: var(--bg); padding: 28px 0 36px; font-size: .9rem; text-align: center; color: #999; }
.footer-nav ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.footer-nav a { color: #8a8a8a; }
.footer-nav a:hover { color: #fff; }
.footer-legal { margin: 0; color: #777; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
	.disclosure, .site-nav, .nav-toggle, .site-footer, .pagination, .copy-link { display: none !important; }
	body { background: #fff; color: #000; }
	.panel, .poster { border-color: #ccc; background: #fff; }
	a { color: #000; }
}

/* --- FAQ ------------------------------------------------------------- */
.faq-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.faq-toc { margin-bottom: 24px; }
.faq-section { scroll-margin-top: 16px; }
.faq-item { padding: 16px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.faq-item:first-of-type { border-top: 0; padding-top: 0; }
.faq-item h3 { margin-bottom: .4em; font-size: 1.15rem; }
.faq-item h3 a { color: var(--heading); text-decoration: none; }
.faq-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent-hover); }
.faq-item:target h3 a { color: var(--accent-hover); }
.faq-num { color: var(--accent-hover); margin-right: 4px; }
.faq-item p { margin: 0; max-width: 75ch; }
