/* =========================================================================
   PB&J theme styles
   Colors, fonts and base type come from theme.json (CSS variables below).
   ========================================================================= */

:root {
	--pbj-jelly: var(--wp--preset--color--jelly, #5D2591);
	--pbj-jelly-dark: var(--wp--preset--color--jelly-dark, #45196E);
	--pbj-ink: var(--wp--preset--color--ink, #1C1424);
	--pbj-pb: var(--wp--preset--color--pb, #BF935B);
	--pbj-pb-light: var(--wp--preset--color--pb-light, #D9B98A);
	--pbj-pb-dark: var(--wp--preset--color--pb-dark, #7E5A2A);
	--pbj-body: var(--wp--preset--color--body, #3B3E46);
	--pbj-muted: var(--wp--preset--color--muted, #5E6170);
	--pbj-mist: var(--wp--preset--color--mist, #F6F3F9);
	--pbj-line: var(--wp--preset--color--line, #ECE8F0);
	--pbj-card-line: #E6E1EC;
	--pbj-head: var(--wp--preset--font-family--montserrat, Montserrat, Arial, sans-serif);
	--pbj-radius: 16px;
	--pbj-shadow-hover: 0 10px 28px rgba(28, 20, 36, 0.12);
}

/* ---------- Spacing reset for theme blocks: gaps are set with flex/grid below ---------- */
body .wp-site-blocks > * { margin-block-start: 0; }
[class*="pbj-"]:not(.wp-block-post-content) > * { margin-block-start: 0; margin-block-end: 0; }
[class*="pbj-"] .wp-block-image,
[class*="pbj-"] figure { margin: 0; }
.wp-site-blocks { overflow-x: clip; }

/* ---------- Layout helpers ---------- */
.pbj-wrap { box-sizing: border-box; width: 100%; max-width: 1200px; margin-inline: auto !important; padding-inline: 24px; }
.pbj-wrap--narrow { max-width: 1008px; }
.pbj-read { box-sizing: border-box; width: 100%; max-width: 768px; margin-inline: auto !important; padding-inline: 24px; }
.pbj-stack { display: flex; flex-direction: column; gap: 14px; }
.pbj-section__inner { gap: 36px; }
.pbj-section-head { gap: 10px; max-width: 680px; }
.pbj-grid { display: grid; gap: 20px; }
.pbj-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pbj-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pbj-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pbj-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ---------- Section tones ---------- */
.pbj-section { padding-block: 88px; }
.is-white { background: #FFFFFF; }
.is-mist { background: var(--pbj-mist); }
.is-ink { background: var(--pbj-ink); color: #DCD4E6; }
.is-jelly { background: var(--pbj-jelly); color: #E3D4EF; }
.is-ink :where(h1, h2, h3, h4), .is-jelly :where(h1, h2, h3, h4) { color: #FFFFFF; }
.is-ink a:not(.wp-element-button) { color: var(--pbj-pb); }
.is-ink a:not(.wp-element-button):hover { color: #FFFFFF; }

/* ---------- Type helpers ---------- */
.pbj-eyebrow,
.pbj-eyebrow a {
	font-family: var(--pbj-head); font-weight: 700; font-size: 13px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--pbj-pb-dark); text-decoration: none;
}
.is-ink .pbj-eyebrow, .is-ink .pbj-eyebrow a, .is-jelly .pbj-eyebrow { color: var(--pbj-pb); }
.is-jelly .pbj-eyebrow { color: var(--pbj-pb-light); }
.pbj-section-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; color: var(--pbj-jelly); }
.is-ink .pbj-section-title, .is-jelly .pbj-section-title { color: #FFFFFF; }
.pbj-section-intro { font-size: 17px; line-height: 1.6; }
.pbj-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 560px; }
.is-ink .pbj-lead { color: #DCD4E6; }
.pbj-more-link { font-weight: 600; font-size: 16px; }
.pbj-more-link a { text-decoration: none; }
.pbj-pb { color: var(--pbj-pb); }
.pbj-draft-note { background: #FFF8E6; border: 1px dashed var(--pbj-pb); border-radius: 10px; padding: 16px 18px; color: var(--pbj-ink); }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.wp-block-button.is-style-pb .wp-block-button__link { background: var(--pbj-pb); color: var(--pbj-ink); }
.wp-block-button.is-style-pb .wp-block-button__link:hover,
.wp-block-button.is-style-pb .wp-block-button__link:focus-visible { background: var(--pbj-pb-light); color: var(--pbj-ink); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--pbj-jelly); box-shadow: inset 0 0 0 1.5px var(--pbj-jelly); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--pbj-jelly); color: #FFFFFF; }
.wp-block-buttons { gap: 14px; }

/* ---------- Header ---------- */
.pbj-header { background: #FFFFFF; border-bottom: 1px solid var(--pbj-line); position: relative; z-index: 50; }
.pbj-header__bar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pbj-logo { flex-shrink: 0; }
.pbj-logo a { display: flex; }
.pbj-logo img { height: 60px; width: auto; display: block; }
.pbj-nav { flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.pbj-nav .wp-block-navigation__container { gap: 24px; }
.pbj-nav .wp-block-navigation-item__content { color: #2B2733; text-decoration: none; padding-block: 6px; }
.pbj-nav .wp-block-navigation-item__content:hover { color: var(--pbj-jelly); }
.pbj-nav .current-menu-item > .wp-block-navigation-item__content,
.pbj-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--pbj-jelly); font-weight: 700; box-shadow: inset 0 -2px 0 var(--pbj-pb); }
.pbj-header__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.pbj-header__phone { font-size: 14px; font-weight: 600; white-space: nowrap; }
.pbj-header__phone a { color: var(--pbj-jelly); text-decoration: none; }
.pbj-header__cta .wp-block-button__link {
	font-family: var(--wp--preset--font-family--work-sans); font-weight: 600; font-size: 14px;
	padding: 12px 18px; border-radius: 8px; white-space: nowrap;
}
/* Mobile menu: hamburger + overlay */
.pbj-nav .wp-block-navigation__responsive-container-open {
	width: 44px; height: 44px; border: 1px solid #DDD6E4; border-radius: 8px; background: #FFFFFF;
	align-items: center; justify-content: center; color: var(--pbj-ink);
}
.pbj-nav .wp-block-navigation__responsive-container.is-menu-open { background: #FFFFFF; color: var(--pbj-ink); padding: 24px; }
.pbj-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 18px; font-size: 20px; font-weight: 600; }

/* ---------- Home: hero ---------- */
.pbj-hero { padding-block: 80px 88px; overflow: hidden; }
.pbj-hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.pbj-hero__copy { gap: 22px; }
.pbj-hero__title { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -0.015em; color: #FFFFFF; }
.pbj-hero .wp-block-buttons { padding-top: 6px; }
.pbj-hero__tagline { font-family: var(--pbj-head); font-weight: 800; font-size: 20px; color: #FFFFFF; margin: 0; }
.pbj-hero__art { display: flex; justify-content: center; }
.pbj-hero__art img { width: min(420px, 100%); height: auto; display: block; }

/* ---------- Home: proof bar ---------- */
.pbj-proof { padding-block: 28px; }
.pbj-stat { display: flex; flex-direction: column; gap: 2px; }
.pbj-stat__num { font-family: var(--pbj-head); font-weight: 800; font-size: 30px; line-height: 1.2; color: #FFFFFF; }
.pbj-stat__num--accent { color: var(--pbj-pb-light); }
.pbj-stat__label { font-size: 14px; color: #E3D4EF; }

/* ---------- Cards (shared) ---------- */
.pbj-card {
	position: relative; background: #FFFFFF; border: 1px solid var(--pbj-card-line); border-radius: var(--pbj-radius);
	padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--pbj-body);
	transition: box-shadow .15s ease, transform .15s ease;
}
.pbj-card--link:hover { box-shadow: var(--pbj-shadow-hover); transform: translateY(-2px); }
.pbj-card--link:focus-within { outline: 2px solid var(--pbj-jelly); outline-offset: 2px; }
.pbj-card--link :where(h2, h3) a { color: inherit; text-decoration: none; }
.pbj-card--link :where(h2, h3) a:focus { outline: none; }
.pbj-card--link :where(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pbj-card .pbj-icon { display: block; }
.pbj-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--pbj-ink); letter-spacing: 0; }
.pbj-card__text { font-size: 15px; line-height: 1.55; }
.pbj-card--featured { grid-column: span 2; background: var(--pbj-mist); border: 1.5px solid #E2D8EC; padding: 30px; gap: 12px; }
.pbj-card--featured .pbj-card__title { font-size: 22px; font-weight: 800; }
.pbj-card--featured .pbj-card__text { font-size: 16px; line-height: 1.6; max-width: 560px; }
.pbj-card__tagline { font-family: var(--pbj-head); font-weight: 800; font-size: 18px; color: var(--pbj-pb-dark); }
.pbj-card__more { font-weight: 600; color: var(--pbj-jelly); font-size: 15px; }

/* ---------- Home: why ---------- */
.pbj-pillar { display: flex; flex-direction: column; gap: 10px; }
.pbj-pillar::before { content: ""; width: 40px; height: 4px; background: var(--pbj-pb); }
.pbj-pillar__title { font-family: var(--pbj-head); font-weight: 700; font-size: 18px; color: var(--pbj-ink); line-height: 1.3; }
.pbj-pillar__text { font-size: 15px; line-height: 1.6; }

/* ---------- Home: industries ---------- */
.pbj-industry { position: relative; border-top: 4px solid var(--pbj-jelly); padding: 24px 4px 4px; display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease; }
.pbj-industry.pbj-card--link:hover { box-shadow: none; transform: translateY(-2px); }
.pbj-industry__title { font-size: 20px; font-weight: 700; color: var(--pbj-ink); letter-spacing: 0; }
.pbj-industry__text { font-size: 15px; line-height: 1.6; }
.pbj-industry__meta { font-size: 13px; color: var(--pbj-muted); }

/* ---------- Home: wide ITAD card (v1.0.1) ---------- */
.pbj-card--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; }
.pbj-card-wide__main { display: flex; flex-direction: column; gap: 10px; }
.pbj-card-wide__main .pbj-card__more { margin-top: auto; }
.pbj-card-wide__side { display: flex; flex-direction: column; gap: 12px; }
.pbj-checkitem { display: flex; gap: 10px; align-items: flex-start; }
.pbj-checkitem .pbj-check { flex: none; margin-top: 2px; }
.pbj-checkitem p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.pbj-checkitem strong { color: var(--pbj-ink); }
.pbj-certs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px; }
.pbj-certs__label { font-size: 12px; font-weight: 600; color: var(--pbj-muted); margin-right: 2px; }
.pbj-pill { background: var(--pbj-mist); border: 1px solid #E2D8EC; color: var(--pbj-jelly); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
@media (max-width: 860px) {
	.pbj-card--wide { grid-column: auto; grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Home: ITAD band ---------- */
.pbj-itad { padding-block: 80px; }
.pbj-itad .pbj-split { align-items: center; }
.pbj-itad__list { gap: 12px; }
.pbj-itad-item {
	display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 18px 20px;
}
.pbj-itad-item__num { font-family: var(--pbj-head); font-weight: 800; font-size: 18px; color: var(--pbj-pb); width: 28px; flex-shrink: 0; }
.pbj-itad-item__text { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); font-weight: 400; }
.pbj-itad-item__text strong { color: #FFFFFF; font-weight: 600; }

/* ---------- Home: how it works ---------- */
.pbj-how { padding-block: 88px 48px; }
.pbj-how .pbj-section__inner { gap: 32px; }
.pbj-step { display: flex; gap: 16px; align-items: flex-start; }
.pbj-step__num {
	flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--pbj-jelly); color: #FFFFFF;
	font-family: var(--pbj-head); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.pbj-step__body { gap: 6px; }
.pbj-step__title { font-family: var(--pbj-head); font-weight: 700; font-size: 18px; color: var(--pbj-ink); }
.pbj-step__text { font-size: 15px; line-height: 1.55; }

/* ---------- Home: brands ---------- */
.pbj-brands { padding-block: 24px 72px; }
.pbj-brands__box { border-top: 1px solid var(--pbj-line); border-bottom: 1px solid var(--pbj-line); padding: 28px 0; gap: 16px; align-items: center; text-align: center; }
.pbj-brands__lead { font-size: 14px; font-weight: 600; color: var(--pbj-muted); }
.pbj-brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-family: var(--pbj-head); font-weight: 700; font-size: 18px; color: #8A8396; }
.pbj-brands__more { font-size: 14px; }
.pbj-brands__more a { color: var(--pbj-muted); text-decoration: none; }
.pbj-brands__more a:hover { color: var(--pbj-jelly); }

/* ---------- Home: testimonials ---------- */
.pbj-testimonials { padding-block: 8px 80px; }
.pbj-testimonials .pbj-section__inner { gap: 28px; }
.pbj-testimonial { background: var(--pbj-mist); border-radius: var(--pbj-radius); padding: 32px; gap: 16px; }
.pbj-testimonial__text { font-size: 19px; line-height: 1.55; color: var(--pbj-ink); }
.pbj-testimonial__cite { font-size: 14px; font-weight: 600; color: var(--pbj-muted); }

/* ---------- Quote section + form ---------- */
.pbj-quote__copy { gap: 16px; }
.pbj-quote__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.pbj-quote .pbj-section-intro { max-width: 460px; }
.pbj-quote__tagline { max-width: 460px; text-align: center; font-family: var(--pbj-head); font-weight: 800; font-size: 24px; color: var(--pbj-jelly); padding-top: 4px; }
.pbj-dot { color: var(--pbj-pb); }
.pbj-quote__contact { font-size: 16px; font-weight: 600; line-height: 2; padding-top: 8px; }
.pbj-quote__card { background: #FFFFFF; border-radius: var(--pbj-radius); padding: 28px; box-shadow: 0 2px 10px rgba(28, 20, 36, 0.06); }
.pbj-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pbj-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--pbj-ink); }
.pbj-field input[type="text"], .pbj-field input[type="email"], .pbj-field input[type="tel"], .pbj-field select, .pbj-field textarea {
	width: 100%; box-sizing: border-box; border: 1px solid #CFC7D8; border-radius: 8px; padding: 12px 14px;
	font: inherit; font-weight: 400; font-size: 15px; color: var(--pbj-ink); background: #FFFFFF;
}
.pbj-field :is(input, select, textarea):focus { outline: 2px solid var(--pbj-jelly); outline-offset: 1px; border-color: var(--pbj-jelly); }
.pbj-file input[type="file"] { font: inherit; font-weight: 400; font-size: 14px; padding: 10px; border: 1.5px dashed #CFC7D8; border-radius: 8px; background: var(--pbj-mist); }
.pbj-optional, .pbj-hint { font-weight: 400; color: var(--pbj-muted); }
.pbj-hint { font-size: 13px; }
.pbj-span2 { grid-column: span 2; }
.pbj-form__submit {
	background: var(--pbj-jelly); color: #FFFFFF; border: none; border-radius: 10px; padding: 16px;
	font-family: var(--pbj-head); font-weight: 700; font-size: 16px; cursor: pointer;
}
.pbj-form__submit:hover { background: var(--pbj-jelly-dark); }
.pbj-form__error { grid-column: 1 / -1; background: #FDECEC; border: 1px solid #E8B4B4; color: #8A1C1C; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.pbj-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pbj-form-done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 24px 0; }
.pbj-form-done p { margin: 0; font-size: 15px; line-height: 1.6; }
.pbj-form-done .pbj-form-done__title { font-family: var(--pbj-head); font-weight: 800; font-size: 22px; color: var(--pbj-ink); }
.pbj-form-done__again { display: inline-block; margin-top: 6px; border: 1.5px solid var(--pbj-jelly); color: var(--pbj-jelly); font-weight: 600; padding: 10px 16px; border-radius: 8px; text-decoration: none; }

/* ---------- CTA band ---------- */
.pbj-cta-band { padding-block: 56px; }
.pbj-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.pbj-cta-band .pbj-stack { gap: 8px; }
.pbj-cta-band__title { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; color: #FFFFFF; }
.pbj-cta-band__text { font-size: 17px; line-height: 1.55; color: #E3D4EF; }
.pbj-cta-band .wp-block-buttons { flex-shrink: 0; }

/* ---------- Page + blog heroes ---------- */
.pbj-page-hero { padding-block: 72px; }
.pbj-page-hero .pbj-stack { gap: 18px; }
.pbj-page-hero__title { font-size: clamp(36px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -0.015em; max-width: 820px; }
.is-ink .pbj-page-hero__title { color: #FFFFFF; }
.pbj-page-hero.is-ink .pbj-lead { max-width: 640px; }
.pbj-page-hero.is-mist { padding-block: 56px; }
.pbj-page-hero.is-mist .pbj-page-hero__title { color: var(--pbj-ink); font-size: clamp(32px, 4.2vw, 48px); }

/* ---------- Page content ---------- */
.pbj-page-content { padding: 56px 24px 72px; }
.pbj-page-content > .pbj-section { max-width: none; margin-inline: -24px !important; }
.pbj-page-content--wide { padding: 0; }
.pbj-page-content--wide > .pbj-section { margin-inline: 0 !important; }

/* ---------- Blog index ---------- */
.pbj-blog-list { padding-block: 48px 88px; }
.pbj-blog-list .pbj-section__inner { gap: 32px; }
.pbj-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pbj-chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pbj-chip-all a, .pbj-chip-list li a {
	display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 10px 16px;
	border-radius: 999px; border: 1.5px solid #D9CFE4; background: #FFFFFF; color: var(--pbj-jelly);
	font-size: 14px; font-weight: 600; text-decoration: none;
}
.pbj-chip-all a:hover, .pbj-chip-list li a:hover { border-color: var(--pbj-jelly); }
body.blog .pbj-chip-all a, .pbj-chip-list li.current-cat a { background: var(--pbj-jelly); border-color: var(--pbj-jelly); color: #FFFFFF; }
.pbj-chip-list li.cat-item-none { display: none; }

.pbj-post-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.pbj-post-grid > li { margin: 0; display: flex; }
body.blog:not(.paged) .pbj-post-grid > li:first-child { grid-column: span 2; }
.pbj-post-card { padding: 0; overflow: hidden; gap: 0; width: 100%; }
.pbj-post-card:hover { box-shadow: var(--pbj-shadow-hover); transform: translateY(-2px); }
.pbj-post-card:not(:has(.wp-block-post-featured-image)) { border-top: 6px solid var(--pbj-jelly); }
.pbj-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pbj-post-card__media a::after { content: none; }
.pbj-post-card__body { padding: 26px 28px 28px; gap: 12px; flex-grow: 1; }
.pbj-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--pbj-muted); }
.pbj-post-card__meta > * + *::before { content: "·"; margin-right: 10px; color: #8A8396; }
.pbj-post-card__meta .pbj-eyebrow { font-size: 13px; letter-spacing: 0.12em; position: relative; z-index: 1; }
.pbj-post-card__title { font-size: 22px; line-height: 1.22; letter-spacing: 0; }
.pbj-post-card__title a { color: var(--pbj-ink); text-decoration: none; }
.pbj-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.pbj-post-card { position: relative; }
body.blog:not(.paged) .pbj-post-grid > li:first-child .pbj-post-card__title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.18; }
.pbj-post-card__excerpt { font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.pbj-post-card__excerpt p { margin: 0; }
.pbj-post-card__excerpt .wp-block-post-excerpt__more-text { margin-top: auto; }
.pbj-post-card__excerpt .wp-block-post-excerpt__more-link { font-weight: 600; color: var(--pbj-jelly); text-decoration: none; }
.pbj-pagination { margin-top: 12px; gap: 8px; font-weight: 600; }
.pbj-pagination a, .pbj-pagination .page-numbers { text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.pbj-pagination .page-numbers.current { background: var(--pbj-jelly); color: #FFFFFF; }
.pbj-empty { font-size: 17px; }
.pbj-search { max-width: 560px; }

/* ---------- Single post ---------- */
.pbj-article__head { padding-block: 40px 48px; }
.pbj-article:has(.pbj-article__media) .pbj-article__head { padding-bottom: 120px; }
.pbj-article__head .pbj-stack { gap: 18px; }
.pbj-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--pbj-muted); }
.pbj-breadcrumb a { color: var(--pbj-jelly); text-decoration: none; font-weight: 600; }
.pbj-breadcrumb .wp-block-post-terms a { color: var(--pbj-muted); font-weight: 400; }
.pbj-article__eyebrow { letter-spacing: 0.16em; padding-top: 8px; }
.pbj-article__title { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; color: var(--pbj-ink); }
.pbj-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding-top: 6px; font-size: 14px; }
.pbj-byline__author { display: flex; align-items: center; gap: 12px; }
.pbj-byline__author .wp-block-post-author__avatar img { border-radius: 50%; display: block; }
.pbj-byline__author .wp-block-post-author__name { font-weight: 600; color: var(--pbj-ink); margin: 0; }
.pbj-byline__author .wp-block-post-author__content { display: flex; }
.pbj-byline__meta { display: flex; gap: 10px; color: var(--pbj-muted); }
.pbj-byline__meta > * + *::before { content: "·"; margin-right: 10px; }
.pbj-media { box-sizing: border-box; max-width: 1008px; margin: -88px auto 0 !important; padding-inline: 24px; }
.pbj-article:not(:has(.pbj-article__media)) .pbj-media { display: none; }
.pbj-article__media img { border-radius: var(--pbj-radius); width: 100%; height: 100%; object-fit: cover; display: block; }
.pbj-prose { padding: 48px 24px 24px; }
.pbj-prose > p, .pbj-prose li { font-size: 18px; line-height: 1.7; color: var(--pbj-body); }
.pbj-prose > p:first-child { font-size: 21px; line-height: 1.6; color: var(--pbj-ink); }
.pbj-prose > h2 { margin-top: 44px; margin-bottom: 14px; font-size: 28px; line-height: 1.2; color: var(--pbj-jelly); }
.pbj-prose > h3 { margin-top: 32px; color: var(--pbj-ink); }
.pbj-prose li::marker { color: var(--pbj-pb); }
.pbj-prose li { margin-bottom: 10px; }
.pbj-article__share { padding-top: 12px; padding-bottom: 16px; }
.pbj-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid var(--pbj-line); padding-top: 22px; font-size: 14px; color: var(--pbj-muted); }
.pbj-share__label { font-weight: 600; }
.pbj-share a, .pbj-share button {
	border: 1.5px solid #D9CFE4; border-radius: 8px; padding: 10px 14px; text-decoration: none; font: inherit; font-weight: 600;
	min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; color: var(--pbj-jelly); background: #FFFFFF; cursor: pointer;
}
.pbj-share a:hover, .pbj-share button:hover { border-color: var(--pbj-jelly); }
.pbj-article__cta { padding-top: 28px; padding-bottom: 72px; }
.pbj-post-cta { background: var(--pbj-ink); border-radius: var(--pbj-radius); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pbj-post-cta .pbj-stack { gap: 8px; }
.pbj-post-cta .pbj-eyebrow { color: var(--pbj-pb); font-size: 12px; }
.pbj-post-cta__title { font-family: var(--pbj-head); font-weight: 800; font-size: 26px; line-height: 1.2; color: #FFFFFF; }
.pbj-post-cta__text { font-size: 16px; line-height: 1.55; color: #DCD4E6; }
.pbj-post-cta .wp-block-buttons { flex-shrink: 0; }
.pbj-post-cta .wp-block-button__link { white-space: nowrap; }

/* Keep reading */
.pbj-keep { padding-block: 72px 80px; }
.pbj-keep .pbj-stack { gap: 28px; }
.pbj-keep__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pbj-keep .pbj-section-title { font-size: 28px; }
.pbj-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pbj-related .pbj-post-card { text-decoration: none; }
.pbj-related .pbj-post-card__media { aspect-ratio: 16 / 8; background: var(--pbj-jelly); }
.pbj-related .pbj-post-card__media--empty { background: var(--pbj-jelly) url("../img/pbj-icon-fullcolor.svg") center / 96px no-repeat; }
.pbj-related .pbj-post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; }
.pbj-related .pbj-eyebrow { font-size: 12px; letter-spacing: 0.12em; }
.pbj-related .pbj-post-card__title { font-family: var(--pbj-head); font-weight: 800; font-size: 20px; line-height: 1.25; color: var(--pbj-ink); }
.pbj-related .pbj-post-card__excerpt { font-size: 15px; color: var(--pbj-body); }
.pbj-ask-card { border: 1.5px dashed #CFC4DB; border-radius: var(--pbj-radius); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: #FFFFFF; }
.pbj-ask-card p { margin: 0; font-size: 15px; line-height: 1.6; }
.pbj-ask-card .pbj-ask-card__title { font-family: var(--pbj-head); font-weight: 800; font-size: 20px; line-height: 1.25; color: var(--pbj-ink); }
.pbj-ask-card a { font-weight: 600; }

/* ---------- 404 ---------- */
.pbj-404 { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.pbj-404__ghost {
	position: absolute; right: -60px; bottom: -150px; font-family: var(--pbj-head); font-weight: 900; font-size: 520px; line-height: 1;
	letter-spacing: -0.04em; color: #FFFFFF; opacity: 0.035; pointer-events: none;
}
.pbj-404__top { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; position: relative; }
.pbj-404__phone { font-size: 14px; font-weight: 600; }
.pbj-404__phone a { text-decoration: none; }
.pbj-404__grid { flex-grow: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; padding-block: 56px 72px; position: relative; }
.pbj-404__copy { gap: 22px; }
.pbj-404__num { font-family: var(--pbj-head); font-weight: 900; font-size: clamp(96px, 13vw, 168px); line-height: 0.9; letter-spacing: -0.04em; color: var(--pbj-pb); }
.pbj-404__title { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; color: #FFFFFF; }
.pbj-404 .pbj-lead { font-size: 18px; max-width: 480px; }
.pbj-404__art { justify-self: center; width: 100%; max-width: 460px; }
.pbj-404__art img { width: 100%; height: auto; display: block; }
.pbj-404__foot { padding-bottom: 28px; font-size: 13px; color: #A99FB6; position: relative; }
.pbj-404__foot a { font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.pbj-footer { background: var(--pbj-ink); color: #CFC6DB; }
.pbj-footer__inner { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 36px; }
.pbj-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.pbj-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; justify-self: start; }
.pbj-footer__logo img { height: 96px; width: auto; display: block; }
.pbj-footer__tagline { font-family: var(--pbj-head); font-weight: 700; font-size: 14px; color: var(--pbj-pb); }
.pbj-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.pbj-footer__head { font-weight: 600; color: #FFFFFF; margin-bottom: 4px !important; }
.pbj-footer a { color: #CFC6DB; text-decoration: none; }
.pbj-footer a:hover { color: #FFFFFF; }
.pbj-footer__contact a { color: #FFFFFF; }
.pbj-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: #A99FB6; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.pbj-nav { order: 3; flex: 0 0 auto; }
	.pbj-header__actions { order: 2; margin-left: auto; }
	.pbj-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.pbj-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 860px) {
	.pbj-section { padding-block: 64px; }
	.pbj-proof { padding-block: 28px; }
	.pbj-hero { padding-block: 56px 64px; }
	.pbj-hero__grid, .pbj-split, .pbj-404__grid { grid-template-columns: 1fr; }
	.pbj-split { gap: 36px; }
	.pbj-hero__art { display: none; }
	.pbj-grid-3 { grid-template-columns: 1fr; }
	.pbj-grid-4, .pbj-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pbj-grid-2, .pbj-related { grid-template-columns: 1fr; }
	.pbj-card--featured { grid-column: auto; }
	.pbj-cta-band__inner, .pbj-post-cta { flex-direction: column; align-items: flex-start; }
	.pbj-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pbj-404__grid { gap: 48px; }
	.pbj-prose > p, .pbj-prose li { font-size: 17px; }
	.pbj-prose > h2 { font-size: 24px; }
}
@media (max-width: 600px) {
	.pbj-header__bar { gap: 12px; }
	.pbj-logo img { height: 48px; }
}
@media (max-width: 520px) {
	.pbj-header__phone { display: none; }
	.pbj-header__cta .wp-block-button__link { padding: 11px 14px; }
	.pbj-footer__cols, .pbj-post-grid { grid-template-columns: 1fr; }
	body.blog:not(.paged) .pbj-post-grid > li:first-child { grid-column: auto; }
	.pbj-form { grid-template-columns: 1fr; }
	.pbj-span2 { grid-column: auto; }
	.pbj-quote__card { padding: 20px; }
	.pbj-testimonial { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.pbj-card, .pbj-industry { transition: none; }
	.pbj-card--link:hover, .pbj-post-card:hover, .pbj-industry.pbj-card--link:hover { transform: none; }
}

/* ---------- Parallax: hero splat + ITAD watermark (v1.0.4) ---------- */
/* theme.js sets --pbj-par on scroll (desktop only, off for reduced motion). */
.pbj-hero__art img { transform: translate3d(0, var(--pbj-par, 0px), 0) rotate(var(--pbj-rot, 0deg)); will-change: transform; }
.pbj-itad { position: relative; overflow: hidden; isolation: isolate; }
.pbj-itad::before {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	width: 760px; height: 760px; right: -160px; top: 50%; margin-top: -380px;
	background: url("../img/pbj-icon-fullcolor.svg") center / contain no-repeat;
	opacity: 0.13;
	transform: translate3d(0, var(--pbj-par, 0px), 0) rotate(calc(-12deg + var(--pbj-rot, 0deg)));
	will-change: transform;
}
@media (max-width: 860px) {
	.pbj-itad::before { width: 380px; height: 380px; right: -150px; margin-top: -190px; }
}

/* ---------- Sourcing & Procurement page (v1.0.8) ---------- */
.pbj-src-hero { padding-block: 72px 80px; overflow: hidden; }
.pbj-src-hero .pbj-hero__copy { gap: 20px; }
.pbj-src-hero .pbj-lead { max-width: 600px; }
.pbj-src-hero .wp-block-buttons { padding-top: 4px; }
.pbj-src-hero__art img { width: min(320px, 100%); }
.pbj-src-cats .pbj-card { gap: 12px; }
.pbj-src-eng .pbj-split { align-items: center; }
.pbj-src-eng .pbj-section-intro { max-width: 520px; }
.pbj-src-beyond { padding-block: 72px; }
.pbj-src-beyond__box { max-width: 720px; margin-inline: auto !important; text-align: center; align-items: center; gap: 12px; }
.pbj-src-how { padding-block: 88px; }
.pbj-src-def .pbj-split { align-items: center; }
.pbj-src-def__position { font-family: var(--pbj-head); font-weight: 700; font-size: 20px; line-height: 1.35; color: #FFFFFF; }
.pbj-gov { border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); border-radius: var(--pbj-radius); padding: 8px 28px; }
.pbj-gov__row { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); align-items: baseline; }
.pbj-gov__row:last-child { border-bottom: 0; }
.pbj-gov__label { font-family: var(--pbj-head); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pbj-pb); }
.pbj-gov__value { font-size: 17px; font-weight: 600; color: #FFFFFF; }
@media (max-width: 860px) {
	.pbj-src-hero { padding-block: 56px 64px; }
	.pbj-src-beyond { padding-block: 56px; }
	.pbj-gov { padding: 4px 20px; }
	.pbj-gov__row { grid-template-columns: 70px 1fr; }
}

/* ---------- ITAD page (v1.0.10) ---------- */
.pbj-itad-hero__note { font-size: 14px; color: #B9AEC7; }
.pbj-itad-strip { padding-block: 32px; }
.pbj-itad-strip .pbj-grid-4 { gap: 24px; }
.pbj-itad-strip__item { position: relative; padding-top: 14px; font-family: var(--pbj-head); font-weight: 700; font-size: 16px; line-height: 1.35; color: #FFFFFF; }
.pbj-itad-strip__item::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 3px; background: var(--pbj-pb); }
.pbj-itad-risk__card { border-top: 4px solid var(--pbj-jelly); }
.pbj-itad-how { padding-block: 88px; }
.pbj-itad-how .pbj-step { flex-direction: column; gap: 14px; }
.pbj-itad-how .pbj-step__num { background: var(--pbj-pb); color: var(--pbj-ink); }
.pbj-itad-how .pbj-step__title { color: #FFFFFF; }
.pbj-itad-how .pbj-step__text { color: #DCD4E6; }
.pbj-cert { border: 1px solid var(--pbj-card-line); border-radius: var(--pbj-radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; background: #FFFFFF; }
.pbj-cert__name { font-family: var(--pbj-head); font-weight: 800; font-size: 20px; color: var(--pbj-jelly); line-height: 1.2; }
.pbj-cert__text { font-size: 15px; line-height: 1.55; }
.pbj-cert--standard { background: var(--pbj-mist); border-style: dashed; border-color: #CDBFDD; }
.pbj-cert__tag { font-family: var(--pbj-head); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pbj-pb-dark); }
.pbj-cert__foot { font-size: 13.5px; color: var(--pbj-muted); }
.pbj-faq { display: flex; flex-direction: column; gap: 12px; }
.pbj-faq__item { background: #FFFFFF; border: 1px solid var(--pbj-card-line); border-radius: 12px; padding: 0 22px; }
.pbj-faq__q { cursor: pointer; list-style: none; position: relative; padding: 18px 32px 18px 0; font-family: var(--pbj-head); font-weight: 700; font-size: 17px; color: var(--pbj-ink); }
.pbj-faq__q::-webkit-details-marker { display: none; }
.pbj-faq__q::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 600; color: var(--pbj-jelly); }
.pbj-faq__item[open] .pbj-faq__q::after { content: "\2013"; }
.pbj-faq__q:focus-visible { outline: 2px solid var(--pbj-jelly); outline-offset: 4px; border-radius: 4px; }
.pbj-faq__a { margin: 0 0 20px !important; font-size: 16px; line-height: 1.6; }
.pbj-itad-quote .pbj-quote__card { background: var(--pbj-mist); }
.pbj-quote__line { font-size: 15px; color: var(--pbj-muted); }
.pbj-quote__formtitle { font-size: 20px; font-weight: 800; color: var(--pbj-ink); margin-bottom: 16px !important; }
@media (max-width: 860px) {
	.pbj-itad-strip .pbj-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pbj-itad-how .pbj-grid-4 { grid-template-columns: 1fr; }
	.pbj-itad-how .pbj-step { flex-direction: row; }
}
@media (max-width: 520px) {
	.pbj-itad-strip .pbj-grid-4 { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Defense & Government page (v1.0.11) ---------- */
.pbj-def-hero__position { font-family: var(--pbj-head); font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--pbj-pb); }
.pbj-def-hero__trust { font-size: 14px; color: #B9AEC7; letter-spacing: 0.01em; }
.pbj-def-card { border-top: 4px solid var(--pbj-jelly); gap: 10px; }
.pbj-def-source__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pbj-def-source__note { background: var(--pbj-mist); border-radius: 12px; padding: 18px 22px; font-size: 16px; line-height: 1.55; }
.pbj-def-source__note strong { color: var(--pbj-ink); }
.pbj-def-source__close { font-family: var(--pbj-head); font-weight: 700; font-size: 18px; color: var(--pbj-ink); }
.pbj-def-source__close a { color: var(--pbj-jelly); margin-left: 6px; white-space: nowrap; }
.pbj-def-win { border-top: 4px solid var(--pbj-pb); gap: 10px; }
.pbj-def-win__outcome { font-family: var(--pbj-head); font-weight: 700; font-size: 16px; color: var(--pbj-jelly); margin-top: auto !important; }
.pbj-def-vendor__inner { align-items: start; }
.pbj-def-vendor__head { position: sticky; top: 24px; }
.pbj-gov--light { background: #FFFFFF; border-color: var(--pbj-card-line); }
.pbj-gov--light .pbj-gov__row { grid-template-columns: 150px 1fr; border-bottom-color: var(--pbj-line); padding: 14px 0; }
.pbj-gov--light .pbj-gov__label { color: var(--pbj-pb-dark); font-size: 12px; }
.pbj-gov--light .pbj-gov__value { color: var(--pbj-ink); font-size: 16px; font-weight: 600; }
.pbj-gov--light .pbj-gov__value a { color: var(--pbj-jelly); }
.pbj-faq__a a { color: var(--pbj-jelly); font-weight: 600; }
@media (max-width: 860px) {
	.pbj-def-source__notes { grid-template-columns: 1fr; gap: 12px; }
	.pbj-def-vendor__head { position: static; }
	.pbj-gov--light .pbj-gov__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Industries dropdown in the header nav (v1.0.12) ---------- */
.pbj-nav .wp-block-navigation__submenu-container {
	background: #FFFFFF !important; color: var(--pbj-ink) !important;
	border: 1px solid var(--pbj-card-line) !important; border-radius: 12px;
	box-shadow: 0 12px 28px rgba(28, 20, 36, 0.12); padding: 8px 0; min-width: 230px !important;
}
.pbj-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 18px !important; white-space: nowrap; }
.pbj-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--pbj-mist); color: var(--pbj-jelly); }
.pbj-nav .wp-block-navigation__submenu-icon { margin-left: 4px; }
.pbj-nav .wp-block-navigation__submenu-icon svg { stroke: currentColor; }
@media (max-width: 600px) {
	.pbj-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		border: 0 !important; box-shadow: none; padding: 0 0 0 16px; min-width: 0 !important; background: transparent !important;
	}
}

/* ---------- Enterprise page (v1.0.13) ---------- */
.pbj-ent-handle .pbj-def-card { background: #FFFFFF; }
.pbj-ent-sol__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pbj-ent-sol__col { border-top: 4px solid var(--pbj-jelly); gap: 12px; }
.pbj-ent-sol__list { margin: 4px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.6; color: var(--pbj-ink); }
.pbj-ent-sol__list li { margin-bottom: 6px; }
.pbj-ent-sol__list li::marker { color: var(--pbj-pb); }
@media (max-width: 860px) {
	.pbj-ent-sol__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Mid-Market page (v1.0.14) ----------
   Reuses the Enterprise classes (pbj-ent-*), so it needs almost nothing new.
   Testimonials sit between how-it-works and the ITAD band (mist, see below). */
.pbj-mm-handle .pbj-def-card { background: #FFFFFF; }
/* Mid-Market section rhythm: why (mist) → how (white) → testimonials (mist) → ITAD (ink). */
.pbj-mm-why ~ .pbj-testimonials { background: var(--pbj-mist); padding-block: 80px; }

/* ---------- Industries overview page (v1.0.15) ----------
   Reuses def/ent/mm hero, proof, why, ITAD, FAQ, quote classes.
   Rhythm: hero (ink) → proof (jelly) → cards (white) → why (mist) → how (white) → testimonials (mist) → ITAD (ink) → FAQ (mist) → quote (white). */
.pbj-ind-cards .pbj-section-intro { max-width: 640px; }
.pbj-ind-card { gap: 12px; }
.pbj-ind-card__hook { font-family: var(--wp--preset--font-family--heading, Montserrat, Arial, sans-serif); font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--pbj-jelly); }
.pbj-ind-card__more { margin-top: auto; padding-top: 4px; color: var(--pbj-pb-dark); }
.pbj-ind-card:hover .pbj-ind-card__more { text-decoration: underline; }
.pbj-ind-why ~ .pbj-testimonials { background: var(--pbj-mist); padding-block: 80px; }

/* ---------- Partners page (v1.0.17) ----------
   Rhythm: hero (ink) → periodic table (mist) → manufacturer list (white) → how-to-buy cards (mist) → handout (ink) → quote (white).
   Tile colors use the site palette (jelly / peanut butter). The printed line card uses Grape/Gold. */
.pbj-pt-hero .wp-block-button.is-style-ghost .wp-block-button__link { color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.pbj-pt-hero .wp-block-button.is-style-ghost .wp-block-button__link:hover { background: #FFFFFF; color: var(--pbj-ink); }

.pbj-pt--srv { --pt-bg: var(--pbj-jelly); --pt-fg: #FFFFFF; --pt-top: #E3D4EF; }
.pbj-pt--sto { --pt-bg: var(--pbj-pb); --pt-fg: var(--pbj-ink); --pt-top: var(--pbj-ink); }
.pbj-pt--net { --pt-bg: #E7D6F3; --pt-fg: var(--pbj-ink); --pt-top: var(--pbj-jelly); }
.pbj-pt--sec { --pt-bg: #3B3E46; --pt-fg: #FFFFFF; --pt-top: #D9D6DE; }
.pbj-pt--pwr { --pt-bg: #F3E6D2; --pt-fg: var(--pbj-ink); --pt-top: var(--pbj-pb-dark); }
.pbj-pt--sw  { --pt-bg: #FFFFFF; --pt-fg: var(--pbj-jelly); --pt-top: var(--pbj-jelly); --pt-border: 1.5px solid var(--pbj-jelly); }
.pbj-pt--you { --pt-bg: var(--pbj-ink); --pt-fg: #FFFFFF; --pt-top: var(--pbj-pb); --pt-sym: var(--pbj-pb); }
.pbj-pt--eol { --pt-bg: #FFFFFF; --pt-fg: var(--pbj-ink); --pt-top: var(--pbj-pb-dark); --pt-sym: var(--pbj-pb-dark); --pt-border: 2px dashed var(--pbj-pb-dark); }

.pbj-pt-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(96px, auto); gap: 8px; }
.pbj-pt-tiles { display: contents; list-style: none; margin: 0; padding: 0; }
.pbj-pt-tile {
	grid-row: var(--r); grid-column: var(--c); margin: 0 !important;
	background: var(--pt-bg); color: var(--pt-fg); border: var(--pt-border, 0); border-radius: 10px;
	padding: 7px 8px; box-sizing: border-box; display: flex; flex-direction: column; min-width: 0;
}
.pbj-pt-tile__top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--pt-top); }
.pbj-pt-tile__sym { font-family: var(--pbj-head); font-weight: 800; font-size: 28px; line-height: 1.05; margin-top: 2px; color: var(--pt-sym, var(--pt-fg)); }
.pbj-pt-tile__name { margin-top: auto; font-size: 12px; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.pbj-pt-title { grid-row: 1; grid-column: 3 / span 8; display: flex; flex-direction: column; gap: 6px; justify-content: center; padding-inline: 12px; }
.pbj-pt-title .pbj-section-title { font-size: clamp(26px, 2.8vw, 36px); }
.pbj-pt-title__intro { font-size: 16px; line-height: 1.5; max-width: 640px; }
.pbj-pt-key { grid-row: 2 / span 2; grid-column: 3 / span 4; background: #FFFFFF; border: 1px solid var(--pbj-card-line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.pbj-pt-key__label { font-family: var(--pbj-head); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pbj-pb-dark); }
.pbj-pt-key__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 13px; line-height: 1.3; }
.pbj-pt-key__list li { display: flex; align-items: center; gap: 8px; margin: 0; }
.pbj-pt-key__list b { font-weight: 700; color: var(--pbj-ink); }
.pbj-pt-swatch { width: 18px; height: 18px; flex: none; border-radius: 4px; background: var(--pt-bg); border: var(--pt-border, 0); box-sizing: border-box; }
.pbj-pt-key__note { margin-top: auto !important; font-size: 13px; line-height: 1.4; color: var(--pbj-body); }
.pbj-pt-foot { font-size: 13px; color: var(--pbj-muted); }
.pbj-pt-table .pbj-section__inner { gap: 16px; }

.pbj-pt-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 18px; }
.pbj-pt-col__head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin: 0 0 10px;
	font-family: var(--pbj-head); font-size: 14px; font-weight: 800; line-height: 1.2;
	background: var(--pt-bg); color: var(--pt-fg); border: var(--pt-border, 0); border-radius: 8px; padding: 8px 10px;
}
.pbj-pt-col__head span:last-child { font-size: 11px; font-weight: 600; color: var(--pt-top); }
.pbj-pt-col ul { list-style: none; margin: 0; padding: 0 0 0 2px; font-size: 15px; line-height: 1.75; color: var(--pbj-body); }
.pbj-pt-col li { margin: 0; }

.pbj-pt-card .pbj-card__text { font-size: 15px; }

.pbj-pt-handout__grid { align-items: center; }
.pbj-pt-handout__meta { font-size: 14px; color: #B9AEC6; }
.pbj-pt-handout__preview { position: relative; display: block; aspect-ratio: 1056 / 816; margin: 12px 24px 24px 0; }
.pbj-pt-handout__preview img { position: absolute; width: 92%; height: auto; border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.35); transition: transform .2s ease; }
.pbj-pt-handout__back { right: 0; bottom: -6%; transform: rotate(3deg); opacity: .9; }
.pbj-pt-handout__front { left: 0; top: 0; }
.pbj-pt-handout__preview:hover .pbj-pt-handout__front { transform: translateY(-4px); }
.pbj-pt-handout__preview:focus-visible { outline: 2px solid var(--pbj-pb); outline-offset: 6px; border-radius: 8px; }

@media (max-width: 1000px) {
	.pbj-pt-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(88px, auto); }
	.pbj-pt-tile { grid-row: auto; grid-column: auto; }
	.pbj-pt-title, .pbj-pt-key { grid-row: auto; grid-column: 1 / -1; padding-inline: 0; }
	.pbj-pt-key { padding: 14px 16px; }
	.pbj-pt-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.pbj-pt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
	.pbj-pt-tile__sym { font-size: 24px; }
	.pbj-pt-tile__name { font-size: 11px; }
	.pbj-pt-key__list { grid-template-columns: 1fr; }
	.pbj-pt-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.pbj-pt-col ul { font-size: 14px; }
	.pbj-pt-handout__preview { margin: 8px 12px 20px 0; }
}

/* ---------- About page (v1.0.18) ----------
   Rhythm: hero (ink) → proof (jelly) → story + founder card (white) → why (mist) → what we do (white) → who we serve (mist) → credentials (white) → testimonials (mist) → ITAD (ink) → quote (white).
   The founder card is dark and labeled on purpose so it never reads as a customer testimonial. */
.pbj-ab-story__grid { align-items: center; grid-template-columns: 1.15fr 1fr; }
.pbj-ab-story__text { font-size: 18px; line-height: 1.7; color: var(--pbj-body); margin: 0; }
.pbj-ab-founder { margin: 0; background: var(--pbj-ink); color: #FFFFFF; border-radius: var(--pbj-radius); border-left: 6px solid var(--pbj-pb); padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.pbj-ab-founder__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pbj-pb-light); }
.pbj-ab-founder__quote { margin: 0; padding: 0; border: 0; }
.pbj-ab-founder__quote p { margin: 0; font-family: var(--pbj-head); font-size: 22px; font-weight: 700; line-height: 1.45; color: #FFFFFF; }
.pbj-ab-founder__cite { font-size: 14px; color: #B9AEC6; }
.pbj-ab-founder__cite::before { content: "— "; }
.pbj-ab-card { display: flex; flex-direction: column; gap: 12px; }
.pbj-ab-card__more { margin-top: auto; padding-top: 4px; color: var(--pbj-pb-dark); }
.pbj-ab-card:hover .pbj-ab-card__more { text-decoration: underline; }
.pbj-ab-vendor ~ .pbj-testimonials .pbj-testimonial { background: #FFFFFF; }
@media (max-width: 860px) {
	.pbj-ab-story__grid { grid-template-columns: 1fr; }
	.pbj-ab-story__text { font-size: 17px; }
	.pbj-ab-founder { padding: 28px 24px 24px; }
	.pbj-ab-founder__quote p { font-size: 19px; }
}

/* ---------- Defense hero: rotating photo + rolling splat (v1.0.22) ---------- */
/* An inline script in patterns/def-hero.php adds html.pbj-def-hero-b on alternate visits, so only one photo downloads. */
.pbj-def-hero { position: relative; isolation: isolate; min-height: 600px; display: flex; align-items: center; }
.pbj-def-hero > .pbj-wrap { position: relative; z-index: 2; width: 100%; }
.pbj-def-hero__photo {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: var(--pbj-ink) url("../img/def-hero-a1-laptop.jpg") 60% 55% / cover no-repeat;
}
html.pbj-def-hero-b .pbj-def-hero__photo { background-image: url("../img/def-hero-b1-ramp.jpg"); background-size: 115% auto; background-position: 0% 55%; }
.pbj-def-hero__photo::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(28,20,36,0.72) 0%, rgba(28,20,36,0.62) 40%, rgba(28,20,36,0.12) 100%);
}
.pbj-def-hero .pbj-hero__art { align-self: start; justify-content: flex-end; }
.pbj-def-hero .pbj-hero__art img { width: 190px; }
/* Splat rolls (default) or drips (?splat=drip) down the hero; theme.js sets the variables. */
.pbj-hero--roll .pbj-hero__art img {
	transform: translate3d(0, var(--pbj-par, 0px), 0) rotate(var(--pbj-rot, 0deg)) scale(var(--pbj-sx, 1), var(--pbj-sy, 1));
	transform-origin: 50% 50%;
}
html.pbj-splat-drip .pbj-hero--roll .pbj-hero__art img { transform-origin: 50% 0; }
@media (max-width: 1100px) {
	html.pbj-def-hero-b .pbj-def-hero__photo { background-size: cover; background-position: 45% 55%; }
}
@media (max-width: 860px) {
	.pbj-def-hero { min-height: 0; }
	.pbj-def-hero__photo { background-position: 78% 60%; }
	html.pbj-def-hero-b .pbj-def-hero__photo { background-position: 70% 60%; }
	.pbj-def-hero__photo::after { background: rgba(28,20,36,0.74); }
}

/* ---------- Enterprise + Mid-Market heroes: rotating photo + rolling splat (v1.0.23) ---------- */
/* Same system as Defense (v1.0.22). ent-hero.php / mm-hero.php add html.pbj-hero-b on alternate visits (keys pbjEntHero / pbjMmHero). */
.pbj-def-hero__photo.pbj-hero-photo--ent { background-image: url("../img/ent-hero-a-datacenter.jpg"); background-size: cover; background-position: 60% 50%; }
html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--ent { background-image: url("../img/ent-hero-b-dock.jpg"); background-position: 70% 55%; }
.pbj-def-hero__photo.pbj-hero-photo--mm { background-image: url("../img/mm-hero-a-serverroom.jpg"); background-size: cover; background-position: 60% 40%; }
html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--mm { background-image: url("../img/mm-hero-b-desk.jpg"); background-position: 55% 45%; }
@media (max-width: 860px) {
	.pbj-def-hero__photo.pbj-hero-photo--ent { background-position: 75% 50%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--ent { background-position: 82% 55%; }
	.pbj-def-hero__photo.pbj-hero-photo--mm { background-position: 72% 40%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--mm { background-position: 85% 45%; }
}

/* v1.0.24: on Enterprise + Mid-Market the people in the photos stand top right, so the splat starts at the left edge of the art column instead (mm-hero also carries .pbj-ent-hero). */
.pbj-ent-hero .pbj-hero__art { justify-content: flex-start; }

/* ---------- Industries overview hero (v1.0.25, B changed v1.0.26): a three-panel strip linking to the 3 pages. A = each page's first photo, B = each page's second photo ---------- */
/* ind-hero also carries .pbj-def-hero + .pbj-ent-hero, so it shares their hero CSS (and the v1.0.24 splat-left rule). */
.pbj-def-hero__photo.pbj-hero-photo--ind { background-image: none; }
.pbj-ind-strip {
	display: flex; gap: 4px; position: absolute; top: 0; bottom: 0; left: 54%; right: 0;
	background: var(--pbj-pb); pointer-events: auto; z-index: 3;
}
.pbj-ind-strip__panel { position: relative; flex: 1 1 0; min-width: 0; background: var(--pbj-ink) center / cover no-repeat; text-decoration: none; }
html:not(.pbj-hero-b) .pbj-ind-strip__panel--def { background-image: url("../img/def-hero-b1-ramp.jpg"); background-position: 48% 55%; }
html:not(.pbj-hero-b) .pbj-ind-strip__panel--ent { background-image: url("../img/ent-hero-a-datacenter.jpg"); background-position: 70% 50%; }
html:not(.pbj-hero-b) .pbj-ind-strip__panel--mm { background-image: url("../img/mm-hero-a-serverroom.jpg"); background-position: 70% 40%; }
html.pbj-hero-b .pbj-ind-strip__panel--def { background-image: url("../img/def-hero-a1-laptop.jpg"); background-position: 80% 55%; }
html.pbj-hero-b .pbj-ind-strip__panel--ent { background-image: url("../img/ent-hero-b-dock.jpg"); background-position: 66% 50%; }
html.pbj-hero-b .pbj-ind-strip__panel--mm { background-image: url("../img/mm-hero-b-desk.jpg"); background-position: 68% 50%; }
.pbj-ind-strip__panel::before { content: ""; position: absolute; inset: 0; background: rgba(28,20,36,0.25); transition: background-color .2s ease; }
.pbj-ind-strip__panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(0deg, rgba(28,20,36,0.85), rgba(28,20,36,0)); }
.pbj-ind-strip__panel:hover::before, .pbj-ind-strip__panel:focus-visible::before { background: rgba(28,20,36,0.05); }
.pbj-ind-strip__panel:focus-visible { outline: 3px solid var(--pbj-pb); outline-offset: -3px; }
.pbj-ind-strip__label { position: absolute; z-index: 1; left: 20px; right: 12px; bottom: 20px; font-family: var(--pbj-head); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #D9B98A; }
/* Strip view: solid Midnight behind the copy, panels carry their own light overlay. */
.pbj-hero-photo--ind::after { background: var(--pbj-ink); right: 46%; }
/* Let clicks reach the panels through the (empty) art column; the copy stays clickable. */
.pbj-ind-hero > .pbj-wrap { pointer-events: none; }
.pbj-ind-hero .pbj-hero__copy { pointer-events: auto; }
.pbj-ind-hero .pbj-hero__art { position: relative; z-index: 4; }
@media (max-width: 860px) {
	.pbj-ind-strip { left: 0; gap: 0; pointer-events: none; }
	.pbj-ind-strip__panel--ent, .pbj-ind-strip__panel--mm, .pbj-ind-strip__label { display: none; }
	.pbj-hero-photo--ind::after { right: 0; background: rgba(28,20,36,0.74); z-index: 4; }
}

/* ---------- Sourcing & Procurement hero: rotating photo + rolling splat (v1.0.27) ---------- */
/* sourcing-hero.php adds html.pbj-hero-b on alternate visits (key pbjSrcHero). Section also carries .pbj-def-hero + .pbj-ent-hero, so it shares their hero CSS (splat starts left of the art column). */
.pbj-def-hero__photo.pbj-hero-photo--src { background-image: url("../img/src-hero-a-lift.jpg"); background-size: cover; background-position: 70% 8%; }
html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--src { background-image: url("../img/src-hero-b-bench.jpg"); background-position: 70% 40%; }
@media (max-width: 860px) {
	.pbj-def-hero__photo.pbj-hero-photo--src { background-position: 74% 10%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--src { background-position: 88% 40%; }
}

/* ---------- ITAD hero: rotating photo + rolling splat (v1.0.28) ---------- */
/* itad-hero.php adds html.pbj-hero-b on alternate visits (key pbjItadHero). Shares the .pbj-def-hero / .pbj-ent-hero hero CSS. */
.pbj-def-hero__photo.pbj-hero-photo--itad { background-image: url("../img/itad-hero-a-decom.jpg"); background-size: cover; background-position: 75% 45%; }
html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--itad { background-image: url("../img/itad-hero-b-cage.jpg"); background-position: 70% 45%; }
@media (max-width: 860px) {
	.pbj-def-hero__photo.pbj-hero-photo--itad { background-position: 85% 45%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--itad { background-position: 74% 45%; }
}

/* ---------- Partners hero: rotating photo + rolling splat (v1.0.29) ---------- */
/* pt-hero.php adds html.pbj-hero-b on alternate visits (key pbjPtHero). Shares the .pbj-def-hero / .pbj-ent-hero hero CSS. */
.pbj-def-hero__photo.pbj-hero-photo--pt { background-image: url("../img/pt-hero-a-handshake.jpg"); background-size: cover; background-position: 70% 45%; }
html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--pt { background-image: url("../img/pt-hero-b-walk.jpg"); background-position: 70% 30%; }
@media (max-width: 860px) {
	.pbj-def-hero__photo.pbj-hero-photo--pt { background-position: 82% 45%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--pt { background-position: 80% 30%; }
}

/* ---------- About hero: rotating photo + rolling splat (v1.0.30) ---------- */
/* ab-hero.php adds html.pbj-hero-b on alternate visits (key pbjAbHero). Shares the .pbj-def-hero / .pbj-ent-hero hero CSS. */
.pbj-def-hero__photo.pbj-hero-photo--ab { background-image: url("../img/about-hero-a-window.jpg"); background-size: cover; background-position: 70% 35%; }
html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--ab { background-image: url("../img/about-hero-b-table.jpg"); background-position: 70% 45%; }
@media (max-width: 860px) {
	.pbj-def-hero__photo.pbj-hero-photo--ab { background-position: 78% 35%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--ab { background-position: 76% 45%; }
}

/* ---------- Blog index hero: rotating photo + rolling splat (v1.0.31, government procurement theme) ---------- */
/* blog-hero.php adds html.pbj-hero-b on alternate visits (key pbjBlogHero). Shares the .pbj-def-hero / .pbj-ent-hero hero CSS. */
.pbj-def-hero__photo.pbj-hero-photo--blog { background-image: url("../img/blog-hero-a-desk.jpg"); background-size: cover; background-position: 70% 40%; }
html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--blog { background-image: url("../img/blog-hero-b-huddle.jpg"); background-position: 70% 35%; }
@media (max-width: 860px) {
	.pbj-def-hero__photo.pbj-hero-photo--blog { background-position: 80% 40%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--blog { background-position: 80% 35%; }
}

/* ---------- One splat position on every interior photo hero (v1.0.32) ----------
   Steve (Oct 13): the splat should sit in the same place on Sourcing, ITAD, Industries, Defense, Enterprise, Mid-Market, Partners, About and Blog.
   The hero grid now fills the hero's full height: the copy stays vertically centered, and the splat pins to the top of the art column
   (left edge of the column; 794px from the left and 72px from the hero top at 1440 wide). Defense now starts left like the rest.
   Desktop only (the art is hidden at 860px and below). */
@media (min-width: 861px) {
	.pbj-page-hero.pbj-def-hero { align-items: stretch; }
	.pbj-page-hero.pbj-def-hero > .pbj-hero__grid { align-items: center; }
	.pbj-page-hero.pbj-def-hero .pbj-hero__art { align-self: start; justify-content: flex-start; }
	/* Nudge three photos right so no one is standing where the splat sits. */
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--ab { background-size: 120% auto; background-position: 0% 40%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--blog { background-size: 104% auto; background-position: 0% 35%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--pt { background-size: 108% auto; background-position: 0% 30%; }
}

/* ---------- Splat on tablet-landscape and laptop widths (v1.0.33) ----------
   Between 861px and 1439px the photos show more of their height, so people's heads rise into the splat's spot.
   Same spot on every page, just smaller (130px) and 44px higher, so it sits above head height. 1440px and up keeps v1.0.32 (190px). */
@media (min-width: 861px) and (max-width: 1439px) {
	.pbj-page-hero.pbj-def-hero .pbj-hero__art img { width: 130px; }
	.pbj-page-hero.pbj-def-hero .pbj-hero__art { margin-top: -44px; }
}

/* ---------- Procurement services: Sourcing section + Defense callout (v1.0.45) ---------- */
.pbj-src-proc .pbj-section-head { max-width: 760px; }
.pbj-src-proc .pbj-pillar__title { color: #FFFFFF; }
.pbj-src-proc .pbj-pillar__text { color: #DCD4E6; }
.pbj-src-proc .pbj-grid-4 { gap: 32px; }
.pbj-src-proc__more { margin: 0; font-family: var(--pbj-head); font-weight: 700; }
.pbj-src-proc__more a { text-decoration: none; }
.pbj-def-proc { padding-block: 48px; }
.pbj-def-proc__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.pbj-def-proc__copy { max-width: 720px; gap: 10px; }
.pbj-def-proc__copy p { margin: 0; color: #EDE5F5; font-size: 17px; line-height: 1.55; }
.pbj-def-proc__link { margin: 0; font-family: var(--pbj-head); font-weight: 700; white-space: nowrap; }
.pbj-def-proc__link a { color: #FFFFFF; text-decoration: none; border-bottom: 2px solid var(--pbj-pb); padding-bottom: 2px; }
.pbj-def-proc__link a:hover { color: var(--pbj-pb); }

/* ---------- Procurement Services page (v1.0.46) ---------- */
/* Hero photos reused from About (A, rep + customer over a parts list) and Enterprise (B, dock) until a dedicated Canva image exists. */
.pbj-def-hero__photo.pbj-hero-photo--ps { background-image: url("../img/about-hero-b-table.jpg"); background-size: cover; background-position: 70% 45%; }
html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--ps { background-image: url("../img/ent-hero-b-dock.jpg"); background-position: 70% 55%; }
@media (max-width: 860px) {
	.pbj-def-hero__photo.pbj-hero-photo--ps { background-position: 80% 45%; }
	html.pbj-hero-b .pbj-def-hero__photo.pbj-hero-photo--ps { background-position: 82% 55%; }
}
.pbj-ps-hero .pbj-eyebrow a { color: inherit; text-decoration: none; }
.pbj-ps-hero .pbj-eyebrow a:hover { color: #FFFFFF; }
/* 5 steps */
.pbj-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .pbj-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .pbj-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pbj-grid-5 { grid-template-columns: 1fr; } }

/* ---------- v1.0.49: "Find the Yes!!" as a PB&J quote in quote sections ---------- */
.pbj-quote__by { display: inline-block; font-weight: 700; font-size: 0.7em; color: var(--pbj-ink); letter-spacing: 0.02em; white-space: nowrap; }
