/*
 * Signature templates: the sections that only some templates use, and each template's own
 * shapes and rhythm. Body classes: .fx-tpl-practice, -editorial, -evening, -boutique, -community.
 */

.fx-layout-signature {
	--sig-alt: var(--wp--custom--sig--alt, color-mix(in srgb, var(--sig-accent) 55%, #f4c04e));
}

/* =========================================================== Heroes */

/* Centred (Evening) */
.fx-sig-hero.is-centre {
	text-align: center;
}
.fx-sig-hero.is-centre::after {
	background:
		radial-gradient(ellipse at center, color-mix(in srgb, var(--sig-deep) 55%, transparent) 0%, transparent 70%),
		linear-gradient(to top, color-mix(in srgb, var(--sig-deep) 90%, transparent) 0%, transparent 45%),
		linear-gradient(to bottom, color-mix(in srgb, var(--sig-deep) 60%, transparent) 0%, transparent 25%);
}
.fx-sig-hero.is-centre .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: inherit;
	padding-block: clamp(7rem, 14vh, 10rem) 2rem;
}
.fx-sig-centre-copy {
	max-width: 62rem;
	margin: auto !important;
}
.fx-sig-hero.is-centre .fx-sig-display {
	max-width: 16ch;
	margin-inline: auto;
}
.fx-sig-hero.is-centre .fx-sig-intro {
	margin-inline: auto;
	max-width: 44ch;
}
.fx-sig-hero.is-centre .fx-sig-btns {
	justify-content: center;
}
.fx-sig-hero.is-centre .fx-sig-rating {
	margin-top: 1.25rem;
}
.fx-sig-centre-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	margin-top: clamp(3rem, 6vh, 5rem) !important;
	animation: fx-sig-rise 1s var(--sig-ease) 1s both;
}
.fx-sig-centre-fact {
	margin: 0;
	padding: 1.25rem 1rem 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.8) !important;
}
.fx-sig-centre-fact strong {
	display: block;
	font-family: var(--sig-font);
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	font-weight: var(--sig-weight);
	letter-spacing: -0.02em;
	color: #fff;
}
.fx-sig-centre-fact + .fx-sig-centre-fact {
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}

/* Framed (Editorial): the photo inside a margin, headline across its foot */
.fx-sig-hero.is-frame {
	padding-top: clamp(0.75rem, 1.6vw, 1.5rem);
	padding-bottom: 0;
}
.fx-sig-framecover {
	border-radius: var(--sig-radius);
	overflow: hidden;
	max-width: none !important;
	margin-inline: clamp(0.75rem, 1.6vw, 1.5rem) !important;
	width: auto !important;
	min-height: min(84vh, 900px) !important;
}
.fx-sig-framecover .wp-block-cover__image-background {
	animation: fx-sig-push 7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fx-sig-framecover::after {
	background: linear-gradient(to top, color-mix(in srgb, var(--sig-deep) 86%, transparent) 0%, color-mix(in srgb, var(--sig-deep) 30%, transparent) 50%, transparent 75%);
}
.fx-sig-framecover .fx-sig-display {
	font-size: clamp(3rem, min(7.4vw, 11svh), 8.4rem);
	line-height: 0.95;
	max-width: 18ch;
	animation: fx-sig-rise 1s var(--sig-ease) 0.35s both;
}
.fx-sig-framecover .fx-sig-intro {
	color: rgba(255, 255, 255, 0.88);
	margin-top: 0;
	animation: fx-sig-rise 1s var(--sig-ease) 0.6s both;
}
.fx-sig-framecover .wp-block-columns {
	margin-top: clamp(1.5rem, 3vw, 2.5rem) !important;
	padding-top: clamp(1.25rem, 2.5vw, 2rem);
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.fx-sig-frame-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	animation: fx-sig-rise 1s var(--sig-ease) 0.75s both;
}
.fx-sig-frame-actions .fx-sig-btns {
	margin-top: 0;
}
.fx-sig-frame-actions .fx-sig-rating {
	margin-top: 1rem;
}
@media (max-width: 781px) {
	.fx-sig-frame-actions {
		align-items: flex-start;
	}
}

/* Arched (Boutique) */
.fx-sig-hero.is-arch {
	background: var(--sig-tint);
	overflow: hidden;
}
.fx-sig-arch img,
img.fx-sig-arch,
.fx-sig-arch {
	border-radius: 999px 999px var(--sig-radius) var(--sig-radius) !important;
}
.fx-sig-arch-wrap {
	position: relative;
	padding: 0 8% 8% 0;
}
.fx-sig-arch-wrap > .fx-sig-arch img {
	border-radius: 999px 999px 24px 24px !important;
}
.fx-sig-arch-inset {
	position: absolute !important;
	left: -10%;
	bottom: 2%;
	width: 38%;
	margin: 0 !important;
	animation: fx-sig-rise 1s var(--sig-ease) 0.6s both;
}
.fx-sig-arch-inset img {
	border-radius: 50% !important;
	border: 6px solid var(--sig-tint);
}
.fx-sig-arch-badge {
	position: absolute;
	right: 0;
	bottom: 18%;
	width: 8.5rem;
	height: 8.5rem;
	border-radius: 50%;
	background: var(--sig-accent);
	color: var(--sig-ink);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.78rem;
	line-height: 1.3;
	margin: 0 !important;
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
	animation: fx-sig-rise 1s var(--sig-ease) 0.8s both;
}
.fx-sig-arch-badge strong {
	font-family: var(--sig-font);
	font-size: 2rem;
	line-height: 1;
	letter-spacing: -0.03em;
}
.fx-sig-arch-badge .fx-sig-stars {
	color: inherit;
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	margin: 0.2rem 0;
}
.fx-sig-hero.is-arch .fx-sig-display {
	font-size: clamp(2.8rem, 5.2vw, 5.6rem);
}
@media (max-width: 781px) {
	.fx-sig-arch-inset {
		left: 0;
		width: 34%;
	}
	.fx-sig-arch-badge {
		width: 6.5rem;
		height: 6.5rem;
	}
}

/* Panel (Practice, Community): the copy on a solid card over a full-screen photo */
.fx-sig-hero.is-panel::after {
	background: linear-gradient(90deg, color-mix(in srgb, var(--sig-deep) 35%, transparent), transparent 60%);
}
.fx-sig-hero.is-panel .wp-block-cover__inner-container {
	padding-block: clamp(3rem, 7vw, 6rem);
}
.fx-sig-heropanel {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	max-width: 40rem;
	padding: clamp(2rem, 3.5vw, 3.25rem);
	border-radius: max(var(--sig-radius), 18px);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
	animation: fx-sig-rise 1s var(--sig-ease) 0.3s both;
}
.fx-sig-cover .fx-sig-heropanel :is(h1, p, a:not(.wp-block-button__link)) {
	color: var(--wp--preset--color--contrast);
}
.fx-sig-cover .fx-sig-heropanel .fx-sig-kicker {
	color: var(--sig-accent);
}
.fx-sig-cover .fx-sig-heropanel .fx-sig-rating {
	color: var(--wp--preset--color--muted);
}
.fx-sig-hero.is-full .fx-sig-heropanel .fx-sig-display {
	font-size: clamp(2.4rem, min(4.2vw, 7.5svh), 4.4rem);
	text-shadow: none;
	max-width: 14ch;
	margin-top: 0;
}
.fx-sig-hero.is-full .fx-sig-heropanel .fx-sig-intro {
	margin-top: 1.25rem;
}
.fx-sig-heropanel .fx-sig-intro {
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 80%, transparent) !important;
}
.fx-sig-heropanel .fx-sig-btns .is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--contrast) !important;
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 30%, transparent) !important;
}
@media (max-width: 781px) {
	.fx-sig-hero.is-panel {
		min-height: 0 !important;
		padding-top: 42vh !important;
	}
	.fx-sig-hero.is-panel .wp-block-cover__inner-container {
		padding: 0 !important;
	}
	.fx-sig-heropanel {
		border-radius: 22px 22px 0 0;
		max-width: none;
		box-shadow: none;
	}
}

/* =========================================================== Story on a card over a wide photo */
.fx-sig-storywide {
	padding-top: 0 !important;
}
.fx-sig-storyphoto {
	max-width: none !important;
	margin: 0 !important;
}
.fx-sig-storyphoto img {
	border-radius: 0 !important;
	width: 100%;
	max-height: 78vh;
}
.fx-sig-storycard-wrap {
	position: relative;
	margin-top: clamp(-14rem, -16vw, -6rem) !important;
}
.fx-sig-storycard {
	background: var(--wp--preset--color--base);
	max-width: 46rem;
	padding: clamp(2rem, 4vw, 3.5rem);
	border-radius: var(--sig-radius);
	box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.5);
}
.fx-sig-storycard .fx-sig-body {
	margin-top: 1.25rem;
}
.fx-sig-storycard .fx-sig-facts {
	margin: 2rem 0 1.5rem;
}
@media (max-width: 781px) {
	.fx-sig-storycard-wrap {
		margin-top: -3rem !important;
	}
}

/* =========================================================== Work strip, scrolls sideways */
.fx-sig-stripsec2 {
	overflow: hidden;
}
.fx-sig-strip {
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: clamp(240px, 26vw, 380px);
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-inline: max(var(--wp--style--root--padding-left, 1.5rem), (100vw - 1320px) / 2);
	padding-bottom: 1rem;
	scrollbar-width: thin;
}
.fx-sig-strip > * {
	margin: 0 !important;
}
.fx-sig-strip-tile {
	scroll-snap-align: start;
	position: relative;
}
.fx-sig-strip-tile figure {
	margin: 0;
}
.fx-sig-strip-cap {
	margin: 0.9rem 0 0;
	font-weight: 600;
}
.fx-sig-strip-cap span {
	display: block;
	font-weight: 400;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

/* =========================================================== Feature quote */
.fx-sig-bigquote {
	font-family: var(--sig-font);
	font-size: clamp(1.7rem, 3vw, 2.9rem);
	line-height: 1.2;
	letter-spacing: -0.025em;
	font-weight: var(--sig-weight);
	margin: 1rem 0 1.75rem;
	max-width: 24ch;
	text-wrap: balance;
}
.fx-sig-featurequote .fx-sig-cta {
	margin-top: 1.5rem;
}

/* =========================================================== Numbers */
.fx-sig-statsec {
	background: var(--sig-accent);
	color: var(--sig-ink);
}
.fx-sig-statsec :is(h2, p) {
	color: inherit;
}
.fx-sig-stats-title {
	margin-bottom: 2.5rem !important;
}
.fx-sig-stats > * {
	margin: 0 !important;
}
.fx-sig-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 2rem;
}
.fx-sig-stat {
	border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	padding-top: 1.25rem;
}
.fx-sig-stat-n {
	font-family: var(--sig-font);
	font-size: clamp(2.8rem, 5.5vw, 5rem);
	font-weight: var(--sig-weight);
	letter-spacing: -0.04em;
	line-height: 1;
	margin: 0;
}
.fx-sig-stat-l {
	margin: 0.6rem 0 0;
	opacity: 0.85;
}

/* =========================================================== Team */
.fx-sig-team {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1rem, 2vw, 1.75rem);
}
.fx-sig-team.is-3 {
	grid-template-columns: repeat(3, 1fr);
}
.fx-sig-team.is-2 {
	grid-template-columns: repeat(2, 1fr);
}
.fx-sig-team > * {
	margin: 0 !important;
}
.fx-sig-team-photo {
	margin: 0 0 1rem;
	overflow: hidden;
	border-radius: var(--sig-radius);
}
.fx-sig-team-name {
	font-size: 1.2rem;
	margin: 0;
	letter-spacing: -0.015em;
}
.fx-sig-team-role {
	margin: 0.2rem 0 0;
}
.fx-sig-team-bio {
	margin: 0.8rem 0 0;
	font-size: 0.975rem;
	line-height: 1.6;
}
@media (max-width: 900px) {
	.fx-sig-team,
	.fx-sig-team.is-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}
.fx-sig-signoff {
	margin-top: 1.75rem;
}
.fx-sig-welcome-photo img {
	border-radius: var(--sig-radius);
}

/* =========================================================== Services as rows */
.fx-sig-srow {
	border-top: 1px solid var(--wp--preset--color--line);
	padding-block: 1.25rem;
	margin: 0 !important;
	position: relative;
}
.fx-sig-srow:last-child {
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.fx-sig-srow-title {
	font-family: var(--sig-font);
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	font-weight: var(--sig-weight);
	letter-spacing: -0.025em;
	margin: 0;
}
.fx-sig-srow-title a {
	color: inherit;
	text-decoration: none;
}
.fx-sig-srow-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.fx-sig-srow-text {
	margin: 0;
	color: var(--wp--preset--color--muted);
}
.fx-sig-srow-price {
	margin: 0;
	text-align: right;
	font-weight: 600;
}
.fx-sig-srow-photo figure {
	margin: 0;
}
.fx-sig-srow-photo img {
	transition: transform 0.6s var(--sig-ease);
}
.fx-sig-srow:hover .fx-sig-srow-photo img {
	transform: scale(1.04);
}
@media (max-width: 781px) {
	.fx-sig-srow {
		display: grid !important;
		grid-template-columns: 96px 1fr;
		gap: 0.25rem 1rem !important;
	}
	.fx-sig-srow > .fx-sig-srow-photo {
		grid-row: span 3;
	}
	.fx-sig-srow-price {
		text-align: left;
	}
}

/* =========================================================== Services as a menu */
.fx-sig-centrehead {
	text-align: center;
	margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}
.fx-sig-centrehead .fx-sig-h2,
.fx-sig-centrehead .fx-sig-lede {
	margin-inline: auto;
}
.fx-sig-centrehead .fx-sig-lede {
	margin-top: 1rem;
}
.fx-sig-centrehead .fx-sig-btns {
	justify-content: center;
}
.fx-sig-menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.25rem 5rem;
	margin-bottom: clamp(2rem, 4vw, 3rem) !important;
}
.fx-sig-menu > * {
	margin: 0 !important;
}
.fx-sig-menu-line {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	margin: 0;
	font-family: var(--sig-font);
	font-size: 1.3rem;
	font-weight: var(--sig-weight);
	letter-spacing: -0.015em;
}
.fx-sig-menu-dots {
	flex: 1;
	border-bottom: 1px dotted color-mix(in srgb, currentColor 45%, transparent);
	transform: translateY(-0.3em);
}
.fx-sig-menu-line span:last-child {
	color: var(--sig-accent);
	white-space: nowrap;
}
.fx-sig-menu-text {
	margin: 0.4rem 0 0;
	color: var(--wp--preset--color--muted);
	max-width: 46ch;
}
@media (max-width: 781px) {
	.fx-sig-menu {
		grid-template-columns: 1fr;
	}
}

/* =========================================================== Services as arches */
.fx-sig-arches {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1rem, 2vw, 1.75rem);
}
.fx-sig-arches > * {
	margin: 0 !important;
}
.fx-sig-arches-card {
	position: relative;
	text-align: center;
}
.fx-sig-arches-card figure {
	margin: 0 0 1rem;
	overflow: hidden;
}
.fx-sig-arches-card img {
	transition: transform 0.7s var(--sig-ease);
}
.fx-sig-arches-card:hover img {
	transform: scale(1.05);
}
.fx-sig-arches-title {
	font-family: var(--sig-font);
	font-size: 1.35rem;
	font-weight: var(--sig-weight);
	margin: 0;
}
.fx-sig-arches-title a {
	color: inherit;
	text-decoration: none;
}
.fx-sig-arches-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
@media (max-width: 900px) {
	.fx-sig-arches {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =========================================================== Quick links */
.fx-sig-links-title {
	margin-bottom: 2rem !important;
}
.fx-sig-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1rem;
}
.fx-sig-links > * {
	margin: 0 !important;
}
.fx-sig-linktile {
	position: relative;
	padding: 1.6rem 1.5rem 1.5rem;
	border-radius: max(var(--sig-radius), 16px);
	min-height: 9.5rem;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s var(--sig-ease), box-shadow 0.35s var(--sig-ease);
}
.fx-sig-linktile:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.45);
}
.fx-sig-linktile.is-0 { background: var(--sig-accent); color: var(--sig-ink); }
.fx-sig-linktile.is-1 { background: var(--sig-alt); color: #1d1a12; }
.fx-sig-linktile.is-2 { background: var(--sig-deep); color: var(--sig-deep-ink); }
.fx-sig-linktile.is-3 { background: var(--sig-tint); color: var(--wp--preset--color--contrast); }
.fx-sig-link-title {
	font-size: 1.25rem;
	margin: 0 0 0.4rem;
	letter-spacing: -0.015em;
}
.fx-sig-link-title a {
	color: inherit;
	text-decoration: none;
}
.fx-sig-link-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.fx-sig-link-title::after {
	content: " →";
}
.fx-sig-link-text {
	margin: 0;
	opacity: 0.85;
	font-size: 0.95rem;
}

/* =========================================================== News */
.fx-sig-news .wp-block-post-template {
	gap: clamp(1rem, 2vw, 1.75rem) !important;
}
.fx-sig-news .wp-block-post {
	margin: 0;
}
.fx-sig-news .wp-block-post-featured-image {
	margin: 0 0 1rem;
	overflow: hidden;
	border-radius: var(--sig-radius);
}
.fx-sig-news .wp-block-post-featured-image img {
	transition: transform 0.6s var(--sig-ease);
}
.fx-sig-news .wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}
.fx-sig-news-title {
	font-size: 1.3rem;
	margin: 0.4rem 0 0.5rem;
	letter-spacing: -0.015em;
}
.fx-sig-news-title a {
	color: inherit;
	text-decoration: none;
}
.fx-sig-news-text p {
	margin: 0;
	color: var(--wp--preset--color--muted);
}
.fx-sig-news-text .wp-block-post-excerpt__more-link {
	display: none;
}
@media (max-width: 781px) {
	.fx-sig-news .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
}

/* =========================================================== Dates */
.fx-sig-date {
	padding: 1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	gap: 1.5rem;
	margin: 0 !important;
}
.fx-sig-date:last-child {
	border-bottom: 0;
}
.fx-sig-date p {
	margin: 0;
}
.fx-sig-date-when {
	font-weight: 600;
	text-align: right;
	white-space: nowrap;
}

/* =========================================================== Donate */
.fx-sig-donate {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}
.fx-sig-donate > * {
	margin: 0 !important;
}
.fx-sig-donate-tile {
	background: var(--wp--preset--color--base);
	border-radius: max(var(--sig-radius), 18px);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
}
.fx-sig-donate-tile:nth-child(2) {
	background: var(--sig-accent);
	color: var(--sig-ink);
}
.fx-sig-donate-tile:nth-child(2) .wp-block-button__link {
	background: var(--wp--preset--color--base) !important;
	color: var(--sig-accent) !important;
}
.fx-sig-donate-n {
	font-family: var(--sig-font);
	font-size: clamp(2.6rem, 4vw, 3.6rem);
	font-weight: var(--sig-weight);
	letter-spacing: -0.04em;
	line-height: 1;
	margin: 0;
}
.fx-sig-donate-text {
	margin: 0.75rem 0 0;
	flex: 1;
}

/* =========================================================== Shop (WooCommerce) */
.fx-layout-signature .woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1rem, 2vw, 1.75rem);
	margin: 0;
}
.fx-layout-signature .woocommerce ul.products::before,
.fx-layout-signature .woocommerce ul.products::after {
	display: none !important;
}
.fx-layout-signature .woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	text-align: left;
}
.fx-layout-signature .woocommerce ul.products li.product img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--sig-radius);
	margin-bottom: 0.9rem !important;
	transition: transform 0.6s var(--sig-ease);
}
.fx-layout-signature .woocommerce ul.products li.product a:hover img {
	transform: scale(1.03);
}
.fx-layout-signature .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.05rem !important;
	font-weight: 600;
	padding: 0 !important;
	color: var(--wp--preset--color--contrast);
}
.fx-layout-signature .woocommerce ul.products li.product .price {
	color: var(--sig-accent) !important;
	font-weight: 600;
	font-size: 1rem !important;
}
.fx-layout-signature .woocommerce ul.products li.product .button,
.fx-layout-signature .woocommerce a.button,
.fx-layout-signature .woocommerce button.button,
.fx-layout-signature .wc-block-components-button:not(.is-link) {
	background: var(--sig-accent) !important;
	color: var(--sig-ink) !important;
	border-radius: var(--sig-btn-radius) !important;
	font-weight: 600;
	padding: 0.7em 1.3em !important;
	border: 0 !important;
}
@media (max-width: 900px) {
	.fx-layout-signature .woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}
/* WooCommerce's own pages: keep them clear of the header and on the grid */
.fx-layout-signature.woocommerce-page main,
.fx-layout-signature.woocommerce-cart main,
.fx-layout-signature.woocommerce-checkout main {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

/* =========================================================== Gallery page and all reviews */
.fx-sig-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2.5vw, 2rem);
}
.fx-sig-gallery > * {
	margin: 0 !important;
}
.fx-sig-gal-item:nth-child(3n + 1) {
	grid-column: 1 / -1;
}
.fx-sig-gal-item figure {
	margin: 0 0 1rem;
}
.fx-sig-gal-title {
	font-family: var(--sig-font);
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	font-weight: var(--sig-weight);
	margin: 0;
	letter-spacing: -0.02em;
}
.fx-sig-reviews.is-all {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}
@media (max-width: 781px) {
	.fx-sig-gallery {
		grid-template-columns: 1fr;
	}
}

/* =========================================================== Headers */

/* Centred (Editorial): phone, name, button on one line; the menu centred under it */
.fx-sig-header.is-centred {
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.fx-sig-head-row {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding-block: 1.1rem 0.6rem;
	margin-inline: auto !important;
}
.fx-sig-head-row > * {
	margin: 0 !important;
}
.fx-sig-header.is-centred .wp-block-site-title {
	font-size: clamp(1.4rem, 2vw, 1.9rem);
	text-align: center;
}
.fx-sig-head-side {
	font-size: 0.9rem;
}
.fx-sig-head-side a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}
.fx-sig-head-navrow {
	margin-inline: auto !important;
	padding-bottom: 0.75rem;
}
.fx-sig-head-navrow .wp-block-navigation {
	justify-content: center;
}
.fx-sig-header.is-centred .wp-block-navigation__container {
	gap: 2rem;
}
@media (max-width: 781px) {
	.fx-sig-head-row .is-right {
		display: none !important;
	}
}
@media (max-width: 1100px) {
	.fx-sig-head-row {
		grid-template-columns: auto 1fr auto;
	}
	.fx-sig-head-row .fx-sig-head-side:first-child {
		display: none !important;
	}
	.fx-sig-head-row .is-right {
		padding-right: 3rem;
	}
	.fx-sig-head-row .wp-block-site-title {
		text-align: left;
	}
	.fx-sig-head-navrow {
		position: absolute;
		top: 0;
		bottom: 0;
		right: var(--wp--style--root--padding-right, 1.25rem);
		padding: 0 !important;
		display: flex;
		align-items: center;
	}
	.fx-sig-head-row {
		padding-block: 1rem !important;
	}
}

/* Minimal (Boutique) and Overlay (Evening): one line, menu in the middle */
.fx-sig-header:is(.is-minimal, .is-overlay) .wp-block-navigation {
	flex: 1;
}
.fx-sig-head-phone {
	margin: 0;
	font-size: 0.9rem;
	white-space: nowrap;
}
.fx-sig-head-phone a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}
.fx-sig-header.is-minimal .fx-sig-mainbar {
	padding-block: 1.1rem;
	border-bottom: 0;
}
.fx-sig-header.is-overlay .fx-sig-mainbar {
	padding-block: 1.2rem;
}
@media (max-width: 900px) {
	.fx-sig-head-phone {
		display: none;
	}
}
@media (max-width: 600px) {
	.fx-sig-header:is(.is-minimal, .is-overlay, .is-notice) .fx-sig-btns {
		display: none;
	}
}

/* Evening: over the photo on pages that open with one, solid on everything else */
.fx-head-over .wp-block-template-part:has(> .fx-sig-header) {
	position: absolute;
	left: 0;
	right: 0;
}
.fx-head-over .fx-sig-header.is-overlay .fx-sig-mainbar {
	background: transparent;
	backdrop-filter: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.fx-head-over .fx-sig-header.is-overlay :is(.wp-block-site-title a, .wp-block-navigation, .wp-block-navigation a, .fx-sig-head-phone a, .fx-basket) {
	color: #fff;
}
.fx-head-over .fx-sig-header.is-overlay .wp-block-navigation__responsive-container-open {
	color: #fff;
}

/* Notice (Community): a coloured strip with this week's news, then the bar with two buttons */
.fx-sig-notice {
	background: var(--sig-alt);
	color: #1d1a12;
	text-align: center;
	padding: 0.6rem 1rem;
}
.fx-sig-notice-text {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
}
.fx-sig-notice-text a {
	color: inherit;
	margin-left: 0.4rem;
}
.fx-sig-header.is-notice .fx-sig-mainbar {
	padding-block: 1rem;
}

/* =========================================================== Template: Practice
   Rounded, busy, reassuring: the original Signature look. */
.fx-tpl-practice,
.fx-tpl-practice .fx-sig {
	--sig-radius: 16px;
}

/* =========================================================== Template: Editorial
   Square corners, hairlines between sections, bigger type, square buttons. */
.fx-tpl-editorial,
.fx-tpl-editorial .fx-sig {
	--sig-radius: 0px;
	--sig-btn-radius: 0px;
	--sig-tint: color-mix(in srgb, var(--wp--preset--color--contrast) 4%, var(--wp--preset--color--base));
}
.fx-tpl-editorial .fx-sig-h2 {
	font-size: clamp(2.3rem, 4.4vw, 4.4rem);
	max-width: 14ch;
}
.fx-tpl-editorial .fx-sig-kicker {
	color: var(--wp--preset--color--muted);
	font-weight: 500;
}
.fx-tpl-editorial main > .fx-sig + .fx-sig:not(.fx-sig-cover, .fx-sig-tint, .fx-sig-statsec) {
	border-top: 1px solid var(--wp--preset--color--line);
}
.fx-tpl-editorial .fx-sig-btns .wp-block-button__link {
	letter-spacing: 0.01em;
}
.fx-tpl-editorial .fx-sig-statsec {
	background: var(--sig-deep);
	color: var(--sig-deep-ink);
}
.fx-tpl-editorial .fx-sig-storycard {
	border-top: 4px solid var(--sig-accent);
}

/* =========================================================== Template: Evening
   Dark throughout, centred headings, thin outlined buttons. */
.fx-tpl-evening,
.fx-tpl-evening .fx-sig {
	--sig-radius: 4px;
	--sig-btn-radius: 2px;
}
.fx-tpl-evening .fx-sig-head {
	text-align: center;
}
.fx-tpl-evening .fx-sig-head .wp-block-column {
	flex-basis: 100% !important;
}
.fx-tpl-evening .fx-sig-head .wp-block-columns {
	flex-direction: column;
	align-items: center !important;
}
.fx-tpl-evening .fx-sig-head .fx-sig-h2,
.fx-tpl-evening .fx-sig-head .fx-sig-lede {
	margin-inline: auto;
}
.fx-tpl-evening .fx-sig-btns .is-style-outline .wp-block-button__link {
	border-width: 1px !important;
}
.fx-tpl-evening .fx-sig-statsec {
	background: transparent;
	color: inherit;
	border-block: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent);
	text-align: center;
}
.fx-tpl-evening .fx-sig-stat {
	border-top: 0;
}
.fx-tpl-evening .fx-sig-stat-n {
	color: var(--sig-accent);
}
.fx-tpl-evening .fx-sig-storycard {
	background: var(--wp--preset--color--surface, var(--wp--preset--color--base));
	margin-inline: auto;
	text-align: center;
}
.fx-tpl-evening .fx-sig-storycard :is(.fx-sig-h2, .fx-sig-body) {
	margin-inline: auto;
}
.fx-tpl-evening .fx-sig-storycard .fx-sig-cta {
	justify-content: center;
}

/* =========================================================== Template: Boutique
   Soft, generous radius, arches, the team up front. */
.fx-tpl-boutique,
.fx-tpl-boutique .fx-sig {
	--sig-radius: 26px;
}
.fx-tpl-boutique .fx-sig-team-photo img {
	border-radius: 999px 999px 26px 26px !important;
}
.fx-tpl-boutique .fx-sig-team-card {
	text-align: center;
}
.fx-tpl-boutique .fx-sig-whysec {
	clip-path: none;
	margin-inline: clamp(0.75rem, 1.6vw, 1.5rem) !important;
	border-radius: 36px;
	overflow: hidden;
	width: auto !important;
}
.fx-tpl-boutique .fx-sig-strip-tile img {
	border-radius: 999px 999px 26px 26px !important;
}

/* =========================================================== Template: Community
   Bold colour blocks, big rounded tiles, friendly. */
.fx-tpl-community,
.fx-tpl-community .fx-sig {
	--sig-radius: 22px;
}
.fx-tpl-community .fx-sig-statsec {
	background: var(--sig-deep);
	color: var(--sig-deep-ink);
}
.fx-tpl-community .fx-sig-stats {
	gap: 1rem;
}
.fx-tpl-community .fx-sig-stat {
	border: 0;
	padding: 1.75rem;
	border-radius: 22px;
	background: color-mix(in srgb, var(--sig-deep-ink) 8%, transparent);
}
.fx-tpl-community .fx-sig-stat:nth-child(2) {
	background: var(--sig-alt);
	color: #1d1a12;
}
.fx-tpl-community .fx-sig-stat:nth-child(3) {
	background: var(--sig-accent);
	color: var(--sig-ink);
}
.fx-tpl-community .fx-sig-card {
	border-radius: 22px;
}
.fx-tpl-community .fx-sig-linksec {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

/* =========================================================== Template: Cause
   Cinematic photo, giving straight underneath it, warm and direct. */
.fx-tpl-cause,
.fx-tpl-cause .fx-sig {
	--sig-radius: 18px;
}
.fx-tpl-cause .fx-sig-donatesec {
	background: var(--sig-deep);
	color: var(--sig-deep-ink);
}
.fx-tpl-cause .fx-sig-donatesec :is(.fx-sig-h2, .fx-sig-lede) {
	color: inherit;
}
.fx-tpl-cause .fx-sig-donate-tile {
	background: color-mix(in srgb, var(--sig-deep-ink) 8%, transparent);
	color: inherit;
	border: 1px solid color-mix(in srgb, var(--sig-deep-ink) 18%, transparent);
}
.fx-tpl-cause .fx-sig-donate-tile:nth-child(2) {
	background: var(--sig-alt);
	color: #22160c;
	border-color: transparent;
}
.fx-tpl-cause .fx-sig-donate-n {
	color: inherit;
}
.fx-tpl-cause .fx-sig-statsec {
	background: var(--sig-tint);
	color: var(--wp--preset--color--contrast);
}
.fx-tpl-cause .fx-sig-stat-n {
	color: var(--sig-accent);
}

/* =========================================================== Header: collapse the menu earlier
   Core only switches to the menu button under 600px; with six links and two buttons that is far
   too late, so every Signature header collapses under 1100px. */
.fx-layout-signature .wp-block-navigation-item__content {
	white-space: nowrap;
}
@media (max-width: 1100px) {
	.fx-layout-signature .fx-sig-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.fx-layout-signature .fx-sig-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
	.fx-layout-signature .fx-sig-header .wp-block-buttons .is-style-outline {
		display: none;
	}
}

/* No star rating (schools, charities): quotes stand on their own. */
.fx-no-rating .fx-sig-stars,
.fx-no-rating .fx-sig-review-stars,
.fx-no-rating .fx-sig-heroquote-score {
	display: none;
}

/* =========================================================== Fixes: header edges, frame hero, story photo */
/* The centred header holds to the same 1320px grid as the page, rather than the screen edges. */
.fx-sig-head-row {
	padding-inline: max(var(--wp--style--root--padding-left, 1.5rem), (100% - 1320px) / 2) !important;
	max-width: none !important;
	width: 100% !important;
	box-sizing: border-box;
}
/* Any line of small text sitting on a photo needs to be light, not the muted grey. */
.fx-sig-cover .fx-sig-kicker {
	color: rgba(255, 255, 255, 0.86) !important;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
/* Framed hero: darken from the left as well as the foot, so the headline never fights faces. */
.fx-sig-framecover::after {
	background:
		linear-gradient(to right, color-mix(in srgb, var(--sig-deep) 70%, transparent) 0%, color-mix(in srgb, var(--sig-deep) 25%, transparent) 55%, transparent 80%),
		linear-gradient(to top, color-mix(in srgb, var(--sig-deep) 86%, transparent) 0%, color-mix(in srgb, var(--sig-deep) 20%, transparent) 50%, transparent 75%);
}
.fx-sig-framecover .fx-sig-display {
	font-size: clamp(2.8rem, min(6vw, 9.5svh), 6.8rem);
	max-width: 15ch;
}
.fx-sig-framecover .wp-block-cover__image-background {
	object-position: 70% 30% !important;
}
/* The story photo under a framed hero: same width as the frame, with the same gap between. */
.fx-sig-hero.is-frame + .fx-sig-storywide {
	padding-top: clamp(0.75rem, 1.6vw, 1.5rem) !important;
}
.fx-sig-hero.is-frame + .fx-sig-storywide .fx-sig-storyphoto {
	margin-inline: clamp(0.75rem, 1.6vw, 1.5rem) !important;
}
.fx-sig-hero.is-frame + .fx-sig-storywide .fx-sig-storyphoto img {
	border-radius: var(--sig-radius) !important;
}
/* Editorial: flat card on a hairline, no floating shadow. */
.fx-tpl-editorial .fx-sig-storycard {
	box-shadow: none;
	border: 1px solid var(--wp--preset--color--line);
	border-top: 4px solid var(--sig-accent);
}
@media (max-width: 600px) {
	.fx-sig-storycard .fx-sig-facts {
		gap: 0.75rem !important;
	}
	.fx-sig-storycard .fx-sig-facts .fx-sig-meta {
		font-size: 0.8rem;
		line-height: 1.35;
	}
}
/* Phones: the framed hero and the photo under it run edge to edge. */
@media (max-width: 781px) {
	.fx-sig-hero.is-frame {
		padding-top: 0 !important;
	}
	.fx-sig-framecover,
	.fx-sig-hero.is-frame + .fx-sig-storywide .fx-sig-storyphoto {
		margin-inline: calc(var(--wp--style--root--padding-left, 1.25rem) * -1) !important;
		border-radius: 0 !important;
	}
	.fx-sig-hero.is-frame + .fx-sig-storywide .fx-sig-storyphoto img {
		border-radius: 0 !important;
	}
	.fx-sig-hero.is-frame + .fx-sig-storywide {
		padding-top: 0 !important;
	}
}

/* =========================================================== Every hero full bleed
   Framed (Editorial) loses its inset; Arched (Boutique) is a full photo with an arch-topped panel. */
.fx-sig-hero.is-frame {
	padding-top: 0 !important;
}
.fx-sig-framecover {
	margin-inline: calc(var(--wp--style--root--padding-left, 1.25rem) * -1) !important;
	border-radius: 0 !important;
}
.fx-sig-hero.is-frame + .fx-sig-storywide .fx-sig-storyphoto,
.fx-sig-storyphoto {
	margin-inline: calc(var(--wp--style--root--padding-left, 1.25rem) * -1) !important;
}
.fx-sig-hero.is-frame + .fx-sig-storywide .fx-sig-storyphoto img,
.fx-sig-storyphoto img {
	border-radius: 0 !important;
}

.fx-sig-hero.is-arch {
	background: none;
}
.fx-sig-hero.is-arch::after {
	background: linear-gradient(270deg, color-mix(in srgb, var(--sig-deep) 40%, transparent), transparent 60%);
}
.fx-sig-archrow {
	display: flex;
	justify-content: flex-end;
}
.fx-sig-heropanel.is-arch-panel {
	position: relative;
	max-width: 34rem;
	text-align: center;
	border-radius: 50% 50% 28px 28px / 15rem 15rem 28px 28px;
	padding: clamp(5rem, 8vw, 7rem) clamp(2rem, 3.5vw, 3.25rem) clamp(2.25rem, 3.5vw, 3rem);
	background: var(--sig-tint);
}
.fx-sig-heropanel.is-arch-panel :is(.fx-sig-display, .fx-sig-intro) {
	margin-inline: auto;
}
.fx-sig-heropanel.is-arch-panel .fx-sig-btns {
	justify-content: center;
}
.fx-sig-heropanel.is-arch-panel .fx-sig-arch-badge {
	right: auto;
	bottom: auto;
	top: 1.5rem;
	left: -2.5rem;
	width: 7.5rem;
	height: 7.5rem;
}
@media (max-width: 781px) {
	.fx-sig-heropanel.is-arch-panel {
		border-radius: 50% 50% 0 0 / 7rem 7rem 0 0;
		padding-top: 4.5rem;
	}
	.fx-sig-heropanel.is-arch-panel .fx-sig-arch-badge {
		top: -3rem;
		left: 1rem;
		width: 6rem;
		height: 6rem;
	}
}
/* On a solid panel the kicker goes back to the accent colour. */
.fx-sig-cover .fx-sig-heropanel .fx-sig-kicker {
	color: var(--sig-accent) !important;
	text-shadow: none;
}
/* Headers that sit over the photo get a soft wash along the top, so the menu and phone number stay readable. */
.fx-head-over .fx-sig-hero.is-full:not(.is-centre, .is-panel)::after {
	background:
		linear-gradient(to bottom, color-mix(in srgb, var(--sig-deep) 55%, transparent) 0, transparent 9rem),
		linear-gradient(90deg, color-mix(in srgb, var(--sig-deep) 78%, transparent) 0%, color-mix(in srgb, var(--sig-deep) 35%, transparent) 45%, transparent 70%),
		linear-gradient(to top, color-mix(in srgb, var(--sig-deep) 85%, transparent) 0%, transparent 55%);
}
/* With the menu collapsed, its button always sits at the far right of the bar. */
@media (max-width: 1100px) {
	.fx-layout-signature .fx-sig-header .wp-block-navigation {
		flex: 0 0 auto !important;
		margin-left: auto !important;
		justify-content: flex-end !important;
		order: 9;
	}
}
@media (max-width: 1100px) {
	/* The header's buttons sit at the right, just before the menu button. */
	.fx-layout-signature .fx-sig-mainbar > .alignwide > .wp-block-group:last-child {
		order: 8;
		margin-left: auto !important;
	}
	.fx-layout-signature .fx-sig-mainbar > .alignwide:has(> .wp-block-group:last-child) > .wp-block-navigation,
	.fx-layout-signature .fx-sig-mainbar > .alignwide > .wp-block-group:last-child .wp-block-navigation {
		margin-left: 0.75rem !important;
	}
}

/* =========================================================== Work strip on the page grid
   It scrolls sideways inside the same 1320px width as every other section, never edge to edge. */
.fx-sig-strip {
	width: min(1320px, calc(100% - 2 * var(--wp--style--root--padding-left, 1.25rem))) !important;
	max-width: none !important;
	margin-inline: auto !important;
	padding-inline: 0 !important;
	scroll-padding-inline: 0;
}

/* =========================================================== A clear break between the hero and a photo that follows it */
.fx-sig-hero + .fx-sig-storywide,
.fx-sig-hero.is-frame + .fx-sig-storywide {
	padding-top: clamp(2.5rem, 5vw, 4.5rem) !important;
}
@media (max-width: 781px) {
	.fx-sig-hero + .fx-sig-storywide,
	.fx-sig-hero.is-frame + .fx-sig-storywide {
		padding-top: 2.5rem !important;
	}
}

/* The rating badge keeps the button text colour on the accent, whatever panel it sits in. */
.fx-sig-arch-badge,
.fx-sig-arch-badge * {
	color: var(--sig-ink) !important;
}

/* School dates: on phones the date drops under the event instead of pushing off screen. */
@media (max-width: 600px) {
	.fx-sig-date {
		flex-wrap: wrap !important;
		gap: 0.25rem 1rem;
	}
	.fx-sig-date-when {
		text-align: left;
		white-space: normal;
	}
}

/* Centred header on phones: keep the basket, hide the buttons. */
@media (max-width: 781px) {
	.fx-sig-head-row .is-right:has(.fx-basket) {
		display: flex !important;
		align-items: center;
	}
	.fx-sig-head-row .is-right .fx-sig-btns {
		display: none !important;
	}
}
/* Basket sits before the nav toggle on phones. */
@media (max-width: 1100px) {
	.fx-sig-header .fx-basket {
		margin-right: 0.5rem;
	}
}
