/* =========================================================
   Precision Flight Controls — theme.css
   Component styling + animation on top of theme.json tokens.
   Tokens (colors, fonts, spacing) come from theme.json CSS vars
   (var(--wp--preset--color--pfc-blue), etc.).
   ========================================================= */

:root {
	--pfc-blue: #1d4594;
	--pfc-blue-deep: #132e63;
	--pfc-blue-bright: #4a7bd9;
	--pfc-bg: #0c0f15;
	--pfc-bg-2: #131822;
	--pfc-card: #182030;
	--pfc-line: rgba(255, 255, 255, 0.08);
	--pfc-text: #e8ecf3;
	--pfc-muted: #939598;
	--pfc-blue-glow: rgba(29, 69, 148, 0.45);
	--pfc-header-h: 84px;
}

html { scroll-behavior: smooth; }

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Accent gradient text utility (add class "pfc-accent-text" to a heading) */
.pfc-accent-text {
	background: linear-gradient(74deg, #ffffff 0%, #4a7bd9 50%, #1d4594 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
	line-height: 1.12;
	padding-bottom: 0.08em;
}

/* Give all headings room so descenders (g, y, p) are never clipped */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	padding-bottom: 0.04em;
	overflow: visible;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.wp-block-button__link {
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
	font-weight: 400;
}

/* Primary = filled blue gradient with glow */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: linear-gradient(74deg, var(--pfc-blue) 0%, var(--pfc-blue-deep) 100%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 32px var(--pfc-blue-glow);
	color: #fff;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 40px var(--pfc-blue-glow);
	color: #fff;
}

/* Ghost = outline style */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--pfc-line);
	backdrop-filter: blur(10px);
	color: #fff;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(29, 69, 148, 0.18);
	border-color: var(--pfc-blue);
	transform: translateY(-2px);
	color: #fff;
}

/* =========================================================
   HEADER
   ========================================================= */
/* The header template part is wrapped in <header class="wp-block-template-part">.
   Sticky must live on that wrapper (its parent .wp-site-blocks is tall enough
   to stick against). The inner .pfc-header only carries the visual styling. */
header.wp-block-template-part {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 100;
	display: block;
}
.pfc-header {
	position: relative;
	z-index: 1;
	width: 100%;
	background: rgba(12, 15, 21, 0.82);
	border-bottom: 1px solid var(--pfc-line);
	transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
/* Blur lives on a pseudo-element so the header does NOT become a containing
   block for the fixed mobile menu (which would otherwise clip it). */
.pfc-header::before {
	content: '';
	position: absolute;
	inset: 0;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	pointer-events: none;
	z-index: -1;
}
.pfc-header.is-stuck {
	background: rgba(10, 12, 18, 0.95);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

/* Top utility bar */
.pfc-topbar {
	border-bottom: 1px solid var(--pfc-line);
	background: rgba(19, 46, 99, 0.18);
}
.pfc-topbar .pfc-phone { margin: 0; }
.pfc-topbar .pfc-phone a::before {
	content: '';
	width: 13px;
	height: 13px;
	display: inline-block;
	background-color: var(--pfc-blue-bright);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pfc-topbar .wp-block-group {
	min-height: 0;
}
.pfc-topbar a {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	letter-spacing: 0.02em;
	font-size: 14px;
	color: var(--pfc-text) !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s ease;
}
.pfc-topbar a:hover { color: var(--pfc-blue-bright) !important; }

/* Main header row — equal vertical padding so spacing above and below the
   logo/nav/button matches. (Do NOT use --pfc-header-h here; that var is the
   full measured header height, used only for the mobile menu drop position.) */
.pfc-header-main {
	padding-top: 14px;
	padding-bottom: 14px;
}
.pfc-logo img {
	height: 84px;
	width: auto;
	display: block;
	transition: height 0.3s ease;
}
/* Logo stays the same size on scroll (no shrink/grow). */

/* Navigation */
.pfc-header .wp-block-navigation {
	font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
	font-weight: 500;
	font-size: 15px;
}
.pfc-header .wp-block-navigation a {
	color: var(--pfc-text) !important;
	letter-spacing: 0.01em;
}
.pfc-header .wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	padding-bottom: 4px;
}
/* Animated underline on top-level items */
.pfc-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--pfc-blue), var(--pfc-blue-bright));
	transition: width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pfc-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.pfc-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content::after {
	width: 100%;
}

/* Submenus / dropdowns */
.pfc-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--pfc-card);
	border: 1px solid var(--pfc-line);
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	padding: 8px;
	min-width: 240px;
	overflow: hidden;
}
.pfc-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	border-radius: 8px;
	padding: 10px 14px;
	transition: background 0.2s ease, color 0.2s ease;
}
.pfc-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: rgba(29, 69, 148, 0.22);
	color: #fff !important;
}

/* Header CTA button sizing */
.pfc-header .wp-block-button__link {
	padding: 12px 24px;
	font-size: 15px;
}

/* Hamburger + close toggle colors */
.pfc-header .wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	color: #fff;
}

/* Mobile menu — drops in BELOW the header bar (logo + CTA stay visible),
   sits on top of the page content, and scrolls if tall. */
.wp-block-navigation__responsive-container.is-menu-open {
	position: fixed !important;
	top: var(--pfc-header-h) !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 99 !important;
	background: rgba(10, 12, 18, 0.985) !important;
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	padding: 24px !important;
	overflow-y: auto !important;
	border-top: 1px solid var(--pfc-line);
}
/* Keep the header bar (logo + Request a Quote) above the dropping panel */
.pfc-header .pfc-header-main { position: relative; z-index: 2; }

/* Mobile overlay menu: force EVERY item hard-left; nested links indented only
   5px. Scoped to the mobile breakpoint and prefixed with .pfc-header so it wins
   over the navigation block's generated right-justification layout rules. This
   applies whenever the overlay is visible, independent of the open-state class. */
@media (max-width: 600px) {
	.pfc-header .wp-block-navigation__responsive-container .wp-block-navigation__container,
	.pfc-header .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		width: 100% !important;
		gap: 6px !important;
	}
	.pfc-header .wp-block-navigation__responsive-container .wp-block-navigation-item {
		width: 100% !important;
		align-self: flex-start !important;
		margin: 0 !important;
		text-align: left !important;
	}
	.pfc-header .wp-block-navigation__responsive-container .wp-block-navigation-item__content {
		width: 100% !important;
		justify-content: flex-start !important;
		text-align: left !important;
		margin: 0 !important;
		padding-left: 0 !important;
		font-size: 19px;
	}
	/* Nested submenu: strip the desktop dropdown chrome, indent only 5px */
	.pfc-header .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
		position: static !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		min-width: 0 !important;
		padding: 0 0 0 5px !important;
	}
	.pfc-header .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		font-size: 16px;
		color: var(--pfc-muted) !important;
	}
}

/* =========================================================
   FOOTER
   ========================================================= */
.pfc-footer { color: var(--pfc-muted); }
.pfc-footer-cols { align-items: flex-start; }
.pfc-foot-brand .pfc-footer-logo { margin: 0 0 22px; }
.pfc-footer-logo img {
	height: 64px;
	width: auto;
	max-width: 240px;
}
.pfc-foot-h {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pfc-blue-bright);
	margin: 0 0 18px;
}
.pfc-foot-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pfc-foot-list li { margin: 0 0 10px; }
.pfc-footer a {
	color: var(--pfc-muted);
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}
.pfc-foot-list a:hover {
	color: #fff;
	padding-left: 4px;
}
.pfc-foot-addr {
	color: var(--pfc-muted);
	line-height: 1.9;
	margin: 0;
	font-size: 15px;
}
.pfc-foot-addr a:hover { color: var(--pfc-blue-bright); }
.pfc-foot-social { gap: 10px; }
.pfc-foot-social .wp-social-link {
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--pfc-line);
	border-radius: 8px;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pfc-foot-social .wp-social-link:hover {
	background: rgba(29,69,148,0.25);
	border-color: var(--pfc-blue);
	transform: translateY(-2px);
}
.pfc-foot-sep {
	width: 100%;
	max-width: none;
	margin: 8px 0 24px;
	border: 0;
}
.pfc-footer-bottom { align-items: center; }
.pfc-foot-copy { color: var(--pfc-muted); font-size: 14px; margin: 0; }
.pfc-foot-legal { gap: 20px; }
.pfc-foot-legal p { margin: 0; font-size: 14px; }
.pfc-foot-legal a { color: var(--pfc-muted); }
.pfc-foot-legal a:hover { color: #fff; }

@media (max-width: 781px) {
	.pfc-footer-bottom { gap: 14px; justify-content: flex-start; }
	.pfc-foot-spacer-col { display: none; }
}

/* =========================================================
   HOME PAGE COMPONENTS
   ========================================================= */
.pfc-sec { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 781px) { .pfc-sec { padding-top: 64px; padding-bottom: 64px; } }
.pfc-section--alt { background: #171f2e; border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.pfc-section--glow {
	position: relative;
	background:
		radial-gradient(900px 460px at 80% 0%, rgba(29, 69, 148, 0.22), transparent 60%),
		radial-gradient(700px 380px at 12% 100%, rgba(19, 46, 99, 0.26), transparent 60%),
		var(--pfc-bg);
	overflow: hidden;
}
/* Technical grid overlay */
.pfc-gridlines { position: relative; overflow: hidden; }
.pfc-gridlines::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(29, 69, 148, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 69, 148, 0.07) 1px, transparent 1px);
	background-size: 60px 60px;
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
	        mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
	pointer-events: none;
}
.pfc-gridlines > * { position: relative; z-index: 1; }

/* Hero */
.pfc-hero-home .wp-block-cover__inner-container { position: relative; z-index: 3; }
.pfc-hero-home::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(29, 69, 148, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 69, 148, 0.08) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 75%);
	        mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 75%);
	pointer-events: none;
	z-index: 2;
}

/* Cards (news + feature) */
.pfc-card {
	height: 100%;
	border: 1px solid var(--pfc-line);
	border-radius: 18px;
	background: var(--pfc-card);
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.pfc-card:hover {
	transform: translateY(-5px);
	border-color: var(--pfc-blue);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.pfc-card img { display: block; width: 100%; height: auto; }

/* Checklist with custom check marks */
.pfc-check { list-style: none; margin: 0; padding: 0; }
.pfc-check li {
	position: relative;
	padding-left: 36px;
	margin: 0 0 16px;
	color: var(--pfc-text);
	line-height: 1.5;
}
.pfc-check li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: rgba(29, 69, 148, 0.18);
	border: 1px solid var(--pfc-blue);
}
.pfc-check li::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 6px;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--pfc-blue-bright);
	border-bottom: 2px solid var(--pfc-blue-bright);
	transform: rotate(-45deg);
}

/* Trust logos */
.pfc-logos { align-items: center; }
.pfc-logos figure { margin: 0; }
.pfc-logos img {
	max-height: 54px;
	width: auto;
	filter: grayscale(1) brightness(1.7);
	opacity: 0.55;
	transition: opacity 0.3s ease, filter 0.3s ease;
}
.pfc-logos img:hover { opacity: 1; filter: none; }

/* CTA band */
.pfc-cta-band {
	position: relative;
	background:
		radial-gradient(800px 400px at 80% 50%, rgba(29, 69, 148, 0.32), transparent 60%),
		radial-gradient(600px 300px at 20% 50%, rgba(19, 46, 99, 0.28), transparent 60%),
		var(--pfc-bg-2);
	overflow: hidden;
}

/* ---- Animated hero (text + floating simulator render) ---- */
.pfc-hero { position: relative; }
.pfc-hero::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 72%;
	width: 720px;
	height: 720px;
	border: 1px solid rgba(29, 69, 148, 0.28);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: pfc-pulse 4.5s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}
@keyframes pfc-pulse {
	0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
	50% { transform: translate(-50%, -50%) scale(1.06); opacity: 0.7; }
}
.pfc-hero-art { position: relative; }
.pfc-hero-art::before {
	content: '';
	position: absolute;
	inset: -12%;
	background: radial-gradient(circle at center, rgba(29, 69, 148, 0.38), transparent 62%);
	filter: blur(26px);
	z-index: 0;
	animation: pfc-glowpulse 5s ease-in-out infinite;
}
.pfc-hero-art img {
	position: relative;
	z-index: 1;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
	animation: pfc-float 6s ease-in-out infinite;
}
@keyframes pfc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pfc-glowpulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.pfc-hero-h1 { line-height: 1.0; }

/* Hero fills most of the viewport without exceeding it (used with locked b-bg) */
.pfc-hero-fill { min-height: min(86vh, calc(100svh - var(--pfc-header-h, 110px))); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 781px) { .pfc-hero-fill { min-height: 0; } }

/* Logo marquee on the locked light (Atmosphere) background */
.b-light .pfc-logo-track img { filter: none; opacity: 0.82; }
.b-light .pfc-logo-track img:hover { opacity: 1; }

/* Subtle hover zoom on framed content images (cockpit / interior, etc.) */
.b-sec .wp-block-image.has-custom-border { overflow: hidden; }
.b-sec .wp-block-image.has-custom-border img { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: transform; }
.b-sec .wp-block-image.has-custom-border:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
	.b-sec .wp-block-image.has-custom-border:hover img { transform: none; }
}

/* ---- Animated stat band ---- */
.pfc-statband { padding-top: 60px !important; padding-bottom: 60px !important; }
.pfc-stat-h {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-size: clamp(56px, 10vw, 124px);
	line-height: 1;
	letter-spacing: -0.03em;
	margin: 0;
	background: linear-gradient(74deg, #ffffff 0%, #4a7bd9 50%, #1d4594 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.pfc-stat-label {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: clamp(13px, 1.5vw, 18px);
	color: #aeb8c8;
	margin: 14px auto 0;
	max-width: 34ch;
}

/* Inline stat (number + label) woven into a content column */
.pfc-stat-inline {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}
.pfc-stat-h-sm {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-size: clamp(48px, 7vw, 92px);
	line-height: 0.92;
	letter-spacing: -0.03em;
	margin: 0;
	background: linear-gradient(74deg, #ffffff 0%, #4a7bd9 50%, #1d4594 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.pfc-stat-lbl {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #aeb8c8;
	margin: 0 0 10px;
	max-width: 18ch;
}

/* ---- Branded content-page layout (title band + prose body) ---- */
.pfc-page-head { padding-top: clamp(72px, 9vw, 124px); padding-bottom: clamp(36px, 5vw, 60px); }
.pfc-page-head .wp-block-post-title { margin: 0; }
.pfc-prose { max-width: 880px; }
.pfc-prose > * { max-width: 880px; }
.pfc-prose h1, .pfc-prose h2, .pfc-prose h3, .pfc-prose h4, .pfc-prose h5, .pfc-prose h6 {
	color: #ffffff; font-weight: 800; letter-spacing: -0.01em;
}
.pfc-prose h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 0.5em; }
.pfc-prose h2 { font-size: clamp(23px, 2.8vw, 30px); margin: 1.6em 0 0.5em; }
.pfc-prose h3 { font-size: 22px; margin: 1.4em 0 0.4em; }
.pfc-prose h4, .pfc-prose h5, .pfc-prose h6 { font-size: 18px; color: #cfd6e4; margin: 1.2em 0 0.4em; }
.pfc-prose p, .pfc-prose li { color: #c5cdda; line-height: 1.8; font-size: 17px; }
.pfc-prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.pfc-prose hr { border: 0; height: 1px; background: rgba(255, 255, 255, 0.1); margin: 32px 0; }
.pfc-prose p { margin: 0 0 1.1em; }
.pfc-prose ul, .pfc-prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.pfc-prose li { margin-bottom: 0.55em; }
.pfc-prose a { color: var(--pfc-blue-bright); text-decoration: none; border-bottom: 1px solid rgba(74, 123, 217, 0.4); transition: border-color 0.2s ease, color 0.2s ease; }
.pfc-prose a:hover { color: #6f97e6; border-color: currentColor; }
/* Document link list (e.g., FAA Documentation) */
.pfc-doclist { max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
.pfc-doclist ul { list-style: none; padding-left: 0; margin-left: 0; margin-right: 0; }
.pfc-doclist li { margin: 0 0 10px; }
.pfc-doclist a {
	display: flex; align-items: center; gap: 12px;
	padding: 14px 18px; width: 100%; box-sizing: border-box;
	background: #0f1726; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px;
	color: #e8ecf3; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.pfc-doclist a:hover { border-color: var(--pfc-blue-bright); background: #131c2e; transform: translateX(3px); color: #fff; }
.pfc-doclist a::before {
	content: ''; flex: 0 0 auto; width: 22px; height: 26px;
	background-color: #ffffff; border-radius: 3px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Single post styling */
.pfc-post-hero-img img { width: 100%; border-radius: 14px; margin: 0 0 6px; display: block; }
.pfc-post-meta { opacity: 0.7; font-size: 15px; margin-top: 10px; letter-spacing: 0.01em; }
.b-eyebrow a { color: inherit; -webkit-text-fill-color: inherit; background: none; text-decoration: none; border: 0; }
.b-eyebrow a:hover { opacity: 0.85; }
.pfc-post-back { justify-content: center; }

/* Guard: nothing may cause horizontal scroll on mobile. overflow-x:clip is
   sticky-header-safe (unlike overflow-x:hidden, which breaks position:sticky). */
html, body { overflow-x: clip; max-width: 100%; }

/* ---- Hero looping background video (over the existing background, ~50%) ---- */
.pfc-hero-fill { position: relative; overflow: hidden; }
.pfc-hero-video {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.2;
	overflow: hidden;
	pointer-events: none;
}
.pfc-hero-video iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 56.25vw;
	min-height: 100%;
	min-width: 177.78vh;
	border: 0;
}
.pfc-hero-fill .b-inner { position: relative; z-index: 2; }

/* Hero H1 now uses the shared animated vertical gradient (see branding.css). */
.pfc-hero-fill .b-h1.pfc-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---- Scrolling logo marquee ---- */
.pfc-logo-marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.pfc-logo-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	gap: 60px;
	width: max-content;
	animation: pfc-marquee 38s linear infinite;
}
.pfc-logo-marquee:hover .pfc-logo-track { animation-play-state: paused; }
.pfc-logo-track figure { margin: 0; flex: 0 0 auto; }
.pfc-logo-track img {
	max-height: 83px;
	width: auto;
	filter: grayscale(1) brightness(1.8);
	opacity: 0.6;
	transition: opacity 0.3s ease, filter 0.3s ease;
}
.pfc-logo-track img:hover { opacity: 1; filter: none; }
@keyframes pfc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Card accent + link polish (news + feature cards) ---- */
.pfc-card { position: relative; }
.pfc-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--pfc-blue), var(--pfc-blue-bright));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
	z-index: 2;
}
.pfc-card:hover::before { transform: scaleX(1); }
.pfc-card .pfc-card-link,
.pfc-card a:not(.wp-block-button__link) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--pfc-blue-bright);
	text-decoration: none;
	transition: gap 0.25s ease, color 0.25s ease;
}
.pfc-card:hover a:not(.wp-block-button__link) { gap: 11px; color: #6f97e6; }

/* ---- Close the gap between header and the first section ---- */
.pfc-main { margin-top: 0 !important; margin-block-start: 0 !important; }
.wp-site-blocks > .pfc-main { margin-block-start: 0 !important; }

/* ---- Hero fits within one screen below the header ---- */
.pfc-hero {
	min-height: calc(100svh - var(--pfc-header-h, 110px));
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 36px;
	padding-bottom: 36px;
}
.pfc-hero > .wp-block-columns { width: 100%; }
.pfc-hero-art { text-align: center; }
.pfc-hero-art img { max-height: 52vh; width: auto; margin-inline: auto; }
@media (max-width: 781px) {
	.pfc-hero { min-height: 0; padding-top: 48px; padding-bottom: 48px; }
	.pfc-hero-art img { max-height: 42vh; }
}

/* ---- Crisp separation on the dark glow sections ---- */
.pfc-section--glow { border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.pfc-hero.pfc-section--glow { border-top: 0; }

/* ---- Light logo strip: logos read clearly on a light panel ---- */
.pfc-section--light { background: #eef1f6; }
.pfc-section--light h2,
.pfc-section--light h2 a { color: #132e63 !important; }
.pfc-section--light .pfc-logo-track img { filter: none; opacity: 0.82; }
.pfc-section--light .pfc-logo-track img:hover { opacity: 1; }

/* ---- News cards: decorative index number + more presence ---- */
.pfc-news .wp-block-columns { counter-reset: pfc-news; }
.pfc-news .wp-block-column { counter-increment: pfc-news; }
.pfc-news .pfc-card::after {
	content: counter(pfc-news, decimal-leading-zero);
	position: absolute;
	top: 16px;
	right: 22px;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 32px;
	letter-spacing: 0.04em;
	color: rgba(74, 123, 217, 0.32);
	line-height: 1;
	z-index: 1;
}

/* =========================================================
   SCROLL-REVEAL ANIMATION
   add class "pfc-reveal" to any block; JS toggles "is-visible"
   ========================================================= */
.pfc-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: opacity, transform;
}
.pfc-reveal.is-visible {
	opacity: 1;
	transform: none;
}
.pfc-reveal.pfc-reveal-delay-1 { transition-delay: 0.08s; }
.pfc-reveal.pfc-reveal-delay-2 { transition-delay: 0.16s; }
.pfc-reveal.pfc-reveal-delay-3 { transition-delay: 0.24s; }

/* =========================================================
   ECCENTRICS / PLACEHOLDER (temporary home preview)
   ========================================================= */
.pfc-eyebrow {
	font-family: 'Bebas Neue', sans-serif;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--pfc-blue-bright);
	font-size: 16px;
	margin: 0 0 18px;
}
.pfc-hero-placeholder {
	position: relative;
	background:
		radial-gradient(1000px 480px at 80% 0%, rgba(29, 69, 148, 0.22), transparent 60%),
		radial-gradient(800px 420px at 12% 100%, rgba(19, 46, 99, 0.26), transparent 60%),
		var(--pfc-bg);
	overflow: hidden;
}
.pfc-hero-placeholder::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(29, 69, 148, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 69, 148, 0.08) 1px, transparent 1px);
	background-size: 60px 60px;
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
	        mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
	pointer-events: none;
}
.pfc-hero-placeholder > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.pfc-reveal { opacity: 1; transform: none; transition: none; }
	* { animation-duration: 0.001ms !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 781px) {
	.pfc-logo img { height: 58px; }
	.pfc-topbar { display: none; }
}

/* Leasing calculator sidebar: long contact emails (e.g. Ascentium Capital)
   wrap instead of overflowing the 300px column. */
.pfc-lc__contact a { overflow-wrap: anywhere; }

/* =========================================================
   PARTNERS SECTION (home)
   Static "credential wall" tile row on a solid paper background.
   Deliberately distinct from the scrolling logo marquee:
   no horizontal motion; tiles stagger-reveal and lift on hover.
   ========================================================= */
.pfc-brand .b-bg-paper { background: #f4f7fc; }
.pfc-partner-grid { gap: 20px; }
.pfc-partner-grid > figure.pfc-partner-tile { flex: 1 1 180px; max-width: 272px; margin: 0; }
/* the link is the card, so its hover lift stays independent of the
   figure's staggered reveal transition */
.pfc-partner-tile a {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid rgba(29, 69, 148, 0.12);
	border-radius: 16px;
	padding: 24px 22px;
	box-shadow: 0 6px 18px rgba(16, 34, 71, 0.06);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.pfc-partner-tile a:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 32px rgba(16, 34, 71, 0.12);
	border-color: rgba(29, 69, 148, 0.3);
}
.pfc-partner-tile img {
	display: block;
	width: 100%;
	max-width: 225px;
	height: auto;
	opacity: 0.85;
	transition: opacity 0.3s ease, filter 0.3s ease;
}
.pfc-partner-tile a:hover img { opacity: 1; filter: contrast(1.06); }
/* staggered entrance, one tile after another (reveal transition on the figure) */
.pfc-partner-grid .pfc-reveal:nth-child(1) { transition-delay: 0.05s; }
.pfc-partner-grid .pfc-reveal:nth-child(2) { transition-delay: 0.13s; }
.pfc-partner-grid .pfc-reveal:nth-child(3) { transition-delay: 0.21s; }
.pfc-partner-grid .pfc-reveal:nth-child(4) { transition-delay: 0.29s; }
.pfc-partner-grid .pfc-reveal:nth-child(5) { transition-delay: 0.37s; }
@media (max-width: 781px) {
	.pfc-partner-grid { gap: 14px; }
	.pfc-partner-grid > figure.pfc-partner-tile { flex-basis: 150px; }
	.pfc-partner-tile a { padding: 16px 18px; }
}
