/*
Theme Name: Bankrupt Planet
Theme URI: https://bankruptplanet.com
Author: Bankrupt Planet
Description: Custom theme for Bankrupt Planet, an independent record label in Los Angeles. Includes the label home page, artist pages for Dual Eden and Unimatrix Zero, a contact page and a news blog. Activating the theme builds the pages and menu automatically.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: All rights reserved
Text Domain: bankrupt-planet
*/

:root {
	--bg: #090909;
	--bg-2: #121212;
	--line: #262626;
	--ink: #f1ece3;
	--muted: #a39d93;
	--orange: #ff6a1a;
	--orange-2: #ffb347;
	--blue: #3ba4ff;
	--blue-2: #9fd2ff;
	--display: "Anton", "Impact", "Arial Narrow", sans-serif;
	--body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
/* subtle film grain */
body::after {
	content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1; text-transform: uppercase; margin: 0 0 .4em; }
h2 { font-size: clamp(36px, 5.5vw, 68px); }
h3 { font-size: clamp(26px, 3vw, 36px); }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.mono { font-family: var(--mono); }
.small { font-size: 13px; }
.accent { color: var(--orange); }
.eyebrow { font: 700 12px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.eyebrow-blue, .theme-uz .eyebrow { color: var(--blue); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px;
	font: 700 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
	border: 1px solid var(--ink); color: var(--ink); transition: .2s ease; border-radius: 0;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--orange); border-color: var(--orange); color: #0b0b0b; }
.btn-solid:hover { background: var(--orange-2); border-color: var(--orange-2); color: #0b0b0b; }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #04121f; }
.btn-blue:hover { background: var(--blue-2); border-color: var(--blue-2); color: #04121f; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 10px 16px; font-size: 11px; }
.btn-lg { padding: 18px 28px; font-size: 14px; text-transform: none; letter-spacing: .04em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9,9,9,.82); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand img { width: 190px; height: auto; }
.primary-nav .menu { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.primary-nav a { color: var(--ink); font: 700 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { border-bottom-color: var(--orange); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-home { padding: clamp(60px, 10vw, 120px) 0 clamp(60px, 9vw, 110px); text-align: center; }
.hero-glow { position: absolute; inset: 0; background:
	radial-gradient(ellipse 55% 45% at 50% 48%, rgba(255,106,26,.28), transparent 70%),
	radial-gradient(ellipse 80% 60% at 50% 120%, rgba(255,106,26,.12), transparent 70%); }
.hero-inner { position: relative; }
.hero-logo { width: min(980px, 100%); margin: 6px auto 30px; filter: drop-shadow(0 0 40px rgba(255,106,26,.35)); }
.hero-lede { font-size: clamp(18px, 2vw, 22px); max-width: 640px; color: var(--ink); opacity: .88; }
.hero-home .hero-lede { margin: 0 auto; }
.hero-home .btn-row { justify-content: center; }

/* ---------- Ticker ---------- */
.ticker { background: var(--orange); color: #0b0b0b; overflow: hidden; white-space: nowrap; border-bottom: 1px solid #000; }
.ticker-track { display: inline-flex; gap: 28px; padding: 14px 0; animation: tick 38s linear infinite; font: 400 22px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.ticker .dot { font-family: var(--body); font-size: 16px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .eq span { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 44px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.prose { font-size: 18px; color: #ddd7cd; }
.prose p:last-child { margin-bottom: 0; }
.prose a { border-bottom: 1px solid currentColor; }

/* ---------- Roster tiles ---------- */
.roster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.artist-tile { display: flex; flex-direction: column; border: 1px solid var(--line); color: var(--ink); background: var(--bg-2); transition: border-color .25s, transform .25s; }
.artist-tile:hover { color: var(--ink); border-color: var(--orange); transform: translateY(-4px); }
.tile-uz:hover { border-color: var(--blue); }
.tile-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s ease; }
.artist-tile:hover .tile-art img { transform: scale(1.04); }
.tile-art-de { display: grid; place-items: center; background:
	radial-gradient(circle at 70% 30%, rgba(255,106,26,.55), transparent 55%),
	repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 4px),
	linear-gradient(160deg, #1a0d06, #000 70%); }
.tile-word { font: 400 clamp(64px, 9vw, 120px)/.85 var(--display); color: transparent; -webkit-text-stroke: 2px var(--ink); text-align: center; letter-spacing: .02em; }
.tile-meta { padding: 28px 28px 30px; }
.tile-meta p:not(.eyebrow) { color: var(--muted); }
.tile-cta { font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.tile-uz .tile-cta { color: var(--blue); }
.badge { display: inline-block; padding: 6px 10px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--muted); color: var(--muted); }
.badge-blue { border-color: var(--blue); color: var(--blue); }
.tile-art .badge { position: absolute; top: 16px; left: 16px; background: rgba(0,0,0,.65); }

/* ---------- Catalog ---------- */
.catalog { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.catalog-row { display: grid; grid-template-columns: 120px 1fr 260px 120px; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.catalog-row:hover { background: rgba(255,106,26,.05); }
.cat-no { color: var(--orange); font-size: 14px; }
.cat-title strong { display: block; font: 400 clamp(26px, 3vw, 38px)/1 var(--display); text-transform: uppercase; }
.cat-title em { font-style: normal; color: var(--muted); font-size: 15px; }
.cat-meta { color: var(--muted); font-size: 13px; }
.cat-link { justify-self: end; font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.is-upcoming .cat-no, .is-upcoming .cat-link { color: var(--blue); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--line); background: var(--bg); }
.post-card-link { display: block; padding: 26px; color: var(--ink); height: 100%; }
.post-card-link:hover { color: var(--ink); background: #151515; }
.post-card-img { margin: -26px -26px 22px; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: 28px; }
.post-card p { color: var(--muted); }
.post-date { color: var(--orange); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 14px; }
.single-img { margin: 30px 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Contact band ---------- */
.contact-band { padding: clamp(60px, 8vw, 100px) 0; background:
	linear-gradient(120deg, rgba(255,106,26,.16), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.contact-band-blue { background: linear-gradient(120deg, rgba(59,164,255,.16), transparent 60%), var(--bg); }
.contact-band-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact-band p { color: var(--muted); }
.contact-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-band address { color: var(--muted); }

/* ---------- Artist heroes ---------- */
.artist-hero { position: relative; padding: clamp(70px, 11vw, 150px) 0 clamp(60px, 9vw, 110px); border-bottom: 1px solid var(--line); overflow: hidden; }
.display { font: 400 clamp(84px, 16vw, 220px)/.84 var(--display); text-transform: uppercase; margin: 0 0 28px; }
.display-sm { font-size: clamp(54px, 9vw, 120px); line-height: .9; }
.artist-hero-de { background:
	linear-gradient(90deg, rgba(9,9,9,.96) 35%, rgba(9,9,9,.55)),
	var(--hero-img, radial-gradient(circle at 80% 30%, rgba(255,106,26,.45), transparent 50%)),
	repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px), #0b0603;
	background-size: cover; background-position: center; }
.artist-hero-de .display span, .artist-hero-de .display { color: var(--ink); }
.artist-hero-de .display { -webkit-text-stroke: 0; text-shadow: 0 0 60px rgba(255,106,26,.35); }

/* ---------- Albums ---------- */
.album-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.album { display: grid; grid-template-columns: 220px 1fr; gap: 26px; padding: 26px; border: 1px solid var(--line); background: var(--bg-2); }
.album-cover { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.album-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-underside { background: radial-gradient(circle at 30% 75%, #3a1a0b, transparent 60%), linear-gradient(200deg, #050505 30%, #2b0f04); color: #e9d9c6; }
.cover-de { background: radial-gradient(circle at 72% 28%, var(--orange) 0 18%, transparent 19%), radial-gradient(circle at 72% 28%, rgba(255,106,26,.5), transparent 55%), linear-gradient(135deg, #111, #000); color: var(--ink); }
.cover-cat, .cover-artist { font-size: 10px; letter-spacing: .2em; opacity: .7; }
.cover-title { font: 400 40px/.9 var(--display); text-transform: uppercase; }
.cover-underside .cover-title { text-transform: lowercase; font-family: var(--body); font-weight: 300; font-size: 34px; letter-spacing: -.02em; }
.album-body h3 em { font-style: normal; }
.album-body p { color: #cfc9bf; font-size: 16px; }
.specs { margin: 0 0 20px; display: grid; gap: 6px; }
.specs div { display: grid; grid-template-columns: 70px 1fr; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

/* ---------- Stats / lineup ---------- */
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat-grid li { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.stat-num { display: block; font: 400 clamp(46px, 5vw, 68px)/1 var(--display); color: var(--orange); margin-bottom: 12px; }
.stat-grid-blue .stat-num { color: var(--blue); }
.lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.lineup li { padding: 22px 0; border-bottom: 1px solid var(--line); margin-right: 30px; }
.lineup strong { display: block; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.lineup span { color: var(--muted); font: 13px/1.4 var(--mono); }

.link-out { background: radial-gradient(ellipse at 100% 0, rgba(255,106,26,.18), transparent 55%), var(--bg); }
.link-out-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.link-out p { color: var(--muted); }
.social-row { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 26px; text-transform: uppercase; letter-spacing: .14em; }

/* ---------- Unimatrix Zero ---------- */
.theme-uz a:not(.btn) { color: var(--blue); }
.theme-uz :focus-visible { outline-color: var(--blue); }
.artist-hero-uz { background: radial-gradient(ellipse 60% 70% at 75% 45%, rgba(59,164,255,.22), transparent 70%), #04070c; padding-top: clamp(50px, 7vw, 90px); }
.uz-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.uz-wordmark { width: 100%; max-width: 620px; aspect-ratio: 1536 / 640; object-fit: cover; object-position: center 62%; margin: 0 0 18px -2%; mix-blend-mode: screen; }
.uz-portrait { position: relative; margin: 0; border: 1px solid rgba(59,164,255,.35); box-shadow: 0 0 80px rgba(59,164,255,.18); overflow: hidden; }
.uz-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; }
.scanline { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(59,164,255,.05) 0 1px, transparent 1px 3px); pointer-events: none; }
.uz-player { border: 1px solid rgba(59,164,255,.35); background: #060b12; padding: 28px; margin-bottom: 30px; }
.uz-player iframe { width: 100%; }
.uz-player-empty { display: flex; align-items: center; gap: 24px; }
.uz-player-empty p { margin: 0; color: var(--blue-2); }
.eq { display: flex; align-items: end; gap: 5px; height: 40px; }
.eq span { width: 6px; background: var(--blue); animation: eq 1.1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: -.2s } .eq span:nth-child(3) { animation-delay: -.5s }
.eq span:nth-child(4) { animation-delay: -.8s } .eq span:nth-child(5) { animation-delay: -.3s }
.eq span:nth-child(6) { animation-delay: -.6s } .eq span:nth-child(7) { animation-delay: -.9s }
@keyframes eq { 0%,100% { height: 20%; } 50% { height: 100%; } }
.tx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tx-list li { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tx-no { color: var(--blue); }
.tx-list strong { display: block; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.tx-list div span { color: var(--muted); font-size: 14px; }
.uz-emblem { width: 160px; margin-bottom: 26px; mix-blend-mode: screen; }

/* ---------- Pages ---------- */
.page-hero { padding: clamp(60px, 9vw, 110px) 0 clamp(30px, 5vw, 50px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 50% 80% at 90% 0, rgba(255,106,26,.16), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { border: 1px solid var(--line); padding: 30px; background: var(--bg-2); }
.contact-card p { color: var(--muted); }
.big-link { font: 700 clamp(18px, 2vw, 22px)/1.3 var(--mono); word-break: break-all; }
.page-extra { margin-top: 50px; }

/* ---------- Footer ---------- */
.site-footer { padding: 70px 0 30px; background: #050505; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand img { width: 220px; margin-bottom: 14px; }
.site-footer h4 { margin-bottom: 14px; }
.site-footer p, .site-footer address { color: var(--muted); font-size: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-links a { color: var(--ink); }
.footer-links a:hover { color: var(--orange); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; color: var(--muted); }

/* ---------- WordPress core ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font: 13px var(--mono); color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.album-grid, .roster-grid { grid-template-columns: 1fr; }
	.stat-grid { grid-template-columns: repeat(2, 1fr); }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.catalog-row { grid-template-columns: 100px 1fr auto; }
	.cat-meta { grid-column: 2; grid-row: 2; }
}
@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.primary-nav { position: absolute; top: 78px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 0; padding: 10px var(--gutter) 20px; }
	.primary-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.split, .uz-hero-grid, .contact-band-inner, .link-out-inner, .contact-grid { grid-template-columns: 1fr; }
	.uz-portrait { order: -1; max-width: 460px; }
}
@media (max-width: 600px) {
	.album { grid-template-columns: 1fr; }
	.album-cover { max-width: 260px; }
	.post-grid, .stat-grid, .footer-grid { grid-template-columns: 1fr; }
	.catalog-row { grid-template-columns: 1fr auto; gap: 6px 14px; }
	.cat-no { grid-column: 1 / -1; }
	.cat-title { grid-column: 1; }
	.cat-meta { grid-column: 1; grid-row: auto; }
	.cat-link { grid-row: 2 / span 2; grid-column: 2; }
	.tx-list li { grid-template-columns: 1fr; gap: 8px; }
	.brand img { width: 150px; }
}
