/*
Theme Name: Process Flow Starter
Theme URI: https://example.com/process-flow-starter
Author: Michael Loveless
Author URI: https://example.com/
Description: A modern starter theme designed for process flow consulting and custom agency workflows.
Version: 2.8.1
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agency-starter
Update URI: false
*/

/* ==========================================================================
   Process Flow Consulting Inc. — design system
   Brand: Lato only (700 headings, 600 sub-heads, 400 body).
   Palette: #4fa2d9 blue, #4d4c4d charcoal, #75818c slate, #f8f9fa / #fff light.
   Derived tints (mixes of the three brand colours, for depth and AA contrast):
     --pfc-charcoal-deep  charcoal toward black (gradient depth)
     --pfc-slate-ink      slate toward charcoal (small text on light, 5:1)
     --pfc-ink            near-black ink on blue buttons (6:1)
   ========================================================================== */

:root {
	--pfc-blue: #4fa2d9;
	--pfc-charcoal: #4d4c4d;
	--pfc-slate: #75818c;
	--pfc-light: #f8f9fa;
	--pfc-white: #ffffff;

	--pfc-charcoal-deep: #373637;
	--pfc-slate-ink: #697179;
	--pfc-ink: #1d1d1e;

	--pfc-on-dark: rgba(255, 255, 255, 0.82);
	--pfc-on-dark-dim: rgba(255, 255, 255, 0.64);
	--pfc-line-light: rgba(117, 129, 140, 0.28);
	--pfc-line-dark: rgba(255, 255, 255, 0.16);

	--pfc-radius: 14px;
	--pfc-radius-sm: 8px;
	--pfc-header-h: 64px;
	--pfc-shadow: 0 1px 2px rgba(77, 76, 77, 0.06), 0 12px 32px -12px rgba(77, 76, 77, 0.22);
	--pfc-shadow-lg: 0 24px 60px -20px rgba(29, 29, 30, 0.45);
	--pfc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@supports (color: color-mix(in srgb, red, blue)) {
	:root {
		--pfc-charcoal-deep: color-mix(in srgb, #4d4c4d 68%, #000);
		--pfc-slate-ink: color-mix(in srgb, #75818c 68%, #4d4c4d);
	}
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--pfc-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

.pfc-body {
	margin: 0;
	font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 400;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--pfc-charcoal);
	background: var(--pfc-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.pfc-body h1,
.pfc-body h2,
.pfc-body h3,
.pfc-body h4 {
	margin: 0 0 0.5em;
	color: var(--pfc-charcoal);
	line-height: 1.12;
	letter-spacing: -0.015em;
}

.pfc-body h1,
.pfc-body h2 {
	font-weight: 700;
}

.pfc-body h3,
.pfc-body h4 {
	font-weight: 600;
}

.pfc-body h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.pfc-body h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.pfc-body h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.005em; }
.pfc-body h4 { font-size: 1.125rem; letter-spacing: 0; }

.pfc-body p { margin: 0 0 1.1em; }

.pfc-body a {
	color: var(--pfc-charcoal);
	text-decoration-color: var(--pfc-blue);
	text-underline-offset: 3px;
}

.pfc-body a:hover { color: var(--pfc-ink); }

.pfc-body img,
.pfc-body svg { max-width: 100%; }

.pfc-body :focus-visible {
	outline: 3px solid var(--pfc-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pfc-skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--pfc-blue);
	color: var(--pfc-ink) !important;
	font-weight: 700;
	text-decoration: none;
	border-radius: 0 0 var(--pfc-radius-sm) var(--pfc-radius-sm);
	transition: top 0.15s;
}

.pfc-skip-link:focus { top: 0; }

.pfc-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

.pfc-hide-md { display: inline; }
.pfc-show-md { display: none; }

@media (min-width: 1024px) and (max-width: 1279px) {
	.pfc-hide-md { display: none; }
	.pfc-show-md { display: inline; }
}

/* ---------- Sections ---------- */

.pfc-section {
	padding-block: clamp(64px, 9vw, 120px);
	position: relative;
}

.pfc-section--tight { padding-block: clamp(40px, 6vw, 72px); }
.pfc-section--light { background: var(--pfc-light); }

.pfc-section--dark,
.pfc-section--deep {
	background: var(--pfc-charcoal);
	color: var(--pfc-on-dark);
}

.pfc-section--deep {
	background:
		radial-gradient(900px 500px at 85% 0%, rgba(79, 162, 217, 0.22), transparent 60%),
		linear-gradient(160deg, var(--pfc-charcoal) 0%, var(--pfc-charcoal-deep) 100%);
}

.pfc-section--dark h1, .pfc-section--dark h2, .pfc-section--dark h3, .pfc-section--dark h4,
.pfc-section--deep h1, .pfc-section--deep h2, .pfc-section--deep h3, .pfc-section--deep h4 {
	color: var(--pfc-white);
}

.pfc-section--dark a, .pfc-section--deep a { color: var(--pfc-white); }

.pfc-section__head {
	max-width: 760px;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.pfc-section__head--center {
	margin-inline: auto;
	text-align: center;
}

.pfc-section__head p:last-child { margin-bottom: 0; }

.pfc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px !important;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pfc-slate-ink);
}

.pfc-eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--pfc-blue);
}

.pfc-section--dark .pfc-eyebrow,
.pfc-section--deep .pfc-eyebrow,
.pfc-hero .pfc-eyebrow,
.pfc-page-hero .pfc-eyebrow,
.pfc-modal .pfc-eyebrow { color: var(--pfc-on-dark); }

.pfc-lead {
	font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
	line-height: 1.6;
	color: var(--pfc-slate-ink);
}

.pfc-section--dark .pfc-lead,
.pfc-section--deep .pfc-lead,
.pfc-hero .pfc-lead,
.pfc-page-hero .pfc-lead { color: var(--pfc-on-dark); }

.pfc-accent { color: var(--pfc-blue); }

/* ---------- Buttons ---------- */

.pfc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 28px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	border: 2px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.2s var(--pfc-ease), background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.pfc-btn .pfc-icon { transition: transform 0.2s var(--pfc-ease); }
.pfc-btn:hover .pfc-icon--arrow { transform: translateX(4px); }

.pfc-btn--solid {
	background: var(--pfc-blue);
	border-color: var(--pfc-blue);
	color: var(--pfc-ink) !important;
}

.pfc-btn--solid:hover {
	background: var(--pfc-white);
	border-color: var(--pfc-white);
	transform: translateY(-2px);
	box-shadow: 0 10px 28px -10px rgba(79, 162, 217, 0.8);
}

.pfc-section--light .pfc-btn--solid:hover,
.pfc-section:not(.pfc-section--dark):not(.pfc-section--deep) .pfc-btn--solid:hover {
	background: var(--pfc-charcoal);
	border-color: var(--pfc-charcoal);
	color: var(--pfc-white) !important;
}

.pfc-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--pfc-white) !important;
}

.pfc-btn--outline:hover {
	border-color: var(--pfc-white);
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.pfc-btn--dark {
	background: transparent;
	border-color: var(--pfc-charcoal);
	color: var(--pfc-charcoal) !important;
}

.pfc-btn--dark:hover {
	background: var(--pfc-charcoal);
	color: var(--pfc-white) !important;
	transform: translateY(-2px);
}

.pfc-btn--sm { padding: 11px 20px; font-size: 0.9375rem; }

.pfc-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.pfc-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none !important;
}

.pfc-link-arrow:hover .pfc-icon--arrow { transform: translateX(4px); }
.pfc-link-arrow .pfc-icon { transition: transform 0.2s var(--pfc-ease); color: var(--pfc-blue); }

/* ---------- Header & navigation ---------- */

.pfc-topbar {
	background: var(--pfc-charcoal-deep);
	color: var(--pfc-on-dark);
	font-size: 0.875rem;
}

.pfc-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 44px;
}

.pfc-topbar__start,
.pfc-topbar__end {
	display: flex;
	align-items: center;
	gap: 22px;
	flex: 1 1 0;
}

.pfc-topbar__end { justify-content: flex-end; }

.pfc-topbar__tagline,
.pfc-body .pfc-topbar__tagline {
	display: none;
	margin: 0; /* beats .pfc-body p's bottom margin, which pushed the text up */
	padding: 6px 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	text-align: center;
	letter-spacing: 0.01em;
	color: var(--pfc-on-dark);
}

.pfc-body .pfc-topbar__phone,
.pfc-body .pfc-topbar__support {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--pfc-white);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s;
}

.pfc-topbar__phone .pfc-icon,
.pfc-topbar__support .pfc-icon { color: var(--pfc-blue); }

.pfc-body .pfc-topbar__phone:hover,
.pfc-body .pfc-topbar__support:hover { color: var(--pfc-blue); }

/* Support and the CTA live in the mobile menu panel on small screens. */
.pfc-topbar__end { display: none; }

.pfc-btn--xs {
	padding: 7px 16px;
	font-size: 0.8125rem;
	line-height: 1.2;
	white-space: nowrap;
}

@media (min-width: 1024px) {
	.pfc-topbar__end { display: flex; }
}

/* The tagline needs the room of a wide screen to stay on one line. */
@media (min-width: 1280px) {
	.pfc-body .pfc-topbar__tagline { display: block; flex: 0 1 auto; }
}

.pfc-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(77, 76, 77, 0.94);
	border-bottom: 1px solid var(--pfc-line-dark);
}

@supports (backdrop-filter: blur(10px)) {
	.pfc-site-header {
		background: rgba(77, 76, 77, 0.82);
		-webkit-backdrop-filter: saturate(160%) blur(14px);
		backdrop-filter: saturate(160%) blur(14px);
	}
}

.admin-bar .pfc-site-header { top: 32px; }

@media (max-width: 782px) {
	.admin-bar .pfc-site-header { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar .pfc-site-header { top: 0; }
}

.pfc-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--pfc-header-h);
}

.pfc-site-header__logo { display: inline-flex; flex: 0 0 auto; }

.pfc-site-header__logo img {
	display: block;
	width: auto;
	height: 34px;
	filter: brightness(0) invert(1);
}

.pfc-nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0 12px;
	background: transparent;
	border: 1px solid var(--pfc-line-dark);
	border-radius: var(--pfc-radius-sm);
	cursor: pointer;
}

.pfc-nav-toggle__bar {
	display: block;
	height: 2px;
	background: var(--pfc-white);
	border-radius: 2px;
	transition: transform 0.25s var(--pfc-ease), opacity 0.2s;
}

.pfc-nav-toggle.is-open .pfc-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pfc-nav-toggle.is-open .pfc-nav-toggle__bar:nth-child(2) { opacity: 0; }
.pfc-nav-toggle.is-open .pfc-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile panel */
.pfc-primary-nav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	max-height: calc(100svh - var(--pfc-header-h));
	overflow-y: auto;
	padding: 8px 24px 28px;
	background: var(--pfc-charcoal);
	border-bottom: 1px solid var(--pfc-line-dark);
	box-shadow: var(--pfc-shadow-lg);
}

.pfc-primary-nav.is-open { display: block; }

.pfc-primary-nav__list,
.pfc-primary-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pfc-primary-nav__list > li { border-bottom: 1px solid var(--pfc-line-dark); }

.pfc-primary-nav__list a {
	display: block;
	padding: 16px 4px;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--pfc-white);
	text-decoration: none;
}

.pfc-primary-nav__list a:hover { color: var(--pfc-blue); }

.pfc-primary-nav__list .current-menu-item > a,
.pfc-primary-nav__list .current-menu-ancestor > a,
.pfc-primary-nav__list .current_page_item > a { color: var(--pfc-blue); }

.pfc-primary-nav .menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pfc-primary-nav .menu-item-has-children > a::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s;
}

.pfc-primary-nav .submenu-open > a::after { transform: rotate(-135deg); }

.pfc-primary-nav .sub-menu { display: none; padding: 0 0 12px 14px; }
.pfc-primary-nav .submenu-open > .sub-menu { display: block; }

.pfc-primary-nav .sub-menu a {
	padding: 10px 4px;
	font-size: 1rem;
	font-weight: 400;
	color: var(--pfc-on-dark);
}

.pfc-primary-nav__actions {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 22px;
}

.pfc-primary-nav__actions .pfc-btn { width: 100%; }

.pfc-primary-nav__quick {
	display: flex;
	justify-content: center;
	gap: 28px;
}

.pfc-primary-nav__quick a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--pfc-white);
	font-weight: 600;
	text-decoration: none;
}

.pfc-primary-nav__quick .pfc-icon { color: var(--pfc-blue); }

@media (min-width: 1024px) {
	.pfc-nav-toggle { display: none; }

	.pfc-primary-nav {
		position: static;
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		justify-content: flex-end;
		gap: 0;
		max-height: none;
		overflow: visible;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.pfc-primary-nav__list {
		display: flex;
		align-items: center;
		gap: 6px;
	}

	.pfc-primary-nav__list > li {
		position: relative;
		border: 0;
	}

	.pfc-primary-nav__list > li > a {
		padding: 12px 18px;
		font-size: 0.9375rem;
		white-space: nowrap;
		border-radius: 999px;
		transition: background-color 0.2s, color 0.2s;
	}

	.pfc-primary-nav__list > li > a:hover { background: rgba(255, 255, 255, 0.08); }

	.pfc-primary-nav .menu-item-has-children > a::after { margin-left: 8px; }

	.pfc-primary-nav .sub-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		width: max-content;
		min-width: 290px;
		padding: 10px;
		background: var(--pfc-charcoal-deep);
		border: 1px solid var(--pfc-line-dark);
		border-radius: var(--pfc-radius);
		box-shadow: var(--pfc-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.2s, transform 0.2s var(--pfc-ease), visibility 0.2s;
	}

	.pfc-primary-nav .menu-item-has-children:hover > .sub-menu,
	.pfc-primary-nav .menu-item-has-children:focus-within > .sub-menu,
	.pfc-primary-nav .submenu-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.pfc-primary-nav .sub-menu a {
		padding: 12px 14px;
		font-weight: 600;
		white-space: nowrap;
		border-radius: var(--pfc-radius-sm);
	}

	.pfc-primary-nav .sub-menu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--pfc-white); }

	/* CTA, phone and support sit in the top bar on desktop. */
	.pfc-primary-nav__actions { display: none; }
}

@media (min-width: 1280px) {
	.pfc-primary-nav__list { gap: 10px; }
	.pfc-primary-nav__list > li > a { padding-inline: 22px; font-size: 1rem; }
}

/* ---------- Home hero ---------- */

.pfc-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(640px, calc(100svh - var(--pfc-header-h) - 44px));
	padding-block: clamp(36px, 4.5vw, 56px) clamp(88px, 10vw, 128px);
	overflow: hidden;
	color: var(--pfc-on-dark);
	background:
		radial-gradient(1000px 620px at 80% 20%, rgba(79, 162, 217, 0.28), transparent 62%),
		radial-gradient(700px 500px at 0% 100%, rgba(79, 162, 217, 0.12), transparent 60%),
		linear-gradient(165deg, var(--pfc-charcoal) 0%, var(--pfc-charcoal-deep) 100%);
	isolation: isolate;
}

.pfc-hero__canvas {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	opacity: 0.9;
	pointer-events: none;
}

.pfc-hero__grid {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%);
}

.pfc-hero__inner {
	display: grid;
	gap: 48px;
	align-items: center;
}

.pfc-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
	padding: 8px 16px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pfc-white);
	border: 1px solid var(--pfc-line-dark);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.pfc-hero__badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pfc-blue);
	box-shadow: 0 0 0 0 rgba(79, 162, 217, 0.7);
	animation: pfc-ping 2.4s infinite;
}

.pfc-hero__title {
	max-width: 15ch;
	margin: 0 0 24px;
	font-size: clamp(2.5rem, 6.4vw, 5rem) !important;
	line-height: 1.03 !important;
	letter-spacing: -0.03em !important;
	color: var(--pfc-white) !important;
}

.pfc-hero__title em {
	font-style: normal;
	color: var(--pfc-blue);
}

.pfc-hero__sub {
	max-width: 56ch;
	margin-bottom: 36px;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	color: var(--pfc-on-dark);
}

.pfc-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 44px 0 0;
	padding: 24px 0 0;
	list-style: none;
	border-top: 1px solid var(--pfc-line-dark);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--pfc-on-dark-dim);
}

.pfc-hero__trust li { display: inline-flex; align-items: center; gap: 10px; }

.pfc-hero__trust li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--pfc-blue);
	transform: rotate(45deg);
}

.pfc-hero__visual { display: none; }

@media (min-width: 1024px) {
	.pfc-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
	.pfc-hero__visual { display: block; }
}

/* Legacy → PFC → AI bridge diagram */
.pfc-bridge {
	width: 100%;
	height: auto;
	overflow: visible;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

.pfc-bridge text {
	font-family: "Lato", sans-serif;
	fill: var(--pfc-white);
}

.pfc-bridge__node {
	fill: rgba(255, 255, 255, 0.07);
	stroke: rgba(255, 255, 255, 0.34);
	stroke-width: 1.5;
}

.pfc-bridge__node--core {
	fill: var(--pfc-blue);
	stroke: var(--pfc-white);
	stroke-width: 2;
}

.pfc-bridge__label { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.pfc-bridge__label--core { fill: var(--pfc-ink); font-size: 17px; }
.pfc-bridge__caption { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--pfc-on-dark-dim) !important; }

.pfc-bridge__line {
	fill: none;
	stroke: rgba(255, 255, 255, 0.28);
	stroke-width: 1.5;
}

.pfc-bridge__flow {
	fill: none;
	stroke: var(--pfc-blue);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-dasharray: 6 18;
	animation: pfc-flow 1.8s linear infinite;
}

.pfc-bridge__flow--rev { animation-direction: reverse; animation-duration: 2.4s; }

.pfc-bridge__ring {
	fill: none;
	stroke: var(--pfc-blue);
	stroke-width: 1.5;
	transform-box: fill-box;
	transform-origin: center;
	animation: pfc-pulse 3s ease-out infinite;
}

.pfc-bridge__ring--2 { animation-delay: 1.5s; }

@keyframes pfc-flow { to { stroke-dashoffset: -48; } }
@keyframes pfc-pulse {
	0% { opacity: 0.8; transform: scale(1); }
	100% { opacity: 0; transform: scale(1.7); }
}
@keyframes pfc-ping {
	0% { box-shadow: 0 0 0 0 rgba(79, 162, 217, 0.7); }
	70%, 100% { box-shadow: 0 0 0 12px rgba(79, 162, 217, 0); }
}

/* Angled divider that closes the hero (carried from the original theme) */
.pfc-wave-divider {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(48px, 7vw, 96px);
	line-height: 0;
	pointer-events: none;
}

.pfc-wave-divider svg { display: block; width: 100%; height: 100%; }

/* ---------- Inner page hero ---------- */

.pfc-page-hero {
	position: relative;
	padding-block: clamp(64px, 9vw, 120px) clamp(80px, 10vw, 136px);
	overflow: hidden;
	color: var(--pfc-on-dark);
	background:
		radial-gradient(800px 420px at 90% 0%, rgba(79, 162, 217, 0.26), transparent 60%),
		linear-gradient(165deg, var(--pfc-charcoal) 0%, var(--pfc-charcoal-deep) 100%);
}

.pfc-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}

.pfc-page-hero .pfc-container { position: relative; }

.pfc-page-hero h1 {
	max-width: 18ch;
	color: var(--pfc-white) !important;
	margin-bottom: 22px;
}

.pfc-page-hero .pfc-lead { max-width: 60ch; margin-bottom: 32px; }

.pfc-breadcrumb {
	margin: 0 0 22px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--pfc-on-dark-dim);
}

.pfc-breadcrumb a { color: var(--pfc-on-dark) !important; text-decoration: none; }
.pfc-breadcrumb a:hover { color: var(--pfc-blue) !important; }
.pfc-breadcrumb span[aria-hidden] { margin: 0 8px; }

/* ---------- Statement strip ---------- */

.pfc-statement {
	padding-block: clamp(48px, 7vw, 88px);
	background: var(--pfc-white);
}

.pfc-statement__text {
	max-width: 26ch;
	margin: 0;
	font-size: clamp(1.625rem, 3.4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--pfc-charcoal);
}

.pfc-statement__text span { color: var(--pfc-slate); }

.pfc-statement__inner {
	display: grid;
	gap: 28px;
	align-items: end;
}

.pfc-statement__aside {
	margin: 0;
	padding-left: 20px;
	border-left: 3px solid var(--pfc-blue);
	color: var(--pfc-slate-ink);
}

@media (min-width: 900px) {
	.pfc-statement__inner { grid-template-columns: 1.6fr 1fr; gap: 64px; }
}

/* ---------- Generic grids & feature cards ---------- */

.pfc-grid { display: grid; gap: 22px; }

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

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

.pfc-feature {
	position: relative;
	padding: 28px;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
	transition: transform 0.25s var(--pfc-ease), box-shadow 0.25s, border-color 0.25s;
}

.pfc-feature:hover {
	transform: translateY(-4px);
	border-color: var(--pfc-blue);
	box-shadow: var(--pfc-shadow);
}

.pfc-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	color: var(--pfc-blue);
	background: rgba(79, 162, 217, 0.12);
	border-radius: 12px;
}

.pfc-feature__title { margin-bottom: 8px; }
.pfc-feature p { margin: 0; color: var(--pfc-slate-ink); font-size: 1rem; }

.pfc-section--dark .pfc-feature,
.pfc-section--deep .pfc-feature {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--pfc-line-dark);
}

.pfc-section--dark .pfc-feature p,
.pfc-section--deep .pfc-feature p { color: var(--pfc-on-dark); }

.pfc-section--dark .pfc-feature:hover,
.pfc-section--deep .pfc-feature:hover { background: rgba(255, 255, 255, 0.09); box-shadow: none; }

/* ---------- Pillar cards (AI = blue, CRM = charcoal, Infrastructure = slate) ---------- */

.pfc-pillars { display: grid; gap: 24px; }

@media (min-width: 900px) {
	.pfc-pillars { grid-template-columns: repeat(3, 1fr); }
}

.pfc-pillar-card {
	--pillar: var(--pfc-blue);
	--pillar-ink: var(--pfc-ink);
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px 30px 30px;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-top: 5px solid var(--pillar);
	border-radius: var(--pfc-radius);
	box-shadow: 0 1px 2px rgba(77, 76, 77, 0.04);
	overflow: hidden;
	transition: transform 0.3s var(--pfc-ease), box-shadow 0.3s;
}

.pfc-pillar-card--crm { --pillar: var(--pfc-charcoal); --pillar-ink: var(--pfc-white); }
.pfc-pillar-card--infra { --pillar: var(--pfc-slate); --pillar-ink: var(--pfc-white); }

.pfc-pillar-card::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: var(--pillar);
	opacity: 0.07;
	transition: transform 0.5s var(--pfc-ease), opacity 0.3s;
}

.pfc-pillar-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--pfc-shadow);
}

.pfc-pillar-card:hover::after { transform: scale(1.8); opacity: 0.11; }

.pfc-pillar-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
}

.pfc-pillar-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var(--pillar-ink);
	background: var(--pillar);
	border-radius: 14px;
}

.pfc-pillar-card__num {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--pfc-slate-ink);
}

.pfc-pillar-card__title { margin-bottom: 12px; }
.pfc-pillar-card__summary { color: var(--pfc-slate-ink); }

.pfc-pillar-card__list {
	flex: 1 1 auto;
	margin: 10px 0 28px;
	padding: 0;
	list-style: none;
}

.pfc-pillar-card__list li {
	position: relative;
	padding: 10px 0 10px 28px;
	font-size: 0.9688rem;
	line-height: 1.5;
	border-top: 1px solid var(--pfc-line-light);
}

.pfc-pillar-card__list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 18px;
	width: 10px;
	height: 10px;
	background: var(--pillar);
	transform: rotate(45deg);
}

.pfc-pillar-card__list strong { font-weight: 700; color: var(--pfc-charcoal); }

.pfc-pillar-card__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

/* ---------- Two-Brain tabs ---------- */

.pfc-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.pfc-tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	color: var(--pfc-on-dark);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--pfc-line-dark);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pfc-tabs__tab:hover { background: rgba(255, 255, 255, 0.12); }

.pfc-tabs__tab[aria-selected="true"] {
	color: var(--pfc-ink);
	background: var(--pfc-blue);
	border-color: var(--pfc-blue);
}

.pfc-tabs__panel { animation: pfc-fade 0.4s var(--pfc-ease); }
.pfc-tabs__panel[hidden] { display: none; }
.js .pfc-tabs__panel-title { display: none; }

.pfc-tabs__panel-title {
	margin: 40px 0 18px;
	font-size: 1.25rem;
}

@keyframes pfc-fade {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.pfc-loop-grid { display: grid; gap: 24px; align-items: start; }

@media (min-width: 900px) {
	.pfc-loop-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.pfc-loop-card {
	padding: 32px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--pfc-line-dark);
	border-radius: var(--pfc-radius);
}

.pfc-loop-card h3 { margin-bottom: 10px; }
.pfc-loop-card p { color: var(--pfc-on-dark); }

.pfc-loop-card__tag {
	display: inline-block;
	margin-bottom: 16px;
	padding: 5px 12px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pfc-ink);
	background: var(--pfc-blue);
	border-radius: 999px;
}

.pfc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.pfc-chip {
	padding: 7px 14px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--pfc-white);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
}

.pfc-gates { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.pfc-gates li {
	display: flex;
	gap: 14px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--pfc-line-dark);
	border-radius: var(--pfc-radius-sm);
	color: var(--pfc-on-dark);
}

.pfc-gates .pfc-icon { flex: 0 0 auto; margin-top: 2px; color: var(--pfc-blue); }
.pfc-gates strong { display: block; color: var(--pfc-white); }

/* ---------- SpiceCRM MORE edition block ---------- */

.pfc-edition {
	display: grid;
	gap: 0;
	overflow: hidden;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: 20px;
	box-shadow: var(--pfc-shadow);
}

@media (min-width: 900px) {
	.pfc-edition { grid-template-columns: 1fr 1.15fr; }
}

.pfc-edition__main {
	padding: clamp(32px, 4vw, 52px);
	color: var(--pfc-on-dark);
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(79, 162, 217, 0.3), transparent 62%),
		linear-gradient(160deg, var(--pfc-charcoal), var(--pfc-charcoal-deep));
}

.pfc-edition__main h3 { color: var(--pfc-white); font-size: clamp(1.75rem, 3vw, 2.5rem); }

.pfc-edition__badge {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 14px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pfc-ink);
	background: var(--pfc-blue);
	border-radius: 999px;
}

.pfc-edition__aside { padding: clamp(32px, 4vw, 52px); }

.pfc-checklist {
	display: grid;
	gap: 14px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.pfc-checklist li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	line-height: 1.5;
}

.pfc-checklist .pfc-icon {
	flex: 0 0 auto;
	padding: 3px;
	margin-top: 1px;
	color: var(--pfc-ink);
	background: var(--pfc-blue);
	border-radius: 50%;
}

.pfc-edition__main .pfc-checklist strong { color: var(--pfc-white); }

.pfc-compare { display: grid; gap: 16px; margin-bottom: 8px; }

@media (min-width: 560px) {
	.pfc-compare { grid-template-columns: 1fr 1fr; }
}

.pfc-compare__col {
	padding: 22px;
	background: var(--pfc-light);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
}

.pfc-compare__col h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pfc-compare__col h4 .pfc-icon { color: var(--pfc-blue); }
.pfc-compare__col p { margin: 0; font-size: 0.9688rem; color: var(--pfc-slate-ink); }

.pfc-compare__eq {
	margin: 0 0 20px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pfc-slate-ink);
}

.pfc-reach {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	margin-top: 28px;
	padding: 22px 28px;
	background: var(--pfc-light);
	border-left: 4px solid var(--pfc-blue);
	border-radius: var(--pfc-radius-sm);
}

.pfc-reach p { margin: 0; }
.pfc-reach strong { font-weight: 700; }

/* ---------- Engagement steps ---------- */

.pfc-steps {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pfc-step;
}

@media (min-width: 720px) { .pfc-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pfc-steps { grid-template-columns: repeat(4, 1fr); } }

.pfc-step {
	position: relative;
	padding: 28px 24px 24px;
	counter-increment: pfc-step;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
}

.pfc-step::before {
	content: "0" counter(pfc-step);
	display: block;
	margin-bottom: 16px;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	color: var(--pfc-blue);
}

.pfc-step h3 { margin-bottom: 8px; }
.pfc-step p { margin: 0; color: var(--pfc-slate-ink); font-size: 1rem; }

@media (min-width: 1100px) {
	.pfc-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 44px;
		right: -22px;
		width: 22px;
		height: 2px;
		background: var(--pfc-blue);
	}
}

/* ---------- Triple CTA cards ---------- */

.pfc-cta-cards { display: grid; gap: 20px; }

@media (min-width: 900px) { .pfc-cta-cards { grid-template-columns: repeat(3, 1fr); } }

.pfc-cta-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px 28px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--pfc-line-dark);
	border-radius: var(--pfc-radius);
	transition: transform 0.25s var(--pfc-ease), background-color 0.25s, border-color 0.25s;
}

.pfc-cta-card:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--pfc-blue);
}

.pfc-cta-card h3 { margin: 0; }
.pfc-cta-card p { flex: 1 1 auto; margin: 0; color: var(--pfc-on-dark); }
.pfc-cta-card .pfc-icon { color: var(--pfc-blue); }

/* ---------- Split sections & prose ---------- */

.pfc-split { display: grid; gap: 40px; align-items: center; }

@media (min-width: 900px) {
	.pfc-split { grid-template-columns: 1fr 1fr; gap: 72px; }
	.pfc-split--wide-left { grid-template-columns: 1.2fr 0.8fr; }
}

.pfc-panel {
	padding: clamp(28px, 4vw, 44px);
	background: var(--pfc-light);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
}

.pfc-prose { max-width: 720px; }
.pfc-prose > * + * { margin-top: 1.2em; }
.pfc-prose h2, .pfc-prose h3 { margin-top: 1.8em; }
.pfc-prose ul, .pfc-prose ol { padding-left: 1.3em; }
.pfc-prose blockquote {
	margin-inline: 0;
	padding: 6px 0 6px 22px;
	border-left: 4px solid var(--pfc-blue);
	font-size: 1.1875rem;
	font-weight: 600;
}

.pfc-values { display: grid; gap: 22px; }
@media (min-width: 720px) { .pfc-values { grid-template-columns: repeat(2, 1fr); } }

/* Cards used by archives / insights */
.pfc-card-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .pfc-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pfc-card-grid { grid-template-columns: repeat(3, 1fr); } }

.pfc-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
	transition: transform 0.25s var(--pfc-ease), box-shadow 0.25s;
}

.pfc-card:hover { transform: translateY(-4px); box-shadow: var(--pfc-shadow); }
.pfc-card__media img { display: block; width: 100%; height: 220px; object-fit: cover; }
.pfc-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 26px; }
.pfc-card__meta { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pfc-slate-ink); }
.pfc-card__title { margin-bottom: 10px; }
.pfc-card__title a { text-decoration: none; }
.pfc-card__excerpt { flex: 1 1 auto; color: var(--pfc-slate-ink); font-size: 1rem; }

.pfc-pagination { margin-top: 48px; display: flex; gap: 8px; justify-content: center; }
.pfc-pagination .page-numbers {
	min-width: 44px; padding: 10px 14px; text-align: center; font-weight: 700;
	border: 1px solid var(--pfc-line-light); border-radius: 999px; text-decoration: none;
}
.pfc-pagination .page-numbers.current { background: var(--pfc-blue); border-color: var(--pfc-blue); color: var(--pfc-ink); }

/* ---------- Contact page ---------- */

.pfc-contact__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .pfc-contact__grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }

.pfc-offices { display: grid; gap: 18px; margin: 28px 0; }

.pfc-office {
	padding: 24px;
	background: var(--pfc-light);
	border: 1px solid var(--pfc-line-light);
	border-left: 4px solid var(--pfc-blue);
	border-radius: var(--pfc-radius-sm);
}

.pfc-office h3 { margin-bottom: 8px; font-size: 1.1875rem; }
.pfc-office p { margin: 0 0 4px; color: var(--pfc-slate-ink); font-size: 1rem; }
.pfc-office a { font-weight: 700; }

.pfc-map { overflow: hidden; border-radius: var(--pfc-radius); border: 1px solid var(--pfc-line-light); }
.pfc-map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- Forms (Gravity Forms in cards and modals) ---------- */

.pfc-form-card {
	padding: clamp(24px, 4vw, 44px);
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-top: 5px solid var(--pfc-blue);
	border-radius: var(--pfc-radius);
	box-shadow: var(--pfc-shadow);
}

.pfc-form-card--bare {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.pfc-form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.pfc-form-card .gform_wrapper {
	--gf-color-primary: #4fa2d9;
	--gf-color-primary-rgb: 79, 162, 217;
	--gf-color-primary-contrast: #1d1d1e;
	--gf-color-primary-darker: #3f8fc4;
	--gf-color-primary-lighter: #75818c;
	--gf-ctrl-btn-bg-color-primary: #4fa2d9;
	--gf-ctrl-btn-color-primary: #1d1d1e;
	--gf-ctrl-btn-bg-color-hover-primary: #4d4c4d;
	--gf-ctrl-btn-color-hover-primary: #ffffff;
	--gf-ctrl-border-color: #75818c;
	--gf-ctrl-border-color-focus: #4fa2d9;
	--gf-ctrl-label-color-primary: #4d4c4d;
	--gf-ctrl-color: #4d4c4d;
	--gf-radius: 8px;
	margin: 0;
	font-family: "Lato", sans-serif;
	color: var(--pfc-charcoal);
}

.pfc-form-card .gform_heading { margin-bottom: 20px; }
.pfc-form-card .gform_title { font-weight: 700; color: var(--pfc-charcoal); }
.pfc-form-card .gform_description { color: var(--pfc-slate-ink); }

.pfc-form-card .gfield_label,
.pfc-form-card .gform-field-label {
	margin-bottom: 6px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--pfc-charcoal);
}

.pfc-form-card .gfield_required { color: var(--pfc-slate-ink); }

.pfc-form-card .gform_wrapper .ginput_container input[type="text"],
.pfc-form-card .gform_wrapper .ginput_container input[type="email"],
.pfc-form-card .gform_wrapper .ginput_container input[type="tel"],
.pfc-form-card .gform_wrapper .ginput_container input[type="url"],
.pfc-form-card .gform_wrapper .ginput_container input[type="number"],
.pfc-form-card .gform_wrapper .ginput_container textarea,
.pfc-form-card .gform_wrapper .ginput_container select {
	width: 100%;
	padding: 13px 16px;
	font-family: inherit;
	font-size: 1rem;
	color: var(--pfc-charcoal);
	background: var(--pfc-white);
	border: 1.5px solid var(--pfc-slate);
	border-radius: var(--pfc-radius-sm);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.pfc-form-card .gform_wrapper .ginput_container input:focus,
.pfc-form-card .gform_wrapper .ginput_container textarea:focus,
.pfc-form-card .gform_wrapper .ginput_container select:focus {
	outline: none;
	border-color: var(--pfc-blue);
	box-shadow: 0 0 0 4px rgba(79, 162, 217, 0.25);
}

.pfc-form-card .gfield_description,
.pfc-form-card .gform_wrapper .gfield_validation_message {
	font-size: 0.875rem;
	color: var(--pfc-slate-ink);
}

.pfc-form-card .gform_wrapper .gfield_validation_message,
.pfc-form-card .gform_wrapper .validation_message {
	color: #9b2c2c;
	font-weight: 600;
}

.pfc-form-card .gform_footer { margin-top: 12px; padding: 0; }

.pfc-form-card .gform_footer .gform_button,
.pfc-form-card .gform_wrapper .gform_footer input[type="submit"],
.pfc-form-card .gform_wrapper .gform_footer button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 32px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	color: var(--pfc-ink);
	background: var(--pfc-blue);
	border: 2px solid var(--pfc-blue);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--pfc-ease);
}

.pfc-form-card .gform_footer .gform_button:hover,
.pfc-form-card .gform_wrapper .gform_footer input[type="submit"]:hover,
.pfc-form-card .gform_wrapper .gform_footer button:hover {
	color: var(--pfc-white);
	background: var(--pfc-charcoal);
	border-color: var(--pfc-charcoal);
	transform: translateY(-2px);
}

.pfc-form-card .gform_confirmation_message { font-size: 1.125rem; font-weight: 600; }

@media (max-width: 640px) {
	.pfc-form-card .gform_fields { row-gap: 16px; }
	.pfc-form-card .gform_footer .gform_button { width: 100%; }
}

/* ---------- Modals ---------- */

.pfc-modal {
	width: min(640px, calc(100vw - 32px));
	max-height: calc(100svh - 32px);
	padding: 0;
	margin: auto;
	color: var(--pfc-charcoal);
	background: var(--pfc-white);
	border: 0;
	border-radius: 20px;
	box-shadow: var(--pfc-shadow-lg);
	overflow: hidden;
}

.pfc-modal[open] { animation: pfc-modal-in 0.3s var(--pfc-ease); }

.pfc-modal::backdrop {
	background: rgba(29, 29, 30, 0.72);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

@keyframes pfc-modal-in {
	from { opacity: 0; transform: translateY(18px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

.pfc-modal__panel {
	position: relative;
	max-height: calc(100svh - 32px);
	overflow-y: auto;
}

.pfc-modal__head {
	padding: 36px 36px 28px;
	color: var(--pfc-on-dark);
	background:
		radial-gradient(400px 220px at 100% 0%, rgba(79, 162, 217, 0.35), transparent 62%),
		linear-gradient(160deg, var(--pfc-charcoal), var(--pfc-charcoal-deep));
}

.pfc-modal__head h2 { margin-bottom: 10px; color: var(--pfc-white) !important; font-size: clamp(1.5rem, 3vw, 2rem) !important; }
.pfc-modal__head p:last-child { margin-bottom: 0; }
.pfc-modal__body { padding: 28px 36px 36px; }

.pfc-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 40px;
	height: 40px;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--pfc-white);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--pfc-line-dark);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s;
}

.pfc-modal__close:hover { background: rgba(255, 255, 255, 0.22); }

@media (max-width: 520px) {
	.pfc-modal__head { padding: 28px 22px 22px; }
	.pfc-modal__body { padding: 22px; }
}

body.pfc-modal-open { overflow: hidden; }

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

.pfc-footer {
	position: relative;
	color: var(--pfc-on-dark);
	background: var(--pfc-charcoal);
}

.pfc-footer__wave {
	height: clamp(56px, 8vw, 120px);
	line-height: 0;
	background: var(--pfc-light);
}

.pfc-footer__wave svg { display: block; width: 100%; height: 100%; }

.pfc-footer__main { padding-block: clamp(48px, 6vw, 80px) 36px; }

.pfc-footer__grid { display: grid; gap: 40px; }

@media (min-width: 720px) { .pfc-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pfc-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 56px; } }

.pfc-footer__logo img { display: block; width: auto; height: 38px; filter: brightness(0) invert(1); }
.pfc-footer__tagline { margin: 22px 0 0; max-width: 34ch; font-size: 1rem; }

.pfc-footer h2 {
	margin: 0 0 18px;
	font-size: 0.8125rem !important;
	font-weight: 700;
	letter-spacing: 0.16em !important;
	text-transform: uppercase;
	color: var(--pfc-white) !important;
}

.pfc-footer ul { margin: 0; padding: 0; list-style: none; }
.pfc-footer li + li { margin-top: 10px; }

.pfc-footer a { color: var(--pfc-on-dark) !important; text-decoration: none; transition: color 0.2s; }
.pfc-footer a:hover { color: var(--pfc-blue) !important; }

.pfc-footer address { font-style: normal; line-height: 1.7; }
.pfc-footer address p { margin: 0 0 12px; }

.pfc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 48px;
	padding-top: 24px;
	font-size: 0.875rem;
	border-top: 1px solid var(--pfc-line-dark);
	color: var(--pfc-on-dark-dim);
}

.pfc-footer__legal p { margin: 0; }
.pfc-footer__social { display: flex; gap: 20px; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */

.js .pfc-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--pfc-ease), transform 0.7s var(--pfc-ease);
	transition-delay: var(--pfc-delay, 0s);
}

.js .pfc-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js .pfc-reveal { opacity: 1; transform: none; }
	.pfc-bridge__flow { stroke-dasharray: none; }
	.pfc-hero__canvas { display: none; }
}

@media print {
	.pfc-site-header, .pfc-footer__wave, .pfc-hero__canvas, .pfc-modal { display: none !important; }
}

/* ---------- Additions: single-card tab panels, header elevation ---------- */
.pfc-loop-grid--single { grid-template-columns: 1fr; }
.pfc-loop-grid--single .pfc-loop-card { max-width: 860px; }
.pfc-site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .22); }

/* ---------- Case study & CPT additions ---------- */
.pfc-card__stats { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--pfc-line-light); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pfc-card__stats li { font-size: 0.9375rem; color: var(--pfc-slate-ink); }
.pfc-card__stats strong { color: var(--pfc-charcoal); font-weight: 700; font-size: 1.125rem; margin-right: 4px; }

.pfc-metrics { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.pfc-metrics li { border-left: 3px solid var(--pfc-blue); padding-left: 18px; }
.pfc-metrics__value { display: block; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.1; color: var(--pfc-blue); }
.pfc-metrics__label { display: block; margin-top: 6px; color: var(--pfc-on-dark-dim); font-size: 1rem; }

.pfc-case-image { margin: 0 0 40px; border-radius: var(--pfc-radius); overflow: hidden; box-shadow: var(--pfc-shadow); }
.pfc-case-image img { display: block; width: 100%; height: auto; }

.pfc-badge-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pfc-badge-list li { padding: 8px 16px; border: 1px solid var(--pfc-line-light); border-radius: 999px; background: var(--pfc-white); color: var(--pfc-charcoal); font-weight: 600; font-size: 0.9375rem; }

/* =====================================================================
   Human-operated messaging, Sales Playbook, partners
   ===================================================================== */

.pfc-hero__playbook {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--pfc-on-dark);
}
.pfc-hero__playbook strong { color: var(--pfc-blue); font-weight: 700; }

.pfc-pillar-card__human,
.pfc-human-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 0;
	padding: 12px 14px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--pfc-slate-ink);
	background: rgba(79, 162, 217, 0.08);
	border-left: 3px solid var(--pfc-blue);
	border-radius: var(--pfc-radius-sm);
}
.pfc-pillar-card__human .pfc-icon,
.pfc-human-line .pfc-icon { flex: 0 0 auto; margin-top: 1px; color: var(--pfc-blue); }

.pfc-delivery-note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
	font-weight: 600;
	color: var(--pfc-slate-ink);
}
.pfc-delivery-note .pfc-icon { flex: 0 0 auto; color: var(--pfc-blue); }

/* Sub-blocks inside pillar sections */
.pfc-subblock { margin-top: clamp(40px, 5vw, 64px); }
.pfc-subblock__title { margin-bottom: 22px; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.pfc-feature--dark {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--pfc-line-dark);
	color: var(--pfc-on-dark);
}
.pfc-feature--dark .pfc-feature__title,
.pfc-feature--dark h3 { color: var(--pfc-white); }
.pfc-feature--dark p { color: var(--pfc-on-dark-dim); }

/* Human operated section */
.pfc-human__steps {
	display: grid;
	gap: 18px;
	margin: 0 0 clamp(36px, 5vw, 56px);
	padding: 0;
	list-style: none;
	counter-reset: none;
}
@media (min-width: 720px) { .pfc-human__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pfc-human__steps { grid-template-columns: repeat(4, 1fr); } }

.pfc-human__step {
	position: relative;
	padding: 26px 24px 24px;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-top: 4px solid var(--pfc-blue);
	border-radius: var(--pfc-radius);
	transition: transform 0.25s var(--pfc-ease), box-shadow 0.25s;
}
.pfc-human__step:hover { transform: translateY(-4px); box-shadow: var(--pfc-shadow); }
.pfc-human__step h3 { margin-bottom: 8px; font-size: 1.125rem; }
.pfc-human__step p { margin: 0; color: var(--pfc-slate-ink); font-size: 0.9688rem; }
.pfc-human__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 14px;
	font-weight: 700;
	color: var(--pfc-white);
	background: var(--pfc-charcoal);
	border-radius: 50%;
}

.pfc-photo-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .pfc-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pfc-photo-grid { grid-template-columns: repeat(4, 1fr); } }

.pfc-photo-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
	transition: transform 0.25s var(--pfc-ease), box-shadow 0.25s, border-color 0.25s;
}
.pfc-photo-card:hover { transform: translateY(-4px); border-color: var(--pfc-blue); box-shadow: var(--pfc-shadow); }
.pfc-photo-card figcaption { padding: 20px 22px 24px; }
.pfc-photo-card h3 { margin-bottom: 6px; font-size: 1.0625rem; }
.pfc-photo-card p { margin: 0; color: var(--pfc-slate-ink); font-size: 0.9375rem; }

/* Photo / placeholder (shared with Media thumbnails) */
.pfc-photo {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--pfc-charcoal);
}
.pfc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--pfc-ease); }
.pfc-photo-card:hover .pfc-photo img,
.pfc-article-card:hover .pfc-photo img { transform: scale(1.04); }
.pfc-photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--pfc-blue);
	background:
		radial-gradient(circle at 25% 20%, rgba(79, 162, 217, 0.28), transparent 55%),
		linear-gradient(135deg, var(--pfc-charcoal) 0%, var(--pfc-charcoal-deep) 100%);
}
.pfc-photo--placeholder .pfc-icon { width: 44px; height: 44px; }

/* Sales Playbook 4-step framework */
.pfc-playbook__steps {
	position: relative;
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 720px) { .pfc-playbook__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.pfc-playbook__steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
	.pfc-playbook__step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 54px;
		right: -28px;
		width: 28px;
		height: 2px;
		background: linear-gradient(90deg, var(--pfc-blue), rgba(79, 162, 217, 0.15));
	}
}

.pfc-playbook__step {
	position: relative;
	padding: 28px 24px 26px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--pfc-line-dark);
	border-radius: var(--pfc-radius);
	transition: transform 0.25s var(--pfc-ease), border-color 0.25s, background 0.25s;
}
.pfc-playbook__step:hover { transform: translateY(-4px); border-color: var(--pfc-blue); background: rgba(79, 162, 217, 0.08); }
.pfc-playbook__num {
	position: absolute;
	top: 18px;
	right: 20px;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.12);
}
.pfc-playbook__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	color: var(--pfc-blue);
	background: rgba(79, 162, 217, 0.14);
	border-radius: 14px;
}
.pfc-playbook__step h3 { margin-bottom: 8px; color: var(--pfc-white); font-size: 1.1875rem; }
.pfc-playbook__step p { margin: 0; color: var(--pfc-on-dark-dim); font-size: 0.9688rem; }
.pfc-playbook__note { max-width: 62ch; margin: 36px auto 0; text-align: center; color: var(--pfc-on-dark-dim); font-weight: 600; }

.pfc-section--light.pfc-playbook .pfc-playbook__step,
.pfc-section:not(.pfc-section--dark):not(.pfc-section--deep).pfc-playbook .pfc-playbook__step { background: var(--pfc-white); border-color: var(--pfc-line-light); }
.pfc-section--light.pfc-playbook .pfc-playbook__step h3 { color: var(--pfc-charcoal); }
.pfc-section--light.pfc-playbook .pfc-playbook__step p,
.pfc-section--light.pfc-playbook .pfc-playbook__note { color: var(--pfc-slate-ink); }

/* Human band (SpiceCRM page) */
.pfc-humanband__inner {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	max-width: 880px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 36px);
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-left: 5px solid var(--pfc-blue);
	border-radius: var(--pfc-radius);
}
.pfc-humanband__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var(--pfc-blue);
	background: rgba(79, 162, 217, 0.12);
	border-radius: 14px;
}
.pfc-humanband__inner h2 { margin-bottom: 8px; font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
.pfc-humanband__inner p { margin: 0; color: var(--pfc-slate-ink); }
@media (max-width: 600px) { .pfc-humanband__inner { flex-direction: column; } }

/* Partner profiles */
.pfc-partner {
	display: grid;
	gap: 28px;
	padding: clamp(26px, 4vw, 44px);
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-top: 5px solid var(--pfc-blue);
	border-radius: var(--pfc-radius);
	box-shadow: var(--pfc-shadow);
}
@media (min-width: 900px) { .pfc-partner { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; } }
.pfc-partner--single { max-width: 820px; grid-template-columns: 1fr; }
.pfc-partner__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	color: var(--pfc-blue);
	background: rgba(79, 162, 217, 0.12);
	border-radius: 14px;
}
.pfc-partner__id h3 { margin-bottom: 6px; font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.pfc-partner__id p { color: var(--pfc-slate-ink); }
.pfc-partner__id .pfc-edition__badge { margin-bottom: 12px; display: block; width: fit-content; }
.pfc-partner__meta { margin: 0 0 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8125rem; }
.pfc-partner__points { margin: 0; }
.pfc-partner__points strong { color: var(--pfc-charcoal); }
.pfc-partner .pfc-link-arrow { margin-top: 6px; }

/* =====================================================================
   Media Center & B2B Insights hub
   ===================================================================== */

.pfc-badge {
	display: inline-block;
	padding: 5px 12px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pfc-charcoal);
	background: rgba(79, 162, 217, 0.14);
	border: 1px solid rgba(79, 162, 217, 0.45);
	border-radius: 999px;
}
.pfc-badge--phase { color: var(--pfc-white); background: var(--pfc-slate); border-color: var(--pfc-slate); }
.pfc-badge--live { color: var(--pfc-ink); background: var(--pfc-blue); border-color: var(--pfc-blue); }

/* Hub hero + subscribe */
.pfc-media-hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .pfc-media-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

.pfc-subscribe {
	padding: clamp(22px, 3vw, 32px);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid var(--pfc-line-dark);
	border-top: 4px solid var(--pfc-blue);
	border-radius: var(--pfc-radius);
}
.pfc-subscribe h2 { margin-bottom: 8px; color: var(--pfc-white); font-size: clamp(1.25rem, 2vw, 1.5rem); }
.pfc-subscribe p { margin: 0 0 18px; color: var(--pfc-on-dark-dim); font-size: 1rem; }
.pfc-subscribe__form { display: flex; flex-wrap: wrap; gap: 10px; }
.pfc-subscribe__form input[type="email"] {
	flex: 1 1 220px;
	min-width: 0;
	padding: 14px 16px;
	font: inherit;
	color: var(--pfc-charcoal);
	background: var(--pfc-white);
	border: 2px solid transparent;
	border-radius: 999px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.pfc-subscribe__form input[type="email"]:focus { outline: none; border-color: var(--pfc-blue); box-shadow: 0 0 0 4px rgba(79, 162, 217, 0.3); }
.pfc-subscribe__gf .gform_wrapper { margin: 0; }
.pfc-subscribe__gf .gform_wrapper .gform_fields { display: flex; flex-wrap: wrap; gap: 10px; }
.pfc-subscribe__gf .gform_wrapper .gfield_label { position: absolute; left: -9999px; }
.pfc-subscribe__gf .gform_wrapper input[type="email"] {
	width: 100%;
	padding: 14px 16px;
	border-radius: 999px;
	border: 2px solid transparent;
}
.pfc-subscribe__gf .gform_wrapper .gform_footer { margin: 10px 0 0; padding: 0; }
.pfc-subscribe__gf .gform_wrapper .gform_button.button,
.pfc-subscribe__gf .gform_wrapper .gform_footer .gform_button {
	padding: 14px 26px !important;
	font-family: inherit !important;
	font-weight: 700 !important;
	color: var(--pfc-ink) !important;
	background: var(--pfc-blue) !important;
	border: 0 !important;
	border-radius: 999px !important;
	cursor: pointer;
	transition: transform 0.2s var(--pfc-ease), background 0.2s;
}
.pfc-subscribe__gf .gform_wrapper .gform_button.button:hover,
.pfc-subscribe__gf .gform_wrapper .gform_footer .gform_button:hover { transform: translateY(-2px); background: var(--pfc-white) !important; }
.pfc-subscribe__gf .gform_wrapper .gform_confirmation_message,
.pfc-subscribe__gf .gform_wrapper .validation_message { color: var(--pfc-white); }

/* Category filters */
.pfc-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 clamp(28px, 4vw, 44px);
	padding: 0;
	list-style: none;
}
.pfc-filters a {
	display: inline-block;
	padding: 10px 18px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--pfc-charcoal);
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: 999px;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--pfc-ease);
}
.pfc-filters a:hover { border-color: var(--pfc-blue); transform: translateY(-2px); }
.pfc-filters a[aria-current="true"],
.pfc-filters .is-active a { color: var(--pfc-ink); background: var(--pfc-blue); border-color: var(--pfc-blue); }

/* Featured article */
.pfc-featured {
	display: grid;
	overflow: hidden;
	margin-bottom: clamp(32px, 5vw, 56px);
	background: var(--pfc-white);
	border: 1px solid rgba(79, 162, 217, 0.5);
	border-radius: var(--pfc-radius);
	box-shadow: var(--pfc-shadow);
	transition: transform 0.25s var(--pfc-ease), box-shadow 0.25s;
}
.pfc-featured:hover { transform: translateY(-4px); box-shadow: var(--pfc-shadow-lg); }
@media (min-width: 900px) { .pfc-featured { grid-template-columns: 1fr 1fr; } }
.pfc-featured .pfc-photo { height: 100%; min-height: 260px; aspect-ratio: auto; }
.pfc-featured__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 48px); }
.pfc-featured__label { margin: 0 0 12px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pfc-blue); }
.pfc-featured__title { margin-bottom: 12px; font-size: clamp(1.5rem, 2.8vw, 2.125rem); }
.pfc-featured__title a { text-decoration: none; }
.pfc-featured__excerpt { color: var(--pfc-slate-ink); }
.pfc-featured__by { margin: 0 0 22px; font-size: 0.875rem; font-weight: 600; color: var(--pfc-slate); }

.pfc-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 14px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--pfc-slate-ink);
}
.pfc-meta-row > * + *:not(.pfc-badge)::before { content: "|"; margin-right: 16px; color: var(--pfc-line-light); }

/* Article cards */
.pfc-article-grid { display: grid; gap: 26px; }
@media (min-width: 680px) { .pfc-article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pfc-article-grid { grid-template-columns: repeat(3, 1fr); } }

.pfc-article-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--pfc-white);
	border: 1px solid rgba(79, 162, 217, 0.35);
	border-radius: var(--pfc-radius);
	transition: transform 0.3s var(--pfc-ease), box-shadow 0.3s, border-color 0.3s;
}
.pfc-article-card:hover { transform: translateY(-5px); border-color: var(--pfc-blue); box-shadow: var(--pfc-shadow); }
.pfc-article-card__thumb { display: block; text-decoration: none; }
.pfc-article-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 24px; }
.pfc-article-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; font-size: 0.8125rem; font-weight: 600; color: var(--pfc-slate); }
.pfc-article-card__title { margin-bottom: 10px; font-size: 1.1875rem; line-height: 1.3; }
.pfc-article-card__title a { text-decoration: none; color: var(--pfc-charcoal); }
.pfc-article-card__title a:hover { color: var(--pfc-blue); }
.pfc-article-card__excerpt {
	flex: 1 1 auto;
	margin: 0 0 16px;
	color: var(--pfc-slate-ink);
	font-size: 0.9688rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pfc-empty { padding: 48px; text-align: center; color: var(--pfc-slate-ink); background: var(--pfc-light); border-radius: var(--pfc-radius); }

/* Single article */
.pfc-article-hero h1 { max-width: 22ch; }
.pfc-article-hero .pfc-lead { max-width: 64ch; }
.pfc-article-hero .pfc-meta-row { margin: 22px 0 0; color: var(--pfc-on-dark); }
.pfc-article-hero .pfc-meta-row > * + *:not(.pfc-badge)::before { color: var(--pfc-line-dark); }
.pfc-article-hero .pfc-badge { color: var(--pfc-white); background: rgba(79, 162, 217, 0.22); border-color: var(--pfc-blue); }

.pfc-article-layout { position: relative; display: grid; gap: 32px; max-width: 920px; margin: 0 auto; }
@media (min-width: 1080px) { .pfc-article-layout { grid-template-columns: 56px minmax(0, 720px); gap: 48px; max-width: 824px; } }

.pfc-share {
	display: flex;
	gap: 10px;
	align-items: center;
}
@media (min-width: 1080px) {
	.pfc-share { position: sticky; top: calc(var(--pfc-header-h) + 24px); flex-direction: column; align-self: start; }
}
.pfc-share__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pfc-slate); }
.pfc-share a,
.pfc-share button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--pfc-charcoal);
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: 50%;
	cursor: pointer;
	transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s var(--pfc-ease);
}
.pfc-share a:hover,
.pfc-share button:hover { color: var(--pfc-ink); background: var(--pfc-blue); border-color: var(--pfc-blue); transform: translateY(-2px); }
.pfc-share button.is-copied { color: var(--pfc-ink); background: var(--pfc-blue); border-color: var(--pfc-blue); }

.pfc-article-body { font-size: 1.125rem; line-height: 1.75; color: var(--pfc-charcoal); }
.pfc-article-body > * + * { margin-top: 1.3em; }
.pfc-article-body h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.pfc-article-body h3 { margin-top: 1.7em; font-size: clamp(1.25rem, 2vw, 1.4375rem); }
.pfc-article-body a { color: var(--pfc-blue); font-weight: 600; }
.pfc-article-body ul,
.pfc-article-body ol { padding-left: 1.4em; }
.pfc-article-body li + li { margin-top: 0.5em; }
.pfc-article-body li::marker { color: var(--pfc-blue); }
.pfc-article-body img { max-width: 100%; height: auto; border-radius: var(--pfc-radius-sm); }
.pfc-article-body blockquote,
.pfc-article-body .wp-block-pullquote {
	margin: 2em 0;
	padding: 8px 0 8px 24px;
	border-left: 4px solid var(--pfc-blue);
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--pfc-charcoal);
}
.pfc-article-body blockquote p { margin: 0; }
.pfc-article-body blockquote cite { display: block; margin-top: 10px; font-size: 0.9375rem; font-weight: 600; font-style: normal; color: var(--pfc-slate); }
.pfc-article-body .pfc-callout,
.pfc-article-body .wp-block-group.is-style-callout {
	padding: 22px 24px;
	background: rgba(79, 162, 217, 0.09);
	border: 1px solid rgba(79, 162, 217, 0.4);
	border-left: 5px solid var(--pfc-blue);
	border-radius: var(--pfc-radius-sm);
	font-size: 1.0625rem;
}
.pfc-article-body .pfc-callout > :first-child { margin-top: 0; }
.pfc-article-body .pfc-callout > :last-child { margin-bottom: 0; }
.pfc-article-body code {
	padding: 2px 7px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	color: var(--pfc-charcoal);
	background: var(--pfc-light);
	border: 1px solid var(--pfc-line-light);
	border-radius: 6px;
}
.pfc-article-body pre {
	overflow-x: auto;
	padding: 20px 22px;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--pfc-on-dark);
	background: var(--pfc-charcoal-deep);
	border-radius: var(--pfc-radius-sm);
}
.pfc-article-body pre code { padding: 0; color: inherit; background: none; border: 0; }
.pfc-article-body table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.pfc-article-body th,
.pfc-article-body td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--pfc-line-light); }

.pfc-author-box {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-top: 56px;
	padding: 26px;
	background: var(--pfc-light);
	border: 1px solid var(--pfc-line-light);
	border-left: 5px solid var(--pfc-blue);
	border-radius: var(--pfc-radius);
}
.pfc-author-box__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	color: var(--pfc-blue);
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: 50%;
}
.pfc-author-box h2 { margin-bottom: 6px; font-size: 1.0625rem; }
.pfc-author-box p { margin: 0; color: var(--pfc-slate-ink); font-size: 1rem; }
@media (max-width: 560px) { .pfc-author-box { flex-direction: column; } }

.pfc-conversion { text-align: center; }
.pfc-conversion h2 { margin-bottom: 10px; color: var(--pfc-white); }
.pfc-conversion p { max-width: 56ch; margin: 0 auto 26px; color: var(--pfc-on-dark-dim); }
.pfc-conversion .pfc-btn-row { justify-content: center; }

.pfc-related__head { margin-bottom: 28px; }

/* Phase 2 framework pages */
.pfc-framework { display: grid; gap: 22px; }
@media (min-width: 900px) { .pfc-framework { grid-template-columns: repeat(3, 1fr); } }
.pfc-framework__item {
	padding: 26px;
	background: var(--pfc-white);
	border: 1px dashed rgba(79, 162, 217, 0.7);
	border-radius: var(--pfc-radius);
	transition: border-color 0.25s, transform 0.25s var(--pfc-ease);
}
.pfc-framework__item:hover { border-style: solid; border-color: var(--pfc-blue); transform: translateY(-3px); }
.pfc-framework__item .pfc-icon { margin-bottom: 14px; color: var(--pfc-blue); }
.pfc-framework__item h3 { margin-bottom: 8px; font-size: 1.125rem; }
.pfc-framework__item p { margin: 0; color: var(--pfc-slate-ink); font-size: 0.9688rem; }

.pfc-mediasub { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pfc-mediasub a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
	.pfc-article-card, .pfc-featured, .pfc-photo-card, .pfc-human__step, .pfc-playbook__step, .pfc-filters a { transition: none; }
	.pfc-article-card:hover, .pfc-featured:hover, .pfc-photo-card:hover, .pfc-human__step:hover, .pfc-playbook__step:hover { transform: none; }
}

/* =====================================================================
   SSOT v2.6 — bright canvas layer
   ---------------------------------------------------------------------
   Flips the site from charcoal full-screen backgrounds to a sunlit white /
   alabaster canvas. Charcoal stays for type, the compact top bar and the
   footer. This layer sits last so it overrides the base rules above
   without rewriting them; remove it to get the previous look back.

   Trust Blue (#4fa2d9) is the brand colour for fills, borders, icons,
   connectors and large highlighted headline words. White text on it is
   only 2.8:1, so buttons and small blue text use --pfc-blue-deep
   (#2b77ad, 4.8:1 with white) to meet WCAG AA.
   ===================================================================== */

:root {
	--pfc-light: #f4f8fb;            /* Warm alabaster (4% Trust Blue tint) */
	--pfc-alabaster: #f4f8fb;
	--pfc-blue-deep: #2b77ad;        /* Buttons + small blue text, AA on white */
	--pfc-blue-deeper: #23638f;      /* Button hover */
	--pfc-blue-tint: rgba(79, 162, 217, 0.08);
	--pfc-line-light: rgba(79, 162, 217, 0.22);
	--pfc-shadow: 0 1px 2px rgba(77, 76, 77, 0.05), 0 14px 34px -14px rgba(43, 119, 173, 0.28);
	--pfc-shadow-lg: 0 28px 64px -24px rgba(43, 119, 173, 0.35);
}

/* Former dark contexts now read as light ones: re-point the "on dark"
   tokens at charcoal/slate ink so every rule that used them follows. */
.pfc-hero,
.pfc-page-hero,
.pfc-section--dark,
.pfc-section--deep,
.pfc-section--alabaster,
.pfc-edition__main,
.pfc-modal__head,
.pfc-primary-nav {
	--pfc-on-dark: var(--pfc-charcoal);
	--pfc-on-dark-dim: var(--pfc-slate-ink);
	--pfc-line-dark: var(--pfc-line-light);
}

.pfc-section--dark,
.pfc-section--deep,
.pfc-section--alabaster {
	color: var(--pfc-charcoal);
	background:
		radial-gradient(900px 480px at 88% 0%, rgba(79, 162, 217, 0.10), transparent 62%),
		var(--pfc-alabaster);
}

.pfc-section--dark h1, .pfc-section--dark h2, .pfc-section--dark h3, .pfc-section--dark h4,
.pfc-section--deep h1, .pfc-section--deep h2, .pfc-section--deep h3, .pfc-section--deep h4,
.pfc-section--alabaster h1, .pfc-section--alabaster h2, .pfc-section--alabaster h3, .pfc-section--alabaster h4 {
	color: var(--pfc-charcoal);
}

.pfc-section--dark a,
.pfc-section--deep a { color: var(--pfc-charcoal); }

.pfc-body h1 em,
.pfc-body h2 em,
.pfc-hero__title em,
.pfc-page-hero h1 em {
	font-style: normal;
	color: var(--pfc-blue);
}

/* h2 highlights below ~30px are not "large text"; deepen them a touch. */
.pfc-body h3 em { font-style: normal; color: var(--pfc-blue-deep); }

.pfc-eyebrow,
.pfc-section--dark .pfc-eyebrow,
.pfc-section--deep .pfc-eyebrow,
.pfc-hero .pfc-eyebrow,
.pfc-page-hero .pfc-eyebrow,
.pfc-modal .pfc-eyebrow { color: var(--pfc-blue-deep); }

.pfc-lead,
.pfc-section--dark .pfc-lead,
.pfc-section--deep .pfc-lead,
.pfc-hero .pfc-lead,
.pfc-page-hero .pfc-lead { color: var(--pfc-slate-ink); }

/* ---------- Buttons (SSOT 1.3) ---------- */

.pfc-btn { font-weight: 700; }

.pfc-btn--solid,
.pfc-form-card .gform_footer .gform_button,
.pfc-form-card .gform_wrapper .gform_footer input[type="submit"],
.pfc-form-card .gform_wrapper .gform_footer button {
	background: var(--pfc-blue-deep);
	border-color: var(--pfc-blue-deep);
	color: var(--pfc-white) !important;
}

.pfc-btn--solid:hover,
.pfc-section--light .pfc-btn--solid:hover,
.pfc-section:not(.pfc-section--dark):not(.pfc-section--deep) .pfc-btn--solid:hover,
.pfc-form-card .gform_footer .gform_button:hover,
.pfc-form-card .gform_wrapper .gform_footer input[type="submit"]:hover,
.pfc-form-card .gform_wrapper .gform_footer button:hover {
	background: var(--pfc-blue-deeper);
	border-color: var(--pfc-blue-deeper);
	color: var(--pfc-white) !important;
	box-shadow: 0 10px 26px -12px rgba(43, 119, 173, 0.75);
}

.pfc-btn--outline,
.pfc-btn--dark {
	background: transparent;
	border: 1.5px solid var(--pfc-blue);
	color: var(--pfc-charcoal) !important;
}

.pfc-btn--outline:hover,
.pfc-btn--dark:hover {
	background: rgba(79, 162, 217, 0.08);
	border-color: var(--pfc-blue-deep);
	color: var(--pfc-charcoal) !important;
	transform: translateY(-2px);
}

.pfc-link-arrow { color: var(--pfc-blue-deep) !important; }
.pfc-link-arrow .pfc-icon { color: currentColor; }

/* ---------- Top bar (stays compact charcoal) ---------- */

.pfc-topbar { background: var(--pfc-charcoal); }
.pfc-topbar .pfc-btn--solid { border-color: var(--pfc-blue-deep); }
.pfc-topbar__phone .pfc-icon,
.pfc-topbar__support .pfc-icon { color: #8cc3e8; }
.pfc-body .pfc-topbar__phone:hover,
.pfc-body .pfc-topbar__support:hover { color: #8cc3e8; }

/* ---------- Header: white bar, full-colour logo ---------- */

.pfc-site-header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--pfc-line-light);
}

@supports (backdrop-filter: blur(10px)) {
	.pfc-site-header { background: rgba(255, 255, 255, 0.86); }
}

.pfc-site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(43, 119, 173, 0.35); }
.pfc-site-header__logo img { filter: none; }

.pfc-nav-toggle { border-color: var(--pfc-line-light); }
.pfc-nav-toggle__bar { background: var(--pfc-charcoal); }

.pfc-primary-nav { background: var(--pfc-white); border-bottom-color: var(--pfc-line-light); }
.pfc-primary-nav__list > li { border-bottom-color: var(--pfc-line-light); }
.pfc-primary-nav__list a,
.pfc-primary-nav__quick a { color: var(--pfc-charcoal); }
.pfc-primary-nav .sub-menu a { color: var(--pfc-slate-ink); }
.pfc-primary-nav__list a:hover,
.pfc-primary-nav__list .current-menu-item > a,
.pfc-primary-nav__list .current-menu-ancestor > a,
.pfc-primary-nav__list .current_page_item > a { color: var(--pfc-blue-deep); }

@media (min-width: 1024px) {
	.pfc-primary-nav { background: transparent; }
	.pfc-primary-nav__list > li > a:hover { background: rgba(79, 162, 217, 0.08); }

	/* Active page: Trust Blue underline indicator. */
	.pfc-primary-nav__list > .current-menu-item > a,
	.pfc-primary-nav__list > .current-menu-ancestor > a,
	.pfc-primary-nav__list > .current_page_item > a {
		box-shadow: inset 0 -3px 0 var(--pfc-blue);
		border-radius: 0;
	}

	.pfc-primary-nav .sub-menu {
		background: var(--pfc-white);
		border-color: var(--pfc-line-light);
		box-shadow: var(--pfc-shadow-lg);
	}

	.pfc-primary-nav .sub-menu a { color: var(--pfc-charcoal); }
	.pfc-primary-nav .sub-menu a:hover { background: rgba(79, 162, 217, 0.08); color: var(--pfc-blue-deep); }
}

/* ---------- Home hero: sunlit canvas + photo + glass pills ---------- */

.pfc-hero {
	color: var(--pfc-charcoal);
	background:
		radial-gradient(900px 560px at 85% 10%, rgba(79, 162, 217, 0.16), transparent 62%),
		linear-gradient(180deg, var(--pfc-white) 0%, var(--pfc-alabaster) 100%);
	min-height: 0;
}

.pfc-hero__title { color: var(--pfc-charcoal) !important; max-width: 16ch; font-size: clamp(2.375rem, 5.6vw, 4.5rem) !important; }
.pfc-hero__sub { color: var(--pfc-slate-ink); }

.pfc-hero__badge {
	color: var(--pfc-blue-deep);
	background: var(--pfc-white);
	border-color: var(--pfc-line-light);
	box-shadow: 0 1px 2px rgba(43, 119, 173, 0.08);
}

.pfc-hero__playbook { color: var(--pfc-charcoal); }
.pfc-hero__playbook .pfc-icon { color: var(--pfc-blue); flex: 0 0 auto; }

.pfc-hero__trust {
	color: var(--pfc-slate-ink);
	border-top-color: var(--pfc-line-light);
}

.pfc-hero__visual {
	display: block;
	position: relative;
	padding-bottom: 28px;
}

.pfc-hero__photo {
	border-radius: 24px;
	box-shadow: 0 30px 60px -28px rgba(43, 119, 173, 0.45), 0 2px 6px rgba(77, 76, 77, 0.08);
}

/* Live glass UI pills (SSOT 1.3: backdrop-blur-md bg-white/90 border
   border-[#4FA2D9]/30 shadow-lg rounded-full px-4 py-2 text-xs md:text-sm
   font-semibold text-[#4D4C4D]). Real text, no baked-in image copy. */
.pfc-glass-pill {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: calc(100% - 24px);
	margin: 0;
	padding: 8px 16px 8px 8px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pfc-charcoal);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(79, 162, 217, 0.3);
	border-radius: 999px;
	box-shadow: 0 10px 15px -3px rgba(43, 119, 173, 0.18), 0 4px 6px -4px rgba(77, 76, 77, 0.12);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
	animation: pfc-float 6s ease-in-out infinite;
}

.pfc-glass-pill__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	color: var(--pfc-white);
	background: var(--pfc-blue-deep);
	border-radius: 50%;
}

.pfc-glass-pill--ai { top: 18px; left: 12px; }
.pfc-glass-pill--gate { right: 12px; bottom: 0; animation-delay: -3s; }
.pfc-glass-pill--gate .pfc-glass-pill__icon { background: var(--pfc-blue); color: var(--pfc-ink); }

@media (min-width: 768px) {
	.pfc-glass-pill { font-size: 0.875rem; }
	.pfc-glass-pill--ai { left: -18px; top: 28px; }
	.pfc-glass-pill--gate { right: -14px; }
}

@keyframes pfc-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

/* ---------- Media frames (inc/site-images.php) ---------- */

.pfc-media-frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: var(--pfc-ratio, 16 / 9);
	overflow: hidden;
	background: var(--pfc-alabaster);
	border-radius: 20px;
}

.pfc-media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pfc-media-frame--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.9), transparent 45%),
		radial-gradient(circle at 85% 90%, rgba(79, 162, 217, 0.28), transparent 55%),
		linear-gradient(135deg, #eaf4fb 0%, #d7eaf7 100%);
	border: 1px dashed rgba(79, 162, 217, 0.55);
}

.pfc-media-frame__label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	max-width: 80%;
	color: var(--pfc-blue-deep);
	text-align: center;
}

.pfc-media-frame__label small {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--pfc-slate-ink);
}

/* ---------- Inner page hero ---------- */

.pfc-page-hero {
	color: var(--pfc-charcoal);
	background:
		radial-gradient(800px 420px at 90% 0%, rgba(79, 162, 217, 0.16), transparent 60%),
		linear-gradient(180deg, var(--pfc-white) 0%, var(--pfc-alabaster) 100%);
	border-bottom: 1px solid var(--pfc-line-light);
	padding-block: clamp(48px, 7vw, 96px);
}

.pfc-page-hero::before { display: none; }
.pfc-page-hero h1 { color: var(--pfc-charcoal) !important; max-width: 22ch; }
.pfc-breadcrumb { color: var(--pfc-slate-ink); }
.pfc-breadcrumb a { color: var(--pfc-blue-deep) !important; }
.pfc-breadcrumb a:hover { color: var(--pfc-blue-deeper) !important; }

.pfc-page-hero__inner { display: grid; gap: 40px; align-items: center; }
.pfc-page-hero__media .pfc-media-frame { box-shadow: var(--pfc-shadow-lg); }

@media (min-width: 1024px) {
	.pfc-page-hero--media .pfc-page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
	.pfc-page-hero--media h1 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
}

/* ---------- 1.2 Thesis + interactive architecture demo ---------- */

.pfc-thesis { background: var(--pfc-alabaster); }
.pfc-thesis__inner { display: grid; gap: 48px; align-items: center; }

@media (min-width: 1024px) {
	.pfc-thesis__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}

.pfc-thesis h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }

.pfc-bridge-demo {
	padding: clamp(20px, 3vw, 32px);
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: 24px;
	box-shadow: var(--pfc-shadow);
}

.pfc-bridge { filter: none; }
.pfc-bridge text { fill: var(--pfc-charcoal); }

.pfc-bridge__node {
	fill: var(--pfc-alabaster);
	stroke: rgba(79, 162, 217, 0.55);
	stroke-width: 1.5;
	transition: fill 0.25s, stroke 0.25s;
}

.pfc-bridge__node--core { fill: var(--pfc-blue); stroke: var(--pfc-white); stroke-width: 3; }
.pfc-bridge__label--core { fill: var(--pfc-ink) !important; }
.pfc-bridge__line { stroke: rgba(117, 129, 140, 0.35); }
.pfc-bridge__flow { stroke: var(--pfc-blue); }

.pfc-bridge__stage { cursor: pointer; transition: opacity 0.25s; }
.pfc-bridge-demo.has-active .pfc-bridge__stage { opacity: 0.45; }
.pfc-bridge-demo.has-active .pfc-bridge__stage.is-active { opacity: 1; }
.pfc-bridge__stage.is-active .pfc-bridge__node:not(.pfc-bridge__node--core) { fill: rgba(79, 162, 217, 0.16); stroke: var(--pfc-blue-deep); }

.pfc-bridge-demo__controls {
	display: grid;
	gap: 8px;
	margin-top: 18px;
}

@media (min-width: 560px) { .pfc-bridge-demo__controls { grid-template-columns: repeat(3, 1fr); } }

.pfc-bridge-demo__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	color: var(--pfc-charcoal);
	background: var(--pfc-white);
	border: 1.5px solid var(--pfc-line-light);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.pfc-bridge-demo__btn:hover { border-color: var(--pfc-blue); }

.pfc-bridge-demo__btn[aria-pressed="true"] {
	background: rgba(79, 162, 217, 0.1);
	border-color: var(--pfc-blue-deep);
}

.pfc-bridge-demo__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	font-size: 0.8125rem;
	color: var(--pfc-white);
	background: var(--pfc-blue-deep);
	border-radius: 50%;
}

.pfc-bridge-demo__detail { margin-top: 14px; min-height: 4.8em; }
.pfc-bridge-demo__detail p { margin: 0 0 8px; font-size: 0.9688rem; color: var(--pfc-slate-ink); }
.pfc-bridge-demo__detail strong { color: var(--pfc-charcoal); }
.js .pfc-bridge-demo__detail p { margin: 0; animation: pfc-fade 0.3s var(--pfc-ease); }

/* ---------- Four practices ---------- */

@media (min-width: 900px) {
	.pfc-pillars--4 { grid-template-columns: repeat(2, 1fr); }
}

.pfc-pillar-card--suite { --pillar: var(--pfc-blue-deep); --pillar-ink: var(--pfc-white); }
.pfc-pillar-card__num { color: var(--pfc-slate-ink); }

/* ---------- Two-Brain tabs, loop cards, chips on light ---------- */

.pfc-tabs__tab {
	color: var(--pfc-charcoal);
	background: var(--pfc-white);
	border-color: var(--pfc-line-light);
}

.pfc-tabs__tab:hover { background: rgba(79, 162, 217, 0.08); }

.pfc-tabs__tab[aria-selected="true"] {
	color: var(--pfc-white);
	background: var(--pfc-blue-deep);
	border-color: var(--pfc-blue-deep);
}

.pfc-loop-card,
.pfc-gates li,
.pfc-section--dark .pfc-feature,
.pfc-section--deep .pfc-feature,
.pfc-section--alabaster .pfc-feature,
.pfc-feature--dark,
.pfc-playbook__step,
.pfc-section--dark .pfc-cta-card,
.pfc-cta-card {
	background: var(--pfc-white);
	border-color: var(--pfc-line-light);
	color: var(--pfc-charcoal);
}

.pfc-section--dark .pfc-feature:hover,
.pfc-section--deep .pfc-feature:hover { background: var(--pfc-white); box-shadow: var(--pfc-shadow); }

.pfc-loop-card { box-shadow: var(--pfc-shadow); }
.pfc-loop-card p,
.pfc-gates li { color: var(--pfc-slate-ink); }
.pfc-gates strong { color: var(--pfc-charcoal); }
.pfc-loop-card__tag,
.pfc-edition__badge { color: var(--pfc-white); background: var(--pfc-blue-deep); }

.pfc-chip { color: var(--pfc-charcoal); border-color: rgba(79, 162, 217, 0.5); background: var(--pfc-white); }

.pfc-feature--dark .pfc-feature__title,
.pfc-feature--dark h3,
.pfc-playbook__step h3 { color: var(--pfc-charcoal); }
.pfc-feature--dark p,
.pfc-playbook__step p,
.pfc-playbook__note { color: var(--pfc-slate-ink); }
.pfc-playbook__num { color: rgba(79, 162, 217, 0.25); }
.pfc-playbook__step:hover { background: var(--pfc-white); box-shadow: var(--pfc-shadow); }

.pfc-cta-card p { color: var(--pfc-slate-ink); }
.pfc-cta-card { box-shadow: 0 1px 2px rgba(77, 76, 77, 0.04); }
.pfc-cta-card:hover { box-shadow: var(--pfc-shadow); }
.pfc-cta-card .pfc-link-arrow { font-size: 0.9375rem; }

.pfc-conversion h2 { color: var(--pfc-charcoal); }
.pfc-conversion p { color: var(--pfc-slate-ink); }
.pfc-metrics__label { color: var(--pfc-slate-ink); }

/* ---------- SpiceCRM edition block ---------- */

.pfc-edition__main {
	color: var(--pfc-charcoal);
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(79, 162, 217, 0.16), transparent 62%),
		var(--pfc-alabaster);
}

.pfc-edition__main h3,
.pfc-edition__main .pfc-checklist strong { color: var(--pfc-charcoal); }
.pfc-checklist .pfc-icon { color: var(--pfc-white); background: var(--pfc-blue-deep); }

/* ---------- Human operated (1.4) ---------- */

.pfc-human__intro { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(32px, 4vw, 48px); }
.pfc-human__intro .pfc-section__head { margin-bottom: 0; }

@media (min-width: 1024px) {
	.pfc-human__intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}

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

.pfc-human__dot { width: auto; min-width: 40px; padding: 0 10px; border-radius: 999px; background: var(--pfc-blue-deep); }
.pfc-human__step { border-top-color: var(--pfc-blue); }

.pfc-photo { background: var(--pfc-alabaster); }
.pfc-photo--placeholder {
	color: var(--pfc-blue-deep);
	background:
		radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.9), transparent 50%),
		linear-gradient(135deg, #eaf4fb 0%, #d7eaf7 100%);
}

/* ---------- Services: alternating image + copy blocks ---------- */

.pfc-service-block { display: grid; gap: 36px; align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.pfc-service-block .pfc-section__head { margin-bottom: 0; }
.pfc-service-block__media .pfc-media-frame { box-shadow: var(--pfc-shadow); }

@media (min-width: 1024px) {
	.pfc-service-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
	.pfc-service-block--flip .pfc-service-block__media { order: -1; }
}

/* ---------- SuiteCRM page ---------- */

.pfc-steps--3 { counter-reset: pfc-step; }
@media (min-width: 1100px) { .pfc-steps--3 { grid-template-columns: repeat(3, 1fr); } }

.pfc-table-wrap {
	overflow-x: auto;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: 20px;
	box-shadow: var(--pfc-shadow);
}

.pfc-compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1rem; }
.pfc-compare-table th,
.pfc-compare-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pfc-line-light); }
.pfc-compare-table tbody tr:last-child > * { border-bottom: 0; }
.pfc-compare-table thead th { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pfc-slate-ink); }
.pfc-compare-table tbody th { width: 22%; font-weight: 700; color: var(--pfc-charcoal); }
.pfc-compare-table td { color: var(--pfc-slate-ink); }
.pfc-compare-table .is-highlight { background: rgba(79, 162, 217, 0.07); color: var(--pfc-charcoal); }
.pfc-compare-table thead .is-highlight { color: var(--pfc-blue-deep); }
.pfc-compare-table td.is-highlight .pfc-icon { margin-right: 6px; vertical-align: -3px; color: var(--pfc-blue-deep); }

/* ---------- About: team grid ---------- */

.pfc-team-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .pfc-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pfc-team-grid { grid-template-columns: repeat(4, 1fr); } }

.pfc-team-card {
	margin: 0;
	overflow: hidden;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
}

.pfc-team-card .pfc-media-frame { border-radius: 0; border-width: 0 0 1px; }
.pfc-team-card figcaption { padding: 18px 20px 22px; }
.pfc-team-card h3 { margin-bottom: 6px; font-size: 1.0625rem; }
.pfc-team-card p { margin: 0; font-size: 0.9375rem; color: var(--pfc-slate-ink); }

/* ---------- Modals ---------- */

.pfc-modal__head {
	color: var(--pfc-charcoal);
	background:
		radial-gradient(400px 220px at 100% 0%, rgba(79, 162, 217, 0.2), transparent 62%),
		var(--pfc-alabaster);
	border-bottom: 1px solid var(--pfc-line-light);
}

.pfc-modal__head h2 { color: var(--pfc-charcoal) !important; }
.pfc-modal__close { color: var(--pfc-charcoal); background: var(--pfc-white); border-color: var(--pfc-line-light); }
.pfc-modal__close:hover { background: rgba(79, 162, 217, 0.12); }
.pfc-modal::backdrop { background: rgba(77, 76, 77, 0.55); }

/* ---------- Footer (charcoal contrast band) ---------- */

.pfc-footer__wave { background: var(--pfc-alabaster); }

@media (prefers-reduced-motion: reduce) {
	.pfc-glass-pill { animation: none; }
}

/* ---------- Japanese (and other CJK) readiness ----------
   Lato has no Japanese glyphs. Latin text keeps Lato; Japanese characters
   fall through to Noto Sans JP (enqueued only for ja locales, see
   functions.php) and then to the OS Japanese fonts. ch-based widths are
   relaxed because a Japanese character is about two "ch" wide. */
:lang(ja) .pfc-body,
.pfc-body:lang(ja) {
	font-family: "Lato", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	line-break: strict;
	overflow-wrap: anywhere;
	word-break: normal;
}

.pfc-body:lang(ja) h1,
.pfc-body:lang(ja) h2,
.pfc-body:lang(ja) h3,
.pfc-body:lang(ja) h4,
.pfc-body:lang(ja) .pfc-hero__title {
	letter-spacing: 0 !important;
	line-height: 1.35 !important;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.pfc-body:lang(ja) .pfc-hero__title,
.pfc-body:lang(ja) .pfc-page-hero h1,
.pfc-body:lang(ja) .pfc-article-hero h1 { max-width: 22em; }

.pfc-body:lang(ja) .pfc-hero__sub,
.pfc-body:lang(ja) .pfc-page-hero .pfc-lead,
.pfc-body:lang(ja) .pfc-article-hero .pfc-lead,
.pfc-body:lang(ja) .pfc-conversion p,
.pfc-body:lang(ja) .pfc-playbook__note,
.pfc-body:lang(ja) .pfc-footer__tagline { max-width: 40em; }

.pfc-body:lang(ja) .pfc-eyebrow,
.pfc-body:lang(ja) .pfc-hero__badge { letter-spacing: 0.06em; }

/* ---------- Japan partner page (JAITS), page-templates/page-japan.php ----------
   Bilingual: <main lang="ja"> with English marked lang="en". Japanese
   leads; English sits beside it in a quieter style. */
.pfc-jp:lang(ja) {
	font-family: "Lato", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	line-break: strict;
	overflow-wrap: anywhere;
}
.pfc-jp :is(h1, h2, h3, h4):lang(ja) {
	letter-spacing: 0 !important;
	line-height: 1.4 !important;
	/* keep-all would glue a whole Japanese headline into one "word" and
	   split Latin words like SpiceCRM; normal breaks between kana instead. */
	word-break: normal;
	overflow-wrap: break-word;
}
.pfc-jp .pfc-page-hero h1 { max-width: 22em; }
.pfc-jp .pfc-lead:lang(ja) { max-width: 40em; }
.pfc-jp .pfc-eyebrow:lang(en) { letter-spacing: 0.06em; }

.pfc-jp__en {
	margin: 0 0 14px;
	max-width: 46em;
	color: var(--pfc-slate-ink);
	font-size: 0.9375rem;
	line-height: 1.6;
}
li .pfc-jp__en,
.pfc-jp__tagline .pfc-jp__en { display: block; margin: 2px 0 0; }

.pfc-jp__logos img {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	margin-inline: auto;
	padding: clamp(20px, 4vw, 40px);
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
}

.pfc-jp__partner { margin-top: 28px; }
.pfc-jp__partner h3 { margin-bottom: 4px; }
.pfc-jp__partner .pfc-jp__partner-ja { margin: 0 0 16px; color: var(--pfc-charcoal); font-weight: 600; }
.pfc-jp__partner-logo { display: block; max-width: 220px; height: auto; margin-bottom: 16px; }
.pfc-jp__details {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	margin: 0 0 16px;
}
.pfc-jp__details dt { color: var(--pfc-slate-ink); font-weight: 600; }
.pfc-jp__details dd { margin: 0; overflow-wrap: anywhere; }
.pfc-jp__details a { font-weight: 700; color: var(--pfc-blue-deep); }
.pfc-jp__address { display: grid; gap: 8px; font-style: normal; color: var(--pfc-slate-ink); }

#jp-contact,
#jp-resellers { scroll-margin-top: 96px; }

.pfc-jp__principles { grid-template-columns: 1fr; }
@media (min-width: 640px) { .pfc-jp__principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pfc-jp__principles { grid-template-columns: repeat(5, 1fr); } }
.pfc-jp__principles .pfc-feature { padding: 24px; }
.pfc-jp__principles .pfc-feature__title { font-size: 1.125rem; }

.pfc-jp__features {
	display: grid;
	gap: 14px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 760px) { .pfc-jp__features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pfc-jp__features { grid-template-columns: repeat(3, 1fr); } }
.pfc-jp__features li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 16px 18px;
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius-sm);
}
.pfc-jp__features .pfc-icon { flex: none; margin-top: 3px; color: var(--pfc-blue); }
.pfc-jp__features strong { color: var(--pfc-charcoal); font-weight: 600; }
.pfc-jp__tagline { margin: 32px 0 0; font-size: 1.25rem; text-align: center; }
.pfc-jp__tagline .pfc-jp__en { max-width: none; }
.pfc-jp__tagline strong { color: var(--pfc-charcoal); }

.pfc-jp__bilingual { display: grid; gap: 32px; }
@media (min-width: 960px) { .pfc-jp__bilingual { grid-template-columns: 1fr 1fr; gap: 56px; } }
.pfc-jp__bilingual p { margin: 0 0 16px; }
.pfc-jp__en-col { padding-left: 24px; border-left: 3px solid var(--pfc-line-light); color: var(--pfc-slate-ink); }
@media (max-width: 959px) { .pfc-jp__en-col { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 3px solid var(--pfc-line-light); } }

/* ---------- Prohooq product pages: FAQ accordion ---------- */

.pfc-faq { display: grid; gap: 12px; max-width: 880px; }
.pfc-faq__item {
	background: var(--pfc-white);
	border: 1px solid var(--pfc-line-light);
	border-radius: var(--pfc-radius);
}
.pfc-faq__item summary {
	position: relative;
	padding: 20px 56px 20px 24px;
	font-weight: 700;
	color: var(--pfc-charcoal);
	list-style: none;
	cursor: pointer;
}
.pfc-faq__item summary::-webkit-details-marker { display: none; }
.pfc-faq__item summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 24px;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--pfc-blue-deep);
	transform: translateY(-50%);
}
.pfc-faq__item[open] summary::after { content: "\2212"; }
.pfc-faq__item summary:focus-visible { outline: 2px solid var(--pfc-blue-deep); outline-offset: 2px; border-radius: var(--pfc-radius); }
.pfc-faq__item p { margin: 0; padding: 0 24px 22px; color: var(--pfc-slate-ink); }
.pfc-compare-table--2 { min-width: 520px; }
.pfc-compare-table--2 thead th { width: 50%; }

/* ---------- Home: supporting layers under the three practices ---------- */

.pfc-support {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--pfc-line-light);
}
.pfc-support__head { margin-bottom: 24px; }
.pfc-support__head h3 { margin: 0; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.pfc-support .pfc-feature .pfc-link-arrow { display: inline-flex; margin-top: 8px; }
.pfc-cta-alt { margin: 28px 0 0; text-align: center; }
.pfc-cta-band .pfc-cta-alt .pfc-link-arrow { color: var(--pfc-white); }

/* ---------- Third menu level (e.g. SpiceCRM and SuiteCRM under CRM) ----------
   Shown inline and indented inside the parent dropdown, never as a flyout. */

.pfc-primary-nav .sub-menu .sub-menu,
.pfc-primary-nav .submenu-open .sub-menu .sub-menu {
	display: block;
	position: static;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0 0 4px 14px;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}
.pfc-primary-nav .sub-menu .menu-item-has-children > a::after { display: none; }
.pfc-primary-nav .sub-menu .sub-menu a { padding-block: 8px; font-size: 0.9375rem; font-weight: 400; }

@media (min-width: 900px) {
	.pfc-checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* CRM landing page: leadership / team gains and delivery steps (v2.8.1) */
.pfc-gains {
	display: grid;
	gap: 24px;
	margin-top: 48px;
}
.pfc-gains__col {
	background: var(--pfc-white);
	border: 1px solid rgba(117, 129, 140, 0.2);
	border-radius: var(--pfc-radius, 12px);
	padding: 28px 32px;
}
.pfc-gains__col h3 {
	margin: 0 0 16px;
	font-size: 1.25rem;
}
.pfc-deliver-steps {
	margin-top: 48px;
}
@media (min-width: 900px) {
	.pfc-gains { grid-template-columns: 1fr 1fr; }
}
