/* ============================================
   SAM BLUSTIN — custom.css
   Palette:
     Slate Blue:       #4A6FA5
     Slate Blue Dark:  #355080
     Slate Blue Light: #E8EDF4
     Off White:        #F7F9FC
     Text:             #1A1A1A
     Muted:            #6B7280
   ============================================ */

/* --- Reset & Base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
	font-family: 'Inter', system-ui, sans-serif;
	color: #1A1A1A;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: 'Playfair Display', Georgia, serif;
	line-height: 1.2;
}

a { color: #4A6FA5; }
a:hover { color: #355080; }

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

/* --- Site Header / Nav -------------------------------------------- */
.sb-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.97);
	border-bottom: 1px solid #E5E7EB;
	backdrop-filter: blur(6px);
}

.sb-nav__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 2rem;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sb-nav__logo {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #1A1A1A;
	text-decoration: none;
	letter-spacing: -0.01em;
	flex-shrink: 0;
}
.sb-nav__logo:hover { color: #4A6FA5; }

.sb-nav__menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.25rem;
	align-items: center;
}

.sb-nav__menu a {
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1A1A1A;
	text-decoration: none;
	padding: 0.5rem 0.85rem;
	border-radius: 3px;
	transition: color 0.2s, background 0.2s;
}
.sb-nav__menu a:hover,
.sb-nav__menu .current-menu-item > a {
	color: #4A6FA5;
	background: #F0F4FA;
}

/* mobile hamburger */
.sb-nav__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}
.sb-nav__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #1A1A1A;
	border-radius: 2px;
	transition: 0.2s;
}

/* push page content below fixed nav */
#wrapper { padding-top: 64px; }

/* account for WordPress admin bar (32px desktop, 46px mobile) */
body.admin-bar .sb-nav { top: 32px; }
body.admin-bar #wrapper { padding-top: 96px; }
@media screen and (max-width: 782px) {
	body.admin-bar .sb-nav { top: 46px; }
	body.admin-bar #wrapper { padding-top: 110px; }
}

@media (max-width: 768px) {
	.sb-nav__toggle { display: flex; }
	.sb-nav__menu {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid #E5E7EB;
		padding: 1rem 2rem;
	}
	.sb-nav.is-open .sb-nav__menu { display: block; }
	.sb-nav__menu ul { flex-direction: column; gap: 0; }
	.sb-nav__menu a { display: block; padding: 0.65rem 0; }
}

/* --- Platform Logo Buttons ---------------------------------------- */
.sb-platform-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.9rem;
	border-radius: 20px;
	font-family: 'Inter', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.15s;
	white-space: nowrap;
}
.sb-platform-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.sb-platform-btn svg { flex-shrink: 0; }

.sb-platform-btn--spotify   { background: #1DB954; color: #fff; }
.sb-platform-btn--youtube   { background: #FF0000; color: #fff; }
.sb-platform-btn--bandcamp  { background: #1DA0C3; color: #fff; }
.sb-platform-btn--distro    { background: #1A1A1A; color: #fff; }
.sb-platform-btn--facebook  { background: #1877F2; color: #fff; }
.sb-platform-btn--instagram { background: #E1306C; color: #fff; }

/* --- Contact Form 7 ------------------------------------------------ */
.sb-cf7-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 0; }
.sb-cf7-wrap .wpcf7-form p { margin-bottom: 1rem; }
.sb-cf7-wrap label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6B7280;
	margin-bottom: 0.35rem;
}
.sb-cf7-wrap input[type="text"],
.sb-cf7-wrap input[type="email"],
.sb-cf7-wrap textarea {
	width: 100%;
	border: 1px solid #E5E7EB;
	border-radius: 3px;
	padding: 0.75rem 1rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	color: #1A1A1A;
	transition: border-color 0.2s;
	box-sizing: border-box;
}
.sb-cf7-wrap input[type="text"]:focus,
.sb-cf7-wrap input[type="email"]:focus,
.sb-cf7-wrap textarea:focus { outline: none; border-color: #4A6FA5; }
.sb-cf7-wrap textarea { min-height: 150px; resize: vertical; }
.sb-cf7-wrap input[type="submit"] {
	width: 100%;
	background: #1A1A1A;
	color: #fff;
	border: 2px solid #1A1A1A;
	border-radius: 3px;
	padding: 0.75rem 2rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.sb-cf7-wrap input[type="submit"]:hover { background: #fff; color: #1A1A1A; }
.sb-cf7-wrap .wpcf7-not-valid-tip { color: #DC2626; font-size: 0.8rem; margin-top: 0.25rem; }
.sb-cf7-wrap .wpcf7-response-output { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 3px; font-size: 0.9rem; border: none !important; }
.sb-cf7-wrap .wpcf7-mail-sent-ok { background: #D1FAE5; color: #065F46; }
.sb-cf7-wrap .wpcf7-validation-errors { background: #FEE2E2; color: #991B1B; }

/* --- Hero Section ------------------------------------------------- */
.sb-hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #1A1A1A;
}

.sb-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	opacity: 0.55;
}

.sb-hero__content {
	position: relative;
	z-index: 2;
	max-width: 780px;
	padding: 4rem 3rem;
	color: #fff;
}

.sb-hero__eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #E8EDF4;
	margin-bottom: 1rem;
}

.sb-hero__name {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(3rem, 7vw, 5.5rem);
	font-weight: 700;
	line-height: 1.05;
	color: #fff;
	margin: 0 0 1rem;
}

.sb-hero__tagline {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	font-weight: 400;
	font-style: italic;
	color: #E8EDF4;
	margin-bottom: 2rem;
}

.sb-hero__cta {
	display: inline-flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* --- Buttons ------------------------------------------------------ */
.sb-btn {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.8rem 1.75rem;
	border-radius: 3px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	cursor: pointer;
	border: 2px solid transparent;
}

.sb-btn--primary {
	background: #4A6FA5;
	color: #fff;
	border-color: #4A6FA5;
}
.sb-btn--primary:hover {
	background: #355080;
	border-color: #355080;
	color: #fff;
}

.sb-btn--outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,0.7);
}
.sb-btn--outline:hover {
	background: rgba(255,255,255,0.1);
	border-color: #fff;
	color: #fff;
}

.sb-btn--outline-dark {
	background: transparent;
	color: #4A6FA5;
	border-color: #4A6FA5;
}
.sb-btn--outline-dark:hover {
	background: #4A6FA5;
	color: #fff;
}

.sb-btn--sm {
	font-size: 0.75rem;
	padding: 0.5rem 1rem;
}

/* --- Section Utilities -------------------------------------------- */
.sb-section {
	padding: 2.5rem 2rem;
}

/* Album header: always side-by-side */
.sb-album-header {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 2rem;
	align-items: start;
	margin-bottom: 2rem;
}
@media (max-width: 540px) {
	.sb-album-header { grid-template-columns: 1fr; }
	.sb-album-header img { width: 160px; height: 160px; }
}

.sb-section--surface {
	background: #F7F9FC;
}

.sb-section--blue {
	background: #E8EDF4;
}

.sb-container {
	max-width: 1100px;
	margin: 0 auto;
}

.sb-section-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #4A6FA5;
	margin-bottom: 0.75rem;
}

.sb-section-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	font-weight: 700;
	color: #1A1A1A;
	margin: 0 0 1rem;
}

.sb-section-lead {
	font-size: 1.05rem;
	color: #6B7280;
	max-width: 580px;
	line-height: 1.7;
}

/* --- Music Track Cards -------------------------------------------- */
.sb-track-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.sb-track-card {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	transition: box-shadow 0.2s, border-color 0.2s;
}
.sb-track-card:hover {
	box-shadow: 0 4px 20px rgba(74,111,165,0.1);
	border-color: #4A6FA5;
}

.sb-track-card__number {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4A6FA5;
}

.sb-track-card__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #1A1A1A;
	margin: 0;
}

.sb-track-card__subtitle {
	font-size: 0.85rem;
	color: #6B7280;
	font-style: italic;
	margin: 0;
}

.sb-track-card__description {
	font-size: 0.9rem;
	color: #4B5563;
	line-height: 1.6;
	flex: 1;
}

.sb-track-card__actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	padding-top: 0.5rem;
	border-top: 1px solid #F3F4F6;
}

/* --- Track Row List (Music Index) --------------------------------- */
.sb-track-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid #F3F4F6;
	transition: background 0.15s;
}
.sb-track-row:hover { background: #FAFBFF; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }

.sb-track-row__num {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	color: #D1D5DB;
	width: 2rem;
	flex-shrink: 0;
	text-align: center;
}

.sb-track-row__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.sb-track-row__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1A1A1A;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sb-track-row__title:hover { color: #4A6FA5; }

.sb-track-row__subtitle {
	font-size: 0.82rem;
	color: #9CA3AF;
	font-style: italic;
}

.sb-track-row__actions {
	display: flex;
	gap: 0.4rem;
	align-items: center;
	flex-shrink: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}

@media (max-width: 600px) {
	.sb-track-row { flex-wrap: wrap; }
	.sb-track-row__actions { width: 100%; justify-content: flex-start; padding-left: 2.5rem; }
}

/* --- Streaming Badges --------------------------------------------- */
.sb-streaming {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

.sb-streaming__label {
	font-size: 0.8rem;
	font-weight: 600;
	color: #6B7280;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.sb-streaming__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #4A6FA5;
	text-decoration: none;
	padding: 0.35rem 0.75rem;
	border: 1px solid #E5E7EB;
	border-radius: 20px;
	transition: border-color 0.2s, background 0.2s;
}
.sb-streaming__link:hover {
	border-color: #4A6FA5;
	background: #E8EDF4;
	color: #355080;
}

/* --- About / Bio Split Layout ------------------------------------- */
.sb-bio {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.sb-bio__image {
	border-radius: 4px;
	overflow: hidden;
	aspect-ratio: 4/5;
}

.sb-bio__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-bio__text h2 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin-bottom: 1.25rem;
}

.sb-bio__text p {
	color: #4B5563;
	line-height: 1.8;
	margin-bottom: 1rem;
}

/* --- Blog Card Grid ----------------------------------------------- */
.sb-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.sb-post-card {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s;
}
.sb-post-card:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sb-post-card__image {
	aspect-ratio: 16/9;
	overflow: hidden;
	background: #E8EDF4;
}
.sb-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-post-card__body {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.sb-post-card__category {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4A6FA5;
	margin-bottom: 0.5rem;
}

.sb-post-card__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1A1A1A;
	text-decoration: none;
	line-height: 1.35;
	flex: 1;
}
.sb-post-card__title:hover { color: #4A6FA5; }

.sb-post-card__date {
	font-size: 0.75rem;
	color: #9CA3AF;
	margin-top: 0.75rem;
}

/* --- Single Post Content ------------------------------------------ */
.sb-post-content { color: #1A1A1A; line-height: 1.85; font-size: 1.05rem; }
.sb-post-content p { margin-bottom: 1.4rem; }
.sb-post-content h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.sb-post-content h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.sb-post-content blockquote {
	border-left: 3px solid #4A6FA5;
	margin: 2rem 0;
	padding: 0.5rem 0 0.5rem 1.5rem;
	color: #4B5563;
	font-style: italic;
}
.sb-post-content a { color: #4A6FA5; text-decoration: underline; }
.sb-post-content a:hover { color: #355080; }
.sb-post-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1rem 0; }
.sb-post-content ul, .sb-post-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.sb-post-content li { margin-bottom: 0.4rem; }

/* --- Inquiry Form Section ----------------------------------------- */
.sb-inquiry {
	background: #1A1A1A;
	color: #fff;
	padding: 5rem 2rem;
	text-align: center;
}

.sb-inquiry .sb-section-label { color: #E8EDF4; }
.sb-inquiry .sb-section-title { color: #fff; }
.sb-inquiry .sb-section-lead { color: #9CA3AF; margin: 0 auto 2rem; }

.sb-inquiry input,
.sb-inquiry textarea,
.sb-inquiry select {
	width: 100%;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 3px;
	color: #fff;
	padding: 0.75rem 1rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	margin-bottom: 1rem;
	transition: border-color 0.2s;
}
.sb-inquiry input::placeholder,
.sb-inquiry textarea::placeholder { color: #6B7280; }
.sb-inquiry input:focus,
.sb-inquiry textarea:focus {
	outline: none;
	border-color: #4A6FA5;
}

.sb-inquiry form {
	max-width: 560px;
	margin: 0 auto;
	text-align: left;
}

.sb-inquiry label {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9CA3AF;
	display: block;
	margin-bottom: 0.35rem;
}

/* --- Footer ------------------------------------------------------- */
.sb-inquiry { padding: 2.5rem 2rem; }

.site-footer,
#colophon {
	background: #1A1A1A;
	color: #9CA3AF;
	padding: 1.75rem 2rem;
	text-align: center;
	font-size: 0.85rem;
}

.sb-footer__name {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.3rem;
	color: #fff;
	margin-bottom: 0.25rem;
}

.sb-footer__tagline {
	font-style: italic;
	color: #6B7280;
	margin-bottom: 1.5rem;
}

.sb-social-links {
	display: flex;
	justify-content: center;
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}

.sb-social-links a {
	color: #6B7280;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: color 0.2s;
}
.sb-social-links a:hover { color: #4A6FA5; }

/* --- Responsive --------------------------------------------------- */
@media (max-width: 768px) {
	.sb-hero__content { padding: 2.5rem 1.5rem; }
	.sb-bio { grid-template-columns: 1fr; gap: 2.5rem; }
	.sb-bio__image { aspect-ratio: 3/2; }
	.sb-section { padding: 1.75rem 1.25rem; }
	.sb-track-grid { grid-template-columns: 1fr; }
	.sb-post-grid { grid-template-columns: 1fr; }
}
