/**
 * JB WordPress Theme v3 — Custom Styles
 * Dark theme with cyan/purple/gold accents
 *
 * @package JB_Theme
 * @since 2.0.0
 */

/* Prevent horizontal overflow on all pages */
body {
	overflow-x: hidden;
}

.wp-site-blocks {
	overflow-x: hidden;
}

/* ==============================================
   CSS CUSTOM PROPERTIES
   ============================================== */
:root {
	--jb-background: #000000;
	--jb-foreground: #F8FAFC;
	--jb-card: #0A0A0A;
	--jb-primary: #00D9FF;
	--jb-secondary: #A855F7;
	--jb-accent: #D4AF37;
	--jb-muted: #1A1A1A;
	--jb-muted-fg: #94A3B8;
	--jb-border: rgba(0, 217, 255, 0.2);
	--jb-radius: 0.625rem;

	--jb-slate-200: #e2e8f0;
	--jb-slate-300: #cbd5e1;
	--jb-slate-400: #94a3b8;
	--jb-slate-500: #64748b;
	--jb-slate-700: #334155;
	--jb-slate-800: #1e293b;
	--jb-slate-900: #0f172a;
	--jb-slate-950: #020617;

	--jb-cyan-400: #22d3ee;
	--jb-cyan-500: #06b6d4;
	--jb-purple-400: #c084fc;
	--jb-purple-500: #a855f7;
	--jb-purple-600: #9333ea;

	--jb-yellow-500: #eab308;
	--jb-yellow-600: #ca8a04;

	--jb-teal-400: #2dd4bf;
	--jb-teal-500: #14b8a6;
	--jb-emerald-400: #34d399;
	--jb-emerald-500: #10b981;
}

/* ==============================================
   GLASSMORPHISM NAV
   ============================================== */
.jb-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(6, 182, 212, 0.3);
}

.jb-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 640px) {
	.jb-nav-inner { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
	.jb-nav-inner { padding: 0 2rem; }
}

/* Site title gradient in nav */
.jb-nav .wp-block-site-title a,
.gradient-cyan-text {
	background: linear-gradient(to right, var(--jb-cyan-400), var(--jb-purple-400), var(--jb-purple-500));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

.jb-nav .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--jb-slate-300);
	font-weight: 500;
	transition: color 0.2s;
}

.jb-nav .wp-block-navigation .wp-block-navigation-item__content:hover,
.jb-nav .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	color: var(--jb-cyan-400);
}

/* Always-visible responsive nav — no hamburger menu */
.jb-nav .wp-block-navigation .wp-block-navigation__container {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 1.5rem;
}

/* Mobile: site title on top row, all 4 links centered on second row */
@media (max-width: 639px) {
	.jb-nav-inner {
		flex-wrap: wrap;
		height: auto;
		padding: 0.5rem 0.75rem;
		gap: 0.25rem;
	}

	.jb-nav .wp-block-site-title {
		width: 100%;
		text-align: center;
	}

	.jb-nav .jb-nav-links,
	.jb-nav .wp-block-navigation {
		width: 100%;
		justify-content: center;
	}

	.jb-nav .wp-block-navigation .wp-block-navigation__container {
		justify-content: center;
		gap: clamp(0.75rem, 3vw, 1.5rem);
	}

	.jb-nav .wp-block-navigation .wp-block-navigation-item__content {
		font-size: clamp(0.75rem, 2.8vw, 0.95rem);
		white-space: nowrap;
	}
}

/* ==============================================
   GRADIENT TEXT UTILITIES
   ============================================== */
.gradient-cyan {
	background: linear-gradient(to right, var(--jb-cyan-400), var(--jb-purple-400), var(--jb-purple-500)) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
}

.gradient-teal {
	background: linear-gradient(to right, var(--jb-teal-400), var(--jb-cyan-400), var(--jb-teal-500));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.gradient-emerald {
	background: linear-gradient(to right, var(--jb-emerald-400), var(--jb-teal-400), var(--jb-emerald-500));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.gradient-name {
	background: linear-gradient(to right, var(--jb-cyan-400), var(--jb-purple-400), var(--jb-purple-500));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--jb-radius);
	border: none;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}

.btn-lg {
	padding: 0.875rem 2rem;
	font-size: 1.05rem;
}

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

.btn-yellow {
	background: linear-gradient(to right, var(--jb-yellow-500), var(--jb-yellow-600));
	color: #000;
	box-shadow: 0 4px 14px rgba(234, 179, 8, 0.2);
}

.btn-yellow:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
	color: #000;
}

.btn-cyan-outline {
	background: transparent;
	color: var(--jb-cyan-400);
	border: 2px solid var(--jb-cyan-400);
	box-shadow: 0 4px 14px rgba(6, 182, 212, 0.2);
}

.btn-cyan-outline:hover {
	background: rgba(34, 211, 238, 0.1);
	color: var(--jb-cyan-400);
}

.btn-teal {
	background: linear-gradient(to right, var(--jb-teal-500), var(--jb-cyan-500));
	color: var(--jb-slate-900);
	box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
}

.btn-teal:hover {
	filter: brightness(1.1);
	color: var(--jb-slate-900);
}

.btn-teal-outline {
	background: transparent;
	color: var(--jb-teal-400);
	border: 2px solid var(--jb-teal-400);
	box-shadow: 0 4px 14px rgba(20, 184, 166, 0.2);
}

.btn-teal-outline:hover {
	background: rgba(45, 212, 191, 0.1);
	color: var(--jb-teal-400);
}

.btn-emerald {
	background: linear-gradient(to right, var(--jb-emerald-500), var(--jb-teal-500));
	color: var(--jb-slate-900);
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
	filter: brightness(1.1);
	color: var(--jb-slate-900);
}

.btn-cyan-fill {
	background: var(--jb-cyan-500);
	color: var(--jb-slate-900);
}

.btn-cyan-fill:hover {
	background: var(--jb-cyan-400);
	color: var(--jb-slate-900);
}

.btn-outline-slate {
	background: transparent;
	color: var(--jb-slate-300);
	border: 1px solid var(--jb-slate-700);
}

.btn-outline-slate:hover {
	background: var(--jb-slate-800);
	color: var(--jb-cyan-400);
}

/* WP button block overrides */
.wp-block-button__link {
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(234, 179, 8, 0.3);
}

/* ==============================================
   BADGE / PILL
   ============================================== */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(6, 182, 212, 0.1);
	color: var(--jb-cyan-400);
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	border: 1px solid rgba(6, 182, 212, 0.3);
	font-size: 0.875rem;
	font-weight: 500;
}

.badge-teal {
	background: rgba(20, 184, 166, 0.2);
	color: var(--jb-teal-400);
	border-color: rgba(20, 184, 166, 0.4);
}

.badge-emerald {
	background: rgba(16, 185, 129, 0.2);
	color: var(--jb-emerald-400);
	border-color: rgba(16, 185, 129, 0.4);
}

/* ==============================================
   DECORATIVE BLOBS
   ============================================== */
.blob-container {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.3;
}

/* ==============================================
   SERVICE / FEATURE CARDS
   ============================================== */
.service-card {
	background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	border-radius: 0.75rem;
	border: 1px solid rgba(6, 182, 212, 0.2);
	overflow: hidden;
	transition: all 0.3s;
	cursor: pointer;
}

.service-card:hover {
	transform: translateY(-8px);
	border-color: rgba(6, 182, 212, 0.5);
	box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.service-card.purple {
	border-color: rgba(168, 85, 247, 0.2);
}

.service-card.purple:hover {
	border-color: rgba(168, 85, 247, 0.5);
	box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2);
}

.service-card.yellow {
	border-color: rgba(234, 179, 8, 0.2);
}

.service-card.yellow:hover {
	border-color: rgba(234, 179, 8, 0.5);
	box-shadow: 0 10px 25px rgba(234, 179, 8, 0.2);
}

.service-card-inner {
	padding: 1.5rem;
}

.service-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	font-size: 1.25rem;
	transition: transform 0.3s;
}

.service-card:hover .service-icon {
	transform: scale(1.1);
}

.icon-cyan {
	background: linear-gradient(to bottom right, var(--jb-cyan-400), var(--jb-cyan-500));
	box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.icon-purple {
	background: linear-gradient(to bottom right, var(--jb-purple-400), var(--jb-purple-600));
	box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.icon-yellow {
	background: linear-gradient(to bottom right, var(--jb-yellow-500), var(--jb-yellow-600));
	box-shadow: 0 4px 14px rgba(234, 179, 8, 0.3);
}

.icon-teal {
	background: linear-gradient(to bottom right, var(--jb-teal-400), var(--jb-cyan-500));
	box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
}

.icon-emerald {
	background: linear-gradient(to bottom right, var(--jb-emerald-400), var(--jb-teal-500));
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.service-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
	transition: color 0.3s;
}

.service-card:hover h3 {
	color: var(--jb-cyan-400);
}

.service-card.purple:hover h3 {
	color: var(--jb-purple-400);
}

.service-card.yellow:hover h3 {
	color: var(--jb-yellow-500);
}

.service-card p {
	color: var(--jb-slate-400);
	font-size: 0.95rem;
}

/* Stretched link — makes entire service card clickable */
.service-card {
	position: relative;
}

.service-card .card-link a {
	color: var(--jb-cyan-400);
	text-decoration: none;
	transition: color 0.2s;
}

.service-card .card-link a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.service-card.purple .card-link a {
	color: var(--jb-purple-400);
}

.service-card.yellow .card-link a {
	color: var(--jb-yellow-500);
}

/* ==============================================
   CAPABILITY GRID
   ============================================== */
.capability-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	padding: 1rem 1.5rem;
	border-radius: 0.5rem;
	border: 1px solid rgba(6, 182, 212, 0.2);
	transition: all 0.2s;
}

.capability-item:hover {
	border-color: rgba(6, 182, 212, 0.5);
	background: rgba(6, 182, 212, 0.05);
}

.check-icon {
	color: var(--jb-cyan-400);
	flex-shrink: 0;
	font-size: 1.1rem;
}

.capability-item span:last-child {
	font-weight: 500;
	color: var(--jb-slate-200);
}

/* ==============================================
   PORTFOLIO CARDS (Home page recent work)
   ============================================== */
.portfolio-card {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 0.75rem;
	overflow: hidden;
	border: 1px solid rgba(6, 182, 212, 0.2);
	transition: all 0.3s;
	cursor: pointer;
}

.portfolio-card:hover {
	border-color: rgba(6, 182, 212, 0.5);
	box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.portfolio-card.purple-border {
	border-color: rgba(168, 85, 247, 0.2);
}

.portfolio-card.purple-border:hover {
	border-color: rgba(168, 85, 247, 0.5);
	box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2);
}

.portfolio-card.yellow-border {
	border-color: rgba(234, 179, 8, 0.2);
}

.portfolio-card.yellow-border:hover {
	border-color: rgba(234, 179, 8, 0.5);
	box-shadow: 0 10px 25px rgba(234, 179, 8, 0.2);
}

.portfolio-card-img {
	aspect-ratio: 16/9;
	overflow: hidden;
}

.portfolio-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7;
	transition: transform 0.3s;
}

.portfolio-card:hover .portfolio-card-img img {
	transform: scale(1.1);
}

.portfolio-card-body {
	padding: 1.5rem;
}

.portfolio-card-body h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
	transition: color 0.3s;
}

.portfolio-card:hover .portfolio-card-body h3 {
	color: var(--jb-cyan-400);
}

.portfolio-card.purple-border:hover .portfolio-card-body h3 {
	color: var(--jb-purple-400);
}

.portfolio-card.yellow-border:hover .portfolio-card-body h3 {
	color: var(--jb-yellow-500);
}

.portfolio-card-body p {
	color: var(--jb-slate-400);
	font-size: 0.95rem;
}

/* ==============================================
   PORTFOLIO PAGE — Header, Filter, Cards
   ============================================== */
.portfolio-header {
	background: linear-gradient(to bottom right, var(--jb-slate-900), var(--jb-slate-800), var(--jb-slate-900));
	padding: 4rem 0;
	border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.portfolio-header-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2rem;
	align-items: start;
}

.profile-img-wrap {
	width: 12rem;
	height: 12rem;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 2px solid rgba(6, 182, 212, 0.3);
	box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
	background: var(--jb-slate-800);
	display: flex;
	align-items: center;
	justify-content: center;
}

.profile-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	transform: scale(0.85);
}

/* Category filter bar */
.category-filter {
	position: sticky;
	top: 4rem;
	z-index: 40;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(51, 65, 85, 0.5);
	padding: 1rem 0;
}

.filter-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.filter-btn {
	padding: 0.5rem 1rem;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: var(--jb-radius);
	cursor: pointer;
	transition: all 0.2s;
	background: transparent;
	color: var(--jb-slate-300);
	border: 1px solid var(--jb-slate-700);
}

.filter-btn:hover {
	background: var(--jb-slate-800);
	color: var(--jb-cyan-400);
}

.filter-btn.active {
	background: var(--jb-cyan-500);
	color: var(--jb-slate-900);
	border-color: var(--jb-cyan-500);
}

/* Clickable card overlay — makes entire card a link via the post title anchor */
.port-card,
.art-card,
.blog-card {
	position: relative;
}

.port-card .wp-block-post-title a::after,
.art-card .wp-block-post-title a::after,
.blog-card .wp-block-post-title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Portfolio detail cards */
.port-card {
	background: rgba(30, 41, 59, 0.5);
	border-radius: 0.75rem;
	border: 1px solid rgba(51, 65, 85, 0.5);
	overflow: hidden;
	transition: all 0.3s;
	cursor: pointer;
}

.port-card:hover {
	transform: translateY(-8px);
	border-color: rgba(6, 182, 212, 0.5);
}

.port-card-img {
	aspect-ratio: 4/3;
	overflow: hidden;
	position: relative;
}

.port-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7;
	transition: transform 0.3s;
}

.port-card:hover .port-card-img img {
	transform: scale(1.1);
}

.port-card-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: var(--jb-cyan-500);
	color: var(--jb-slate-900);
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.8rem;
	font-weight: 500;
}

.port-card-body {
	padding: 1.5rem;
}

.port-card-body h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
	transition: color 0.3s;
}

.port-card:hover .port-card-body h3 {
	color: var(--jb-cyan-400);
}

.port-card-body p {
	color: var(--jb-slate-400);
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.port-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.port-card-footer .year {
	font-size: 0.875rem;
	color: var(--jb-slate-500);
}

.port-card-footer .learn-more {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--jb-cyan-400);
	font-weight: 500;
	font-size: 0.95rem;
}

/* Enforce 3-col grid for portfolio + art listings even if the post-template's
   layout attribute is stripped (e.g. by Gutenberg "Attempt recovery"). */
.jb-portfolio-grid,
.jb-art-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* ==============================================
   ART PAGE
   ============================================== */
.art-header {
	position: relative;
	background: linear-gradient(to bottom right, rgba(19, 78, 74, 0.4), rgba(8, 51, 68, 0.3), var(--jb-slate-900));
	border-bottom: 1px solid rgba(20, 184, 166, 0.3);
	overflow: hidden;
}

.art-header::before,
.art-header::after {
	content: '';
	position: absolute;
	width: 24rem;
	height: 24rem;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.3;
	pointer-events: none;
}

.art-header::before {
	top: 5rem;
	left: 2rem;
	background: #2dd4bf;
}

.art-header::after {
	bottom: 5rem;
	right: 2rem;
	background: #06b6d4;
}

.art-header > .wp-block-columns {
	position: relative;
	z-index: 1;
}

.art-icon-box {
	width: 3.5rem;
	height: 3.5rem;
	background: linear-gradient(to bottom right, var(--jb-teal-400), var(--jb-cyan-500));
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
	font-size: 1.5rem;
}

.art-img-wrap {
	width: 12rem;
	height: 12rem;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 2px solid rgba(20, 184, 166, 0.3);
	box-shadow: 0 10px 25px rgba(20, 184, 166, 0.2);
	background: linear-gradient(135deg, var(--jb-teal-500), var(--jb-cyan-500));
	display: flex;
	align-items: center;
	justify-content: center;
}

.art-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Art Gallery Grid Cards */
.art-card {
	background: rgba(30, 41, 59, 0.5);
	border-radius: 0.75rem;
	border: 1px solid rgba(20, 184, 166, 0.3);
	overflow: hidden;
	transition: all 0.3s;
	cursor: pointer;
}

.art-card:hover {
	transform: translateY(-8px);
	border-color: rgba(20, 184, 166, 0.6);
	box-shadow: 0 10px 25px rgba(20, 184, 166, 0.2);
}

.art-card-img {
	overflow: hidden;
	position: relative;
}

.art-card-body {
	padding: 1.25rem;
}

.art-card-body h3,
.art-card .wp-block-post-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
	transition: color 0.3s;
}

.art-card:hover .wp-block-post-title,
.art-card:hover .art-card-body h3 {
	color: var(--jb-teal-400);
}

.art-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.jb-art-grid .wp-block-post-featured-image img {
	object-fit: cover;
	transition: transform 0.3s;
	border-radius: 0.75rem 0.75rem 0 0;
}

.jb-art-grid .wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

/* ==============================================
   BLOG PAGE
   ============================================== */
.blog-header {
	position: relative;
	background: linear-gradient(to bottom right, rgba(6, 78, 59, 0.4), rgba(19, 78, 74, 0.3), var(--jb-slate-900));
	border-bottom: 1px solid rgba(16, 185, 129, 0.3);
	overflow: hidden;
}

.blog-header::before,
.blog-header::after {
	content: '';
	position: absolute;
	width: 24rem;
	height: 24rem;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.3;
	pointer-events: none;
}

.blog-header::before {
	top: 5rem;
	left: 2rem;
	background: #34d399;
}

.blog-header::after {
	bottom: 5rem;
	right: 2rem;
	background: #14b8a6;
}

.blog-header > .wp-block-columns {
	position: relative;
	z-index: 1;
}

.blog-icon-box {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	font-size: 1.5rem;
}

.blog-img-wrap {
	width: 12rem;
	height: 12rem;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 2px solid rgba(16, 185, 129, 0.3);
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.blog-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.5rem;
}

/* ==============================================
   COMING SOON CARDS
   ============================================== */
.coming-soon-card {
	background: linear-gradient(to bottom right, rgba(19, 78, 74, 0.3), rgba(8, 51, 68, 0.2), rgba(30, 41, 59, 0.5));
	border-radius: 1rem;
	border: 1px solid rgba(20, 184, 166, 0.4);
	padding: 3rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.coming-soon-card.emerald {
	background: linear-gradient(to bottom right, rgba(6, 78, 59, 0.3), rgba(19, 78, 74, 0.2), rgba(30, 41, 59, 0.5));
	border-color: rgba(16, 185, 129, 0.4);
}

.coming-soon-card .glow {
	position: absolute;
	top: 0;
	right: 0;
	width: 16rem;
	height: 16rem;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.1;
	pointer-events: none;
}

/* Glow via pseudo-element (for native block version) */
.coming-soon-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 16rem;
	height: 16rem;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.1;
	pointer-events: none;
	background: var(--jb-teal-400);
}

.coming-soon-card.emerald::before {
	background: var(--jb-emerald-400);
}

/* Coming soon card content needs z-index above glow */
.coming-soon-card > .wp-block-group,
.coming-soon-card > .wp-block-heading,
.coming-soon-card > .wp-block-paragraph,
.coming-soon-card > .wp-block-buttons {
	position: relative;
	z-index: 1;
}

/* Section cards inside coming-soon patterns */
.upcoming-section-card {
	background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.7), rgba(31, 41, 55, 0.7));
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.philosophy-section-card {
	background: linear-gradient(to right, rgba(19, 78, 74, 0.3), rgba(8, 51, 68, 0.3));
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.philosophy-section-card:has(.emerald-bullet-list) {
	background: linear-gradient(to right, rgba(6, 78, 59, 0.3), rgba(19, 78, 74, 0.3));
}

/* ==============================================
   UPCOMING GRID
   ============================================== */
.upcoming-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.upcoming-item {
	display: flex;
	align-items: start;
	gap: 0.75rem;
	padding: 1rem;
	border-radius: 0.5rem;
	border: 1px solid;
	transition: all 0.2s;
}

.upcoming-item.teal {
	background: rgba(19, 78, 74, 0.1);
	border-color: rgba(20, 184, 166, 0.2);
}

.upcoming-item.emerald {
	background: rgba(6, 78, 59, 0.1);
	border-color: rgba(16, 185, 129, 0.2);
}

.upcoming-icon {
	width: 2rem;
	height: 2rem;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.85rem;
}

.upcoming-icon.teal {
	background: rgba(45, 212, 191, 0.15);
	border: 1px solid rgba(20, 184, 166, 0.3);
	color: var(--jb-teal-400);
}

.upcoming-icon.emerald {
	background: rgba(52, 211, 153, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: var(--jb-emerald-400);
}

/* ==============================================
   BULLET LISTS
   ============================================== */
.bullet-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bullet-item {
	display: flex;
	align-items: start;
	gap: 0.75rem;
}

.bullet-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	margin-top: 0.55rem;
	flex-shrink: 0;
}

.bullet-dot.teal {
	background: var(--jb-teal-400);
	box-shadow: 0 0 4px var(--jb-teal-400);
}

.bullet-dot.cyan {
	background: var(--jb-cyan-400);
	box-shadow: 0 0 4px var(--jb-cyan-400);
}

.bullet-dot.emerald {
	background: var(--jb-emerald-400);
	box-shadow: 0 0 4px var(--jb-emerald-400);
}

/* Bullet list via pseudo-elements (for native block version) */
.teal-bullet-list > p,
.teal-bullet-list > .wp-block-paragraph,
.emerald-bullet-list > p,
.emerald-bullet-list > .wp-block-paragraph {
	padding-left: 1.25rem;
	position: relative;
	margin-bottom: 0.75rem;
}

.teal-bullet-list > p::before,
.teal-bullet-list > .wp-block-paragraph::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--jb-teal-400);
	box-shadow: 0 0 4px var(--jb-teal-400);
}

.teal-bullet-list > p:nth-child(even)::before,
.teal-bullet-list > .wp-block-paragraph:nth-child(even)::before {
	background: var(--jb-cyan-400);
	box-shadow: 0 0 4px var(--jb-cyan-400);
}

.emerald-bullet-list > p::before,
.emerald-bullet-list > .wp-block-paragraph::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--jb-emerald-400);
	box-shadow: 0 0 4px var(--jb-emerald-400);
}

.emerald-bullet-list > p:nth-child(even)::before,
.emerald-bullet-list > .wp-block-paragraph:nth-child(even)::before {
	background: var(--jb-teal-400);
	box-shadow: 0 0 4px var(--jb-teal-400);
}

/* ==============================================
   CTA SECTION
   ============================================== */
.cta-section {
	position: relative;
	background: #000;
	border-top: 1px solid rgba(6, 182, 212, 0.3);
	border-bottom: 1px solid rgba(6, 182, 212, 0.3);
	overflow: hidden;
}

.cta-section::before,
.cta-section::after {
	content: '';
	position: absolute;
	width: 24rem;
	height: 24rem;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.2;
	pointer-events: none;
}

.cta-section::before {
	top: 0;
	left: 25%;
	background: #06b6d4;
}

.cta-section::after {
	bottom: 0;
	right: 25%;
	background: #9333ea;
}

.cta-section > .wp-block-heading,
.cta-section > .wp-block-paragraph,
.cta-section > .wp-block-buttons {
	position: relative;
	z-index: 1;
}

/* ==============================================
   HERO SECTION (blob backgrounds via pseudo-elements)
   ============================================== */
.jb-hero {
	position: relative;
	overflow: hidden;
}

.jb-hero::before,
.jb-hero::after {
	content: '';
	position: absolute;
	width: 24rem;
	height: 24rem;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.3;
	pointer-events: none;
}

.jb-hero::before {
	top: 5rem;
	left: 2rem;
	background: #06b6d4;
}

.jb-hero::after {
	bottom: 5rem;
	right: 2rem;
	background: #9333ea;
}

.jb-hero > .wp-block-columns {
	position: relative;
	z-index: 1;
}

/* ==============================================
   HERO IMAGE
   ============================================== */
.hero-img-wrap {
	aspect-ratio: 3/2;
	border-radius: 1rem;
	overflow: hidden;
	position: relative;
}

.hero-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 182, 212, 0.2), transparent, rgba(168, 85, 247, 0.2));
	pointer-events: none;
}

/* ==============================================
   FOOTER
   ============================================== */
.jb-footer {
	background: #000;
	color: var(--jb-slate-400);
	border-top: 1px solid rgba(6, 182, 212, 0.3);
}

/* Footer lists — remove bullets and default spacing */
.jb-footer .footer-nav,
.jb-footer .footer-services {
	list-style: none;
	padding: 0;
	margin: 0;
}

.jb-footer .footer-nav li,
.jb-footer .footer-services li {
	list-style: none;
}

.jb-footer .footer-nav a {
	color: var(--jb-slate-400);
	text-decoration: none;
	transition: color 0.2s;
}

.jb-footer .footer-nav a:hover {
	color: var(--jb-cyan-400);
}

.resume-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: rgba(6, 182, 212, 0.1);
	color: var(--jb-cyan-400);
	border-radius: 0.5rem;
	border: 1px solid rgba(6, 182, 212, 0.3);
	font-size: 0.875rem;
	font-weight: 500;
	transition: all 0.2s;
	text-decoration: none;
}

.resume-link:hover {
	background: rgba(6, 182, 212, 0.2);
	border-color: rgba(6, 182, 212, 0.5);
	color: var(--jb-cyan-400);
}

.footer-bottom {
	border-top: 1px solid rgba(6, 182, 212, 0.3);
}

/* Legacy footer-grid/footer-col support */
.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-col h3 {
	color: #fff;
	font-weight: 700;
	margin-bottom: 1rem;
	font-size: 1rem;
}

.footer-col p {
	font-size: 0.875rem;
	color: var(--jb-slate-500);
	line-height: 1.6;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-col ul li a {
	font-size: 0.875rem;
	color: var(--jb-slate-400);
	transition: color 0.2s;
	text-decoration: none;
}

.footer-col ul li a:hover {
	color: var(--jb-cyan-400);
}

.footer-col ul.services-list li {
	font-size: 0.875rem;
	color: var(--jb-slate-500);
}

/* ==============================================
   GRID UTILITIES
   ============================================== */
.jb-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	align-items: center;
}

.jb-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.jb-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.jb-grid-2-3 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

@media (min-width: 1024px) {
	.jb-grid-2-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==============================================
   SECTION STYLES
   ============================================== */
.jb-section-dark {
	background: #000;
}

.jb-section-gradient-purple {
	background: linear-gradient(to bottom, #000, rgba(59, 7, 100, 0.12));
}

.jb-section-gradient-purple-reverse {
	background: linear-gradient(to bottom, rgba(59, 7, 100, 0.12), #000);
}

.jb-section-gradient-art {
	background: linear-gradient(to bottom, var(--jb-slate-950), rgba(2, 6, 23, 1), var(--jb-slate-950));
}

.jb-section-gradient-blog {
	background: linear-gradient(to bottom, var(--jb-slate-900), rgba(17, 24, 39, 1), var(--jb-slate-900));
}

/* ==============================================
   WP QUERY LOOP (Portfolio)
   ============================================== */
.wp-block-post-template {
	gap: 2rem;
}

.wp-block-post-template .wp-block-post-featured-image img {
	object-fit: cover;
	transition: transform 0.3s;
	border-radius: 0.75rem 0.75rem 0 0;
}

.wp-block-post-template .wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

/* ==============================================
   SINGLE POST DARK THEME
   ============================================== */
.single-post-content {
	background: #000;
	color: var(--jb-slate-200);
}

.single-post-content a {
	color: var(--jb-cyan-400);
}

.single-post-content a:hover {
	color: var(--jb-primary);
}

/* WordPress image alignment (classic editor) */
.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption .wp-caption-text {
	font-size: 0.85rem;
	color: var(--jb-slate-400);
	margin-top: 0.5rem;
}

.single-post-content img {
	border-radius: 0.5rem;
}

.single-post-content blockquote {
	border-left: 4px solid var(--jb-cyan-500);
	padding-left: 1.5rem;
	color: var(--jb-slate-300);
}

.single-post-content code {
	background: var(--jb-slate-800);
	color: var(--jb-cyan-400);
	padding: 0.2rem 0.4rem;
	border-radius: 0.25rem;
	font-size: 0.875em;
}

.single-post-content pre {
	background: var(--jb-slate-900);
	border: 1px solid var(--jb-slate-700);
	border-radius: 0.5rem;
	padding: 1.5rem;
	overflow-x: auto;
}

.single-post-content pre code {
	background: none;
	padding: 0;
}

/* ==============================================
   TEXT HELPERS
   ============================================== */
.text-cyan {
	color: var(--jb-cyan-400);
}

.text-teal {
	color: var(--jb-teal-400);
}

.text-emerald {
	color: var(--jb-emerald-400);
}

.text-slate-300 {
	color: var(--jb-slate-300);
}

.text-slate-400 {
	color: var(--jb-slate-400);
}

.text-slate-500 {
	color: var(--jb-slate-500);
}

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fadeInUp 0.5s ease forwards;
}

.animate-on-scroll {
	opacity: 0;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
	/* Prevent alignfull containers from overflowing viewport */
	.alignfull {
		max-width: 100vw !important;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	/* Portfolio + Art grids: single column, contained on mobile */
	.jb-portfolio-grid,
	.jb-art-grid {
		grid-template-columns: 1fr !important;
		max-width: 100% !important;
		overflow: hidden;
	}

	.jb-portfolio-grid .port-card,
	.jb-art-grid .art-card {
		max-width: 100% !important;
		overflow: hidden;
		word-break: break-word;
	}

	/* Constrain all query blocks and post grids on mobile */
	.wp-block-query,
	.wp-block-post-template {
		max-width: 100% !important;
		overflow: hidden;
	}

	.jb-grid-2,
	.jb-grid-3,
	.jb-grid-4,
	.jb-grid-2-3 {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.portfolio-header-grid {
		grid-template-columns: 1fr;
	}

	.profile-img-wrap,
	.art-img-wrap,
	.blog-img-wrap {
		width: 12rem;
		height: 12rem;
		margin: 0 auto;
	}

	.upcoming-grid {
		grid-template-columns: 1fr;
	}

	.coming-soon-card {
		padding: 2rem;
	}

	.wp-block-columns {
		gap: var(--wp--preset--spacing--30) !important;
	}

	.wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Tablet: 2-column portfolio/art grids */
@media (min-width: 769px) and (max-width: 1023px) {
	.jb-portfolio-grid,
	.jb-art-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* ==============================================
   FORM STYLES (dark theme)
   ============================================== */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea {
	border: 1px solid var(--jb-slate-700);
	border-radius: var(--jb-radius);
	padding: 0.75rem 1rem;
	font-size: 1rem;
	background: var(--jb-card);
	color: var(--jb-foreground);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus {
	border-color: var(--jb-cyan-500);
	box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
	outline: none;
}

/* ==============================================
   POST GALLERIES — [gallery] shortcode
   ============================================== */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin: 1.5rem 0 2rem;
	clear: both;
}
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.gallery-item {
	margin: 0;
	text-align: center;
}
.gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0.5rem;
	border: 1px solid rgba(6, 182, 212, 0.2);
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.gallery-item a:hover img {
	transform: translateY(-2px);
	border-color: rgba(6, 182, 212, 0.6);
}
.gallery-caption {
	display: block;
	font-size: 0.85rem;
	color: rgb(148, 163, 184); /* slate-400 */
	margin-top: 0.35rem;
}

@media (max-width: 768px) {
	.gallery-columns-3,
	.gallery-columns-4,
	.gallery-columns-5,
	.gallery-columns-6,
	.gallery-columns-7,
	.gallery-columns-8,
	.gallery-columns-9 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	.gallery {
		grid-template-columns: 1fr !important;
	}
}

/* ==============================================
   HORIZONTAL SCROLL GALLERY — [gallery_scroll]
   ============================================== */
.gallery-scroll {
	display: flex;
	gap: 1rem;
	margin: 1.5rem 0 2rem;
	padding-bottom: 0.75rem;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 1rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(6, 182, 212, 0.6) rgba(15, 23, 42, 0.4);
}
.gallery-scroll::-webkit-scrollbar {
	height: 8px;
}
.gallery-scroll::-webkit-scrollbar-track {
	background: rgba(15, 23, 42, 0.4);
	border-radius: 4px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
	background: rgba(6, 182, 212, 0.6);
	border-radius: 4px;
}
.gallery-scroll::-webkit-scrollbar-thumb:hover {
	background: rgba(6, 182, 212, 0.9);
}
.gallery-scroll:focus {
	outline: 2px solid rgba(6, 182, 212, 0.5);
	outline-offset: 4px;
	border-radius: 0.5rem;
}
.gallery-scroll-item {
	flex: 0 0 auto;
	width: clamp(260px, 60vw, 600px);
	margin: 0;
	scroll-snap-align: start;
}
.gallery-scroll-item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0.5rem;
	border: 1px solid rgba(6, 182, 212, 0.2);
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery-scroll-item:hover img {
	border-color: rgba(6, 182, 212, 0.6);
	transform: translateY(-2px);
}

/* ==============================================
   PORTFOLIO CARD THUMBNAIL STRIP — [portfolio_thumbs]
   ============================================== */
.portfolio-thumb-strip {
	display: grid;
	gap: 2px;
	border-top-left-radius: 0.75rem;
	border-top-right-radius: 0.75rem;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: rgba(15, 23, 42, 0.6);
}
.portfolio-thumb-strip[data-count="1"] { grid-template-columns: 1fr; }
.portfolio-thumb-strip[data-count="2"] { grid-template-columns: 1fr 1fr; }
.portfolio-thumb-strip[data-count="3"] { grid-template-columns: 1fr 1fr 1fr; }
.portfolio-thumb-strip a {
	display: block;
	overflow: hidden;
}
.portfolio-thumb-strip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}
.portfolio-thumb-strip a:hover img {
	transform: scale(1.04);
}

/* ==============================================
   PORTFOLIO THUMBNAILS META BOX (admin)
   ============================================== */
.jb-portfolio-thumbs-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
	min-height: 80px;
}
.jb-portfolio-thumbs-list .jb-thumb {
	position: relative;
	width: 80px;
	height: 80px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	overflow: hidden;
	background: #f6f7f7;
}
.jb-portfolio-thumbs-list .jb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.jb-portfolio-thumbs-list .jb-thumb-remove {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 20px;
	height: 20px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

/* ==============================================
   PRINT STYLES
   ============================================== */
@media print {
	.jb-nav,
	.jb-footer,
	.wp-block-navigation,
	.wp-block-search,
	.category-filter {
		display: none !important;
	}
}
