/*
 * themjdb home v2 — port of design-canvas mockup, real data.
 * Loads on top of home-tokens.css.
 */

.home-page {
	background: #fff;
}

body.home main,
.home main {
	padding-top: 0;
}

/* The default site main has top margin for fixed header — keep it */
.home-page .home-wrap {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 50px;
}

/* ====================================================================
 * HERO — black, asymmetric grid, lede left + featured image right
 * ==================================================================== */
.home-hero {
	background: #0a0a0a;
	color: #fff;
}

.home-hero__inner {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 50px;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 0;
	min-height: 560px;
	align-items: center;
}

.home-hero__copy {
	padding: 72px 56px 72px 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.home-hero__topmeta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.home-hero__breaking {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-family: var(--mjdb-font-body);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--mjdb-red);
	color: #fff;
	animation: home-hero-pulse 2.4s ease-in-out infinite;
}
.home-hero__breaking::before {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	background: #fff;
	border-radius: 50%;
}
@keyframes home-hero-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(184,0,0,.6); }
	50%      { box-shadow: 0 0 0 8px rgba(184,0,0,0); }
}

.home-hero__date {
	font-family: var(--mjdb-font-mono);
	font-size: 11px;
	letter-spacing: 0.28em;
	color: #9a9a9a;
	text-transform: uppercase;
}

.home-hero__title {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: clamp(48px, 5vw, 72px);
	line-height: 0.95;
	letter-spacing: -0.005em;
	margin: 0;
	color: #fff;
	text-wrap: balance;
}

.home-hero__strap {
	font-family: var(--mjdb-font-body);
	font-size: 1.05em;
	line-height: 1.55;
	color: #cfcfcf;
	margin: 0;
	max-width: 520px;
}

.home-hero__ctas { display: flex; gap: 12px; margin-top: 8px; }

.home-hero__factsrow {
	display: flex;
	gap: 24px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #2a2a2a;
}

.home-hero__fact-k {
	font-family: var(--mjdb-font-mono);
	font-size: 9.5px;
	letter-spacing: 0.22em;
	color: #777;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.home-hero__fact-v {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 18px;
	color: #fff;
}

.home-hero__visual {
	position: relative;
	aspect-ratio: 2/3;
	max-height: 600px;
	width: 100%;
	justify-self: end;
	margin: 32px 0;
	border: 1px solid #2a2a2a;
	background: linear-gradient(180deg, #1a0e08 0%, #0a0a0a 100%);
	overflow: hidden;
}

.home-hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-hero__visual--placeholder {
	display: grid;
	place-items: center;
	color: #d4a017;
	font-family: var(--mjdb-font-display);
	font-weight: 900;
	font-size: clamp(80px, 12vw, 220px);
	line-height: 0.85;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.home-hero__visual-caption {
	position: absolute;
	left: -24px;
	bottom: -40px;
	transform: rotate(-90deg);
	transform-origin: left bottom;
	font-family: var(--mjdb-font-mono);
	font-size: 10px;
	letter-spacing: 0.3em;
	color: #666;
	text-transform: uppercase;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.home-hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.home-hero__copy  { padding: 40px 0 32px; }
	.home-hero__visual { display: none; }
}

/* ====================================================================
 * STATS STRIP
 * ==================================================================== */
.home-stats {
	border-bottom: 1px solid var(--mjdb-rule);
	background: #fff;
}

.home-stats__inner {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 50px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.home-stat {
	padding: 24px 20px;
	border-left: 1px solid var(--mjdb-rule);
	display: flex;
	align-items: baseline;
	gap: 12px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s;
	color: inherit;
}

.home-stat:first-child { border-left: 0; }

.home-stat:hover { background: var(--mjdb-surface); }

.home-stat__num {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 38px;
	line-height: 1;
	color: var(--mjdb-ink);
	letter-spacing: -0.01em;
}

.home-stat__label {
	font-family: var(--mjdb-font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mjdb-ink-3);
}

.home-stat__chev {
	margin-left: auto;
	color: var(--mjdb-gold);
	opacity: 0.6;
	font-family: var(--mjdb-font-display);
	font-size: 14px;
}

@media (max-width: 720px) {
	.home-stats__inner { grid-template-columns: repeat(2, 1fr); }
	.home-stat { border-left: none; border-top: 1px solid var(--mjdb-rule); }
	.home-stat:nth-child(odd) { border-right: 1px solid var(--mjdb-rule); }
}

/* ====================================================================
 * GENERIC SECTION SHELL
 * ==================================================================== */
.home-section {
	padding: 72px 0;
	border-bottom: 1px solid var(--mjdb-rule);
}

.home-section--surface { background: var(--mjdb-surface); }
.home-section--white   { background: #fff; }
.home-section--ink {
	background: #0a0a0a;
	color: #fff;
	border-bottom: 0;
}

.home-section__inner {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 50px;
}

.home-section--ink .section-head {
	border-bottom-color: #2a2a2a;
}
.home-section--ink .section-head h2 { color: #fff; }
.home-section--ink .link-more { color: #cfcfcf; border-color: #cfcfcf; }
.home-section--ink .link-more:hover { color: var(--mjdb-gold); border-color: var(--mjdb-gold); }

/* ====================================================================
 * FEATURED ALBUM
 * ==================================================================== */
.home-fa__grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 56px;
	align-items: start;
}

@media (max-width: 720px) {
	.home-fa__grid { grid-template-columns: 1fr; gap: 24px; }
}

.home-fa__cover img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 2px;
	display: block;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.home-fa__chips {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.home-fa__metarow {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 6px;
}

.home-fa__title {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 64px;
	line-height: 0.95;
	letter-spacing: -0.01em;
	margin: 0 0 20px;
	color: var(--mjdb-ink);
}

.home-fa__title a { color: inherit; text-decoration: none; }
.home-fa__title a:hover { color: var(--mjdb-gold-ink); }

@media (max-width: 720px) { .home-fa__title { font-size: 40px; } }

.home-fa__synopsis {
	font-family: var(--mjdb-font-body);
	font-size: 1.05em;
	line-height: 1.55;
	color: var(--mjdb-ink-2);
	margin: 0 0 24px;
	max-width: 640px;
}

.home-fa__spec {
	display: grid;
	grid-template-columns: 140px 1fr;
	row-gap: 10px;
	column-gap: 24px;
	font-size: 13px;
	margin-bottom: 28px;
	max-width: 560px;
}

.home-fa__spec dt { margin: 0; }
.home-fa__spec dd { margin: 0; color: var(--mjdb-ink-2); }
.home-fa__spec a { color: var(--mjdb-ink-2); border-bottom: 1px solid var(--mjdb-ink); padding-bottom: 1px; text-decoration: none; }
.home-fa__spec a:hover { color: var(--mjdb-gold-ink); border-color: var(--mjdb-gold); }

.home-fa__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ====================================================================
 * DISCOGRAPHY RIBBON
 * ==================================================================== */
.home-disco {
	background: var(--mjdb-surface);
	padding: 72px 0;
	border-bottom: 1px solid var(--mjdb-rule);
}

.home-disco__head {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 50px;
}

.home-disco__head .section-head { display: flex; }

.home-disco__head-meta {
	display: flex;
	align-items: center;
	gap: 16px;
}

.home-disco__nav {
	display: flex;
	gap: 4px;
}

.home-disco__navbtn {
	width: 32px; height: 32px;
	border: 1px solid var(--mjdb-rule);
	background: #fff;
	border-radius: 2px;
	cursor: pointer;
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	color: var(--mjdb-ink);
}
.home-disco__navbtn:hover { background: var(--mjdb-gold); color: #fff; border-color: var(--mjdb-gold); }

.home-disco__scroller {
	overflow-x: auto;
	scrollbar-width: none;
	padding: 8px 0 24px;
}
.home-disco__scroller::-webkit-scrollbar { display: none; }

.home-disco__strip {
	display: flex;
	gap: 20px;
	padding: 0 max(50px, calc((100vw - 1500px) / 2 + 50px));
	list-style: none;
	margin: 0;
}

.home-disco__strip > li { flex: 0 0 auto; width: 150px; list-style: none; }

.home-disco__cover {
	width: 150px;
	height: 150px;
	overflow: hidden;
	transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s;
	background: #eaeaea;
	border-radius: 2px;
}

.home-disco__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-disco__strip a { display: block; color: inherit; text-decoration: none; }
.home-disco__strip a:hover .home-disco__cover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(17,17,17,.18); }
.home-disco__strip a:hover .home-disco__title { color: var(--mjdb-gold-ink); }

.home-disco__row {
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.home-disco__title {
	font-family: var(--mjdb-font-display);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mjdb-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s;
}

.home-disco__year {
	font-family: var(--mjdb-font-mono);
	font-size: 11px;
	color: var(--mjdb-ink-3);
}

/* ====================================================================
 * THIS WEEK IN HISTORY
 * ==================================================================== */
.home-tw__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border-left: 1px solid var(--mjdb-rule);
}

@media (max-width: 1100px) { .home-tw__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .home-tw__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .home-tw__grid { grid-template-columns: 1fr; } }

.home-tw__card {
	padding: 24px 20px;
	border-right: 1px solid var(--mjdb-rule);
	border-top: 1px solid var(--mjdb-rule);
	border-bottom: 1px solid var(--mjdb-rule);
	background: #fff;
	cursor: pointer;
	transition: background 0.2s;
	text-decoration: none;
	color: inherit;
	display: block;
}

.home-tw__card:hover { background: var(--mjdb-gold-soft); }

.home-tw__date {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 16px;
}

.home-tw__day {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 22px;
	color: var(--mjdb-ink);
	letter-spacing: 0.02em;
}

.home-tw__title {
	font-family: var(--mjdb-font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--mjdb-ink);
}

.home-tw__body {
	font-family: var(--mjdb-font-body);
	font-size: 0.95em;
	line-height: 1.55;
	color: var(--mjdb-ink-2);
	margin: 0;
}

.home-tw__year {
	margin-top: 16px;
	font-family: var(--mjdb-font-mono);
	font-size: 10px;
	color: var(--mjdb-gold-ink);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* ====================================================================
 * LATEST NEWS
 * ==================================================================== */
.home-news__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

@media (max-width: 900px) { .home-news__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .home-news__grid { grid-template-columns: 1fr; } }

.home-news__card { display: block; cursor: pointer; text-decoration: none; color: inherit; }

.home-news__art {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 2px;
	position: relative;
}

.home-news__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s;
}

.home-news__card:hover .home-news__art img { transform: scale(1.04); }

.home-news__art--bg-1 { background: #1a0e08; color: #fff; }
.home-news__art--bg-2 { background: var(--mjdb-gold); color: #111; }
.home-news__art--bg-3 { background: var(--mjdb-surface); color: #111; }

.home-news__art-overlay {
	position: absolute;
	inset: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 1;
}

.home-news__date {
	font-family: var(--mjdb-font-mono);
	font-size: 10px;
	letter-spacing: 0.22em;
	opacity: 0.85;
}

.home-news__art img + .home-news__art-overlay {
	background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
	color: #fff;
}

.home-news__body { padding-top: 16px; }

.home-news__title {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 8px;
	color: var(--mjdb-ink);
	letter-spacing: 0.005em;
	transition: color 0.2s;
}

.home-news__card:hover .home-news__title { color: var(--mjdb-gold-ink); }

.home-news__strap {
	font-family: var(--mjdb-font-body);
	font-size: 1em;
	line-height: 1.55;
	color: var(--mjdb-ink-2);
	margin: 0;
}

/* ====================================================================
 * PERSON SPOTLIGHT
 * ==================================================================== */
.home-spot__card {
	display: grid;
	grid-template-columns: 280px 1fr auto;
	gap: 48px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--mjdb-rule);
	padding: 36px;
}

@media (max-width: 800px) {
	.home-spot__card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

.home-spot__photo {
	width: 100%;
	aspect-ratio: 3/4;
	overflow: hidden;
	border-radius: 2px;
	background: var(--mjdb-surface-2);
}

.home-spot__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.home-spot__photo-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 64px;
	color: var(--mjdb-ink);
	background: var(--mjdb-gold-soft);
}

.home-spot__chips { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }

.home-spot__name {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 48px;
	line-height: 1;
	margin: 0 0 14px;
	letter-spacing: -0.005em;
	color: var(--mjdb-ink);
}
.home-spot__name a { color: inherit; text-decoration: none; }
.home-spot__name a:hover { color: var(--mjdb-gold-ink); }

.home-spot__bio {
	font-family: var(--mjdb-font-body);
	font-size: 1.05em;
	line-height: 1.55;
	color: var(--mjdb-ink-2);
	margin: 0 0 20px;
	max-width: 600px;
}

.home-spot__stats { display: flex; gap: 24px; flex-wrap: wrap; }

.home-spot__stat-k {
	margin-bottom: 4px;
}
.home-spot__stat-v {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 24px;
	color: var(--mjdb-ink);
}

/* ====================================================================
 * VIDEOS TEASER — uses #videos .item rules from style.css for parity
 * with the archive page; clearfix to contain the floats.
 * ==================================================================== */
.home-section .home-videos-grid::after {
	content: "";
	display: table;
	clear: both;
}

.home-vids__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

@media (max-width: 1100px) { .home-vids__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .home-vids__grid { grid-template-columns: repeat(2, 1fr); } }

.home-vids__card { display: block; text-decoration: none; color: inherit; }

.home-vids__thumb {
	aspect-ratio: 16/9;
	background: #111;
	border-radius: 2px;
	overflow: hidden;
	position: relative;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s;
}

.home-vids__card:hover .home-vids__thumb { transform: translateY(-3px); }

.home-vids__thumb img { width: 100%; height: 100%; object-fit: cover; }

.home-vids__thumb-text {
	position: absolute;
	left: 16px;
	bottom: 16px;
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	z-index: 2;
}

.home-vids__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	z-index: 1;
}

.home-vids__play-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,0.18);
	border: 1.5px solid rgba(255,255,255,0.7);
	display: grid;
	place-items: center;
	backdrop-filter: blur(2px);
}

.home-vids__play-circle::after {
	content: "";
	width: 0; height: 0;
	border-left: 11px solid #fff;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	margin-left: 3px;
}

.home-vids__row {
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.home-vids__title {
	font-family: 'gotham_mediumregular';
	font-size: 1.1em;
	line-height: 1.1;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home-vids__year {
	font-family: 'gotham_mediumregular';
	font-size: 0.72em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888;
}

/* ====================================================================
 * CONTRIBUTE
 * ==================================================================== */
.home-contrib {
	background: #0a0a0a;
	color: #fff;
	padding: 80px 0;
}

.home-contrib__inner {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 50px;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 64px;
	align-items: center;
}

@media (max-width: 800px) { .home-contrib__inner { grid-template-columns: 1fr; gap: 32px; } }

.home-contrib__label {
	font-family: var(--mjdb-font-mono);
	font-size: 11px;
	letter-spacing: 0.28em;
	color: var(--mjdb-gold);
	text-transform: uppercase;
	margin-bottom: 16px;
}

.home-contrib__title {
	font-family: var(--mjdb-font-display);
	font-weight: 700;
	font-size: clamp(32px, 4vw, 56px);
	line-height: 0.95;
	letter-spacing: -0.005em;
	margin: 0 0 16px;
	text-wrap: balance;
	color: #fff;
}

.home-contrib__body {
	font-family: var(--mjdb-font-body);
	font-size: 1.05em;
	line-height: 1.55;
	color: #cfcfcf;
	max-width: 540px;
	margin: 0;
}

.home-contrib__ctas {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.home-contrib__ctas .btn {
	justify-content: space-between;
	padding: 18px 24px;
	font-size: 13px;
}

.home-contrib__by {
	margin-top: 8px;
	font-family: var(--mjdb-font-mono);
	font-size: 11px;
	color: #777;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Hero — alt CTA on dark background */
.home-hero__ctas .btn--ghost { border-color: #444; color: #fff; }
.home-hero__ctas .btn--ghost:hover { background: #fff; color: var(--mjdb-ink); border-color: #fff; }
