:root {
	--ffc-bg: #0a0a0c;
	--ffc-panel: #121418;
	--ffc-panel-soft: #171a20;
	--ffc-line: rgba(255, 255, 255, 0.09);
	--ffc-blue: #5b8def;
	--ffc-text: #e8eaed;
	--ffc-muted: #9aa0a6;
	--ffc-radius: 18px;
	--ffc-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.ffc-header {
	background: rgba(10, 10, 12, 0.92);
	border-bottom: 1px solid var(--ffc-line);
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(16px);
}

.ffc-header__inner {
	min-height: 72px;
	padding: 0 24px;
}

.ffc-header__brand a {
	color: var(--ffc-text);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.ffc-nav,
.ffc-footer-nav {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.ffc-nav a,
.ffc-footer-nav a {
	color: var(--ffc-muted);
	font-size: 14px;
	text-decoration: none;
	transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ffc-nav a:hover,
.ffc-footer-nav a:hover {
	color: var(--ffc-text);
}

.ffc-home {
	background:
		radial-gradient(circle at 78% 8%, rgba(91, 141, 239, 0.18), transparent 34%),
		linear-gradient(180deg, #0a0a0c 0%, #101217 42%, #0a0a0c 100%);
	color: var(--ffc-text);
}

.ffc-hero,
.ffc-section {
	padding: 92px 24px;
}

.ffc-hero {
	min-height: 72vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ffc-eyebrow {
	color: var(--ffc-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ffc-hero__title {
	max-width: 920px;
	margin-top: 18px;
	color: var(--ffc-text);
	font-size: clamp(42px, 7vw, 92px);
	font-weight: 760;
	line-height: 0.96;
	letter-spacing: 0;
}

.ffc-hero__lead,
.ffc-section__intro {
	max-width: 760px;
	color: var(--ffc-muted);
	font-size: 18px;
	line-height: 1.8;
}

.ffc-actions {
	margin-top: 34px;
}

.ffc-button .wp-block-button__link {
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 24px;
	transition:
		transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
		background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ffc-button--primary .wp-block-button__link {
	background: var(--ffc-blue);
	color: #061126;
}

.ffc-button--secondary .wp-block-button__link {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: var(--ffc-text);
}

.ffc-button .wp-block-button__link:hover {
	transform: translateY(-2px);
}

.ffc-section {
	border-top: 1px solid var(--ffc-line);
}

.ffc-section__title {
	color: var(--ffc-text);
	font-size: clamp(30px, 4vw, 54px);
	font-weight: 760;
	line-height: 1.08;
	letter-spacing: 0;
}

.ffc-card-grid {
	margin-top: 34px;
}

.ffc-card {
	min-height: 210px;
	padding: 28px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
		var(--ffc-panel);
	border: 1px solid var(--ffc-line);
	border-radius: var(--ffc-radius);
	box-shadow: var(--ffc-shadow);
	transition:
		transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
		border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ffc-card:hover {
	transform: translateY(-6px);
	border-color: rgba(91, 141, 239, 0.42);
	box-shadow: 0 28px 58px -24px rgba(91, 141, 239, 0.42), 0 0 0 1px rgba(91, 141, 239, 0.22);
}

.ffc-card h3 {
	color: var(--ffc-text);
	font-size: 24px;
}

.ffc-card p {
	color: var(--ffc-muted);
	line-height: 1.7;
}

.ffc-inquiry {
	background:
		linear-gradient(135deg, rgba(91, 141, 239, 0.16), transparent 42%),
		var(--ffc-panel);
	border-radius: 26px;
	margin-bottom: 80px;
}

.ffc-footer {
	background: #08090b;
	border-top: 1px solid var(--ffc-line);
	color: var(--ffc-muted);
}

.ffc-footer__inner {
	padding: 58px 24px 34px;
}

.ffc-footer h3 {
	color: var(--ffc-text);
	font-size: 17px;
}

.ffc-footer p {
	color: var(--ffc-muted);
	line-height: 1.8;
}

.ffc-footer-nav {
	flex-direction: column;
	gap: 10px;
}

.ffc-footer__copyright {
	border-top: 1px solid var(--ffc-line);
	margin-top: 34px;
	padding-top: 22px;
	font-size: 13px;
}

.ffc-page {
	background: #f6f7f9;
	color: #1e232b;
	padding: 72px 20px 88px;
}

.ffc-page__inner {
	box-sizing: border-box;
	width: min(100%, 960px);
	margin: 0 auto;
	padding: 54px clamp(20px, 4vw, 56px);
	background: #ffffff;
	border: 1px solid rgba(18, 20, 24, 0.08);
	border-radius: 18px;
	box-shadow: 0 24px 60px -42px rgba(10, 10, 12, 0.35);
}

.ffc-page-title {
	max-width: 780px;
	margin: 0 0 28px;
	color: #121418;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 720;
	line-height: 1.14;
	letter-spacing: 0;
}

.ffc-page-content {
	max-width: 760px;
	color: #333943;
	font-size: 17px;
	line-height: 1.82;
}

.ffc-page-content p {
	margin: 0 0 1.25em;
}

.ffc-page-content h2 {
	margin: 2em 0 0.75em;
	color: #121418;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.25;
}

.ffc-page-content h3 {
	margin: 1.7em 0 0.65em;
	color: #121418;
	font-size: 22px;
	line-height: 1.32;
}

.ffc-page-content ul,
.ffc-page-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.35em;
}

.ffc-page-content li {
	margin: 0.42em 0;
}

.ffc-page-content a {
	color: #315fb8;
	text-underline-offset: 0.18em;
}

@media (max-width: 760px) {
	.ffc-header__inner {
		align-items: flex-start;
		min-height: auto;
		padding: 18px;
	}

	.ffc-nav {
		width: 100%;
		gap: 12px;
		padding-top: 12px;
	}

	.ffc-nav a {
		font-size: 13px;
	}

	.ffc-hero,
	.ffc-section {
		padding: 62px 18px;
	}

	.ffc-hero {
		min-height: 68vh;
	}

	.ffc-hero__lead,
	.ffc-section__intro {
		font-size: 16px;
	}

	.ffc-page {
		padding: 38px 14px 58px;
	}

	.ffc-page__inner {
		padding: 32px 18px;
		border-radius: 14px;
	}

	.ffc-page-content {
		font-size: 16px;
		line-height: 1.76;
	}
}

/* v0.1.4: homepage visual polish */
.ffc-header__inner {
	box-sizing: border-box;
	width: min(100%, 1320px);
	margin: 0 auto;
	min-height: 68px;
	padding: 0 clamp(20px, 3.2vw, 44px);
	gap: 14px 30px;
}

.ffc-header__brand {
	margin: 0;
	line-height: 1.12;
	flex: 1 1 340px;
	min-width: 260px;
}

.ffc-header__brand a {
	font-size: clamp(18px, 1.65vw, 24px);
	font-weight: 760;
	letter-spacing: 0.02em;
}

.ffc-nav {
	align-items: center;
	justify-content: flex-end;
	gap: clamp(14px, 1.7vw, 24px);
	flex: 1 1 620px;
}

.ffc-nav a {
	font-size: 15px;
	line-height: 1.25;
	padding: 5px 0;
}

.ffc-home {
	background:
		radial-gradient(circle at 74% 10%, rgba(91, 141, 239, 0.17), transparent 32%),
		radial-gradient(circle at 8% 72%, rgba(91, 141, 239, 0.08), transparent 28%),
		linear-gradient(180deg, #0b0d12 0%, #121826 46%, #0a0a0c 100%);
}

.ffc-hero {
	min-height: clamp(520px, 64vh, 680px);
	padding: clamp(68px, 8vw, 100px) clamp(20px, 3.4vw, 48px);
	justify-content: center;
}

.ffc-section {
	padding: clamp(64px, 7vw, 88px) clamp(20px, 3.4vw, 48px);
}

.ffc-eyebrow {
	margin-bottom: 0;
	font-size: 12px;
	letter-spacing: 0.22em;
}

.ffc-hero__title {
	max-width: 1120px;
	margin-top: 16px;
	font-size: clamp(42px, 5.35vw, 76px);
	line-height: 1.06;
	letter-spacing: -0.045em;
}

.ffc-hero__lead,
.ffc-section__intro {
	max-width: 840px;
	font-size: clamp(17px, 1.45vw, 20px);
	line-height: 1.76;
}

.ffc-hero__lead {
	margin-top: 24px;
}

.ffc-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 36px;
}

.ffc-button .wp-block-button__link {
	padding: 13px 26px;
	font-size: 15px;
	font-weight: 720;
	box-shadow: 0 12px 28px -18px rgba(91, 141, 239, 0.65);
}

.ffc-button--primary .wp-block-button__link {
	background: linear-gradient(135deg, #6b98f5 0%, var(--ffc-blue) 100%);
}

.ffc-button--secondary .wp-block-button__link {
	background: rgba(255, 255, 255, 0.035);
	border-color: rgba(255, 255, 255, 0.22);
}

.ffc-button .wp-block-button__link:hover {
	transform: translateY(-1px);
}

.ffc-section__title {
	max-width: 920px;
	font-size: clamp(28px, 3.35vw, 46px);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.ffc-card-grid {
	margin-top: 30px;
	gap: 22px;
}

.ffc-card {
	min-height: 188px;
	padding: 24px;
	border-radius: 16px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.03), transparent 44%),
		var(--ffc-panel);
	box-shadow: 0 18px 42px -26px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.ffc-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 48px -30px rgba(91, 141, 239, 0.45), 0 0 0 1px rgba(91, 141, 239, 0.18);
}

.ffc-card h3 {
	margin-top: 0;
	font-size: 22px;
	line-height: 1.25;
}

.ffc-inquiry {
	border-radius: 22px;
	margin-bottom: 64px;
}

@media (max-width: 900px) {
	.ffc-header__inner {
		align-items: flex-start;
		padding: 16px 18px;
	}

	.ffc-nav {
		width: 100%;
		justify-content: flex-start;
		gap: 12px 16px;
		padding-top: 8px;
	}
}

@media (max-width: 760px) {
	.ffc-header__brand {
		min-width: 0;
	}

	.ffc-header__brand a {
		font-size: 18px;
		letter-spacing: 0.01em;
	}

	.ffc-nav a {
		font-size: 13px;
	}

	.ffc-hero {
		min-height: auto;
		padding: 58px 18px 64px;
	}

	.ffc-section {
		padding: 52px 18px;
	}

	.ffc-hero__title {
		font-size: clamp(34px, 12vw, 48px);
		line-height: 1.08;
		letter-spacing: -0.035em;
	}

	.ffc-hero__lead,
	.ffc-section__intro {
		font-size: 16px;
		line-height: 1.7;
	}

	.ffc-actions {
		gap: 12px;
		margin-top: 28px;
	}

	.ffc-button .wp-block-button__link {
		padding: 12px 20px;
		font-size: 14px;
	}

	.ffc-card {
		min-height: auto;
		padding: 22px;
	}
}


/* v0.1.5: remove front-page block gap and make the hero feel more like a B2B factory site */
body.home,
body.front-page,
body:has(.ffc-home) {
	background: #0b0d12;
}

.ffc-home,
.wp-site-blocks > .ffc-home,
.wp-site-blocks > main.ffc-home,
.wp-site-blocks > .wp-block-template-part + .ffc-home,
.wp-site-blocks > header + .ffc-home {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

.ffc-header {
	margin-block-end: 0 !important;
	background: rgba(8, 9, 11, 0.96);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ffc-header__inner {
	align-items: center;
	min-height: 62px;
	padding-top: 0;
	padding-bottom: 0;
}

.ffc-header__brand {
	margin: 0 !important;
	padding: 0;
	white-space: nowrap;
}

.ffc-header__brand a {
	font-size: clamp(17px, 1.35vw, 22px);
	letter-spacing: 0.01em;
}

.ffc-nav {
	gap: clamp(12px, 1.35vw, 21px);
}

.ffc-nav a {
	font-size: 14px;
	opacity: 0.86;
}

.ffc-home {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		radial-gradient(circle at 82% 18%, rgba(91, 141, 239, 0.18), transparent 34%),
		linear-gradient(180deg, #090b10 0%, #111827 48%, #0a0a0c 100%);
	background-size: 72px 72px, auto, auto;
}

.ffc-hero {
	align-items: flex-start;
	min-height: clamp(500px, 60vh, 640px);
	padding-top: clamp(64px, 6.4vw, 92px);
	padding-bottom: clamp(66px, 6.8vw, 96px);
}

.ffc-hero > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.ffc-eyebrow {
	font-size: 11px;
	letter-spacing: 0.24em;
	padding-left: 2px;
}

.ffc-hero__title {
	max-width: 980px;
	font-size: clamp(40px, 4.8vw, 68px);
	line-height: 1.08;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.ffc-hero__lead {
	max-width: 780px;
	margin-top: 22px;
	font-size: clamp(16px, 1.22vw, 18px);
	line-height: 1.85;
	color: rgba(232, 234, 237, 0.72);
}

.ffc-actions {
	margin-top: 32px;
}

.ffc-button .wp-block-button__link {
	min-width: 128px;
	padding: 12px 23px;
	font-size: 14px;
}

.ffc-section {
	padding-top: clamp(58px, 6vw, 78px);
	padding-bottom: clamp(58px, 6vw, 78px);
}

.ffc-section__title {
	font-size: clamp(27px, 3vw, 42px);
}

.ffc-card {
	min-height: 176px;
}

@media (max-width: 1100px) {
	.ffc-header__brand {
		white-space: normal;
	}

	.ffc-header__inner {
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

@media (max-width: 760px) {
	.ffc-header__inner {
		min-height: auto;
	}

	.ffc-hero {
		padding-top: 48px;
		padding-bottom: 58px;
	}

	.ffc-hero__title {
		font-size: clamp(32px, 11vw, 46px);
	}

	.ffc-actions {
		gap: 12px;
	}
}

/* NAVFIX V0.1 - global top navigation unified to homepage logo style only. */
html body {
	background: #050b12;
}
body .wp-site-blocks {
	background: #050b12;
}
body .wp-site-blocks > header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
body.admin-bar .wp-site-blocks > header {
	top: 32px;
}
body .wp-site-blocks > header + * {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}
.ffc-header {
	position: relative !important;
	top: auto !important;
	z-index: 1000;
	margin: 0 !important;
	padding: 0 !important;
	background: rgba(3, 10, 18, 0.86) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.ffc-header__inner {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(100%, 1320px);
	min-height: 74px;
	margin: 0 auto;
	padding: 0 clamp(24px, 3.2vw, 46px);
	gap: 18px 28px;
}
.ffc-header__brand {
	flex: 0 0 auto;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	white-space: nowrap;
}
.ffc-header__brand a {
	display: block !important;
	width: clamp(116px, 9.2vw, 148px) !important;
	height: clamp(42px, 3.2vw, 50px) !important;
	min-height: 42px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: -9999px;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	letter-spacing: 0 !important;
	text-shadow: none !important;
	text-decoration: none !important;
	background-image: url('../img/ffc-logo.png');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}
.ffc-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 auto;
	gap: clamp(16px, 1.55vw, 25px);
	margin: 0;
	padding: 0;
}
.ffc-nav a {
	position: relative;
	padding: 5px 0;
	color: rgba(255, 255, 255, 0.90) !important;
	opacity: 1 !important;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.25;
	text-decoration: none;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
	transition: color 0.22s ease;
}
.ffc-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -9px;
	height: 2px;
	border-radius: 999px;
	background: #5b8def;
	transform: scaleX(0);
	transform-origin: center;
	opacity: 0.95;
	transition: transform 0.22s ease, opacity 0.22s ease;
}
.ffc-nav a:hover,
.ffc-nav a[aria-current="page"] {
	color: #ffffff !important;
}
.ffc-nav a:hover::after,
.ffc-nav a[aria-current="page"]::after {
	transform: scaleX(1);
}
@media (max-width: 782px) {
	body.admin-bar .wp-site-blocks > header {
		top: 46px;
	}
}
@media (max-width: 760px) {
	.ffc-header {
		background: rgba(4, 10, 18, 0.92) !important;
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}
	.ffc-header__inner {
		min-height: auto;
		padding-top: 12px;
		padding-bottom: 12px;
		gap: 12px 18px;
	}
	.ffc-header__brand a {
		width: 104px !important;
		height: 40px !important;
		min-height: 40px;
	}
	.ffc-nav {
		width: 100%;
		flex: 1 1 100%;
		justify-content: flex-start;
		gap: 10px 14px;
	}
	.ffc-nav a {
		font-size: 13px;
	}
	.ffc-nav a::after {
		bottom: -5px;
	}
}

/* V0.4 mobile prelaunch fix: compact mobile nav and remove mobile white gaps only. */
@media (max-width: 768px) {
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: #050b12 !important;
  }

  body .wp-site-blocks {
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    background: #050b12 !important;
  }

  body .wp-site-blocks > *,
  body .wp-site-blocks > * + *,
  body .wp-site-blocks > header + *,
  body .wp-site-blocks > main + footer {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
  }

  body .wp-site-blocks > header,
  body .wp-site-blocks > footer,
  body .wp-site-blocks > main,
  body .wp-site-blocks > .wp-block-template-part,
  body .wp-site-blocks > .wp-block-group:not(.ffc-page__inner) {
    background-color: #050b12;
  }

  .ffc-header {
    margin: 0 !important;
    background: rgba(4, 10, 18, 0.94) !important;
  }

  .ffc-header__inner {
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 7px 12px !important;
    gap: 8px !important;
    overflow: hidden;
  }

  .ffc-header__brand {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .ffc-header__brand a {
    width: 78px !important;
    height: 30px !important;
    min-height: 30px !important;
    background-size: contain !important;
  }

  .ffc-nav {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ffc-nav::-webkit-scrollbar {
    display: none;
  }

  .ffc-nav a {
    flex: 0 0 auto !important;
    padding: 5px 0 !important;
    font-size: 12px !important;
    line-height: 1.05 !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
    text-shadow: none !important;
  }

  .ffc-nav a::after {
    bottom: -3px !important;
  }

  .ffc-footer {
    margin-block-start: 0 !important;
    background: #08090b !important;
  }
}
