:root {
	--fp-ink: #1e1c1f;
	--fp-charcoal: #343235;
	--fp-copper: #b86f32;
	--fp-copper-dark: #8d4f22;
	--fp-ivory: #f5f2ec;
	--fp-sand: #dfd7cb;
	--fp-white: #fff;
	--fp-muted: #6e6964;
	--fp-border: #e2ddd5;
	--fp-container: 1240px;
	--fp-gutter: clamp(32px, 4vw, 48px);
	--fp-section-space: clamp(72px, 6vw, 88px);
	--fp-shadow: 0 14px 38px rgba(30, 28, 31, 0.09);
	--fp-header-height: 80px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--fp-white);
	color: var(--fp-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	text-underline-offset: 0.18em;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--fp-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 600;
	line-height: 1.16;
}

h1 {
	font-size: clamp(2.5rem, 4.2vw, 4rem);
}

h2 {
	font-size: clamp(2rem, 3vw, 2.75rem);
}

h3 {
	font-size: clamp(1.25rem, 1.7vw, 1.55rem);
}

p,
ul,
ol {
	margin-top: 0;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid #3b82f6;
	outline-offset: 3px;
}

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

.fp-skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100000;
	padding: 10px 16px;
	background: var(--fp-ink);
	color: var(--fp-white);
}

.fp-container,
.wp-site-blocks > :where(.wp-block-group, main) > .alignwide,
.wp-site-blocks > :where(.wp-block-group, main) > :where(.wp-block-post-content) > .alignwide {
	width: min(calc(100% - (var(--fp-gutter) * 2)), var(--fp-container));
	max-width: var(--fp-container);
	margin-right: auto;
	margin-left: auto;
}

.alignfull {
	width: 100%;
}

/* Header */
.fp-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid transparent;
	transition: box-shadow 180ms ease, border-color 180ms ease;
	backdrop-filter: blur(12px);
}

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

.fp-site-header.is-scrolled {
	border-bottom-color: var(--fp-border);
	box-shadow: 0 8px 24px rgba(30, 28, 31, 0.08);
}

.fp-site-header__inner {
	width: min(calc(100% - (var(--fp-gutter) * 2)), var(--fp-container));
	min-height: var(--fp-header-height);
	margin: 0 auto;
	gap: clamp(18px, 3vw, 42px);
}

.fp-brand {
	flex: 0 0 auto;
	gap: 12px;
}

.fp-brand__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.fp-brand__title a {
	text-decoration: none;
}

.fp-primary-nav {
	margin-left: auto;
}

.fp-primary-nav .wp-block-navigation-item__content {
	padding: 28px clamp(7px, 0.8vw, 14px);
	font-size: clamp(0.84rem, 1vw, 0.98rem);
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.fp-primary-nav .wp-block-navigation__submenu-container {
	min-width: 235px !important;
	padding: 10px 0;
	background: var(--fp-white) !important;
	border: 1px solid var(--fp-border) !important;
	box-shadow: var(--fp-shadow);
}

.fp-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 9px 18px;
}

.fp-header-actions {
	flex: 0 0 auto;
}

.fp-header-quote .wp-block-button__link {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	background: var(--fp-copper);
	color: var(--fp-white);
	border: 1px solid var(--fp-copper);
	border-radius: 2px;
	font-size: 0.86rem;
	font-weight: 750;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fp-header-quote .wp-block-button__link:hover {
	background: var(--fp-copper-dark);
	border-color: var(--fp-copper-dark);
	color: var(--fp-white);
}

/* Page shell and reusable content */
.fp-main {
	min-height: 48vh;
}

.fp-section {
	padding-top: var(--fp-section-space);
	padding-bottom: var(--fp-section-space);
}

.fp-section + .fp-section {
	margin-top: 0;
}

.fp-section-ivory {
	background: var(--fp-ivory);
}

.fp-section-dark {
	background: var(--fp-ink);
	color: rgba(255, 255, 255, 0.82);
}

.fp-section-dark :where(h1, h2, h3, h4, a) {
	color: var(--fp-white);
}

.fp-kicker {
	margin-bottom: 12px;
	color: var(--fp-copper-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.35;
	text-transform: uppercase;
}

.fp-disclosure {
	font-size: 0.8rem;
	opacity: 0.76;
}

.fp-section :where(h2, .fp-kicker) + p {
	max-width: 760px;
}

.wp-block-button__link,
.fp-product-filters button,
.fp-rfq-form button {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	background: var(--fp-copper);
	color: var(--fp-white);
	border: 1px solid var(--fp-copper);
	border-radius: 2px;
	font-size: 0.86rem;
	font-weight: 750;
	line-height: 1.3;
	text-decoration: none;
}

.wp-block-button__link:hover,
.fp-product-filters button:hover,
.fp-rfq-form button:hover {
	background: var(--fp-copper-dark);
	border-color: var(--fp-copper-dark);
	color: var(--fp-white);
}

.fp-secondary-button .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--fp-ink);
	border-color: currentColor;
}

.fp-secondary-button .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--fp-ink);
	color: var(--fp-white);
}

.fp-section-dark .fp-secondary-button .wp-block-button__link {
	color: var(--fp-white);
}

.fp-home-slide .fp-secondary-button .wp-block-button__link {
	color: var(--fp-white);
}

/* Full-bleed homepage hero using the existing editable block structure. */
.fp-main--home .fp-hero {
	position: relative;
	min-height: clamp(580px, 72vh, 820px);
	padding: 0;
	overflow: hidden;
	background: var(--fp-ink);
	color: var(--fp-white);
}

.fp-main--home .fp-hero::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(15, 14, 15, 0.82) 0%, rgba(15, 14, 15, 0.52) 42%, rgba(15, 14, 15, 0.08) 78%);
	content: "";
	pointer-events: none;
}

.fp-main--home .fp-hero-columns {
	position: relative;
	z-index: 2;
	width: min(calc(100% - (var(--fp-gutter) * 2)), var(--fp-container));
	min-height: clamp(580px, 72vh, 820px);
	margin: 0 auto;
	align-items: center;
}

.fp-main--home .fp-hero-columns > .wp-block-column:first-child {
	position: relative;
	z-index: 3;
	max-width: 680px;
	padding: 72px 0;
}

.fp-main--home .fp-hero-columns > .wp-block-column:last-child {
	position: absolute;
	inset: 0 calc((100vw - min(100vw, var(--fp-container))) / -2 - var(--fp-gutter));
	z-index: -1;
	width: 100vw;
	max-width: none;
}

.fp-main--home .fp-hero-columns > .wp-block-column:last-child figure,
.fp-main--home .fp-hero-columns > .wp-block-column:last-child img {
	width: 100%;
	height: 100%;
	margin: 0;
}

.fp-main--home .fp-hero-columns > .wp-block-column:last-child img {
	position: absolute;
	inset: 0;
	object-fit: cover;
	object-position: center;
}

.fp-main--home .fp-hero :where(h1, p, a) {
	color: var(--fp-white);
}

/* Keep hero copy readable when the companion project-tools plugin is active. */
.fp-main--home .fp-hero .fp-hero-copy p:not(.fp-kicker) {
	color: var(--fp-white);
}

.fp-main--home .fp-hero h1 {
	max-width: 760px;
	margin-bottom: 24px;
	font-size: clamp(2.75rem, 5vw, 4.9rem);
	text-wrap: balance;
}

.fp-main--home .fp-hero .wp-block-column:first-child > p:not(.fp-kicker):not(.fp-disclosure) {
	max-width: 670px;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.fp-main--home .fp-hero .fp-secondary-button .wp-block-button__link {
	color: var(--fp-white);
}

.fp-main--home .fp-hero .fp-disclosure {
	position: absolute;
	right: 0;
	bottom: 16px;
	max-width: 520px;
	font-size: 0.75rem;
	text-align: right;
}

/* Editable homepage slider. Without JavaScript the slides remain readable in sequence. */
.fp-home-slider {
	position: relative;
	background: var(--fp-ink);
}

.fp-home-slider.is-ready .fp-home-slide[hidden] {
	display: none;
}

.fp-home-slide {
	min-height: clamp(580px, 72vh, 820px);
	margin: 0;
}

.fp-home-slide .wp-block-cover {
	min-height: clamp(580px, 72vh, 820px) !important;
}

.fp-home-slide .wp-block-cover__inner-container {
	width: min(calc(100% - (var(--fp-gutter) * 2)), var(--fp-container));
	margin: 0 auto;
}

.fp-home-slide__copy {
	max-width: 720px;
	padding: 72px 0 92px;
	color: var(--fp-white);
}

.fp-home-slide__copy :where(h1, h2, p, a) {
	color: var(--fp-white);
}

.fp-home-slide__copy h1,
.fp-home-slide__copy h2 {
	margin-bottom: 24px;
	font-size: clamp(2.75rem, 5vw, 4.9rem);
	text-wrap: balance;
}

.fp-home-slide__copy > p:not(.fp-kicker) {
	max-width: 660px;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.fp-home-slide__copy .fp-kicker {
	color: #f2c79b;
}

.fp-slider-controls {
	position: absolute;
	right: var(--fp-gutter);
	bottom: 34px;
	z-index: 4;
	display: flex;
	gap: 8px;
}

.fp-slider-controls .wp-block-button__link {
	width: 48px;
	height: 48px;
	padding: 0;
	background: rgba(30, 28, 31, 0.72);
	border-color: rgba(255, 255, 255, 0.4);
	font-size: 1.2rem;
}

.fp-slider-controls .wp-block-button__link:hover {
	background: var(--fp-copper);
}

.fp-metric-grid,
.fp-category-grid,
.fp-audience-grid,
.fp-advantage-grid {
	display: grid !important;
	gap: 24px;
}

.fp-metric-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 42px;
}

.fp-metric-card {
	padding: 28px 10px 28px 0;
	border-top: 2px solid var(--fp-copper);
}

.fp-metric-card strong {
	display: block;
	margin-bottom: 8px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 600;
	line-height: 1;
}

.fp-category-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fp-category-card {
	position: relative;
	min-height: 360px;
	overflow: hidden;
	background: var(--fp-ink);
}

.fp-category-card figure,
.fp-category-card img {
	width: 100%;
	height: 100%;
	margin: 0;
}

.fp-category-card figure {
	position: absolute;
	inset: 0;
}

.fp-category-card img {
	object-fit: cover;
	transition: transform 450ms ease;
}

.fp-category-card::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 19, 20, 0.8), rgba(20, 19, 20, 0.04) 70%);
	content: "";
}

.fp-category-card:hover img {
	transform: scale(1.04);
}

.fp-category-card__copy {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 28px;
}

.fp-category-card__copy :where(h3, a, p) {
	color: var(--fp-white);
}

.fp-category-card__copy h3 {
	margin-bottom: 0;
}

.fp-category-card__copy a {
	text-decoration: none;
}

.fp-audience-grid,
.fp-advantage-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fp-audience-card,
.fp-advantage-card {
	padding: clamp(24px, 3vw, 38px);
	background: var(--fp-white);
	border: 1px solid var(--fp-border);
}

.fp-audience-card h3,
.fp-advantage-card h3 {
	margin-bottom: 12px;
}

.fp-factory-gallery {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
}

.fp-factory-gallery figure {
	position: relative;
	grid-column: span 4;
	margin: 0;
	overflow: hidden;
}

.fp-factory-gallery figure:nth-child(1),
.fp-factory-gallery figure:nth-child(2) {
	grid-column: span 6;
}

.fp-factory-gallery figure::before {
	display: block;
	padding-top: 70%;
	content: "";
}

.fp-factory-gallery figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Internal page hero */
.fp-page-hero {
	min-height: clamp(430px, 47vw, 620px);
	align-items: center;
	gap: clamp(36px, 6vw, 90px);
}

.fp-page-hero > .wp-block-column:first-child {
	padding: 56px 0;
}

.fp-page-hero > .wp-block-column:last-child figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	box-shadow: var(--fp-shadow);
}

.fp-page-hero > .wp-block-column:last-child figure::before {
	display: block;
	padding-top: 74%;
	content: "";
}

.fp-page-hero > .wp-block-column:last-child img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Cards and section grids */
.fp-value-grid,
.fp-advantage-grid,
.fp-process-grid,
.fp-proof-grid,
.fp-feature-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.fp-card,
.fp-value-card,
.fp-proof-card,
.fp-process-card,
.fp-feature-card,
.fp-post-card {
	position: relative;
	overflow: hidden;
	background: var(--fp-white);
	border: 1px solid var(--fp-border);
	box-shadow: 0 8px 28px rgba(30, 28, 31, 0.05);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.fp-card:hover,
.fp-value-card:hover,
.fp-product-card:hover,
.fp-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--fp-shadow);
}

.fp-value-card,
.fp-proof-card,
.fp-process-card,
.fp-feature-card {
	padding: clamp(24px, 3vw, 36px);
}

.fp-card-copy {
	display: flex !important;
	height: 100%;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
}

.fp-card-copy > .wp-block-buttons {
	margin-top: auto;
	padding-top: 18px;
}

.fp-card figure,
.fp-post-card .wp-block-post-featured-image {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--fp-ivory);
}

.fp-card figure::before,
.fp-post-card .wp-block-post-featured-image::before {
	display: block;
	padding-top: 68%;
	content: "";
}

.fp-card figure img,
.fp-post-card .wp-block-post-featured-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.fp-card:hover figure img,
.fp-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.035);
}

.fp-solution-grid,
.fp-resource-grid,
.fp-package-grid,
.fp-project-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.fp-home-solutions {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fp-home-proof-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fp-package-grid .fp-card figure::before {
	padding-top: 75%;
}

.fp-cta-row {
	align-items: center !important;
}

.fp-cta-row > .wp-block-column:last-child .wp-block-buttons {
	justify-content: flex-end;
}

/* Homepage partner placeholders are independent image blocks in a fixed, replaceable grid. */
.fp-partners {
	background: #f7f5f2;
}

.fp-partners .fp-partners__heading {
	margin-bottom: 0;
	text-align: center;
}

.fp-partners .fp-partners__grid {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.fp-partners .fp-partner-logo {
	display: grid;
	height: 104px;
	margin: 0;
	overflow: hidden;
	place-items: center;
	padding: 18px;
	background: var(--fp-white);
	border: 1px solid #e9e5df;
	border-radius: 4px;
}

.fp-partners .fp-partner-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fp-section-dark .fp-proof-card {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.16);
	box-shadow: none;
}

.fp-section-dark .fp-proof-card :where(h3, p) {
	color: var(--fp-white);
}

/* Product listing */
.page-id-17 .fp-main > .wp-block-post-content > .fp-section:nth-of-type(2) .fp-container {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	column-gap: clamp(32px, 4vw, 64px);
	align-items: start;
}

.page-id-17 .fp-product-filters {
	position: sticky;
	top: calc(var(--fp-header-height) + 24px);
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	padding: 24px;
	background: var(--fp-ink);
	color: var(--fp-white);
	border: 0;
}

.page-id-17 .fp-product-filters::before {
	display: block;
	margin-bottom: 4px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 600;
	content: "Categories & Filters";
}

.page-id-17 .fp-product-filters label {
	display: grid;
	gap: 5px;
	color: var(--fp-white);
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.page-id-17 .fp-product-filters :where(input, select) {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--fp-white);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 0;
	font-size: 0.9rem;
	text-transform: none;
}

.page-id-17 .fp-product-filters option {
	background: var(--fp-white);
	color: var(--fp-ink);
}

.page-id-17 .fp-product-filters button {
	width: 100%;
	margin-top: 6px;
}

.page-id-17 .fp-product-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 42px);
	min-width: 0;
}

.fp-product-card {
	display: flex !important;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	background: var(--fp-white);
	border: 1px solid var(--fp-border);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.fp-product-card > figure {
	position: relative;
	width: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--fp-ivory);
}

.fp-product-card > figure::before {
	display: block;
	padding-top: 100%;
	content: "";
}

.fp-product-card > figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.fp-product-card:hover > figure img {
	transform: scale(1.035);
}

.fp-product-card-copy {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(20px, 2.4vw, 30px);
}

.fp-product-card-copy > .wp-block-buttons {
	margin-top: auto;
	padding-top: 18px;
}

.fp-product-card h3 {
	margin-bottom: 12px;
	font-size: clamp(1.2rem, 1.6vw, 1.55rem);
}

.fp-product-card h3 a {
	text-decoration: none;
}

.fp-product-sku {
	margin-bottom: 8px;
	color: var(--fp-copper-dark);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.fp-add-quote .wp-block-button__link {
	background: var(--fp-ink);
	border-color: var(--fp-ink);
}

.fp-add-quote .wp-block-button__link:hover {
	background: var(--fp-copper-dark);
	border-color: var(--fp-copper-dark);
}

/* Product details */
.fp-product-detail {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
}

.fp-product-detail > .wp-block-column {
	min-width: 0;
}

.fp-product-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.fp-product-gallery > figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--fp-ivory);
}

.fp-product-gallery > figure:first-child {
	grid-column: 1 / -1;
}

.fp-product-gallery > figure::before {
	display: block;
	padding-top: 100%;
	content: "";
}

.fp-product-gallery > figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fp-product-detail table {
	width: 100%;
	border-collapse: collapse;
}

.fp-product-detail :where(td, th) {
	padding: 12px 14px;
	border: 1px solid var(--fp-border);
	text-align: left;
	vertical-align: top;
}

.fp-product-detail th {
	width: 34%;
	background: var(--fp-ivory);
}

/* Forms */
.fp-rfq-form,
.wp-block-search,
.wp-block-contact-form-7-contact-form-selector {
	max-width: 980px;
}

.fp-rfq-form label {
	display: grid;
	gap: 7px;
	font-weight: 700;
}

.fp-rfq-form :where(input, select, textarea),
.wp-block-search__input {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	background: var(--fp-white);
	color: var(--fp-ink);
	border: 1px solid #bbb3a9;
	border-radius: 0;
	font-size: 1rem;
}

.fp-rfq-form textarea {
	min-height: 150px;
	resize: vertical;
}

/* Article and archive */
.fp-article,
.fp-archive,
.fp-search,
.fp-not-found {
	padding: var(--fp-section-space) var(--fp-gutter);
}

.fp-article__header {
	margin-bottom: clamp(40px, 6vw, 80px);
}

.fp-article > .wp-block-post-content {
	width: min(100%, 800px);
	margin-right: auto;
	margin-left: auto;
	font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.fp-article .wp-block-table,
.fp-product-detail .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.fp-article > .wp-block-post-content :where(h2, h3) {
	margin-top: 1.8em;
}

.fp-article__cta {
	margin-top: var(--fp-section-space);
	padding: clamp(30px, 5vw, 60px);
	background: var(--fp-ink);
	color: rgba(255, 255, 255, 0.82);
}

.fp-article__cta :where(h2, a) {
	color: var(--fp-white);
}

.fp-archive .wp-block-post-template {
	gap: 28px;
}

.fp-post-card > :not(.wp-block-post-featured-image) {
	margin-right: 24px;
	margin-left: 24px;
}

.fp-post-card > :last-child {
	margin-bottom: 24px;
}

.wp-block-query-pagination {
	margin-top: 48px;
}

/* Contact rails */
.fp-contact-rail {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 950;
	display: grid;
	transform: translateY(-50%);
	box-shadow: 0 10px 30px rgba(30, 28, 31, 0.2);
}

.fp-contact-rail__item {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	color: var(--fp-white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.68rem;
	font-weight: 800;
	text-decoration: none;
}

.fp-contact-rail__item:hover {
	filter: brightness(0.9);
	color: var(--fp-white);
}

.fp-contact-rail__item--whatsapp {
	background: #209b4b;
}

.fp-contact-rail__item--quote {
	background: var(--fp-copper);
}

.fp-contact-rail__item--contact {
	background: #4f5d73;
}

.fp-contact-rail__item--top {
	background: var(--fp-ink);
	font-size: 1.15rem;
}

.fp-mobile-contact-bar {
	display: none;
}

/* Footer */
.fp-site-footer {
	padding: clamp(64px, 7vw, 96px) var(--fp-gutter) 28px;
	background: var(--fp-ink);
	color: rgba(255, 255, 255, 0.7);
}

.fp-site-footer :where(h2, h3, a) {
	color: var(--fp-white);
}

.fp-site-footer a:hover {
	color: #e6b17b;
}

.fp-site-footer__columns {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr) minmax(190px, 1fr);
	gap: clamp(28px, 4vw, 64px);
}

.fp-site-footer__brand {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.7rem;
	font-weight: 800;
}

.fp-site-footer h3 {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fp-footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fp-footer-links li + li {
	margin-top: 9px;
}

.fp-footer-links a,
.fp-site-footer__contact a {
	text-decoration: none;
}

.fp-site-footer__legal {
	margin-top: 54px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.78rem;
}

.fp-site-footer__legal p {
	margin: 0;
}

@media (max-width: 1200px) {
	:root {
		--fp-gutter: clamp(24px, 3vw, 36px);
	}

	.fp-primary-nav .wp-block-navigation-item__content {
		padding-right: 6px;
		padding-left: 6px;
		font-size: 0.82rem;
	}

	.fp-header-quote .wp-block-button__link {
		padding-right: 15px;
		padding-left: 15px;
	}

	.fp-value-grid,
	.fp-advantage-grid,
	.fp-process-grid,
	.fp-proof-grid,
	.fp-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fp-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 992px) {
	:root {
		--fp-header-height: 64px;
		--fp-section-space: clamp(56px, 8vw, 76px);
	}

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

	.fp-site-header__inner {
		min-height: var(--fp-header-height);
	}

	.fp-header-actions {
		display: none !important;
	}

	.fp-primary-nav {
		order: 3;
		margin-left: 0;
	}

	.fp-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
		padding: 28px;
		background: var(--fp-white);
		color: var(--fp-ink);
	}

	.fp-primary-nav .wp-block-navigation__responsive-container-content {
		padding-top: 50px;
	}

	.fp-primary-nav .wp-block-navigation-item__content {
		padding: 10px 0;
		font-size: 1rem;
	}

	.fp-main--home .fp-hero,
	.fp-main--home .fp-hero-columns {
		min-height: clamp(560px, 76vh, 740px);
	}

	.fp-home-slide,
	.fp-home-slide .wp-block-cover {
		min-height: clamp(560px, 76vh, 740px) !important;
	}

	.fp-metric-grid,
	.fp-audience-grid,
	.fp-advantage-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fp-main--home .fp-hero-columns > .wp-block-column:first-child {
		flex-basis: 78% !important;
		max-width: 660px;
	}

	.fp-main--home .fp-hero-columns > .wp-block-column:last-child {
		flex-basis: 100% !important;
	}

	.fp-main--home .fp-hero .fp-disclosure {
		position: static;
		margin-top: 24px;
		text-align: left;
	}

	.fp-page-hero,
	.fp-product-detail {
		grid-template-columns: 1fr;
	}

	.fp-page-hero {
		min-height: 0;
		flex-direction: column;
	}

	.fp-page-hero > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}

	.fp-solution-grid,
	.fp-resource-grid,
	.fp-package-grid,
	.fp-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fp-home-proof-grid {
		grid-template-columns: 1fr;
	}

	.page-id-17 .fp-main > .wp-block-post-content > .fp-section:nth-of-type(2) .fp-container {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}

	.page-id-17 .fp-product-filters {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-id-17 .fp-product-filters::before,
	.page-id-17 .fp-product-filters button {
		grid-column: 1 / -1;
	}

	.fp-contact-rail {
		display: none;
	}

	.fp-mobile-contact-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: grid;
		grid-template-columns: 1fr 1fr;
		box-shadow: 0 -8px 30px rgba(30, 28, 31, 0.16);
	}

	.fp-mobile-contact-bar a {
		display: grid;
		min-height: 54px;
		place-items: center;
		background: #209b4b;
		color: var(--fp-white);
		font-size: 0.9rem;
		font-weight: 800;
		text-decoration: none;
	}

	.fp-mobile-contact-bar a:last-child {
		background: var(--fp-copper);
	}

	.fp-site-footer {
		padding-bottom: 82px;
	}

	.fp-site-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	.fp-partners .fp-partners__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

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

@media (max-width: 700px) {
	:root {
		--fp-gutter: 16px;
		--fp-section-space: 44px;
	}

	h1 {
		font-size: clamp(2.1rem, 9vw, 3.1rem);
	}

	h2 {
		font-size: clamp(1.75rem, 7vw, 2.35rem);
	}

	.fp-brand__title {
		font-size: 1.12rem;
	}

	.fp-brand .wp-block-site-logo img {
		width: 42px;
	}

	.fp-main--home .fp-hero-columns > .wp-block-column:first-child {
		flex-basis: 100% !important;
		padding: 64px 0 86px;
	}

	.fp-main--home .fp-hero::after {
		background: linear-gradient(90deg, rgba(15, 14, 15, 0.86), rgba(15, 14, 15, 0.46));
	}

	.fp-main--home .fp-hero .wp-block-buttons,
	.fp-page-hero .wp-block-buttons,
	.fp-home-slide .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.fp-main--home .fp-hero .wp-block-button,
	.fp-main--home .fp-hero .wp-block-button__link,
	.fp-page-hero .wp-block-button,
	.fp-page-hero .wp-block-button__link,
	.fp-home-slide .wp-block-button,
	.fp-home-slide .wp-block-button__link {
		width: 100%;
	}

	.fp-value-grid,
	.fp-advantage-grid,
	.fp-process-grid,
	.fp-proof-grid,
	.fp-feature-grid,
	.fp-solution-grid,
	.fp-resource-grid,
	.fp-package-grid,
	.fp-project-grid,
	.page-id-17 .fp-product-grid {
		grid-template-columns: 1fr;
	}

	.fp-home-solutions {
		grid-template-columns: 1fr;
	}

	.fp-metric-grid,
	.fp-category-grid,
	.fp-audience-grid,
	.fp-advantage-grid {
		grid-template-columns: 1fr;
	}

	.fp-category-card {
		min-height: 320px;
	}

	.fp-factory-gallery figure,
	.fp-factory-gallery figure:nth-child(1),
	.fp-factory-gallery figure:nth-child(2) {
		grid-column: 1 / -1;
	}

	.fp-slider-controls {
		right: 20px;
		bottom: 72px;
	}

	.page-id-17 .fp-product-filters {
		grid-template-columns: 1fr;
	}

	.page-id-17 .fp-product-filters::before,
	.page-id-17 .fp-product-filters button {
		grid-column: auto;
	}

	.fp-product-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fp-product-gallery > figure:first-child {
		grid-column: 1 / -1;
	}

	.fp-site-footer__columns {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.fp-site-footer__columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (max-width: 767px) {
	.fp-partners .fp-partners__grid {
		gap: 12px;
		margin-top: 28px;
	}

	.fp-partners .fp-partner-logo {
		height: 80px;
		padding: 12px;
	}

	.fp-cta-row > .wp-block-column:last-child .wp-block-buttons {
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.fp-site-header__inner {
		gap: 10px;
	}

	.fp-brand__title {
		font-size: 1rem;
	}

	.fp-main--home .fp-hero,
	.fp-main--home .fp-hero-columns {
		min-height: 610px;
	}

	.fp-card-copy,
	.fp-product-card-copy {
		padding: 20px;
	}

	.fp-product-card-copy .wp-block-buttons {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
	}

	.fp-product-card-copy .wp-block-button,
	.fp-product-card-copy .wp-block-button__link {
		width: 100%;
	}
}

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

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