/* =====================================================================
   Design elevation layer
   ---------------------------------------------------------------------
   Loaded after style.css. Adds depth and motion on top of the SSOT v2.6
   bright canvas without touching content or layout structure:

   - "Flow field" backdrops (template-parts/flow-field.php): gradient mesh,
     dot grid, flowing lines with travelling signals and pulsing nodes.
   - A stronger display type scale and gradient highlight words.
   - Glass / elevated cards with gradient edges and lift on hover.
   - Framed media: gradient backplate, corner brackets, brand tint.
   - Deep Trust Blue "signal" bands for closing calls to action.
   - Softer curved section transitions and richer scroll reveals.

   Colour rules still hold: #4d4c4d is type only, buttons and small blue
   text use #2b77ad, and white text only sits on the deep blue band
   (>= 7:1). Every animation stops under prefers-reduced-motion.
   Delete this file's enqueue in functions.php to return to v2.6.
   ===================================================================== */

:root {
	--pfc-navy: #0d2c47;
	--pfc-navy-2: #12406a;
	--pfc-grad-text: linear-gradient(100deg, #23638f 0%, #2b77ad 45%, #3b8dc8 100%);
	--pfc-grad-edge: linear-gradient(135deg, rgba(79, 162, 217, 0.85), rgba(79, 162, 217, 0.08) 45%, rgba(43, 119, 173, 0.55));
	--pfc-glass: rgba(255, 255, 255, 0.78);
	--pfc-elev-1: 0 1px 1px rgba(13, 44, 71, 0.04), 0 2px 4px rgba(13, 44, 71, 0.04), 0 12px 28px -12px rgba(43, 119, 173, 0.22);
	--pfc-elev-2: 0 2px 4px rgba(13, 44, 71, 0.05), 0 24px 48px -18px rgba(43, 119, 173, 0.38), 0 60px 90px -60px rgba(43, 119, 173, 0.45);
}

/* ---------- Type scale ---------- */

.pfc-body h1,
.pfc-body h2 { letter-spacing: -0.022em; }

.pfc-body h2 { font-size: clamp(2rem, 3.9vw, 3.25rem); line-height: 1.08; }
.pfc-hero__title { font-size: clamp(2.75rem, 6vw, 5.25rem) !important; line-height: 0.98 !important; letter-spacing: -0.03em !important; max-width: 14ch; }
.pfc-page-hero h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -0.028em; }
.pfc-lead { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; }

/* Highlight words: deep-to-trust-blue gradient (>= 3:1 on white at large sizes). */
.pfc-body h1 em,
.pfc-body h2 em,
.pfc-hero__title em,
.pfc-page-hero h1 em {
	color: var(--pfc-blue-deep);
	background: var(--pfc-grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	padding-bottom: 0.06em;
}

/* Eyebrow: a glowing signal dot inside a soft pill. */
.pfc-body .pfc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px 7px 10px;
	border: 1px solid rgba(79, 162, 217, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 1px 2px rgba(43, 119, 173, 0.08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

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

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

@keyframes pfc-ping {
	0% { box-shadow: 0 0 0 0 rgba(79, 162, 217, 0.45); }
	70%, 100% { box-shadow: 0 0 0 8px rgba(79, 162, 217, 0); }
}

/* ---------- Flow field backdrop ---------- */

.pfc-hero,
.pfc-page-hero,
.pfc-thesis,
.pfc-signal-band,
.pfc-cta-band { position: relative; isolation: isolate; overflow: hidden; }

.pfc-flow-field {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	color: var(--pfc-blue);
}

.pfc-flow-field__mesh,
.pfc-flow-field__grid { position: absolute; inset: 0; }

.pfc-flow-field__mesh {
	inset: -20%;
	background:
		radial-gradient(38% 42% at 78% 22%, rgba(79, 162, 217, 0.30), transparent 70%),
		radial-gradient(30% 36% at 96% 78%, rgba(43, 119, 173, 0.20), transparent 70%),
		radial-gradient(34% 40% at 12% 88%, rgba(140, 195, 232, 0.28), transparent 70%),
		radial-gradient(26% 30% at 40% 0%, rgba(255, 255, 255, 0.9), transparent 70%);
	filter: blur(10px);
	animation: pfc-drift 22s ease-in-out infinite alternate;
}

.pfc-flow-field__grid {
	background-image: radial-gradient(rgba(43, 119, 173, 0.22) 1px, transparent 1.2px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(70% 80% at 75% 35%, #000 0%, transparent 72%);
	mask-image: radial-gradient(70% 80% at 75% 35%, #000 0%, transparent 72%);
	opacity: 0.55;
}

.pfc-flow-field__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pfc-flow-field__lines path { stroke-width: 1.4; }
.pfc-flow-field__lines path:nth-child(odd) { stroke-width: 2.2; }

.pfc-flow-field__signals path {
	stroke: var(--pfc-blue);
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-dasharray: 2 160 60 1400;
	opacity: 0.85;
	filter: drop-shadow(0 0 6px rgba(79, 162, 217, 0.9));
	animation: pfc-signal 9s linear infinite;
	animation-delay: calc(var(--i) * -1.7s);
}

.pfc-flow-field__nodes circle {
	fill: #fff;
	stroke: var(--pfc-blue);
	stroke-width: 2.5;
	transform-box: fill-box;
	transform-origin: center;
	animation: pfc-node 3.2s ease-in-out infinite;
	animation-delay: calc(var(--i) * -0.55s);
}

@keyframes pfc-signal { to { stroke-dashoffset: -1622; } }
@keyframes pfc-node { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
@keyframes pfc-drift {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	100% { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}

/* Hero: lines stay to the right half so copy keeps a clean field. */
.pfc-flow-field--hero .pfc-flow-field__svg,
.pfc-flow-field--soft .pfc-flow-field__svg,
.pfc-thesis .pfc-flow-field__svg {
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.5) 58%, #000 70%);
	mask-image: linear-gradient(90deg, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.5) 58%, #000 70%);
}

@media (max-width: 1023px) {
	.pfc-flow-field--hero .pfc-flow-field__svg,
	.pfc-flow-field--soft .pfc-flow-field__svg { opacity: 0.35; }
	.pfc-flow-field__nodes { display: none; }
}

.pfc-flow-field--soft { opacity: 0.75; }
.pfc-flow-field--soft .pfc-flow-field__signals,
.pfc-flow-field--soft .pfc-flow-field__nodes { opacity: 0.6; }

/* Band variant: luminous lines on deep blue. */
.pfc-flow-field--band { color: #8cc3e8; }
.pfc-flow-field--band .pfc-flow-field__mesh {
	background:
		radial-gradient(40% 60% at 85% 10%, rgba(79, 162, 217, 0.55), transparent 70%),
		radial-gradient(40% 60% at 10% 100%, rgba(79, 162, 217, 0.35), transparent 70%);
}
.pfc-flow-field--band .pfc-flow-field__grid {
	background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.2px);
}
.pfc-flow-field--band .pfc-flow-field__signals path { stroke: #bfe1f7; }
.pfc-flow-field--band .pfc-flow-field__nodes { display: none; }
.pfc-flow-field--band .pfc-flow-field__lines { opacity: 0.7; }

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

.pfc-hero {
	background: linear-gradient(180deg, #ffffff 0%, #f6fafd 55%, var(--pfc-alabaster) 100%);
	padding-bottom: clamp(72px, 9vw, 140px);
}

.pfc-hero__inner { position: relative; z-index: 1; }

.pfc-hero__badge {
	background: rgba(255, 255, 255, 0.8);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.pfc-hero__visual { padding: 18px 0 40px; }

/* Gradient backplate + orbit ring behind the hero photo. */
.pfc-hero__visual::before,
.pfc-hero__visual::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

.pfc-hero__visual::before {
	inset: 46px -18px 10px 34px;
	border-radius: 32px;
	background: linear-gradient(140deg, #4fa2d9 0%, #2b77ad 55%, #12406a 100%);
	transform: rotate(3deg);
	box-shadow: 0 40px 80px -30px rgba(18, 64, 106, 0.6);
}

.pfc-hero__visual::after {
	width: 180px;
	height: 180px;
	right: -40px;
	top: -26px;
	border-radius: 50%;
	border: 1.5px dashed rgba(79, 162, 217, 0.55);
	animation: pfc-spin 40s linear infinite;
}

@keyframes pfc-spin { to { transform: rotate(360deg); } }

.pfc-hero__photo {
	position: relative;
	z-index: 1;
	border-radius: 28px;
	box-shadow: var(--pfc-elev-2);
	outline: 6px solid rgba(255, 255, 255, 0.85);
	outline-offset: -1px;
}

.pfc-glass-pill { z-index: 3; box-shadow: 0 18px 36px -14px rgba(18, 64, 106, 0.4), 0 2px 6px rgba(13, 44, 71, 0.08); }

/* Smooth curve instead of the angular divider. */
.pfc-wave-divider { height: clamp(40px, 6vw, 88px); }

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

.pfc-page-hero {
	background: linear-gradient(180deg, #ffffff 0%, var(--pfc-alabaster) 100%);
	border-bottom: 0;
	padding-block: clamp(64px, 8vw, 120px);
}

.pfc-page-hero__inner { position: relative; z-index: 1; }

.pfc-page-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(79, 162, 217, 0.55), transparent);
}

/* ---------- Framed media ---------- */

.pfc-page-hero__media,
.pfc-service-block__media,
.pfc-human__media {
	position: relative;
	isolation: isolate;
}

.pfc-page-hero__media::before,
.pfc-service-block__media::before,
.pfc-human__media::before {
	content: "";
	position: absolute;
	inset: 22px -16px -16px 22px;
	z-index: -1;
	border-radius: 26px;
	background:
		radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1.3px) 0 0 / 16px 16px,
		linear-gradient(140deg, #4fa2d9, #2b77ad 60%, #12406a);
	opacity: 0.9;
}

.pfc-service-block--flip .pfc-service-block__media::before { inset: 22px 22px -16px -16px; }

.pfc-media-frame {
	border-radius: 24px;
	box-shadow: var(--pfc-elev-2);
}

/* Brand tint + light sweep unify stock photos with the palette. */
.pfc-media-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.18) 0%, transparent 35%),
		linear-gradient(0deg, rgba(18, 64, 106, 0.22) 0%, transparent 45%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.pfc-media-frame img { transition: transform 1.2s var(--pfc-ease); }
.pfc-service-block:hover .pfc-media-frame img,
.pfc-page-hero__media:hover .pfc-media-frame img { transform: scale(1.04); }

/* Designed placeholder: mesh, flow lines and a glass label chip. */
.pfc-media-frame--placeholder {
	border: 0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 450' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.5'%3E%3Cpath d='M-20 360 C 180 360 260 200 440 200 S 700 90 820 110'/%3E%3Cpath d='M-20 400 C 220 400 320 260 500 260 S 740 200 820 210'/%3E%3Cpath d='M-20 310 C 160 310 240 140 400 140 S 660 30 820 50'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='440' cy='200' r='5'/%3E%3Ccircle cx='500' cy='260' r='5'/%3E%3Ccircle cx='400' cy='140' r='5'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,
		radial-gradient(60% 70% at 85% 15%, rgba(140, 195, 232, 0.9), transparent 70%),
		radial-gradient(60% 70% at 10% 100%, rgba(18, 64, 106, 0.85), transparent 70%),
		linear-gradient(135deg, #4fa2d9 0%, #2b77ad 55%, #12406a 100%);
}

.pfc-media-frame--placeholder .pfc-media-frame__label {
	padding: 18px 22px;
	border-radius: 18px;
	color: var(--pfc-blue-deep);
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 20px 40px -18px rgba(13, 44, 71, 0.55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* ---------- Sections: layered canvas ---------- */

.pfc-section { position: relative; }

.pfc-section--light,
.pfc-section--alabaster,
.pfc-thesis:not(.pfc-signal-band) {
	background:
		radial-gradient(50% 60% at 100% 0%, rgba(79, 162, 217, 0.12), transparent 70%),
		radial-gradient(40% 50% at 0% 100%, rgba(140, 195, 232, 0.14), transparent 70%),
		var(--pfc-alabaster);
}

/* Faint flow-line watermark on plain white sections. */
.pfc-section:not(.pfc-section--light):not(.pfc-section--alabaster):not(.pfc-section--dark):not(.pfc-thesis):not(.pfc-cta-band)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%234fa2d9' stroke-opacity='.10' stroke-width='1.5'%3E%3Cpath d='M-40 520 C 300 520 420 330 700 330 S 1080 250 1480 270'/%3E%3Cpath d='M-40 470 C 260 470 330 250 620 250 S 1010 120 1480 150'/%3E%3Cpath d='M-40 570 C 340 570 520 420 800 420 S 1140 360 1480 380'/%3E%3C/g%3E%3C/svg%3E") center bottom / 100% 70% no-repeat;
}

.pfc-section > .pfc-container { position: relative; z-index: 1; }

/* ---------- Cards: glass, gradient edge, lift ---------- */

.pfc-feature,
.pfc-pillar-card,
.pfc-cta-card,
.pfc-photo-card,
.pfc-human__step,
.pfc-step,
.pfc-playbook__step,
.pfc-loop-card,
.pfc-team-card,
.pfc-bridge-demo {
	position: relative;
	background: var(--pfc-glass);
	border: 1px solid rgba(79, 162, 217, 0.16);
	border-radius: 20px;
	box-shadow: var(--pfc-elev-1);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	transition: transform 0.45s var(--pfc-ease), box-shadow 0.45s var(--pfc-ease), border-color 0.45s var(--pfc-ease);
}

/* Gradient hairline edge that lights up on hover. */
.pfc-feature::before,
.pfc-pillar-card::before,
.pfc-cta-card::before,
.pfc-photo-card::before,
.pfc-step::before,
.pfc-team-card::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: var(--pfc-grad-edge);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.45s var(--pfc-ease);
	pointer-events: none;
}

.pfc-feature:hover,
.pfc-pillar-card:hover,
.pfc-cta-card:hover,
.pfc-photo-card:hover,
.pfc-step:hover,
.pfc-team-card:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--pfc-elev-2);
}

.pfc-feature:hover::before,
.pfc-pillar-card:hover::before,
.pfc-cta-card:hover::before,
.pfc-photo-card:hover::before,
.pfc-step:hover::before,
.pfc-team-card:hover::before { opacity: 1; }

/* Icon chips: gradient tiles with a soft glow. */
.pfc-feature__icon,
.pfc-pillar-card__icon,
.pfc-cta-card > .pfc-icon:first-child,
.pfc-playbook__icon {
	color: #fff !important;
	background: linear-gradient(140deg, #4fa2d9, #2b77ad) !important;
	border: 0 !important;
	box-shadow: 0 10px 22px -10px rgba(43, 119, 173, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pfc-pillar-card--crm .pfc-pillar-card__icon { background: linear-gradient(140deg, #5d6f80, #4d4c4d) !important; }
.pfc-pillar-card--infra .pfc-pillar-card__icon { background: linear-gradient(140deg, #75818c, #4f5d69) !important; }
.pfc-pillar-card--suite .pfc-pillar-card__icon { background: linear-gradient(140deg, #2b77ad, #12406a) !important; }

/* Pillar cards: top accent glow and a large outlined numeral. */
.pfc-pillar-card { border-top: 4px solid var(--pillar, var(--pfc-blue)); overflow: hidden; }
.pfc-pillar-card:hover { border-color: transparent; border-top-color: var(--pillar, var(--pfc-blue)); }
.pfc-pillar-card::after {
	width: 260px;
	height: 260px;
	top: -150px;
	right: -110px;
	background: radial-gradient(circle, var(--pillar, var(--pfc-blue)) 0%, transparent 68%);
	opacity: 0.16;
}
.pfc-pillar-card:hover::after { transform: scale(1.25); opacity: 0.24; }

.pfc-pillar-card__num {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent !important;
	-webkit-text-stroke: 1.5px rgba(43, 119, 173, 0.45);
}

.pfc-pillar-card > *:first-child { position: relative; }
.pfc-pillar-card > * { position: relative; z-index: 1; }

/* Steps: connected by a flowing gradient rail. */
.pfc-steps { position: relative; }
.pfc-steps::before {
	content: "";
	position: absolute;
	left: 4%;
	right: 4%;
	top: 50%;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(79, 162, 217, 0.6), transparent);
	background-size: 200% 100%;
	animation: pfc-rail 4s linear infinite;
	z-index: 0;
}

.pfc-step { z-index: 1; }

@keyframes pfc-rail { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- Thesis + interactive diagram ---------- */

.pfc-bridge-demo { padding: clamp(18px, 2.4vw, 28px); background: rgba(255, 255, 255, 0.82); box-shadow: var(--pfc-elev-2); }
.pfc-bridge__node--core { filter: drop-shadow(0 10px 18px rgba(43, 119, 173, 0.45)); }
.pfc-bridge__flow { filter: drop-shadow(0 0 4px rgba(79, 162, 217, 0.8)); }

/* ---------- Deep blue signal bands (closing CTAs) ---------- */

.pfc-cta-band,
.pfc-signal-band {
	--pfc-on-dark: #ffffff;
	--pfc-on-dark-dim: rgba(255, 255, 255, 0.82);
	color: #fff;
	background:
		linear-gradient(160deg, var(--pfc-navy) 0%, var(--pfc-navy-2) 55%, #1d5f91 100%) !important;
}

.pfc-cta-band h2,
.pfc-signal-band h2,
.pfc-cta-band .pfc-section__head h2,
.pfc-signal-band .pfc-section__head h2 { color: #fff !important; }

.pfc-cta-band h2 em,
.pfc-signal-band h2 em {
	background: linear-gradient(100deg, #bfe1f7, #8cc3e8 60%, #ffffff);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.pfc-cta-band .pfc-lead,
.pfc-signal-band .pfc-section__head .pfc-lead { color: rgba(255, 255, 255, 0.84) !important; }

.pfc-cta-band .pfc-eyebrow,
.pfc-signal-band .pfc-eyebrow {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
}

.pfc-cta-band .pfc-btn-row .pfc-btn--solid {
	background: #fff;
	border-color: #fff;
	color: var(--pfc-navy) !important;
	box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.5);
}

.pfc-cta-band .pfc-btn-row .pfc-btn--solid:hover { background: #e8f3fb !important; border-color: #e8f3fb !important; color: var(--pfc-navy) !important; }

.pfc-cta-band .pfc-btn-row .pfc-btn--outline {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.55);
}

.pfc-cta-band .pfc-btn-row .pfc-btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff !important; }

/* Architecture showcase on the band: copy in white, diagram card stays light. */
.pfc-signal-band .pfc-thesis__copy .pfc-lead { color: rgba(255, 255, 255, 0.84) !important; }
.pfc-signal-band .pfc-bridge-demo {
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.pfc-thesis.pfc-signal-band { padding-top: clamp(64px, 8vw, 120px); }

/* Cards inside the band stay light and readable. */
.pfc-cta-band .pfc-cta-card,
.pfc-signal-band .pfc-cta-card { background: rgba(255, 255, 255, 0.96); color: var(--pfc-charcoal); }

/* ---------- Footer: smooth curve over whatever sits above ---------- */

.pfc-footer { margin-top: 0; }
.pfc-footer__wave {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: clamp(36px, 4.5vw, 72px);
	transform: translateY(calc(-100% + 1px));
	background: transparent;
	pointer-events: none;
}

.pfc-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(40% 60% at 85% 0%, rgba(79, 162, 217, 0.22), transparent 70%),
		radial-gradient(30% 50% at 0% 100%, rgba(79, 162, 217, 0.12), transparent 70%);
}

.pfc-footer__main { position: relative; }

/* ---------- Scroll reveal: rise + unblur ---------- */

.js .pfc-reveal {
	transform: translateY(28px) scale(0.985);
	filter: blur(6px);
	transition: opacity 0.9s var(--pfc-ease), transform 0.9s var(--pfc-ease), filter 0.9s var(--pfc-ease);
	transition-delay: var(--pfc-delay, 0s);
}

.js .pfc-reveal.is-visible { filter: none; }

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

@media (prefers-reduced-motion: reduce) {
	.pfc-flow-field__mesh,
	.pfc-flow-field__signals path,
	.pfc-flow-field__nodes circle,
	.pfc-hero__visual::after,
	.pfc-steps::before,
	.pfc-body .pfc-eyebrow::before { animation: none !important; }
	.pfc-flow-field__signals { display: none; }
	.js .pfc-reveal { filter: none; transform: none; }
	.pfc-feature:hover,
	.pfc-pillar-card:hover,
	.pfc-cta-card:hover,
	.pfc-photo-card:hover,
	.pfc-step:hover,
	.pfc-team-card:hover { transform: none; }
}

/* ---------- Small screens ---------- */

@media (max-width: 767px) {
	.pfc-hero__visual::before { inset: 36px -8px 18px 18px; }
	.pfc-hero__visual::after { display: none; }
	.pfc-steps::before { display: none; }
	.pfc-page-hero__media::before,
	.pfc-service-block__media::before,
	.pfc-human__media::before { inset: 14px -8px -10px 14px; }
}

/* =====================================================================
   Cinematic home hero: a person at the centre, the platform in hand.
   The photo (Site Images > hero-mobile-leader) sits to the right and
   fades into deep navy; live glass pills float around the phone and a
   three-step flow (Frame, Accelerate, Approve) cycles along the bottom.
   ===================================================================== */

.pfc-hero--cinema {
	--pfc-on-dark: #ffffff;
	--pfc-on-dark-dim: rgba(255, 255, 255, 0.78);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: min(100svh - 40px, 940px);
	padding: clamp(40px, 5vw, 72px) 0 0;
	color: #fff;
	background: #071a2c;
}

/* Desktop: the hero fills the viewport below the top bar and header, so the
   navy bottom edge sits flush with the bottom of the screen at every width.
   --pfc-hero-offset is measured by app.js (initHeroHeight); 132px is the
   fallback before scripts run. min-height lets very short screens grow. */
@media (min-width: 1024px) {
	.pfc-hero--cinema {
		min-height: calc(100vh - var(--pfc-hero-offset, 132px));
		min-height: calc(100svh - var(--pfc-hero-offset, 132px));
		padding-top: clamp(16px, 3vh, 72px);
	}
	/* Copy centres in the space left above the step flow, which sits on the
	   bottom edge. Sizes follow viewport height so the whole hero, step flow
	   included, stays above the fold on laptop screens. */
	.pfc-hero--cinema .pfc-hero__inner { flex: 1 1 auto; display: flex; align-items: center; }
	.pfc-hero--cinema .pfc-hero__title { font-size: clamp(2.25rem, min(4.6vw, 6.4vh), 4.25rem) !important; margin-bottom: clamp(14px, 2.6vh, 33px); }
	.pfc-hero--cinema .pfc-hero__badge { margin-bottom: clamp(8px, 1.4vh, 14px); }
	.pfc-hero--cinema .pfc-hero__sub { font-size: clamp(1rem, min(1.3vw, 2.1vh), 1.25rem); margin-bottom: clamp(12px, 2vh, 20px); }
	.pfc-hero--cinema .pfc-hero__playbook { margin-bottom: clamp(10px, 1.6vh, 16px); }
	.pfc-hero--cinema .pfc-hero__trust { margin-top: clamp(20px, 4vh, 44px); padding-top: clamp(14px, 2.4vh, 24px); }
	.pfc-hero--cinema .pfc-hero__flow { margin-top: clamp(16px, 3vh, 48px); padding-bottom: clamp(18px, 3.4vh, 40px); }
}

/* Short laptop screens: drop the trust line so the step flow stays in view. */
@media (min-width: 1024px) and (max-height: 920px) {
	.pfc-hero--cinema .pfc-hero__trust { display: none; }
}

.pfc-hero__backdrop {
	position: absolute;
	top: 50%;
	right: 0;
	width: 80%;
	aspect-ratio: 16 / 9;
	transform: translateY(-50%);
	z-index: -2;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%), linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0%, #000 28%), linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
	mask-composite: intersect;
}

.pfc-hero__backdrop .pfc-media-frame {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

.pfc-hero__backdrop .pfc-media-frame::after {
	border-radius: 0;
	box-shadow: none;
	background:
		radial-gradient(60% 70% at 72% 58%, transparent 0%, rgba(7, 26, 44, 0.35) 70%),
		linear-gradient(0deg, rgba(7, 26, 44, 0.95) 0%, rgba(7, 26, 44, 0) 38%),
		linear-gradient(180deg, rgba(7, 26, 44, 0.7) 0%, rgba(7, 26, 44, 0) 22%);
}

.pfc-hero__backdrop img {
	object-position: 50% 50%;
	filter: saturate(0.95) contrast(1.05);
	animation: pfc-kenburns 24s ease-in-out infinite alternate;
}

@keyframes pfc-kenburns {
	from { transform: scale(1.02); }
	to { transform: scale(1.08) translate3d(-1%, -1%, 0); }
}

/* Lines glow over the photo, weighted to the right. */
.pfc-flow-field--cinema { color: #8cc3e8; z-index: -1; }
.pfc-flow-field--cinema .pfc-flow-field__mesh {
	background:
		radial-gradient(40% 50% at 8% 30%, rgba(43, 119, 173, 0.45), transparent 70%),
		radial-gradient(30% 40% at 90% 100%, rgba(79, 162, 217, 0.25), transparent 70%);
}
.pfc-flow-field--cinema .pfc-flow-field__grid {
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.2px);
	-webkit-mask-image: radial-gradient(60% 70% at 20% 50%, #000 0%, transparent 75%);
	mask-image: radial-gradient(60% 70% at 20% 50%, #000 0%, transparent 75%);
}
.pfc-flow-field--cinema .pfc-flow-field__lines { opacity: 0.35; }
.pfc-flow-field--cinema .pfc-flow-field__signals path { stroke: #bfe1f7; }
.pfc-flow-field--cinema .pfc-flow-field__nodes { display: none; }
.pfc-flow-field--cinema .pfc-flow-field__svg {
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, #000 75%);
	mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, #000 75%);
}

.pfc-hero--cinema .pfc-hero__inner {
	position: relative;
	display: block;
	width: 100%;
}

.pfc-hero--cinema .pfc-hero__copy { max-width: 600px; }

.pfc-hero--cinema .pfc-hero__title {
	color: #fff !important;
	font-size: clamp(2.5rem, 4.6vw, 4.25rem) !important;
	text-shadow: 0 2px 30px rgba(7, 26, 44, 0.5);
}

.pfc-hero--cinema .pfc-hero__title em {
	background: linear-gradient(100deg, #bfe1f7 0%, #8cc3e8 50%, #ffffff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.pfc-hero--cinema .pfc-hero__sub { color: rgba(255, 255, 255, 0.82); font-size: clamp(1.0625rem, 1.3vw, 1.25rem); }
.pfc-hero--cinema .pfc-hero__playbook { color: rgba(255, 255, 255, 0.9); }
.pfc-hero--cinema .pfc-hero__playbook .pfc-icon { color: #8cc3e8; }
.pfc-hero--cinema .pfc-hero__trust { color: rgba(255, 255, 255, 0.72); border-top-color: rgba(255, 255, 255, 0.16); }
.pfc-hero--cinema .pfc-hero__trust li::before { background: #8cc3e8; }

.pfc-hero--cinema .pfc-hero__badge {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	box-shadow: none;
}

.pfc-hero--cinema .pfc-btn--solid { background: #fff; border-color: #fff; color: #0d2c47 !important; }
.pfc-hero--cinema .pfc-btn--solid:hover { background: #e8f3fb !important; border-color: #e8f3fb !important; color: #0d2c47 !important; }
.pfc-hero--cinema .pfc-btn--outline { color: #fff !important; border-color: rgba(255, 255, 255, 0.5); }
.pfc-hero--cinema .pfc-btn--outline:hover { color: #fff !important; background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* Floating glass pills around the phone. */
.pfc-hero__float {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.pfc-hero--cinema .pfc-glass-pill {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	padding: 10px 18px 10px 10px;
	max-width: none;
	white-space: nowrap;
	opacity: 0.55;
	transform: scale(0.96);
	transition: opacity 0.6s var(--pfc-ease), transform 0.6s var(--pfc-ease), background 0.6s var(--pfc-ease), box-shadow 0.6s var(--pfc-ease);
	animation: none;
}

.pfc-hero--cinema .pfc-glass-pill__icon { background: rgba(255, 255, 255, 0.18); color: #fff; }

.pfc-hero--cinema .pfc-glass-pill.is-active {
	opacity: 1;
	transform: scale(1) translateY(-4px);
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(140, 195, 232, 0.6), 0 0 40px -6px rgba(79, 162, 217, 0.65);
}

.pfc-hero--cinema .pfc-glass-pill.is-active .pfc-glass-pill__icon { background: var(--pfc-blue-deep); }
.pfc-hero--cinema .pfc-glass-pill--gate.is-active .pfc-glass-pill__icon { background: #2f9e6e; }

.pfc-hero--cinema .pfc-glass-pill--frame { top: 4%; left: 50%; right: auto; bottom: auto; }
.pfc-hero--cinema .pfc-glass-pill--ai { top: 68%; right: -3%; left: auto; bottom: auto; }
.pfc-hero--cinema .pfc-glass-pill--gate { top: 90%; left: 47%; right: auto; bottom: auto; }

/* Bottom flow: three steps with progress bars. */
.pfc-hero__flow { position: relative; z-index: 2; margin-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 3vw, 40px); }

.pfc-hero-flow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pfc-hero-flow__step { display: grid; gap: 8px; cursor: pointer; color: rgba(255, 255, 255, 0.55); transition: color 0.4s; }
.pfc-hero-flow__step.is-active,
.pfc-hero-flow__step:hover { color: #fff; }

.pfc-hero-flow__bar { position: relative; height: 2px; background: rgba(255, 255, 255, 0.18); border-radius: 2px; overflow: hidden; }
.pfc-hero-flow__bar span { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #4fa2d9, #bfe1f7); }
.pfc-hero-flow__step.is-done .pfc-hero-flow__bar span { transform: scaleX(1); }
.pfc-hero-flow__step.is-active .pfc-hero-flow__bar span { animation: pfc-flowbar var(--pfc-flow-ms, 4800ms) linear forwards; }
.pfc-hero-flow.is-paused .pfc-hero-flow__step.is-active .pfc-hero-flow__bar span { animation-play-state: paused; }

@keyframes pfc-flowbar { to { transform: scaleX(1); } }

.pfc-hero-flow__label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.pfc-hero-flow__label strong { margin-left: 6px; font-weight: 700; }
.pfc-hero-flow__title { font-size: 0.9375rem; line-height: 1.45; }

@media (max-width: 1023px) {
	.pfc-hero--cinema { min-height: 0; padding-top: 0; }
	.pfc-hero__backdrop {
		position: relative;
		top: auto;
		transform: none;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
	}
	.pfc-hero__backdrop img { object-position: 72% 50%; }
	.pfc-hero--cinema .pfc-hero__inner { margin-top: -18%; }
	.pfc-hero__float { display: none; }
	.pfc-hero-flow { grid-template-columns: 1fr; }
	.pfc-hero-flow__step:not(.is-active) .pfc-hero-flow__title { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.pfc-hero__backdrop img { animation: none; }
	.pfc-hero-flow__step .pfc-hero-flow__bar span { animation: none !important; }
	.pfc-hero--cinema .pfc-glass-pill { opacity: 1; transform: none; }
}

/* ---------- Media landing page (/media/) ---------- */
.pfc-channel { position: relative; }
.pfc-channel .pfc-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pfc-channel .pfc-card__title a:focus-visible { outline: none; }
.pfc-channel:focus-within { outline: 3px solid var(--pfc-blue-deep); outline-offset: 3px; }
.pfc-channel__icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
	border-radius: 14px; color: var(--pfc-blue-deep);
	background: linear-gradient(135deg, rgba(79, 162, 217, 0.16), rgba(43, 119, 173, 0.08));
	border: 1px solid rgba(79, 162, 217, 0.35);
}
.pfc-channel__cta { margin: 18px 0 0; font-weight: 700; color: var(--pfc-blue-deep); }
.pfc-channel__cta span { display: inline-block; transition: transform 0.25s var(--pfc-ease); }
.pfc-channel:hover .pfc-channel__cta span { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .pfc-channel__cta span { transition: none; } }

/* ---------- Inner page hero: tight top (Michael, 2026-11-17) ----------
   The band between the main nav and the breadcrumb is prime real estate,
   so the breadcrumb sits just under the nav and the headline, intro and
   buttons move up above the fold. Applies to every inner-page hero. */
.pfc-body .pfc-page-hero {
	padding-top: clamp(16px, 2vw, 28px);
	padding-bottom: clamp(48px, 6vw, 88px);
}
.pfc-body .pfc-breadcrumb { margin-bottom: clamp(14px, 1.6vw, 20px); }
.pfc-body .pfc-page-hero .pfc-eyebrow { margin-top: 0; }
@media (min-width: 1024px) {
	.pfc-page-hero--media .pfc-page-hero__inner { align-items: start; }
	.pfc-page-hero--media .pfc-page-hero__media { margin-top: clamp(40px, 4vw, 64px); }
}
