/* Brighter Future — styles theme.json can't express. Colours and fonts come from
   theme.json presets (var(--wp--preset--...)); ported from preview/design-4-sunrise-v2. */

:root {
	--bf-rule: rgba(38, 48, 44, 0.12);
	--bf-gutter: clamp(1.25rem, 4vw, 3rem);
}

/* clip, not hidden: overflow-x:hidden makes html/body a scroll container and breaks the sticky header. */
html { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.wp-element-button,
.wp-block-button__link {
	transition: transform 0.35s cubic-bezier(.16, 1, .3, 1), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease;
}
.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 36px -14px rgba(247, 168, 200, 0.5);
}

/* ---------- Brand (logo) ---------- */
.site-brand { display: flex; align-items: center; height: 52px; flex-shrink: 0; }
.site-brand img { display: block; height: 52px; width: auto; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0);
	z-index: 100;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	padding-inline: var(--bf-gutter);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would become the
   containing block for the fixed mobile-menu overlay and trap it inside the header. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(243, 244, 246, 0.9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
/* Below 600px WordPress lets the admin bar scroll away, so stick to the very top. */
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}
.site-header.is-scrolled { border-color: var(--bf-rule); box-shadow: 0 10px 30px -20px rgba(38, 48, 44, 0.25); }
.site-header__inner {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-block: 0.7rem;
	gap: 1.5rem;
}
.site-header__nav { gap: 1.5rem; }

.site-nav { font-size: 0.9rem; font-weight: 500; gap: 1.5rem; }
.site-header .site-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--ink-soft); text-decoration: none; }
.site-header .site-nav .wp-block-navigation-item__content:hover,
.site-header .site-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--teal-deep); }

.site-nav .wp-block-navigation__responsive-container-open,
.site-nav .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--teal-deep); }

/* Mobile menu overlay: full-width list panel, like the preview. */
.site-header .site-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--grey-mist);
	color: var(--wp--preset--color--ink);
	padding: var(--wp-admin--admin-bar--height, 0) 0 0;
}
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4.5rem;
	align-items: stretch;
}
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0;
	align-items: stretch;
	width: 100%;
}
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	border-bottom: 1px solid var(--bf-rule);
}
.site-header .site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 1rem var(--bf-gutter);
	font-size: 1.05rem;
	color: var(--wp--preset--color--ink);
}

.site-header .site-nav .wp-block-navigation__responsive-container-close {
	top: 1.2rem;
	right: var(--bf-gutter);
}

/* Core collapses the menu at 600px; the design needs it collapsed below 1000px. */
@media (min-width: 600px) and (max-width: 999px) {
	.site-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.site-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 999px) {
	.site-header .site-header__cta { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--wp--preset--color--grey-mist);
	border-top: 1px solid var(--bf-rule);
	padding-inline: var(--bf-gutter);
}
.site-footer > * { max-width: var(--wp--style--global--wide-size); margin-inline: auto; }
.site-footer__top { gap: 2rem; padding-block: 2.6rem; border-bottom: 1px solid var(--bf-rule); }
.site-footer__nav,
.site-footer__legal { gap: 0.3rem 1.6rem; font-size: 0.9rem; font-weight: 500; }
.site-footer .wp-block-navigation,
.site-footer .wp-block-navigation-item__content { color: var(--wp--preset--color--ink-soft); text-decoration: none; }
.site-footer .site-footer__nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--pink-dawn); }
.site-footer .site-footer__legal .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--teal-deep); }

.site-footer__accred {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2rem 2.4rem;
	padding-block: 2.2rem;
	border-bottom: 1px solid var(--bf-rule);
}
.site-footer__accred img { height: clamp(84px, 16vw, 160px); width: auto; opacity: 0.95; }

.site-footer__bottom { gap: 0.8rem; padding-block: 1.6rem; font-size: var(--wp--preset--font-size--x-small); text-align: center; }
.site-footer__legal-lines { gap: 0.3rem 1rem; }
.site-footer__legal-lines p { margin: 0; text-wrap: balance; }
.site-footer__legal { font-size: var(--wp--preset--font-size--x-small); font-weight: 400; gap: 0.3rem 1.2rem; }
.site-footer__credit { margin: 0; font-size: 0.75rem; }
.site-footer__credit a { color: var(--wp--preset--color--ink-soft); text-decoration: none; }
.site-footer__credit a:hover { color: var(--wp--preset--color--teal-deep); }

/* ---------- Shared text styles ---------- */
.is-style-eyebrow {
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-deep);
}
p.is-style-lede {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
	color: var(--wp--preset--color--teal-deep);
}
.is-style-eyebrow + .wp-block-heading { margin-top: 0.6rem; }

/* ---------- Page sections ---------- */
.site-main--front .wp-block-post-content > * { margin-block: 0; }
.bf-section { padding-block: var(--wp--preset--spacing--70); }

/* Hero */
.bf-hero { background: var(--wp--preset--color--grey-mist); padding-block: var(--wp--preset--spacing--60); overflow: hidden; }
.bf-hero__inner { gap: clamp(2rem, 5vw, 4.5rem); margin-block: 0; }
.bf-hero__copy { max-width: 520px; }
.bf-hero__copy > * + * { margin-block-start: 1.6rem; }
.bf-hero h1 em { font-style: italic; font-weight: 600; color: var(--wp--preset--color--pink-strong); } /* Nick (2026-10-08): the pale pink looked washed out */
.bf-hero p.bf-hero__sub { font-size: 1.05rem; max-width: 42ch; }
.bf-hero__figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; }
/* !important beats the inline height:auto the block editor puts on images. */
.bf-hero .bf-hero__figure img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 25%; }
.bf-hero__figure::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(200deg, rgba(42, 143, 138, 0.22) 0%, rgba(247, 168, 200, 0.06) 55%, rgba(0, 0, 0, 0) 80%);
}
@media (max-width: 880px) {
	.bf-hero__inner { flex-wrap: wrap !important; }
	.bf-hero__inner > .wp-block-column { flex-basis: 100% !important; }
	.bf-hero__copy { max-width: none; }
	.bf-hero__figure { aspect-ratio: 3 / 2; }
}

/* Hello, I'm Nick — personal letter card */
.bf-letter-wrap { background: var(--wp--preset--color--paper); }
.bf-letter {
	position: relative;
	max-width: 760px;
	margin-inline: auto;
	margin-top: clamp(1.75rem, 3.2vw, 2.75rem);
	background: var(--wp--preset--color--white);
	border-radius: 6px;
	padding: clamp(2.6rem, 6vw, 4.2rem) clamp(2rem, 6vw, 4rem);
	box-shadow: 0 40px 80px -50px rgba(42, 143, 138, 0.4);
}
.bf-letter::before {
	content: "\201C";
	position: absolute;
	top: -0.3em;
	left: clamp(1.4rem, 4vw, 2.6rem);
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 9rem;
	line-height: 1;
	color: var(--wp--preset--color--pink-soft);
	pointer-events: none;
}
.bf-letter::after { content: ""; display: block; clear: both; }
.bf-letter > * { position: relative; }
.bf-letter > p { max-width: 56ch; }
.bf-letter > .is-style-eyebrow { margin-top: 0; }
.bf-letter > .is-style-lede { margin-top: 0.9rem; }
.bf-letter .bf-letter__photo {
	float: right;
	width: min(240px, 42%);
	margin: 0 0 1.2rem 1.8rem;
	z-index: 1;
}
.bf-letter .bf-letter__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 10px;
	border: 6px solid var(--wp--preset--color--white);
	box-shadow: 0 30px 55px -22px rgba(38, 48, 44, 0.45);
}
@media (max-width: 560px) {
	.bf-letter .bf-letter__photo { float: none; width: min(220px, 70%); margin: 0 auto 1.5rem; }
}

/* Horizon — teal sunrise divider. Line and sun are drawn here so Nick only edits the words. */
.is-style-horizon {
	position: relative;
	overflow: hidden;
	padding-block: clamp(5.5rem, 8vw, 6.5rem);
	text-align: center;
	background: linear-gradient(180deg, var(--wp--preset--color--teal-mid) 0%, var(--wp--preset--color--teal-deep) 100%);
}
.is-style-horizon::before {
	content: "";
	position: absolute;
	left: 12.5%;
	right: 12.5%;
	bottom: 16px;
	height: 1px;
	background: var(--wp--preset--color--grey-mid);
}
.is-style-horizon::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 16px;
	width: 120px;
	height: 52.5px;
	background: url("../images/sun.svg") no-repeat center bottom / contain;
	opacity: 0;
	transform: translate(-50%, 10px);
	transition: opacity 4.8s ease, transform 4.8s cubic-bezier(.16, 1, .3, 1);
}
.is-style-horizon.is-in-view::after,
.editor-styles-wrapper .is-style-horizon::after { opacity: 1; transform: translate(-50%, 0); }
.is-style-horizon > * { position: relative; z-index: 1; }
.is-style-horizon p.bf-horizon__quote {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.42;
	color: var(--wp--preset--color--grey-mist);
}
.is-style-horizon p.bf-horizon__label {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(1.6rem, 3.2vw, 2.3rem);
	line-height: 1.25;
	color: var(--wp--preset--color--grey-mist);
}
.is-style-horizon p.bf-horizon__cite {
	margin-top: 0.9rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}
.is-style-horizon p.bf-horizon__cite::before { content: "— "; }
.is-style-horizon p.bf-horizon__placeholder {
	margin-top: 0.9rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

/* How I Can Help You */
.bf-help { background: var(--wp--preset--color--grey-mist); }
.bf-help .wp-block-heading,
.bf-help p { max-width: 62ch; }
ul.is-style-hearts {
	list-style: none;
	padding: 0;
	margin-top: 2.4rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem 3rem;
	max-width: 900px;
}
ul.is-style-hearts > li {
	position: relative;
	margin: 0;
	padding: 0 0 0.85rem 1.6rem;
	border-bottom: 1px solid var(--bf-rule);
	font-size: 1.02rem;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
}
ul.is-style-hearts > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3rem;
	width: 16px;
	height: 16px;
	background: var(--wp--preset--color--pink-dawn);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.1C.4 8.4 2 4.8 5.5 4c2-.5 3.9.3 5 1.9C11.6 4.3 13.5 3.5 15.5 4 19 4.8 20.6 8.4 19 12.9 16.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.1C.4 8.4 2 4.8 5.5 4c2-.5 3.9.3 5 1.9C11.6 4.3 13.5 3.5 15.5 4 19 4.8 20.6 8.4 19 12.9 16.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 640px) { ul.is-style-hearts { grid-template-columns: 1fr; } }
.bf-help__more { margin-top: 2.4rem; }

/* Work With Me — full-bleed photo chapter */
.wp-block-cover.bf-chapter {
	min-height: clamp(520px, 62vw, 680px);
	padding: 0;
	align-items: flex-end;
}
.bf-chapter .wp-block-cover__image-background { object-position: 68% 45%; }
/* Desktop only: darkens the left edge for the text, fading to the untouched photo. */
.bf-chapter::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(28, 30, 28, 0.78) 0%, rgba(28, 30, 28, 0.58) 26%, rgba(28, 30, 28, 0.22) 50%, rgba(28, 30, 28, 0) 68%);
}
/* Mobile: the photo stays full colour; a soft dark band sits behind the copy only. */
@media (max-width: 880px) {
	.bf-chapter::after {
		top: auto;
		height: 100%;
		background: linear-gradient(0deg, rgba(28, 30, 28, 0.62) 0%, rgba(28, 30, 28, 0.5) 55%, rgba(28, 30, 28, 0) 78%);
	}
}
.bf-chapter .wp-block-cover__inner-container {
	position: relative;
	z-index: 3;
	max-width: 640px;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--bf-gutter) clamp(3rem, 7vw, 4.5rem);
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2));
}
.bf-chapter .is-style-eyebrow { color: var(--wp--preset--color--grey-mist); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
.bf-chapter .wp-block-heading {
	font-size: clamp(2rem, 4vw, 2.9rem);
	line-height: 1.16;
	color: var(--wp--preset--color--white);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.bf-chapter p:not(.is-style-eyebrow) {
	max-width: 54ch;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.bf-chapter .wp-block-buttons { margin-top: 1.8rem; }

/* A Simple Way to Begin + Still not sure? */
.bf-begin { background: var(--wp--preset--color--grey-mist); }
.bf-more-help {
	background: var(--wp--preset--color--grey-mist);
	padding-block: clamp(3rem, 6vw, 4rem);
}
.bf-more-help p.bf-more-help__lede {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--wp--preset--color--teal-deep);
}
.bf-more-help .wp-block-buttons { gap: 1rem; margin-top: 1.6rem; }
/* Don't offer a button to the page you're already on. */
.page-slug-faqs .bf-more-help .wp-block-button:has(a[href="/faqs/"]),
.page-slug-case-studies .bf-more-help .wp-block-button:has(a[href="/case-studies/"]),
.single-case_study .bf-more-help .wp-block-button:has(a[href="/case-studies/"]) { display: none; }
/* Begin and Still not sure? share a background, so don't double up the space between them. */
.bf-begin:has(+ .bf-more-help) { padding-bottom: 0; }

/* ---------- Inner pages ---------- */
.bf-page-header {
	background: var(--wp--preset--color--grey-mist);
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
	border-bottom: 1px solid var(--bf-rule);
}
.bf-page-header .wp-block-post-title { margin: 0; }
.bf-page-header .is-style-eyebrow { margin-bottom: 0.6rem; }
.bf-page-header .is-style-eyebrow a { color: inherit; text-decoration: none; }
.bf-page-content { margin-block-start: 0; }
.bf-page-content > * { margin-block: 0; }
.site-main > * + * { margin-block-start: 0; }

/* Photo banner across the top of a page (About Me), with the page title and a quote. */
.wp-block-cover.bf-banner {
	min-height: clamp(440px, 48vw, 620px);
	padding: 0;
	align-items: flex-end;
}
.bf-banner .wp-block-cover__image-background { object-position: 50% 22%; } /* keeps Nick's hands out of shot on desktop */
.bf-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(0deg, rgba(28, 30, 28, 0.78) 0%, rgba(28, 30, 28, 0.45) 40%, rgba(28, 30, 28, 0) 68%);
}
.bf-banner .wp-block-cover__inner-container {
	position: relative;
	z-index: 3;
	padding: 2rem var(--bf-gutter) clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}
.bf-banner h1.bf-banner__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(1.15rem, 2.2vw, 1.6rem);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--grey-mist);
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.bf-banner p.bf-banner__quote {
	margin-top: 0.9rem;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: clamp(1.4rem, 3vw, 2.2rem);
	line-height: 1.35;
	color: var(--wp--preset--color--white);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

/* Flag for copy Nick still needs to supply or confirm. */
p.bf-placeholder {
	display: block;
	box-sizing: border-box;
	padding: 0.35rem 0.7rem;
	border: 1px dashed var(--wp--preset--color--teal-deep);
	border-radius: 4px;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-deep);
}

/* Text beside a photo */
.bf-split__inner { gap: clamp(2rem, 5vw, 4.5rem); margin-block: 0; }
.bf-split__inner > .wp-block-column > * + * { margin-block-start: 1.1rem; }
.bf-split__inner .is-style-eyebrow + .wp-block-heading { margin-block-start: 0.6rem; }
.bf-portrait { margin: 0; }
.bf-portrait img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 30px 55px -30px rgba(38, 48, 44, 0.45);
}
.bf-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 1.6rem; }
.bf-badges .wp-block-image { margin: 0; flex: 0 1 auto; min-width: 0; }
.bf-badges .wp-block-image:not(.bf-certificate) img { max-width: 100%; height: auto; }
/* Side-by-side column gets narrow: shrink the three badges so they stay on one row */
@media (min-width: 881px) and (max-width: 1240px) {
	.bf-badges .wp-block-image:not(.bf-certificate) img { width: auto !important; height: 9vw; }
}
.bf-badges > p,
.bf-badges .wp-block-image.bf-certificate { flex-basis: 100%; }
.bf-certificate img { width: 100%; height: auto; box-shadow: 0 2px 14px rgba(38, 48, 44, 0.12); }
@media (max-width: 560px) {
	.bf-badges { gap: 1.2rem; }
	.bf-badges .wp-block-image:not(.bf-certificate) img { width: auto !important; height: 90px; }
}
@media (max-width: 880px) {
	.bf-split__inner { flex-wrap: wrap !important; }
	.bf-split__inner > .wp-block-column { flex-basis: 100% !important; }
}

/* Stages (Contemplating / Navigating / Rebuilding) */
.bf-stages { gap: 1.5rem; margin-top: 2.4rem; }
.bf-stage {
	background: var(--wp--preset--color--white);
	border-radius: 6px;
	padding: 2rem 1.8rem;
	box-shadow: 0 30px 60px -45px rgba(42, 143, 138, 0.45);
}
.bf-stage > * + * { margin-block-start: 0.8rem; }
p.bf-stage__num {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 2rem;
	line-height: 1;
	color: var(--wp--preset--color--pink-dawn);
}
.bf-stage h3 { font-size: 1.5rem; }

/* What coaching will feel like: intro, four feeling cards, closing line */
.bf-feel { background: var(--wp--preset--color--grey-mist); }
.bf-feel__intro { margin-bottom: 2.4rem; }
.bf-feelings { margin-block: 0 1.5rem; }
.bf-feelings .bf-stage h3 { color: var(--wp--preset--color--teal-deep); }
.bf-feelings .bf-stage h3::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 0.6rem;
	background: var(--wp--preset--color--pink-dawn);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.1C.4 8.4 2 4.8 5.5 4c2-.5 3.9.3 5 1.9C11.6 4.3 13.5 3.5 15.5 4 19 4.8 20.6 8.4 19 12.9 16.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.1C.4 8.4 2 4.8 5.5 4c2-.5 3.9.3 5 1.9C11.6 4.3 13.5 3.5 15.5 4 19 4.8 20.6 8.4 19 12.9 16.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}
p.bf-feel__close { max-width: 46ch; margin: 2.4rem auto 0; font-style: normal; font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

/* How it works: numbered steps */
.bf-steps { counter-reset: bf-step; gap: 2.4rem; margin-top: 2.4rem; }
.bf-step { counter-increment: bf-step; position: relative; padding-top: 3.4rem; }
.bf-step::before {
	content: counter(bf-step);
	position: absolute;
	top: 0;
	left: 0;
	width: 2.4rem;
	height: 2.4rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--wp--preset--color--teal-deep);
	color: var(--wp--preset--color--white);
	font-weight: 600;
}
.bf-step h3 { font-size: 1.35rem; }
.bf-step p.bf-step__price { font-weight: 600; color: var(--wp--preset--color--ink); }
.bf-step > * + * { margin-block-start: 0.7rem; }

/* Large text hero (FAQs): the horizon gradient and sun, with a big page title. */
.is-style-horizon.bf-text-hero { padding-block: clamp(4.5rem, 10vw, 8rem) clamp(5.5rem, 10vw, 8rem); }
.bf-text-hero h1.bf-text-hero__title {
	font-size: clamp(3.4rem, 10vw, 6.5rem);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--white);
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

/* FAQs */
.bf-faqs-intro { padding-bottom: 1rem; }
.bf-faqs { padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70); }
.bf-faqs > .wp-block-details { margin-block: 0; }
.wp-block-details.bf-faq { border-bottom: 1px solid var(--bf-rule); padding-block: 1.2rem; }
.wp-block-details.bf-faq:first-child { border-top: 1px solid var(--bf-rule); }
.wp-block-details.bf-faq summary {
	position: relative;
	padding-right: 2.5rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 1.3rem;
	line-height: 1.35;
	color: var(--wp--preset--color--teal-deep);
}
.wp-block-details.bf-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.bf-faq summary::after {
	content: "+";
	position: absolute;
	right: 0.3rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.6rem;
	font-weight: 300;
	color: var(--wp--preset--color--pink-dawn);
	transition: transform 0.3s ease;
}
.wp-block-details.bf-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details.bf-faq > :not(summary) { margin-top: 0.8rem; }
.wp-block-details.bf-faq ul { padding-left: 1.3rem; }
.wp-block-details.bf-faq li + li { margin-top: 0.5rem; }

/* Case studies */
.bf-intro { padding-bottom: 0; }
.bf-case-list { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.bf-case-grid { gap: 1.8rem; }
.bf-case-card {
	height: 100%;
	background: var(--wp--preset--color--white);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 30px 60px -45px rgba(42, 143, 138, 0.45);
}
.bf-case-card .wp-block-post-featured-image { margin: 0; }
.bf-case-card__body { padding: 1.5rem 1.6rem 1.8rem; }
.bf-case-card .wp-block-post-title { font-size: 1.45rem; margin: 0; }
.bf-case-card .wp-block-post-title a { color: inherit; text-decoration: none; }
.bf-case-card .wp-block-post-excerpt { margin-top: 0.7rem; }
.bf-case-card .wp-block-post-excerpt__more-link { font-weight: 600; text-decoration: none; }
.bf-case-study .wp-block-post-featured-image { max-width: var(--wp--style--global--content-size); margin-inline: auto; margin-bottom: 2rem; }
.bf-case-study .wp-block-post-featured-image img { border-radius: 10px; }
.bf-case-study h2 { font-size: 1.7rem; margin-top: 2.2rem; }

/* Case study story: the client's words as a quotation, with large pull quotes between. */
.wp-block-quote.bf-story {
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.7;
	color: var(--wp--preset--color--ink-soft);
	border-left-color: var(--wp--preset--color--pink-soft);
	padding-left: clamp(1.2rem, 3vw, 2rem);
}
.wp-block-quote.bf-story p + p { margin-top: 1.1rem; }
.wp-block-quote.bf-story cite {
	display: block;
	margin-top: 1.6rem;
	font-style: normal;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-deep);
}
.wp-block-quote.bf-story cite::before { content: "— "; }
p.bf-pullquote {
	position: relative;
	margin-block: 2.8rem;
	padding-block: 1.6rem;
	text-align: center;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.35;
	color: var(--wp--preset--color--teal-deep);
}
p.bf-pullquote::before,
p.bf-pullquote::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 64px;
	height: 2px;
	margin-left: -32px;
	background: var(--wp--preset--color--pink-dawn);
}
p.bf-pullquote::before { top: 0; }
p.bf-pullquote::after { bottom: 0; }

/* Contact */
.bf-contact__copy > * + * { margin-block-start: 1.1rem; }
.bf-contact__photo { max-width: 440px; margin-block-start: 2.2rem !important; }
.bf-contact__photo img { aspect-ratio: 3 / 2; } /* landscape photo; .bf-portrait would crop it to 4:5 */

/* Contact form ([bf_contact_form], from mu-plugins/bf-contact) */
.bf-form {
	padding: clamp(1.4rem, 4vw, 2.4rem);
	border-radius: 14px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 24px 50px -30px rgba(38, 48, 44, 0.35);
	scroll-margin-top: 110px; /* clear the sticky header when jumping to #contact-form */
}
.bf-form__field + .bf-form__field { margin-top: 1.25rem; }
.bf-form .bf-form__required { margin-left: 0.2em; color: #b3261e; font-weight: 700; }
.bf-form p.bf-form__required-note { margin: 0 0 1.25rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-soft); }
.bf-form label {
	display: block;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink);
}
.bf-form p.bf-form__hint {
	margin: 0.2rem 0 0;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
	color: var(--wp--preset--color--ink-soft);
}
.bf-form input[type="text"],
.bf-form input[type="email"],
.bf-form input[type="tel"],
.bf-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin-top: 0.45rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--wp--preset--color--grey-mid);
	border-radius: 8px;
	background: var(--wp--preset--color--grey-wash);
	font: inherit;
	color: var(--wp--preset--color--ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.bf-form textarea { min-height: 9rem; resize: vertical; }
.bf-form input:focus,
.bf-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--teal-deep);
	background: var(--wp--preset--color--white);
	box-shadow: 0 0 0 3px var(--wp--preset--color--teal-pale);
}
.bf-form__field--check {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 0.7rem;
	align-items: start;
}
.bf-form__field--check input {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.2rem 0 0;
	accent-color: var(--wp--preset--color--teal-deep);
}
.bf-form__field--check label { font-weight: 400; line-height: 1.55; }
.bf-form__field--check .bf-form__error { grid-column: 2; }
.bf-form .has-error input,
.bf-form .has-error textarea { border-color: #b3261e; }
.bf-form p.bf-form__error {
	margin: 0.4rem 0 0;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	color: #b3261e;
}
.bf-form__alert {
	margin-bottom: 1.4rem;
	padding: 0.8rem 1rem;
	border-left: 3px solid #b3261e;
	border-radius: 4px;
	background: #fcefee;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink);
}
.bf-form button[type="submit"] { margin-top: 1.6rem; cursor: pointer; }
.bf-form__captcha { margin-top: 1.4rem; min-height: 78px; }
.bf-form__thanks { text-align: center; padding-block: 2rem; }
.bf-form__thanks h3 { margin: 0 0 0.6rem; }

/* Quotes (mainly in case studies) */
.wp-block-quote {
	border-left: 3px solid var(--wp--preset--color--pink-dawn);
	padding-left: 1.4rem;
	margin-block: 2rem;
}
.wp-block-quote p { color: inherit; }

/* Legal pages */
.bf-legal { padding-block: var(--wp--preset--spacing--60); }
.bf-legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }

/* The global block gap would otherwise stack space between header, main and footer. */
.wp-site-blocks > * + * { margin-block-start: 0; }

@media (prefers-reduced-motion: reduce) {
	* { transition-duration: 0.01ms !important; }
}

