/* =========================================================================
   Artist Portfolio (single-artist). Divergent system: single --ac accent over
   a hard-black background. NOT the 4-palette theme. Loaded only on
   is_singular('artist').
   ========================================================================= */

body.bk-portfolio { background: #08080a; color: #e7e2d8; }
.bk-pf-root { position: relative; overflow-x: hidden; }
.bk-pf ::selection { background: var(--ac, #c8a24a); color: #08080a; }

/* ---- Floating bar ---- */
.bk-pf-bar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between;
	padding: 24px 32px; mix-blend-mode: difference; pointer-events: none;
}
.bk-pf-bar a { pointer-events: auto; }
.bk-pf-bar__back { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: #fff; }
.bk-pf-bar__social { display: flex; gap: 10px; }
.bk-pf-bar__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.5); font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: #fff;
	transition: background .2s, color .2s;
}
.bk-pf-bar__icon:hover { background: #fff; color: #08080a; }

/* ---- Eyebrows / headings ---- */
.bk-pf-eyebrow { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--ac, #c8a24a); text-transform: uppercase; }
.bk-pf-h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(38px, 5.5vw, 76px); line-height: 1; margin: 10px 0 0; color: #f3efe6; }

/* ---- Hero ---- */
.bk-pf-hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; }
.bk-pf-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pfKen 20s ease-out infinite alternate; }
.bk-pf-hero__scrim { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 15%, transparent 30%, rgba(8,8,10,.5) 75%, #08080a 100%), linear-gradient(180deg, rgba(8,8,10,.35), rgba(8,8,10,.15) 40%, #08080a 100%); }
.bk-pf-hero__inner { position: relative; padding: 0 56px 90px; max-width: 1100px; }
.bk-pf-hero__name { font-family: var(--font-serif); font-weight: 500; font-size: clamp(72px, 18vw, 260px); line-height: .86; margin: 14px 0 0; padding-bottom: .18em; color: #f6f2ea; }
.bk-pf-hero__sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(18px, 2.4vw, 30px); color: #cfc9bd; margin: 12px 0 0; max-width: 620px; }
.bk-pf-hero__tag { display: inline-block; margin: 20px 0 0; padding: 8px 16px; border: 1px solid rgba(243,239,230,.32); border-radius: 100px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ac, #c8a24a); }
.bk-pf-hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #cfc9bd; font-size: 22px; animation: pfBounce 2s ease-in-out infinite; }
@keyframes pfKen { from { transform: scale(1.04); } to { transform: scale(1.14); } }
@keyframes pfBounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---- Statement ---- */
.bk-pf-statement { max-width: 1000px; margin: 0 auto; padding: 150px 28px 120px; }
.bk-pf-statement__text { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 52px); line-height: 1.25; color: #eee9df; margin: 26px 0 0; }

/* ---- Works ---- */
.bk-pf-works { max-width: 1500px; margin: 0 auto; padding: 40px 28px; }
.bk-pf-works__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.bk-pf-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--ac, #c8a24a); }
.bk-pf-masonry { display: grid; grid-template-columns: repeat(10, 1fr); grid-auto-rows: 130px; gap: 12px; grid-auto-flow: dense; }
.bk-pf-works .bk-work, .bk-pf-masonry .bk-work { background: #0e0e11; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; }

/* Work tiles + placeholder (portfolio-scoped, black system) */
.bk-portfolio .bk-work { position: relative; overflow: hidden; margin: 0; }
.bk-portfolio .bk-work img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bk-portfolio .bk-work:hover img { transform: scale(1.06); }
.bk-portfolio .bk-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 9px, rgba(255,255,255,.08) 9px 18px); }
.bk-portfolio .bk-ph span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: #6f6a60; text-align: center; padding: 10px; }
/* Lightbox trigger affordance + overlay styles live in theme.css — the front-page
   gallery shares them and portfolio.css only loads on single-artist pages. */

/* ---- About ---- */
.bk-pf-about { max-width: 1300px; margin: 0 auto; padding: 110px 28px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.bk-pf-about__portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #0e0e11; }
.bk-pf-about__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-pf-about__bio { font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.5; color: #eee9df; margin: 22px 0 0; }
.bk-pf-specialties { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.bk-pf-pill { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 100px; color: #cfc9bd; }
.bk-pf-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 34px 0 0; }
.bk-pf-facts dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: #6f6a60; }
.bk-pf-facts dd { font-family: var(--font-serif); font-size: 22px; color: #eee9df; margin: 6px 0 0; }

/* ---- Contact ---- */
.bk-pf-contact { max-width: 900px; margin: 0 auto; padding: 150px 28px; text-align: center; }
.bk-pf-contact__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(40px, 6vw, 88px); line-height: .98; margin: 18px 0 0; color: #f3efe6; }
.bk-pf-contact__text { color: #a49e93; font-size: 16px; line-height: 1.6; max-width: 540px; margin: 24px auto 0; }
.bk-pf-contact__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 36px 0 0; }
.bk-pf-btn { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; padding: 15px 30px; border-radius: 100px; transition: transform .15s, background .2s, color .2s; }
.bk-pf-btn--solid { background: var(--ac, #c8a24a); color: #08080a; }
.bk-pf-btn--solid:hover { transform: translateY(-1px); }
.bk-pf-btn--outline { border: 1px solid rgba(255,255,255,.28); color: #e7e2d8; }
.bk-pf-btn--outline:hover { border-color: var(--ac, #c8a24a); color: var(--ac, #c8a24a); }

/* ---- Footer ---- */
.bk-pf-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 40px 32px; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: #6f6a60; }
.bk-pf-footer a { color: #a49e93; }
.bk-pf-footer a:hover { color: var(--ac, #c8a24a); }

/* ---- Responsive (interim; refine to mobile designs later) ---- */
@media (max-width: 820px) {
	.bk-pf-hero__inner { padding: 0 22px 70px; }
	.bk-pf-statement { padding: 90px 22px; }
	/* Works gallery: masonry grid → horizontal swipe rail on mobile (CSS only),
	   mirroring the landing-page artist slider. Lightbox reads .bk-pf-masonry .bk-work
	   off the DOM, so the structure is preserved and it keeps working. */
	.bk-pf-masonry {
		display: flex;
		grid-template-columns: none;      /* neutralize desktop grid */
		grid-auto-rows: auto;
		gap: 14px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		margin: 0 -28px;                  /* bleed to screen edge; matches .bk-pf-works 28px pad */
		padding: 0 28px;
	}
	.bk-pf-works .bk-work {
		flex: 0 0 78%;                    /* neighbor peeks, like the artist cards */
		aspect-ratio: 4 / 5;
		scroll-snap-align: center;
	}
	.bk-pf-about { grid-template-columns: 1fr; gap: 36px; padding: 70px 22px; }
	.bk-pf-contact { padding: 90px 22px; }
	.bk-pf-bar { padding: 12px 18px; }
	.bk-pf-bar__icon { width: 40px; height: 40px; }
	.bk-pf-bar__back { padding: 8px 0; }
	.bk-pf-contact__btns { gap: 12px; }
}
