/*
Theme Name: Billy Fish
Theme URI: https://billyfish.co.ke
Description: Child theme of GeneratePress for Billy Fish Farm and Agriventures. Brand colours, type, header, footer and WhatsApp ordering.
Author: Jerry Echimau
Template: generatepress
Version: 2.0.0
Text Domain: billyfish
*/

@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
	--bff-blue: #2462aa;
	--bff-blue-dark: #1b4c86;
	--bff-navy: #0f2a4a;
	--bff-green: #23862a;
	--bff-green-dark: #1b6c21;
	--bff-leaf: #35ac3a;
	--bff-mist: #f4f7f9;
	--bff-line: #dde5ec;
	--bff-text: #1c2b3a;
	--bff-muted: #5a6b7b;
	--bff-radius: 10px;
}

/* Base */
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.65; color: var(--bff-text); background: #fff; }
h1, h2, h3, h4, .main-title, .bff-num { font-family: "Outfit", "Inter", sans-serif; font-weight: 600; color: var(--bff-navy); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .6em; }
h3 { font-size: 1.25rem; }
a { color: var(--bff-blue); }
a:hover, a:focus { color: var(--bff-blue-dark); }
::selection { background: #cfe0f5; }
img { border-radius: 0; }
.entry-content > *:first-child { margin-top: 0; }

/* Layout helpers used by pages */
.site-content .content-area { width: 100%; }
.page .inside-article, .home .inside-article { padding: 0; }
.separate-containers .inside-article, .one-container .site-content { padding: 0; }
.bff-section { padding: clamp(48px, 7vw, 96px) 20px !important; }
.bff-section > .wp-block-group__inner-container, .bff-section.is-layout-constrained > * { max-width: 1160px; margin-left: auto !important; margin-right: auto !important; }
.bff-mist { background: var(--bff-mist); }
.bff-blue-band { background: var(--bff-blue); color: #fff; }
.bff-navy-band { background: var(--bff-navy); color: #fff; }
.bff-blue-band h1, .bff-blue-band h2, .bff-blue-band h3, .bff-navy-band h1, .bff-navy-band h2, .bff-navy-band h3 { color: #fff; }
.bff-blue-band a:not(.wp-block-button__link), .bff-navy-band a:not(.wp-block-button__link) { color: #fff; }
.bff-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem !important; font-weight: 600; color: var(--bff-blue); margin-bottom: .5em !important; }
.bff-blue-band .bff-eyebrow, .bff-navy-band .bff-eyebrow, .wp-block-cover .bff-eyebrow { color: #cfe7d0; }
.bff-lead { font-size: 1.15rem; color: var(--bff-muted); max-width: 46em; }
.wp-block-cover .bff-lead, .bff-blue-band .bff-lead, .bff-navy-band .bff-lead { color: #e8eef5; }

/* Buttons */
.wp-block-button__link, .button, button, input[type="submit"] { font-family: "Inter", sans-serif; font-weight: 600; border-radius: 999px; padding: .8em 1.5em; min-height: 44px; transition: background .15s, color .15s, border-color .15s; }
.wp-block-button__link { background: var(--bff-blue); color: #fff; }
.wp-block-button__link:hover { background: var(--bff-blue-dark); color: #fff; }
.bff-btn-whatsapp .wp-block-button__link, a.bff-btn-whatsapp { background: var(--bff-green); color: #fff; }
.bff-btn-whatsapp .wp-block-button__link:hover, a.bff-btn-whatsapp:hover { background: var(--bff-green-dark); color: #fff; }
.is-style-outline .wp-block-button__link { background: transparent; border: 2px solid currentColor; color: var(--bff-blue); }
.wp-block-cover .is-style-outline .wp-block-button__link, .bff-blue-band .is-style-outline .wp-block-button__link, .bff-navy-band .is-style-outline .wp-block-button__link { color: #fff; }
.is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); }

/* Top bar and header */
.bff-topbar { background: var(--bff-navy); color: #dce6f0; font-size: .85rem; }
.bff-topbar .bff-wrap { max-width: 1200px; margin: 0 auto; padding: 6px 20px; display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; }
.bff-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header { border-bottom: 1px solid var(--bff-line); }
.inside-header { padding-top: 10px; padding-bottom: 10px; }
.site-logo img, .header-image { max-height: 64px; width: auto; }
.main-navigation .main-nav ul li a { font-weight: 600; font-size: 15px; color: var(--bff-navy); padding-left: 13px; padding-right: 13px; }
.main-navigation .main-nav ul li[class*="current-menu-"] > a, .main-navigation .main-nav ul li a:hover { color: var(--bff-blue); }
.main-navigation .main-nav ul li.bff-menu-cta > a { background: var(--bff-green); color: #fff; border-radius: 999px; line-height: 40px; margin: 0 0 0 10px; padding: 0 18px; }
.main-navigation .main-nav ul li.bff-menu-cta > a:hover { background: var(--bff-green-dark); color: #fff; }
@media (max-width: 1024px) { .main-navigation .main-nav ul li a { padding-left: 9px; padding-right: 9px; font-size: 14px; } }
@media (max-width: 768px) {
	.main-navigation .main-nav ul li.bff-menu-cta > a { margin: 8px 16px; display: inline-block; }
	.bff-topbar .bff-hide-sm { display: none; }
}

/* Cover hero */
.wp-block-cover.bff-hero { min-height: min(88vh, 760px) !important; padding: 20px; }
.wp-block-cover.bff-hero h1 { color: #fff; max-width: 13em; }
.wp-block-cover.bff-hero .wp-block-cover__inner-container { max-width: 1160px; width: 100%; }

/* Facts strip */
.bff-facts { gap: 0 !important; }
.bff-facts .wp-block-column { padding: 6px 18px; border-left: 3px solid var(--bff-leaf); }
.bff-num { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 !important; color: var(--bff-blue); }
.bff-blue-band .bff-num, .bff-navy-band .bff-num { color: #fff; }
.bff-facts p:not(.bff-num) { margin: 0; color: var(--bff-muted); font-size: .95rem; }
.bff-blue-band .bff-facts p:not(.bff-num) { color: #dfe9f5; }

/* Cards */
.bff-card { background: #fff; border: 1px solid var(--bff-line); border-radius: var(--bff-radius); overflow: hidden; height: 100%; }
.bff-card .wp-block-image { margin: 0; }
.bff-card .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.bff-card > .wp-block-group__inner-container > *:not(figure), .bff-card > *:not(figure) { padding-left: 22px; padding-right: 22px; }
.bff-card h3 { margin-top: 18px; margin-bottom: 6px; }
.bff-card p:last-child { padding-bottom: 22px; }
.bff-card .bff-more a, .bff-more a { font-weight: 600; text-decoration: none; }

/* Photos */
.bff-photo img { border-radius: var(--bff-radius); }
.bff-tall img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.bff-wide img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.wp-block-media-text .wp-block-media-text__media img { border-radius: var(--bff-radius); aspect-ratio: 4 / 5; object-fit: cover; }
.wp-block-media-text { gap: 0; }
.wp-block-media-text > .wp-block-media-text__content { padding: 0 6% !important; }
figcaption, .wp-element-caption { font-size: .85rem; color: var(--bff-muted); text-align: left; }
.bff-video video { width: 100%; border-radius: var(--bff-radius); aspect-ratio: 9 / 16; object-fit: cover; background: #000; }

/* Steps */
.bff-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.bff-steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.bff-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--bff-blue); color: #fff; font-family: "Outfit", sans-serif; font-weight: 600; display: grid; place-items: center; }
.bff-steps strong { color: var(--bff-navy); display: block; }

/* Info boxes */
.bff-box { border: 1px solid var(--bff-line); border-radius: var(--bff-radius); padding: 22px 24px !important; background: #fff; }
.bff-box h3 { margin-top: 0; }
.bff-placeholder { border: 2px dashed #e0a100 !important; background: #fff9e8 !important; }
.bff-placeholder p, .bff-placeholder h3 { color: #6b4e00; }
mark.bff-ph, .bff-ph { background: #fff1c2; color: #6b4e00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* Quote band */
.bff-quote { border-left: 4px solid var(--bff-leaf); padding-left: 22px; font-family: "Outfit", sans-serif; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.3; color: #fff; }

/* Latest posts */
.wp-block-latest-posts.is-grid li { background: #fff; border: 1px solid var(--bff-line); border-radius: var(--bff-radius); overflow: hidden; padding-bottom: 18px; }
.wp-block-latest-posts__featured-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.wp-block-latest-posts.is-grid li > a, .wp-block-latest-posts.is-grid .wp-block-latest-posts__post-date, .wp-block-latest-posts.is-grid .wp-block-latest-posts__post-excerpt { padding: 0 18px; display: block; }
.wp-block-latest-posts__post-title { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--bff-navy); text-decoration: none; margin-top: 14px; }
.wp-block-latest-posts__post-date { color: var(--bff-muted); font-size: .85rem; }

/* WhatsApp forms */
.bff-form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.bff-form .bff-full { grid-column: 1 / -1; }
.bff-form label { font-weight: 600; font-size: .9rem; color: var(--bff-navy); display: block; margin-bottom: 4px; }
.bff-form input, .bff-form select, .bff-form textarea { width: 100%; border: 1px solid #c4d0db; border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 16px; background: #fff; }
.bff-form input:focus, .bff-form select:focus, .bff-form textarea:focus { outline: 2px solid var(--bff-blue); border-color: var(--bff-blue); }
.bff-form button { background: var(--bff-green); color: #fff; border: 0; cursor: pointer; font-size: 1rem; }
.bff-form button:hover { background: var(--bff-green-dark); }
.bff-form .bff-note { font-size: .85rem; color: var(--bff-muted); margin: 0; }
@media (max-width: 640px) { .bff-form { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.bff-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 999; display: flex; align-items: center; gap: 10px; background: var(--bff-green); color: #fff !important; text-decoration: none; border-radius: 999px; padding: 12px 18px 12px 14px; box-shadow: 0 6px 20px rgba(15, 42, 74, .28); font-weight: 600; font-size: .95rem; }
.bff-wa-float:hover { background: var(--bff-green-dark); }
.bff-wa-float svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 640px) { .bff-wa-float span { display: none; } .bff-wa-float { padding: 14px; } }

/* Footer */
.bff-footer { background: var(--bff-navy); color: #c9d6e3; font-size: .95rem; }
.bff-footer .bff-wrap { max-width: 1200px; margin: 0 auto; padding: 56px 20px 28px; display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.bff-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.bff-footer a { color: #fff; text-decoration: none; }
.bff-footer a:hover { text-decoration: underline; }
.bff-footer ul { list-style: none; margin: 0; padding: 0; }
.bff-footer li { margin-bottom: 6px; }
.bff-footer img { max-width: 190px; height: auto; margin-bottom: 12px; }
.bff-footer .bff-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .bff-footer .bff-wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bff-footer .bff-wrap { grid-template-columns: 1fr; } }
.site-footer .site-info { display: none; }

/* Blog */
.blog .site-main, .archive .site-main, .single .site-main { max-width: 820px; margin: 0 auto; padding: 48px 20px; }
.blog .inside-article, .archive .inside-article, .single .inside-article { padding: 0 0 32px !important; border-bottom: 1px solid var(--bff-line); margin-bottom: 32px; }
.blog .post-image img, .archive .post-image img, .single .featured-image img { border-radius: var(--bff-radius); aspect-ratio: 3/2; object-fit: cover; }
.entry-meta { color: var(--bff-muted); font-size: .88rem; }
.bff-blog-head { max-width: 820px; margin: 0 auto; padding: 56px 20px 0; }

/* Columns gap on mobile */
@media (max-width: 781px) {
	.wp-block-columns { gap: 24px !important; }
	.wp-block-media-text > .wp-block-media-text__content { padding: 24px 0 0 !important; }
	.bff-facts .wp-block-column { flex-basis: 45% !important; }
	.bff-facts { flex-wrap: wrap !important; row-gap: 18px !important; }
}

/* Fixes after first review */
.wp-block-button__link { background-color: var(--bff-blue) !important; color: #fff !important; }
.bff-btn-whatsapp .wp-block-button__link { background-color: var(--bff-green) !important; }
.bff-btn-whatsapp .wp-block-button__link:hover { background-color: var(--bff-green-dark) !important; }
.is-style-outline .wp-block-button__link { background-color: transparent !important; color: var(--bff-blue) !important; border: 2px solid currentColor; }
.wp-block-cover .is-style-outline .wp-block-button__link, .bff-blue-band .is-style-outline .wp-block-button__link, .bff-navy-band .is-style-outline .wp-block-button__link { color: #fff !important; }
.full-width-content .container.grid-container, .full-width-content .site-content { max-width: 100%; padding: 0; }
.full-width-content .inside-article { padding: 0 !important; }
.full-width-content .entry-content > .wp-block-group, .full-width-content .entry-content > .wp-block-cover { margin-top: 0; margin-bottom: 0; }
.main-navigation, .main-navigation ul ul { background: #fff; }
.menu-toggle { color: var(--bff-navy); background: transparent !important; font-weight: 600; }
.site-logo img { max-height: 72px; }
.bff-card figure.wp-block-image, figure.wp-block-image.bff-photo { display: block; width: 100%; margin: 0; }
.bff-card figure.wp-block-image img, figure.wp-block-image.bff-photo img { width: 100%; height: auto; display: block; }
.bff-card > .wp-block-group__inner-container > *:not(figure) { padding-left: 22px; padding-right: 22px; }
.bff-card > .wp-block-group__inner-container > p:last-child { padding-bottom: 22px; }
.wp-block-cover.bff-hero { padding-left: max(20px, calc((100vw - 1160px) / 2)) !important; padding-right: max(20px, calc((100vw - 1160px) / 2)) !important; }
.wp-block-latest-posts { padding-left: 0 !important; margin-left: 0 !important; }
.wp-block-column > .bff-box { height: 100%; }
.wp-block-columns { margin-bottom: 24px; }
.main-navigation .main-nav ul li[class*="current-menu-"] > a, .main-navigation .main-nav ul li:hover > a { background: transparent !important; }
.main-navigation .main-nav ul li.bff-menu-cta > a, .main-navigation .main-nav ul li.bff-menu-cta:hover > a { background: var(--bff-green) !important; color: #fff !important; }
.menu-toggle, .menu-toggle:hover, .menu-toggle:focus, button.menu-toggle { color: var(--bff-navy) !important; background: var(--bff-mist) !important; border-radius: 8px; }
.main-navigation.toggled .main-nav ul li a { color: var(--bff-navy); }
.bff-blog-head { padding: 0 0 28px; max-width: none; }
@media (max-width: 768px) { .bff-box { padding: 18px !important; } .bff-section { padding-top: 44px !important; padding-bottom: 44px !important; } }

/* ---------- Locations map [bff_map] ---------- */
.bff-map { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: stretch; position: relative; }
.bff-map-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 480px; overflow-y: auto; }
.bff-map-item { border: 1px solid var(--bff-line); border-left: 5px solid var(--bff-blue); border-radius: var(--bff-radius); background: #fff; padding: 12px 14px; }
.bff-map-item.bff-map-farm { border-left-color: var(--bff-green); }
.bff-map-item.bff-map-office { border-left-color: var(--bff-navy); }
.bff-map-item.is-active { box-shadow: 0 0 0 2px var(--bff-blue); }
.bff-map-item button { all: unset; cursor: pointer; display: block; width: 100%; }
.bff-map-item button:focus-visible { outline: 2px solid var(--bff-blue); outline-offset: 4px; border-radius: 4px; }
.bff-map-name { display: block; font-family: "Outfit", sans-serif; font-size: 1.05rem; color: var(--bff-navy); }
.bff-map-addr, .bff-map-meta, .bff-map-note { display: block; font-size: .92rem; color: var(--bff-muted); line-height: 1.45; margin-top: 2px; }
.bff-map-links { display: flex; gap: 14px; margin-top: 8px; font-size: .92rem; font-weight: 600; }
.bff-map-links a { text-decoration: none; }
.bff-map-links a.bff-map-g { color: var(--bff-green); }
.bff-map-canvas { min-height: 480px; border-radius: var(--bff-radius); border: 1px solid var(--bff-line); background: #dfe9f2; z-index: 0; }
.bff-map-all { position: absolute; right: 12px; bottom: 12px; z-index: 500; background: #fff; color: var(--bff-navy); border: 1px solid var(--bff-line); padding: .5em 1em; min-height: 0; font-size: .9rem; box-shadow: 0 2px 8px rgba(15,42,74,.15); }
.bff-map-all:hover { background: var(--bff-mist); color: var(--bff-navy); }
.bff-map-pop { font-family: "Inter", sans-serif; min-width: 210px; }
.bff-map-pop .bff-map-links { flex-wrap: wrap; }
.bff-pin span { display: block; width: 22px; height: 22px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.leaflet-container a.leaflet-popup-close-button { color: var(--bff-muted); }
@media (max-width: 860px) {
	.bff-map { grid-template-columns: 1fr; }
	.bff-map-canvas { min-height: 340px; order: -1; }
	.bff-map-list { max-height: none; }
	.bff-map-all { top: 12px; bottom: auto; }
}

/* ---------- Towns strip ---------- */
.bff-towns { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.bff-towns li { background: #fff; border: 1px solid var(--bff-line); border-radius: 999px; padding: .35em 1em; font-weight: 600; color: var(--bff-navy); font-size: .95rem; }

/* ---------- Hero video (Home option B test) ---------- */
.bff-hero-video video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--bff-radius); background: var(--bff-navy); display: block; }
.bff-hero-video figcaption { color: #e8eef5; font-size: .85rem; text-align: left; }

/* ---------- Service list ---------- */
.bff-service-num { font-family: "Outfit", sans-serif; color: var(--bff-green); font-size: .95rem; font-weight: 600; margin-bottom: .2em !important; }

/* =========================================================================
   Home option B: full-screen video hero and page sections
   ========================================================================= */

/* Hero: video fills the screen, brand gradient over it, slow drift */
.wp-block-cover.bff-hero-video-cover { min-height: 100vh; min-height: 100svh; overflow: hidden; padding: 120px 20px 160px; isolation: isolate;
	background: var(--bff-navy) var(--bff-poster-land) center / cover no-repeat; }
@media (max-aspect-ratio: 4/5) { .wp-block-cover.bff-hero-video-cover { background-image: var(--bff-poster-port); } }
.bff-hero-video-cover .wp-block-cover__video-background { filter: saturate(1.15) contrast(1.05); transform: scale(1.06); animation: bff-drift 24s ease-in-out infinite alternate; opacity: 0; transition: opacity 1.2s ease; }
.bff-hero-video-cover.is-playing .wp-block-cover__video-background, .editor-styles-wrapper .bff-hero-video-cover .wp-block-cover__video-background { opacity: 1; }
@keyframes bff-drift { from { transform: scale(1.06) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }

/* A slow-moving wash of the brand blue and green on top of the gradient */
.bff-hero-video-cover::before { content: ""; position: absolute; inset: -20%; z-index: 1; pointer-events: none; mix-blend-mode: soft-light; opacity: .85;
	background: radial-gradient(40% 50% at 20% 30%, rgba(36,98,170,.9), transparent 70%), radial-gradient(35% 45% at 80% 70%, rgba(53,172,58,.75), transparent 70%), radial-gradient(30% 40% at 60% 20%, rgba(36,98,170,.6), transparent 70%);
	animation: bff-wash 18s ease-in-out infinite alternate; }
@keyframes bff-wash { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg); } 50% { transform: translate3d(3%, 2%, 0) rotate(4deg); } 100% { transform: translate3d(-2%, 4%, 0) rotate(-3deg); } }

/* Wave edge at the bottom of the hero (two layers: green behind, white in front) */
.bff-hero-video-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: 2; pointer-events: none;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 78c120 22 260 34 420 18S720 38 900 40s330 44 540 26v54H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%2335ac3a' fill-opacity='.55' d='M0 58c160 30 320 40 480 20s300-58 470-50 310 50 490 30v62H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.bff-hero-video-cover .wp-block-cover__background { z-index: 1; }
.bff-hero-video-cover .wp-block-cover__inner-container { position: relative; z-index: 3; max-width: 1160px; margin: 0 auto; }
.bff-hero-video-cover h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 13em; text-shadow: 0 2px 24px rgba(15,42,74,.35); }
.bff-hero-video-cover .bff-lead { color: #eaf1f8; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; }
.bff-hero-video-cover .bff-eyebrow { color: #bfe8c1; }
.bff-hero-video-cover .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.bff-hero-video-cover .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--bff-navy); }
.bff-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0 !important; }
.bff-hero-chips li { color: #fff; font-size: .88rem; font-weight: 600; padding: .4em .9em; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.bff-hero-chips li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--bff-leaf); margin-right: .5em; vertical-align: middle; }
.bff-hero-video-cover.is-still .wp-block-cover__video-background { display: none; }
@media (prefers-reduced-motion: reduce) { .bff-hero-video-cover .wp-block-cover__video-background, .bff-hero-video-cover::before { animation: none; } }
@media (max-width: 768px) { .wp-block-cover.bff-hero-video-cover { padding: 96px 18px 130px; } .bff-hero-video-cover::after { height: 70px; } }

/* Stats card that floats up over the wave */
.bff-stats-float { padding: 0 20px !important; margin-top: -70px !important; position: relative; z-index: 5; }
.bff-stats-float > .bff-facts, .bff-stats-float .bff-facts { max-width: 1160px; margin: 0 auto !important; background: #fff; border-radius: 18px; padding: 30px 34px !important; box-shadow: 0 18px 50px rgba(15,42,74,.14); }
.bff-stats-float .bff-num { color: var(--bff-blue); }
@media (max-width: 768px) { .bff-stats-float { margin-top: -40px !important; } .bff-stats-float .bff-facts { padding: 22px !important; } }

/* Photo mosaic */
.bff-mosaic > .wp-block-group__inner-container, .bff-mosaic { display: grid !important; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; max-width: 1160px; margin: 0 auto; }
.bff-mosaic figure.wp-block-image { margin: 0 !important; position: relative; overflow: hidden; border-radius: 14px; }
.bff-mosaic figure.wp-block-image:first-child { grid-row: span 2; }
.bff-mosaic figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .6s ease; }
.bff-mosaic figure.wp-block-image:hover img { transform: scale(1.05); }
.bff-mosaic figure.wp-block-image figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 16px 14px; text-align: left; color: #fff; font-weight: 600; font-size: .95rem;
	background: linear-gradient(to top, rgba(15,42,74,.85), rgba(15,42,74,0)); }
@media (max-width: 860px) { .bff-mosaic > .wp-block-group__inner-container, .bff-mosaic:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px 170px; } .bff-mosaic figure.wp-block-image:first-child { grid-column: span 2; grid-row: auto; } }

/* Offer cards: lift on hover */
.bff-home-b .bff-card { transition: transform .25s ease, box-shadow .25s ease; }
.bff-home-b .bff-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(15,42,74,.12); }

/* Big quote mark on the navy band */
.bff-quote-band .bff-quote { position: relative; padding-top: 50px; }
.bff-quote-band .bff-quote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-family: "Outfit", serif; font-size: 7rem; line-height: 1; color: var(--bff-leaf); }

/* Soft wave at the top of a section */
.bff-wave-top { position: relative; }
.bff-wave-top::before { content: ""; position: absolute; left: 0; right: 0; top: -59px; height: 60px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%230f2a4a' d='M0 40c200-30 420-40 720-14s520 20 720-6v40H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.wp-block-cover.bff-hero-video-cover .wp-block-cover__inner-container { width: 100%; max-width: 1160px; margin-left: auto !important; margin-right: auto !important; }
.wp-block-cover.bff-hero-video-cover .wp-block-cover__inner-container > * { margin-left: 0 !important; max-width: 760px; }
.wp-block-cover.bff-hero-video-cover .wp-block-cover__inner-container > h1 { max-width: 12em; }
/* the outer mosaic box is only a wrapper when GeneratePress adds an inner container */
.bff-mosaic:has(> .wp-block-group__inner-container) { display: block !important; max-width: none; }
.bff-mosaic > .wp-block-group__inner-container { max-width: 1160px; margin: 0 auto; }
.bff-mosaic, .bff-mosaic > .wp-block-group__inner-container { padding: 0 !important; width: 100%; }
.bff-towns { justify-content: flex-start; }
@media (max-width: 860px) { .bff-mosaic figure.wp-block-image figcaption { font-size: .8rem; padding: 28px 10px 9px; line-height: 1.3; } }
.bff-mosaic + .bff-more, .bff-mosaic ~ p.bff-more { margin-top: 24px !important; }

/* =========================================================================
   Motion (works with js/bff-motion.js)
   ========================================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Scroll reveal: hidden only when the motion script is running */
.bff-js .bff-rv { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease; transition-delay: var(--bff-delay, 0ms); will-change: opacity, transform; }
.bff-js .bff-rv:not(.is-in) { opacity: 0; }
.bff-js .bff-rv-up:not(.is-in) { transform: translate3d(0, 34px, 0); }
.bff-js .bff-rv-left:not(.is-in) { transform: translate3d(-48px, 0, 0); }
.bff-js .bff-rv-right:not(.is-in) { transform: translate3d(48px, 0, 0); }
.bff-js .bff-rv-zoom:not(.is-in) { transform: scale(.94); filter: blur(4px); }
.bff-js .bff-rv-pop:not(.is-in) { transform: translate3d(0, 14px, 0) scale(.85); }
.bff-js .bff-rv.is-in { opacity: 1; transform: none; filter: none; }
/* Hero text comes in a little faster */
.bff-js .bff-hero-video-cover .bff-rv { transition-duration: 1s; }

/* Count-up figures: steady width while counting */
.bff-num.bff-counting { font-variant-numeric: tabular-nums; }
.bff-num.bff-counted { animation: bff-num-pop .5s ease; }
@keyframes bff-num-pop { 40% { transform: scale(1.08); color: var(--bff-green); } }
.bff-facts .wp-block-column { transition: transform .3s ease; }
.bff-facts .wp-block-column:hover { transform: translateY(-4px); }
.bff-facts .wp-block-column:hover .bff-num { color: var(--bff-green); }
.bff-num { transition: color .3s ease; display: inline-block; }

/* Sticky header that tightens when you scroll */
.site-header { position: sticky; top: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 1000; background: #fff; transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15,42,74,.12); background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .inside-header { transition: padding .3s ease; }
.site-header.is-scrolled .inside-header { padding-top: 8px; padding-bottom: 8px; }
.site-header .site-logo img, .site-header .header-image { transition: max-height .3s ease, width .3s ease; }
@media (min-width: 769px) { .site-header.is-scrolled .site-logo img, .site-header.is-scrolled .header-image { max-height: 52px; width: auto; } }

/* Reading progress bar */
.bff-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 2000; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
	background: linear-gradient(90deg, var(--bff-blue), var(--bff-leaf)); }
.admin-bar .bff-progress { top: var(--wp-admin--admin-bar--height, 32px); }

/* Navigation: underline grows on hover */
.main-navigation .main-nav > ul > li:not(.bff-menu-cta) > a { position: relative; }
.main-navigation .main-nav > ul > li:not(.bff-menu-cta) > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 18px; height: 2px; border-radius: 2px; background: var(--bff-leaf); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.main-navigation .main-nav > ul > li:not(.bff-menu-cta) > a:hover::after,
.main-navigation .main-nav > ul > li[class*="current-menu-"]:not(.bff-menu-cta) > a::after { transform: scaleX(1); }
@media (max-width: 768px) { .main-navigation .main-nav > ul > li > a::after { display: none; } }

/* Buttons: lift, and a light sweep across the green ones */
.wp-block-button__link, .bff-form button, .main-navigation .main-nav ul li.bff-menu-cta > a { transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.wp-block-button__link:hover, .bff-form button:hover, .main-navigation .main-nav ul li.bff-menu-cta > a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,42,74,.18); }
.wp-block-button__link:active, .bff-form button:active { transform: translateY(0); }
.bff-btn-whatsapp .wp-block-button__link, .main-navigation .main-nav ul li.bff-menu-cta > a, .bff-form button { position: relative; overflow: hidden; }
.bff-btn-whatsapp .wp-block-button__link::after, .main-navigation .main-nav ul li.bff-menu-cta > a::after, .bff-form button::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: left .6s ease; pointer-events: none; }
.bff-btn-whatsapp .wp-block-button__link:hover::after, .main-navigation .main-nav ul li.bff-menu-cta > a:hover::after, .bff-form button:hover::after { left: 130%; }

/* Links with arrows nudge forward */
.bff-more a { display: inline-block; transition: transform .25s ease, color .2s ease; }
.bff-more a:hover { transform: translateX(5px); }

/* Cards and boxes: lift, border colour, and a soft light that follows the mouse */
.bff-card, .bff-box, .wp-block-latest-posts > li, .bff-map-item { position: relative; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.bff-card:hover, .bff-box:not(.bff-placeholder):hover, .wp-block-latest-posts > li:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,42,74,.13); border-color: #b9cfe6; }
.bff-card::before, .bff-box:not(.bff-placeholder)::before, .wp-block-latest-posts > li::before, .bff-map-item::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; z-index: 0;
	background: radial-gradient(260px circle at var(--bff-mx, 50%) var(--bff-my, 50%), rgba(53,172,58,.10), transparent 60%); }
.bff-card:hover::before, .bff-box:hover::before, .wp-block-latest-posts > li:hover::before, .bff-map-item:hover::before { opacity: 1; }
.bff-card > *, .bff-box > * { position: relative; z-index: 1; }
.bff-box h3 { transition: color .25s ease; }
.bff-box:hover h3 { color: var(--bff-blue); }
.bff-map-item:hover { transform: translateX(4px); }

/* Photos: zoom inside their frame on hover, and drift slightly on scroll (large screens) */
.bff-photo, .bff-card figure.wp-block-image, .wp-block-media-text__media, .wp-block-latest-posts__featured-image { overflow: hidden; border-radius: var(--bff-radius); }
.bff-photo img, .bff-card figure.wp-block-image img, .wp-block-media-text__media img, .wp-block-latest-posts__featured-image img {
	--bff-zoom: 1; transform: translate3d(0, var(--bff-py, 0px), 0) scale(var(--bff-zoom)); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
@media (min-width: 900px) { img.bff-drift { --bff-zoom: 1.08; } }
.bff-photo:hover img, .bff-card:hover figure.wp-block-image img, .wp-block-media-text__media:hover img, .wp-block-latest-posts > li:hover .wp-block-latest-posts__featured-image img { --bff-zoom: 1.12; }
.wp-block-media-text__media img { border-radius: var(--bff-radius); }

/* Step numbers and town chips */
.bff-steps > li::before { transition: transform .3s ease, background .3s ease; }
.bff-steps > li:hover::before { transform: scale(1.15) rotate(-6deg); background: var(--bff-green); }
.bff-towns li { transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease; cursor: default; }
.bff-towns li:hover { background: var(--bff-blue); border-color: var(--bff-blue); color: #fff; transform: translateY(-3px); }
.bff-hero-chips li { transition: background .25s ease, transform .25s ease; }
.bff-hero-chips li:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }

/* Form fields glow when in use */
.bff-form input, .bff-form select, .bff-form textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.bff-form input:focus, .bff-form select:focus, .bff-form textarea:focus { border-color: var(--bff-blue); box-shadow: 0 0 0 4px rgba(36,98,170,.15); outline: none; }

/* Floating WhatsApp button: a gentle ring every few seconds */
.bff-wa-float { transition: transform .2s ease, background .2s ease; }
.bff-wa-float:hover { transform: translateY(-3px) scale(1.03); }
.bff-wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--bff-leaf); opacity: 0; animation: bff-ring 4s ease-out 2s infinite; pointer-events: none; }
@keyframes bff-ring { 0% { transform: scale(1); opacity: .7; } 35% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }

/* Footer links */
.bff-footer a { transition: color .2s ease, padding-left .2s ease; }
.bff-footer li a:hover { padding-left: 4px; color: #fff; }

/* Video frames lift a little on hover */
.bff-video video { transition: transform .4s ease, box-shadow .4s ease; }
.bff-video:hover video { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,42,74,.2); }

/* Respect "reduce motion" everywhere */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.bff-progress { display: none; }
}

/* Menu hover: GeneratePress turns hovered links white; keep them navy-blue on the white header */
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]) > a:focus-visible { color: var(--bff-blue); }
.main-navigation .main-nav ul li.bff-menu-cta:hover > a, .main-navigation .main-nav ul li.bff-menu-cta:focus > a { color: #fff; }
.main-navigation .main-nav ul li > a:focus-visible { outline: 2px solid var(--bff-blue); outline-offset: 3px; border-radius: 4px; }

/* =========================================================================
   v7: hero entrance and figures
   ========================================================================= */

/* Hero: the page opens with one sequence. The headline's two halves slide in
   from opposite sides, then the text, buttons and tags follow. */
.bff-hero-video-cover h1 .bff-hl { display: block; }
.bff-js .bff-hero-video-cover:not(.bff-hero-go) :is(.bff-eyebrow, h1, .bff-lead, .wp-block-buttons, .bff-hero-chips li) { opacity: 0; }
.bff-hero-go .bff-eyebrow { animation: bff-from-left .8s cubic-bezier(.2,.8,.2,1) .05s both; }
.bff-hero-go h1 .bff-hl-a { animation: bff-from-left 1.15s cubic-bezier(.16,1,.3,1) .2s both; }
.bff-hero-go h1 .bff-hl-b { animation: bff-from-right 1.15s cubic-bezier(.16,1,.3,1) .42s both; }
.bff-hero-go .bff-lead { animation: bff-from-below .9s cubic-bezier(.2,.8,.2,1) .85s both; }
.bff-hero-go .wp-block-buttons { animation: bff-from-below .9s cubic-bezier(.2,.8,.2,1) 1s both; }
.bff-hero-go .bff-hero-chips li { animation: bff-from-below .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(1.15s + var(--bff-i, 0) * .1s); }
.bff-hero-go::before { animation: bff-wash-in 1.6s ease both, bff-wash 18s ease-in-out 1.6s infinite alternate; }
@keyframes bff-from-left { from { opacity: 0; transform: translate3d(-90px, 0, 0); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bff-from-right { from { opacity: 0; transform: translate3d(90px, 0, 0); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bff-from-below { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes bff-wash-in { from { opacity: 0; } to { opacity: .85; } }
.bff-js body.home .site-header { animation: bff-drop .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes bff-drop { from { transform: translate3d(0, -100%, 0); } to { transform: none; } }
@media (max-width: 600px) { @keyframes bff-from-left { from { opacity: 0; transform: translate3d(-40px,0,0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
	@keyframes bff-from-right { from { opacity: 0; transform: translate3d(40px,0,0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } } }

/* Figures: Inter Bold with fixed-width digits; each digit rolls into place */
.bff-num { font-family: "Inter", system-ui, sans-serif !important; font-weight: 700 !important; font-size: clamp(2.3rem, 4.2vw, 3.2rem) !important;
	font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; letter-spacing: -0.04em; line-height: 1 !important;
	color: var(--bff-navy) !important; display: flex !important; align-items: baseline; flex-wrap: nowrap; white-space: nowrap; }
.bff-stats-float .bff-num { color: var(--bff-navy) !important; }
.bff-blue-band .bff-num, .bff-navy-band .bff-num { color: #fff !important; }
.bff-num-val { display: inline-flex; align-items: flex-end; }
.bff-reel { display: inline-block; height: 1.1em; line-height: 1.1em; overflow: hidden; vertical-align: bottom; }
.bff-reel-strip { display: flex; flex-direction: column; transform: translate3d(0, 0, 0); transition: transform 1.9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 90ms); }
.bff-reel-strip > span { display: block; height: 1.1em; line-height: 1.1em; text-align: center; }
.bff-num.is-rolling .bff-reel-strip { transform: translate3d(0, calc(var(--t) * -1.1em), 0); }
.bff-num.bff-counting:not(.is-rolling) .bff-num-val { opacity: .18; }
.bff-num .bff-num-val { transition: opacity .5s ease; }
.bff-reel-static { display: inline-block; line-height: 1.1em; }
.bff-num-plus { color: var(--bff-green); font-size: .62em; font-weight: 700; align-self: flex-start; margin-left: .06em; line-height: 1.05; }
.bff-num-unit { font-size: .4em; font-weight: 600; letter-spacing: 0; color: var(--bff-blue); margin-left: .35em; }
.bff-blue-band .bff-num-unit, .bff-navy-band .bff-num-unit, .bff-blue-band .bff-num-plus, .bff-navy-band .bff-num-plus { color: #bfe8c1; }
.bff-num.bff-counted { animation: none; }
.bff-facts .wp-block-column:hover .bff-num { color: var(--bff-navy) !important; }

/* Figures layout: thin dividers instead of the green bars */
.bff-facts .wp-block-column { border-left: 0 !important; padding: 6px 28px !important; position: relative; }
.bff-facts .wp-block-column:first-child { padding-left: 4px !important; }
.bff-facts .wp-block-column + .wp-block-column::before { content: ""; position: absolute; left: 0; top: 6%; bottom: 6%; width: 1px; background: var(--bff-line); }
.bff-facts p:not(.bff-num) { margin-top: .7em !important; font-size: .93rem; line-height: 1.45; color: var(--bff-muted); max-width: 22ch; }
.bff-facts .wp-block-column:hover { transform: none; }
@media (max-width: 781px) {
	.bff-facts .wp-block-column { padding: 14px 6px !important; }
	.bff-facts .wp-block-column + .wp-block-column::before { display: none; }
	.bff-facts .wp-block-column:nth-child(n+3) { border-top: 1px solid var(--bff-line) !important; }
	.bff-num { font-size: 2.2rem !important; }
}
@media (prefers-reduced-motion: reduce) { .bff-hero-video-cover * { animation: none !important; opacity: 1 !important; } }

/* Team profile (About us) */
.bff-profile { align-items: flex-start !important; gap: 40px !important; margin: 34px 0 30px !important; padding: 30px; background: #fff; border: 1px solid var(--bff-line); border-radius: 18px; }
.bff-profile .bff-portrait img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 14px; background: #eef3f8; }
.bff-profile h3 { font-size: 1.6rem; margin: 0 0 .1em; }
.bff-profile .bff-role { color: var(--bff-green); font-weight: 600; margin: 0 0 1em !important; }
.bff-profile p:not(.bff-role) { max-width: 62ch; }
@media (max-width: 781px) { .bff-profile { padding: 20px; gap: 18px !important; } .bff-profile .bff-portrait { max-width: 220px; } }
/* Soft fade at the top and bottom of each digit wheel while it rolls */
.bff-num.is-rolling:not(.bff-counted) .bff-reel { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); }
/* Sticky header: the menu shares the header's background instead of sitting in a white box */
@media (min-width: 769px) { .site-header .main-navigation, .site-header .main-navigation .inside-navigation { background: transparent; } }

/* =========================================================================
   Review copy: sample content for the owner to confirm or replace
   ========================================================================= */
.bff-sample { background: linear-gradient(transparent 58%, rgba(255, 196, 61, .42) 58%); padding: 0 .1em; border-radius: 2px; }
.bff-sample-block { position: relative; }
.bff-sample-block::after { content: "Sample"; position: absolute; top: -10px; right: -6px; z-index: 3; font: 600 .7rem/1 "Inter", sans-serif; letter-spacing: .02em;
	color: #6b4e00; background: #ffe7a3; border: 1px solid #f0c75a; padding: .35em .6em; border-radius: 999px; pointer-events: none; }
.bff-sample-note { font-size: .85rem !important; color: #8a6a00 !important; }
.bff-tag { font: 600 .72rem/1 "Inter", sans-serif; color: #6b4e00; background: #ffe7a3; border: 1px solid #f0c75a; padding: .25em .5em; border-radius: 999px; }
.bff-review-note { position: fixed; left: 16px; bottom: 16px; z-index: 998; max-width: 340px; background: #fff; color: var(--bff-text); font-size: .85rem; line-height: 1.45;
	border: 1px solid #f0c75a; border-left: 4px solid #f0b429; border-radius: 10px; padding: 10px 34px 10px 12px; box-shadow: 0 8px 24px rgba(15,42,74,.14); }
.bff-review-note button { all: unset; cursor: pointer; position: absolute; top: 4px; right: 8px; font-size: 1.2rem; color: var(--bff-muted); }
@media (max-width: 640px) { .bff-review-note { right: 84px; bottom: 12px; font-size: .78rem; } }

/* Founder block */
.bff-founder h3 { font-size: 1.6rem; margin: 0 0 .1em; }
.bff-founder .bff-role, .bff-profile .bff-role { color: var(--bff-green); font-weight: 600; margin: 0 0 1em !important; }
.bff-founder .bff-quote { font-size: 1.2rem; margin-top: 1.2em; color: var(--bff-navy); }
.bff-founder .bff-quote::before { display: none; }
/* Team photo and price list */
.bff-team-photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.bff-team-photo figcaption { text-align: left; }
.bff-price-list ul { margin-bottom: .6em; }
.bff-price-list { padding-top: 6px; }
/* Quotes on light sections use navy text */
.bff-section:not(.bff-navy-band):not(.bff-blue-band) .bff-quote { color: var(--bff-navy); }
.bff-price-list { padding: 0; }
.bff-price-list ul { padding-left: 1.1em; }
