/*
	NouvArtist — Custom theme & components
	Layered on top of main.css. Holds the gold brand theme, the artist modal,
	the MoodTrue call-to-action, "coming soon" cards, header logo and footer.
*/

:root {
	--gold: #c4a463;
	--gold-light: #e0c98f;
	--gold-dark: #a3854a;
	--ink: #16181a;
	--ink-soft: #1f2224;
	--ink-panel: #181818;
	--text: #e9e6df;
	--text-muted: rgba(233, 230, 223, 0.62);
	--text-faint: rgba(233, 230, 223, 0.40);
	/* MoodTrue brand */
	--mt-1: #6d28d9;
	--mt-2: #8b5cf6;
	--mt-3: #a855f7;
}

/* ------------------------------------------------------------------ *
 * Base / theme touch-ups
 * ------------------------------------------------------------------ */

body {
	background: var(--ink);
}

a {
	color: var(--gold);
}

a:hover {
	color: var(--gold-light) !important;
}

/* Primary buttons read with dark text on gold for proper contrast */
input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
	color: #1a1409 !important;
	font-weight: 600;
}
input[type="submit"].primary:hover,
button.primary:hover,
.button.primary:hover {
	color: #1a1409 !important;
}

/* ------------------------------------------------------------------ *
 * Header logo
 * ------------------------------------------------------------------ */

#header {
	background: rgba(22, 24, 26, 0.96);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	backdrop-filter: saturate(140%) blur(8px);
	box-shadow: 0 -1px 0 rgba(196, 164, 99, 0.18) inset;
}

/* Align the logo to the same 4em line-box the nav text uses, so both
   sit on the same vertical center. */
#header h1 {
	line-height: 4em;
	margin: 0;
}

#header h1 a {
	display: inline-block;
	line-height: 0;
	vertical-align: middle;
}

#header h1 img {
	height: 2em;
	width: auto;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: -3px;
	-webkit-transition: opacity 0.25s ease;
	transition: opacity 0.25s ease;
}

#header h1 a:hover img {
	opacity: 0.82;
}

#header nav > ul > li a {
	color: var(--text);
}

#header nav > ul > li a:hover {
	color: var(--gold) !important;
}

#header nav > ul > li a.icon:before {
	color: var(--gold);
}

#header nav > ul > li a.active {
	background-color: rgba(196, 164, 99, 0.12);
	color: var(--gold) !important;
}

@media screen and (max-width: 736px) {
	#header h1 img {
		height: 1.7em;
	}
}

/* ------------------------------------------------------------------ *
 * Gallery thumbs
 * ------------------------------------------------------------------ */

#main .thumb > .image {
	-webkit-transition: -webkit-transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Artist covers carry baked-in lettering, so show the whole frame
   (contain) on a matching dark backdrop instead of cropping it. */
#main .thumb:not(.coming-soon) > .image {
	background-size: contain;
	background-color: #121315;
}

#main .thumb:not(.coming-soon):hover > .image {
	-webkit-transform: scale(1.06);
	transform: scale(1.06);
}

/* Gold frame + reveal on hover */
#main .thumb:not(.coming-soon):after {
	background-image: linear-gradient(to top, rgba(12, 10, 6, 0.55) 0%, rgba(12, 10, 6, 0) 45%);
	-webkit-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
	z-index: 2;
}

#main .thumb:not(.coming-soon):before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	box-shadow: inset 0 0 0 0 rgba(196, 164, 99, 0);
	-webkit-transition: box-shadow 0.4s ease, background-color 0.4s ease;
	transition: box-shadow 0.4s ease, background-color 0.4s ease;
	pointer-events: none;
	z-index: 3;
}

#main .thumb:not(.coming-soon):hover:before {
	box-shadow: inset 0 0 0 3px rgba(196, 164, 99, 0.85);
	background-color: rgba(20, 16, 8, 0.18);
}

/* "View" affordance */
#main .thumb .view-cue {
	position: absolute;
	z-index: 4;
	left: 50%; top: 50%;
	-webkit-transform: translate(-50%, -50%) scale(0.85);
	transform: translate(-50%, -50%) scale(0.85);
	width: 3.4em; height: 3.4em;
	border-radius: 50%;
	border: 1.5px solid var(--gold);
	background: rgba(20, 16, 8, 0.45);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

#main .thumb .view-cue:before {
	content: '\f002'; /* magnifier */
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: var(--gold-light);
	font-size: 1.1em;
}

#main .thumb:not(.coming-soon):hover .view-cue {
	opacity: 1;
	-webkit-transform: translate(-50%, -50%) scale(1);
	transform: translate(-50%, -50%) scale(1);
}

/* Coming soon cards */
#main .thumb.coming-soon {
	background:
		radial-gradient(120% 120% at 50% 0%, rgba(196, 164, 99, 0.07), rgba(196, 164, 99, 0) 60%),
		var(--ink-soft);
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	cursor: default;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

#main .thumb.coming-soon:after { display: none; }

#main .thumb.coming-soon .cs-icon {
	width: 3em; height: 3em;
	border-radius: 50%;
	border: 1px solid rgba(196, 164, 99, 0.45);
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	margin-bottom: 1em;
	color: var(--gold);
}

#main .thumb.coming-soon .cs-icon:before {
	content: '\f067'; /* plus */
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1em;
}

#main .thumb.coming-soon span.cs-label {
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 0.7em;
	font-weight: 600;
}

#main .thumb.coming-soon small {
	color: var(--text-faint);
	font-size: 0.68em;
	letter-spacing: 0.1em;
	margin-top: 0.6em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------ *
 * Artist modal (#artist-panel)
 * ------------------------------------------------------------------ */

#artist-panel {
	background: var(--ink-panel);
	/* Open like a full-page sheet so the MoodTrue CTA is visible by default. */
	top: 0;
	bottom: auto;
	height: 100vh;
	max-height: 100vh;
}

#artist-panel .inner {
	width: 64em;
	max-width: 100%;
}

#artist-panel .inner section { margin: 0; }

/* Custom scrollbar */
#artist-panel::-webkit-scrollbar { width: 10px; }
#artist-panel::-webkit-scrollbar-track { background: transparent; }
#artist-panel::-webkit-scrollbar-thumb {
	background: rgba(196, 164, 99, 0.35);
	border-radius: 10px;
}
#artist-panel::-webkit-scrollbar-thumb:hover { background: rgba(196, 164, 99, 0.6); }

/* The cover is a finished 16:9 graphic (photo + lettering on black), so it is
   shown whole — never cropped — on a backdrop that matches the panel. */
.artist-banner {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 44vh;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--ink-panel);
}

.artist-body {
	position: relative;
	padding: 2.2em 4em 3.5em 4em;
	z-index: 1;
}

.artist-eyebrow {
	display: inline-block;
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: 0.32em;
	font-size: 0.7em;
	font-weight: 600;
	margin-bottom: 1.4em;
}

.artist-eyebrow:before {
	content: '';
	display: inline-block;
	width: 2.4em;
	height: 1px;
	background: var(--gold);
	vertical-align: middle;
	margin-right: 0.9em;
	opacity: 0.7;
}

.artist-bio {
	font-size: 1.05em;
	line-height: 1.85;
	color: var(--text);
	margin-bottom: 0;
	max-width: 46em;
}

/* ------------------------------------------------------------------ *
 * MoodTrue call-to-action
 * ------------------------------------------------------------------ */

.moodtrue-cta {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	gap: 1.5em;
	margin-top: 2.8em;
	padding: 1.6em 1.9em;
	border-radius: 18px;
	text-decoration: none;
	border: 0;
	background: linear-gradient(135deg, var(--mt-1) 0%, var(--mt-3) 100%);
	box-shadow: 0 14px 38px -12px rgba(124, 58, 237, 0.65);
	-webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease, -webkit-filter 0.3s ease;
	transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
	position: relative;
	overflow: hidden;
}

.moodtrue-cta:before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 45%);
	opacity: 0;
	-webkit-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}

.moodtrue-cta:hover {
	-webkit-transform: translateY(-3px);
	transform: translateY(-3px);
	box-shadow: 0 22px 50px -12px rgba(124, 58, 237, 0.8);
	color: #fff !important;
}

.moodtrue-cta:hover:before { opacity: 1; }

/* Logo sits on a white chip so the purple mark stays readable */
.moodtrue-cta .mt-logo {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 58px; height: 58px;
	border-radius: 14px;
	background: #fff;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(0,0,0,0.25);
	position: relative;
	z-index: 1;
}

.moodtrue-cta .mt-logo img {
	width: 38px;
	height: 38px;
	display: block;
}

.moodtrue-cta .mt-text {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	position: relative;
	z-index: 1;
	min-width: 0;
}

.moodtrue-cta .mt-text strong {
	display: block;
	color: #fff;
	font-size: 1.18em;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.moodtrue-cta .mt-text span {
	display: block;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.85em;
	margin-top: 0.35em;
	line-height: 1.4;
}

.moodtrue-cta .mt-arrow {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	-webkit-transition: background 0.3s ease, -webkit-transform 0.3s ease;
	transition: background 0.3s ease, transform 0.3s ease;
}

.moodtrue-cta .mt-arrow:before {
	content: '\f061'; /* arrow-right */
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: #fff;
	font-size: 1em;
}

.moodtrue-cta:hover .mt-arrow {
	background: rgba(255, 255, 255, 0.28);
	-webkit-transform: translateX(4px);
	transform: translateX(4px);
}

/* Panel closer polish — keep the white X readable over a bright banner */
.panel > .closer {
	opacity: 0.7;
	-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.7));
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.7));
}
.panel > .closer:hover {
	opacity: 1;
}
#artist-panel > .closer {
	margin: 0.6em 0.6em 0 0;
	border-radius: 50%;
	background-color: rgba(22, 24, 26, 0.5);
}
#artist-panel > .closer:hover {
	background-color: rgba(196, 164, 99, 0.85);
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */

#footer .inner {
	width: 50em;
	max-width: 100%;
	text-align: center;
}

#footer .about-eyebrow {
	display: block;
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: 0.3em;
	font-size: 0.7em;
	font-weight: 600;
	margin-bottom: 1.5em;
}

#footer .footer-logo {
	height: 2.4em;
	width: auto;
	margin: 0 auto 2em auto;
	display: block;
}

#footer .about-text {
	color: var(--text-muted);
	font-size: 1.02em;
	line-height: 1.8;
	margin-bottom: 2.5em;
}

#footer ul.icons {
	margin-bottom: 1.5em;
}

#footer ul.icons a {
	color: var(--text-muted);
	-webkit-transition: color 0.25s ease, -webkit-transform 0.25s ease;
	transition: color 0.25s ease, transform 0.25s ease;
}

#footer ul.icons a:hover {
	color: var(--gold) !important;
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
}

#footer .copyright {
	color: var(--text-faint);
	font-size: 0.85em;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding-top: 1.8em;
	margin-top: 0.5em;
}

#footer .copyright a { color: var(--text-muted); }
#footer .copyright a:hover { color: var(--gold) !important; }

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media screen and (max-width: 980px) {
	.artist-body { padding: 0 3em 3em 3em; }
}

@media screen and (max-width: 736px) {
	/* The mobile header sits at the top, so start the sheet just below it. */
	#artist-panel {
		top: calc(4em - 1px);
		height: auto;
		max-height: calc(100vh - (4em - 1px));
	}
	.artist-banner { aspect-ratio: 16 / 9; max-height: 38vh; }
	.artist-body {
		padding: 1.5em 1.75em 2.5em 1.75em;
	}
	.artist-bio { font-size: 1em; }

	.moodtrue-cta {
		flex-wrap: wrap;
		gap: 1em;
		padding: 1.3em 1.4em;
	}
	.moodtrue-cta .mt-logo { width: 48px; height: 48px; border-radius: 12px; }
	.moodtrue-cta .mt-logo img { width: 30px; height: 30px; }
	.moodtrue-cta .mt-text strong { font-size: 1.05em; }
	.moodtrue-cta .mt-arrow {
		width: 38px; height: 38px;
		margin-left: auto;
	}

	#footer .about-text { font-size: 0.95em; }
}

@media screen and (max-width: 480px) {
	.moodtrue-cta .mt-text { -webkit-flex-basis: 100%; flex-basis: 100%; }
}
