/*
Theme Name: Forager Feeds
Theme URI: https://foragerfeeds.com
Description: Block theme for Forager Feeds, built from the 2026 website mockup. Includes Home, About Us, Case Studies and Contact page layouts, a built-in enquiry form and self-hosted Lora and Montserrat fonts.
Version: 1.0.2
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Author: Forager Feeds
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forager-feeds
*/

/* ---------- Tokens ---------- */
:root {
	--ff-navy: #1A365D;
	--ff-navy-dark: #12284A;
	--ff-copper: #A65E3F;
	--ff-copper-dark: #8C4E33;
	--ff-gold: #C5A267;
	--ff-sand: #F5F1EB;
	--ff-cream: #E9E2D6;
	--ff-slate: #44546B;
	--ff-line: #E6DED2;
	--ff-line-soft: #ECE5DA;
	--ff-max: 1240px;
	--ff-pad: 32px;
	--ff-serif: Lora, Georgia, serif;
	--ff-sans: Montserrat, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body .wp-site-blocks > * { margin-block: 0; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { display: block; }

/* Children of theme blocks are spaced with gap, not the default flow margins. */
[class*="ff-"].wp-block-group > *,
[class*="ff-"].wp-block-cover .wp-block-cover__inner-container > *,
.ff-main > .ff-page-content > * {
	margin-block: 0;
}
.ff-page-content > * + * { margin-top: 0; }

/* ---------- Layout helpers ---------- */
.ff-container,
.ff-section,
.ff-split,
.ff-stats,
.ff-cases,
.ff-contact,
.ff-header__inner,
.ff-footer__inner {
	box-sizing: content-box;
	max-width: var(--ff-max);
	margin-inline: auto !important;
	padding-inline: var(--ff-pad);
}
.ff-stack-52 { display: flex; flex-direction: column; gap: 52px; }

.ff-section { padding-block: 120px 110px; display: flex; flex-direction: column; gap: 52px; }
.ff-section--services { gap: 56px; }
.ff-section--flush-bottom { padding-bottom: 0; }

.ff-band > .ff-split,
.ff-band > .ff-container { padding-block: 110px; }
.ff-band--sand { background: var(--ff-sand); }
.ff-band--rule { border-top: 1px solid var(--ff-line-soft); }
.ff-band--navy { background: var(--ff-navy); color: #fff; }
.ff-band--strip > .ff-container { padding-block: 72px; }

/* ---------- Type ---------- */
.ff-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--ff-copper);
	line-height: 1.4;
}
.ff-band--navy .ff-eyebrow,
.ff-hero .ff-eyebrow { color: var(--ff-gold); }

.ff-pill {
	display: inline-block;
	align-self: center;
	border: 1px solid var(--ff-gold);
	color: var(--ff-gold);
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.4;
}

.ff-h1 {
	font-family: var(--ff-serif);
	font-weight: 700;
	font-size: clamp(38px, 4.6vw, 62px);
	line-height: 1.1;
	color: #fff !important;
	max-width: 900px;
}
.ff-hero--home .ff-h1 { font-size: clamp(40px, 5.4vw, 72px); }

.ff-h2 {
	font-family: var(--ff-serif);
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.15;
	color: var(--ff-navy);
}
.ff-section--services .ff-h2 { font-size: clamp(32px, 3.4vw, 46px); max-width: 760px; }
.ff-band--navy .ff-h2,
.ff-hero .ff-h2 { color: #fff; }
.ff-hero--cta .ff-h2 { font-size: clamp(32px, 3.6vw, 50px); }

.ff-h3 {
	font-family: var(--ff-serif);
	font-size: clamp(28px, 2.8vw, 38px);
	line-height: 1.2;
	color: var(--ff-navy);
}

.ff-lead { font-size: 17px; line-height: 1.6; color: var(--ff-slate); max-width: 640px; }
.ff-hero__lead { font-size: 18px; line-height: 1.6; color: var(--ff-cream); max-width: 640px; }
.ff-hero--cta .ff-hero__lead { font-size: 17px; max-width: 600px; }

.ff-textlink { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; }
.ff-textlink a { text-decoration: none; }

mark.has-inline-color { background: transparent; }

/* ---------- Buttons ---------- */
.ff-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.ff-btns--center { justify-content: center; margin-top: 8px !important; }
.wp-block-button__link { transition: background-color 0.15s ease; }
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.6);
	padding: 15px 28px;
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ff-head--split .wp-block-button.is-style-ghost .wp-block-button__link { padding: 14px 24px; font-size: 13px; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ff-copper);
	border: 1px solid var(--ff-copper);
	padding: 13px 22px;
	font-size: 13px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ff-copper); color: #fff; }

/* ---------- Header ---------- */
.ff-header-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}
.ff-header { background: #fff; border-bottom: 1px solid var(--ff-line); }
.ff-header__inner {
	padding-block: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.ff-logo { margin: 0; }
.ff-logo img { height: 46px; width: auto; }
.ff-header__nav { display: flex; align-items: center; gap: 28px; }
.ff-nav { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; }
.ff-nav .wp-block-navigation__container { gap: 28px; }
.ff-nav .wp-block-navigation-item__content { color: var(--ff-navy); text-decoration: none; }
.ff-nav .wp-block-navigation-item__content:hover { color: var(--ff-copper); }
.ff-header__cta .wp-block-button__link { padding: 13px 22px; font-size: 13px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
.ff-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 32px;
	font-size: 18px;
}
.ff-nav .wp-block-navigation__responsive-container-open svg,
.ff-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* ---------- Hero (cover) ---------- */
.wp-block-cover.ff-hero {
	min-height: 0;
	padding: 0;
	display: block;
	background: var(--ff-navy);
}
.ff-hero .wp-block-cover__inner-container {
	box-sizing: border-box;
	max-width: calc(var(--ff-max) + 2 * var(--ff-pad));
	width: 100%;
	margin: 0 auto;
	padding: 150px var(--ff-pad) 210px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 28px;
	color: #fff;
}
.ff-hero .wp-block-cover__image-background { object-position: center 60%; }
.ff-hero.ff-hero--home .wp-block-cover__background { opacity: 0.74; }
.ff-hero.ff-hero--page .wp-block-cover__background { opacity: 0.72; }
.ff-hero.ff-hero--cta .wp-block-cover__background { opacity: 0.78; }
.ff-hero--page .wp-block-cover__inner-container { padding: 120px var(--ff-pad); gap: 24px; }
.ff-hero--cta .wp-block-cover__inner-container { max-width: 900px; padding: 120px var(--ff-pad); gap: 24px; }

/* Plain navy page header (Case Studies, Contact) */
.ff-pagehead {
	background: var(--ff-navy);
	padding: 100px var(--ff-pad) 90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 22px;
}
.ff-pagehead--overlap { padding: 90px var(--ff-pad) 170px; }
.ff-pagehead .ff-hero__lead { max-width: 620px; }

/* ---------- Stats strip ---------- */
.ff-stats { position: relative; z-index: 2; margin-top: -110px !important; }
.ff-stats__box {
	background: #fff;
	border-top: 4px solid var(--ff-gold);
	box-shadow: 0 18px 48px rgba(26, 54, 93, 0.16);
	border-radius: 6px;
	display: flex;
	flex-wrap: wrap;
}
.ff-stat {
	flex: 1 1 240px;
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-right: 1px solid var(--ff-line-soft);
}
.ff-stat:last-child { border-right: 0; }
.ff-stat__num { font-family: var(--ff-serif); font-weight: 700; font-size: 48px; line-height: 1.1; color: var(--ff-navy); }
.ff-stat__label { font-size: 15px; line-height: 1.5; color: var(--ff-slate); }

/* ---------- Section heads ---------- */
.ff-head { display: flex; flex-direction: column; gap: 16px; }
.ff-head--center { align-items: center; text-align: center; }
.ff-head--center .ff-lead { margin-inline: auto; }
.ff-head--flush { gap: 14px; }
.ff-head--left { gap: 14px; max-width: 680px; }
.ff-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.ff-head__title { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.ff-head__aside { max-width: 440px; font-size: 16px; }

/* ---------- Cards ---------- */
.ff-cards { display: flex; flex-wrap: wrap; gap: 24px; }
.ff-card {
	flex: 1 1 260px;
	border: 1px solid var(--ff-line);
	border-radius: 6px;
	padding: 36px 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ff-card h3 { font-size: 22px; line-height: 1.25; margin: 0; }
.ff-card p { font-size: 15px; line-height: 1.6; color: var(--ff-slate); }
.ff-card[class*="ff-ic-"]::before {
	content: "";
	width: 40px;
	height: 40px;
	background: var(--ff-gold);
	-webkit-mask: var(--ff-icon) center / contain no-repeat;
	mask: var(--ff-icon) center / contain no-repeat;
}
.ff-ic-truck { --ff-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3z'/%3E%3Cpath d='M14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.ff-ic-sprout { --ff-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V9'/%3E%3Cpath d='M12 13c-3 0-5-2-5-5 3 0 5 2 5 5z'/%3E%3Cpath d='M12 11c0-3 2-5 5-5 0 3-2 5-5 5z'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E"); }
.ff-ic-chart { --ff-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M7 15l4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.ff-ic-doc { --ff-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7z'/%3E%3Cpath d='M14 3v4h4'/%3E%3Cpath d='M9 13l2 2 4-4'/%3E%3C/svg%3E"); }
.ff-ic-mail { --ff-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.ff-ic-phone { --ff-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.ff-ic-pin { --ff-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6-7-11a7 7 0 0 1 14 0c0 5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }

.ff-card--value { flex-basis: 250px; background: #fff; border: 0; border-top: 3px solid var(--ff-gold); padding: 34px 28px; gap: 14px; }

/* ---------- Photos ---------- */
.ff-photo { margin: 0; }
.ff-photo img { width: 100%; object-fit: cover; border-radius: 6px; }
.ff-photo--220 img { height: 220px; }
.ff-photo--300 img { height: 300px; }
.ff-photo--380 img { height: 380px; }
.ff-photo--440 img { height: 440px; }
.ff-photo--460 img { height: 460px; }
.ff-photo--500 img { height: 500px; }

/* ---------- Split feature ---------- */
.ff-split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.ff-split--reverse { flex-wrap: wrap-reverse; }
.ff-split__media { flex: 1 1 460px; min-width: 0; position: relative; }
.ff-split__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.ff-badge {
	position: absolute;
	left: 24px;
	bottom: -28px;
	background: var(--ff-navy);
	color: #fff;
	border-radius: 6px;
	padding: 18px 22px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	box-shadow: 0 12px 30px rgba(26, 54, 93, 0.25);
}
.ff-badge__label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ff-gold); }
.ff-badge__value { font-family: var(--ff-serif); font-size: 22px; font-weight: 700; line-height: 1.25; }

.ff-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.5; }
.ff-ticks li { position: relative; padding-left: 34px; margin: 0; }
.ff-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	background: var(--ff-copper);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Gallery ---------- */
.ff-gallery { display: flex; flex-wrap: wrap; gap: 20px; }
.ff-tile { flex: 1 1 200px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ff-tile img { width: 100%; height: 300px; object-fit: cover; border-radius: 6px; }
.ff-tile figcaption {
	margin: 0;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--ff-navy);
}

/* ---------- Metrics ---------- */
.ff-metrics { display: flex; flex-wrap: wrap; gap: 16px; }
.ff-metric {
	flex: 1 1 180px;
	background: var(--ff-sand);
	border-radius: 6px;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ff-metric__label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--ff-copper); }
.ff-metric__value { font-family: var(--ff-serif); font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--ff-navy); }
.ff-metric--dark { background: var(--ff-navy); padding: 20px 22px; }
.ff-metric--dark .ff-metric__label { font-size: 11px; color: var(--ff-gold); }
.ff-metric--dark .ff-metric__value { color: #fff; font-size: 34px; }
.ff-metrics .ff-metric--dark + .ff-metric--dark .ff-metric__value,
.ff-metric--dark:only-child .ff-metric__value { font-size: 34px; }
#client-a .ff-metric__value { font-size: 30px; }

/* ---------- Case study cards (home) ---------- */
.ff-cs-cards { display: flex; flex-wrap: wrap; gap: 24px; }
.ff-cs-card {
	position: relative;
	flex: 1 1 260px;
	border: 1px solid rgba(197, 162, 103, 0.45);
	border-radius: 6px;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ff-cs-card:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--ff-gold); }
.ff-cs-card__label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--ff-gold); }
.ff-cs-card__num { font-family: var(--ff-serif); font-size: 40px; font-weight: 700; line-height: 1.1; }
.ff-cs-card__num a { color: #fff; text-decoration: none; }
.ff-cs-card__num a::after { content: ""; position: absolute; inset: 0; }
.ff-cs-card__num a:focus-visible { outline: none; }
.ff-cs-card:focus-within { outline: 2px solid var(--ff-gold); outline-offset: 2px; }
.ff-cs-card__text { font-size: 15px; line-height: 1.6; color: #D9DFE8; }

/* ---------- CTA strip ---------- */
.ff-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.ff-strip__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; color: #fff !important; max-width: 680px; }

/* ---------- About ---------- */
.ff-story { flex-direction: row; flex-wrap: wrap; gap: 64px; padding-block: 110px; }
.ff-story__title { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.ff-story__title .ff-h2 { line-height: 1.2; }
.ff-story__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.7; color: var(--ff-slate); }

.ff-photo-band { flex-direction: row; flex-wrap: wrap; gap: 20px; padding-top: 110px; }
.ff-photo-band .ff-photo { min-width: 0; }
.ff-grow-2 { flex: 2 1 420px; }
.ff-grow-1 { flex: 1 1 260px; }
.ff-section.ff-stack-52 { padding-block: 110px; }

.ff-steps { display: flex; flex-wrap: wrap; gap: 24px; }
.ff-step { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ff-line); padding-top: 24px; }
.ff-step__num { font-family: var(--ff-serif); font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--ff-gold); }
.ff-step__title { font-family: var(--ff-sans) !important; font-size: 16px !important; font-weight: 700; letter-spacing: 0.06em; line-height: 1.4; }
.ff-step p:not([class]) { font-size: 15px; line-height: 1.6; color: var(--ff-slate); }

.ff-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.ff-team-card {
	box-sizing: content-box;
	flex: 0 1 300px;
	background: #fff;
	border-radius: 6px;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
}
.ff-avatar {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: #C1AF9B;
	color: var(--ff-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
}
.ff-team-card .wp-block-image img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.ff-team-card__name { font-family: var(--ff-serif); font-size: 22px; font-weight: 700; color: var(--ff-navy); }
.ff-team-card__role { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--ff-copper); }
.ff-team-card__bio { font-size: 14px; line-height: 1.6; color: var(--ff-slate); }

/* ---------- Case studies page ---------- */
.ff-jumps { border-bottom: 1px solid var(--ff-line); }
.ff-jumps__inner {
	display: flex;
	flex-wrap: wrap;
	box-sizing: content-box;
	max-width: var(--ff-max);
	padding-inline: var(--ff-pad);
	margin-inline: auto !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
}
.ff-jumps p { flex: 1 1 200px; border-right: 1px solid var(--ff-line); }
.ff-jumps p:last-child { border-right: 0; }
.ff-jumps a { display: block; padding: 22px 16px; text-align: center; color: var(--ff-navy); text-decoration: none; }
.ff-jumps a:hover { background: var(--ff-sand); color: var(--ff-navy); }

.ff-cases { padding-bottom: 110px; }
.ff-case {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 56px;
	padding-top: 100px;
	scroll-margin-top: 90px;
}
.ff-case--reverse { flex-direction: row-reverse; }
.ff-case__media { flex: 1 1 420px; min-width: 0; }
.ff-case__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.ff-case__text .ff-metrics { gap: 14px; }
.ff-case__para { font-size: 15px; line-height: 1.65; color: var(--ff-slate); }
.ff-case__para strong { color: var(--ff-navy); }
.ff-case__text .ff-case__para + .ff-case__para { margin-top: -6px !important; }

/* ---------- Contact ---------- */
.ff-contact {
	margin-top: -110px !important;
	padding-bottom: 110px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px;
	position: relative;
	z-index: 2;
}
.ff-formcard {
	flex: 999 1 560px;
	min-width: 0;
	background: #fff;
	border-top: 4px solid var(--ff-gold);
	border-radius: 6px;
	box-shadow: 0 18px 48px rgba(26, 54, 93, 0.16);
	padding: 44px 44px 48px;
	box-sizing: border-box;
}
.ff-contact__aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; }
.ff-details {
	background: var(--ff-navy);
	color: #fff;
	border-radius: 6px;
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.ff-details__title { font-size: 24px !important; line-height: 1.25; }
.ff-details .ff-details__title { color: #fff; }
.ff-detail {
	position: relative;
	padding-left: 36px;
	font-size: 15px;
	line-height: 1.5;
}
.ff-detail strong { display: inline-block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--ff-gold); }
.ff-detail::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	background: var(--ff-gold);
	-webkit-mask: var(--ff-icon) center / contain no-repeat;
	mask: var(--ff-icon) center / contain no-repeat;
}
.ff-next { background: var(--ff-sand); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.ff-next .ff-details__title { font-size: 22px !important; }
.ff-next ol { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--ff-slate); }
.ff-next li { margin: 0; }

/* Form */
.ff-form { display: flex; flex-direction: column; gap: 22px; }
.ff-form > * { margin: 0; }
.ff-form__intro { display: flex; flex-direction: column; gap: 8px; }
.ff-form__intro h2, .ff-thanks h2 { margin: 0; font-size: 30px; }
.ff-form__intro p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ff-slate); }
.ff-form__alert { padding: 12px 16px; border-left: 4px solid #B3261E; background: #FCEEEE; color: #7A1A14; font-size: 14px; }
.ff-form__row { display: flex; flex-wrap: wrap; gap: 20px; }
.ff-form__row > .ff-field { flex: 1 1 240px; }
.ff-field { display: flex; flex-direction: column; gap: 8px; }
.ff-field label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ff-navy); }
.ff-field input,
.ff-field select,
.ff-field textarea {
	height: 48px;
	border: 1px solid #C9BFB2;
	border-radius: 4px;
	padding: 0 14px;
	font: inherit;
	font-size: 15px;
	color: var(--ff-navy);
	background: #fff;
	box-sizing: border-box;
	width: 100%;
}
.ff-field select { padding: 0 12px; }
.ff-field textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.ff-field input:focus,
.ff-field select:focus,
.ff-field textarea:focus,
.ff-consent input:focus { outline: 2px solid var(--ff-gold); outline-offset: 1px; border-color: var(--ff-navy); }
.ff-field [aria-invalid="true"] { border-color: #B3261E; }
.ff-field__error { font-size: 13px; color: #B3261E; }
.ff-consent { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.ff-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ff-copper); flex: none; }
.ff-consent label { flex: 1 1 0; min-width: 0; font-size: 14px; line-height: 1.5; color: var(--ff-slate); }
.ff-consent .ff-field__error { flex-basis: 100%; padding-left: 32px; }
.ff-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ff-submit {
	align-self: flex-start;
	background: var(--ff-copper);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 16px 32px;
	min-height: 48px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.ff-submit:hover { background: var(--ff-copper-dark); }
.ff-thanks { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px 0; }
.ff-thanks > * { margin: 0; }
.ff-thanks p { font-size: 16px; line-height: 1.6; color: var(--ff-slate); max-width: 520px; }
.ff-thanks__icon {
	width: 56px;
	height: 56px;
	background: var(--ff-gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-7'/%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='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ff-btn-outline {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	box-sizing: border-box;
	padding: 13px 22px;
	border: 1px solid var(--ff-copper);
	border-radius: 4px;
	color: var(--ff-copper);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ff-btn-outline:hover { background: var(--ff-copper); color: #fff; }

/* ---------- Footer ---------- */
.ff-footer { background: var(--ff-navy-dark); color: var(--ff-cream); }
.ff-footer__inner { padding-block: 72px 40px; display: flex; flex-direction: column; gap: 48px; }
.ff-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.ff-footer__brand { flex: 1 1 300px; max-width: 360px; display: flex; flex-direction: column; gap: 18px; }
.ff-footer__brand p { font-size: 14px; line-height: 1.6; color: #BFC9D6; }
.ff-footer__logo { margin: 0; }
.ff-footer__logo img { height: 52px; width: auto; }
.ff-footer__cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 14px; line-height: 1.5; }
.ff-footer__col { display: flex; flex-direction: column; gap: 12px; }
.ff-footer__heading { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--ff-gold); }
.ff-footer a { color: var(--ff-cream); text-decoration: none; }
.ff-footer a:hover { color: var(--ff-gold); }
.ff-footer__bottom {
	border-top: 1px solid rgba(197, 162, 103, 0.35);
	padding-top: 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: #BFC9D6;
}
.ff-footer__bottom a { color: #BFC9D6; }
.ff-footer__bottom p:first-child { max-width: 820px; line-height: 1.6; }
.ff-details a { color: #fff; text-decoration: none; }
.ff-details a:hover { color: var(--ff-gold); }

/* ---------- Generic pages (privacy policy, posts) ---------- */
.ff-prose { padding: 80px var(--ff-pad) 110px; }
.ff-prose__title { margin-bottom: 8px; }
.ff-prose__meta { color: var(--ff-slate); font-size: 14px; }
.ff-prose p, .ff-prose li { line-height: 1.7; }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	:root { --ff-pad: 20px; }
	.ff-hero .wp-block-cover__inner-container { padding-top: 90px; padding-bottom: 150px; gap: 22px; }
	.ff-hero--page .wp-block-cover__inner-container,
	.ff-hero--cta .wp-block-cover__inner-container { padding-block: 80px; }
	.ff-pagehead { padding-top: 70px; padding-bottom: 70px; }
	.ff-pagehead--overlap { padding-bottom: 150px; }
	.ff-section, .ff-story { padding-block: 80px; }
	.ff-band > .ff-split, .ff-band > .ff-container, .ff-section.ff-stack-52 { padding-block: 80px; }
	.ff-photo-band { padding-top: 80px; }
	.ff-split, .ff-story, .ff-case { gap: 40px; }
	.ff-stat { border-right: 0; border-bottom: 1px solid var(--ff-line-soft); padding: 26px 24px; }
	.ff-stat:last-child { border-bottom: 0; }
	.ff-stat__num { font-size: 40px; }
	.ff-case--reverse { flex-direction: column; }
	.ff-case { flex-direction: column; padding-top: 70px; }
	.ff-case__media, .ff-case__text, .ff-split__media, .ff-split__text { flex-basis: auto; width: 100%; }
	.ff-photo--440 img, .ff-photo--460 img, .ff-photo--500 img, .ff-photo--380 img { height: 300px; }
	.ff-formcard { padding: 28px 22px 32px; }
	.ff-jumps p { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--ff-line); }
	.ff-jumps p:last-child { border-bottom: 0; }
	.ff-header .ff-header__cta { display: none; }
	.ff-header__inner { flex-wrap: nowrap; }
	.ff-logo img { height: 38px; }
	.ff-tile { flex-basis: 140px; }
	.ff-tile img { height: 200px; }
	.ff-footer__cols { gap: 40px; }
}

/* ---------- Mobile menu overlay ---------- */
.ff-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--ff-navy) !important; color: #fff !important; }
.ff-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 40px; }
.ff-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 22px !important; }
.ff-nav .is-menu-open .wp-block-navigation-item__content { color: #fff !important; font-size: 15px; letter-spacing: 0.12em; }
.ff-nav .is-menu-open .wp-block-navigation-item__content:hover { color: var(--ff-gold) !important; }
.ff-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: var(--ff-gold); }
