/*
Theme Name: Falcon Blue
Theme URI: https://falconbluefitness.com
Author: Falcon Blue Fitness, LLC
Author URI: https://falconbluefitness.com
Description: Block theme for Falcon Blue Fitness, a veteran-owned fitness coaching and apparel business.
Version: 0.4.0
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: falconblue
*/

/*
 * Only what theme.json can't express. Every value comes from a theme.json
 * preset (--wp--preset--*) or custom property (--wp--custom--*).
 * Breakpoints: the header uses its mobile layout below 720px (the full
 * "Falcon Blue Fitness" wordmark and nav don't fit until then; core's own
 * Navigation breakpoint is 600px). 782px matches the Columns block, where
 * homepage sections switch to mobile.
 */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

/* Visible focus for every interactive element, not just links and buttons. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--wp--custom--focus--width) solid var(--wp--preset--color--brand);
	outline-offset: var(--wp--custom--focus--offset);
}

/* Header ---------------------------------------------------------------- */

.fb-header__inner {
	min-height: var(--wp--custom--header--height);
}

/* Logo + wordmark act as one link: the wordmark's link covers the lockup. */
.fb-brand {
	position: relative;
}

/* Doubled class beats core's generated flex gap. */
.fb-brand.fb-brand {
	gap: var(--wp--custom--header--brand-gap);
}

.fb-brand__logo {
	margin: 0;
	flex-shrink: 0;
}

.fb-brand__logo img {
	display: block;
	width: var(--wp--custom--header--logo-size);
	height: var(--wp--custom--header--logo-size);
}

.fb-brand__name {
	margin: 0;
	white-space: nowrap;
}

.fb-brand__name a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.fb-brand__name a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.fb-header__nav .wp-block-navigation__container {
	gap: var(--wp--custom--header--nav-gap);
}

.fb-header__nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ink);
}

/* "Book a session" and "My account" live in the mobile overlay; wider
   screens use the button and the account icon. */
.fb-header__nav .fb-nav-book,
.fb-header__nav .fb-nav-account,
.fb-header__nav .fb-nav-contact {
	display: none;
}

.fb-header__nav .is-menu-open .fb-nav-book,
.fb-header__nav .is-menu-open .fb-nav-account,
.fb-header__nav .is-menu-open .fb-nav-contact {
	display: block;
}

/* Account icon: from 1024px, where the header has room for it. */
.fb-header__account.fb-header__account {
	display: none;
}

@media (min-width: 1024px) {
	.fb-header__account.fb-header__account {
		display: flex;
	}
}

.fb-header__account a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: var(--wp--custom--control--size);
	min-height: var(--wp--custom--control--size);
	color: var(--wp--preset--color--ink);
}

.fb-header__account svg {
	fill: currentColor;
}

/* 44px touch targets for the cart and menu toggles. Only size them here:
   core decides when the menu toggle is displayed. */
.fb-header__cart .wc-block-mini-cart__button,
.fb-header__nav .wp-block-navigation__responsive-container-open {
	min-width: var(--wp--custom--control--size);
	min-height: var(--wp--custom--control--size);
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--ink);
	padding: 0;
}

.fb-header__cart .wc-block-mini-cart__button {
	display: flex;
}

/* WooCommerce leaves the closed cart drawer's Close button focusable while
   it's off-screen and aria-hidden. Hide it from keyboard users too. */
.wc-block-components-drawer__screen-overlay--is-hidden {
	visibility: hidden;
}

.fb-header__cta .wp-block-button__link {
	min-height: var(--wp--custom--control--size);
	display: flex;
	align-items: center;
	padding-block: 0;
	padding-inline: var(--wp--custom--control--small-padding-inline);
}

/* Button hides below 900px, where the nav needs the room. */
.wp-block-buttons.fb-header__cta {
	display: none;
}

@media (min-width: 900px) {
	.wp-block-buttons.fb-header__cta {
		display: flex;
	}
}

@media (max-width: 719px) {
	/* Mobile: logo left; cart then menu toggle on the right. */
	.fb-header__inner.fb-header__inner {
		justify-content: flex-start;
		gap: 0;
	}

	/* Child selectors outrank core's `.is-layout-flex > *` margin reset. */
	.fb-header__inner > .fb-header__actions {
		margin-left: auto;
	}

	/* Pull the toggle into the gutter so its icon lines up with the edge. */
	.fb-header__inner > .fb-header__nav {
		order: 3;
		margin-right: calc(var(--wp--custom--control--icon-inset) * -1);
	}

	.fb-header__nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	/* Core shows the inline menu from 600px; keep it in the overlay until 720px. */
	.fb-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 389px) {
	/* Small phones: scale the wordmark so it clears the cart.
	   !important to beat core's preset font-size class, which uses it. */
	.fb-brand__name.fb-brand__name {
		font-size: var(--wp--custom--header--wordmark-compact) !important;
	}
}

/* Mobile overlay menu: big display-font links. */
.fb-header__nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--gutter);
}

/* The desktop nav is centered; core's overlay reuses that setting through
   these variables. Left-align the open overlay instead. */
.fb-header__nav .is-menu-open,
.fb-header__nav .is-menu-open .wp-block-navigation__container {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
}

.fb-header__nav .is-menu-open .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--30);
}

.fb-header__nav .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--heading-sm);
	line-height: 1;
}

/* Overlay: Book a session as the main action, a solid pill. */
.fb-header__nav .is-menu-open .fb-nav-book {
	margin-top: var(--wp--preset--spacing--20);
}

.fb-header__nav .is-menu-open .fb-nav-book .wp-block-navigation-item__content {
	padding: var(--wp--custom--button--padding-block) var(--wp--preset--spacing--40);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--custom--button--font-size);
	font-weight: 700;
	line-height: 1.5;
}

/* Overlay: phone number, quieter than the page links. */
.fb-header__nav .is-menu-open .fb-nav-contact .wp-block-navigation-item__content {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
}

/* Footer ---------------------------------------------------------------- */

.fb-footer p {
	margin: 0;
}

.fb-footer__nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--ink);
}

/* Footer sign-up: the pop-up's offer, always available. */
.fb-footer-signup {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	align-items: start;
	max-width: var(--wp--style--global--wide-size);
	margin: 0 auto var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.fb-footer .fb-footer-signup__label {
	margin: 0 0 var(--wp--preset--spacing--10);
	color: var(--wp--preset--color--brand);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fb-footer-signup__title {
	margin: 0;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--heading-sm);
	font-weight: 400;
	line-height: 1;
	text-wrap: balance;
}

.fb-footer-signup__form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	align-items: end;
}

.fb-footer-signup__field {
	display: grid;
	flex: 1 1 16rem;
	gap: 0.35rem;
	color: var(--wp--preset--color--ink);
	font-weight: 500;
}

.fb-footer-signup__field input {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	min-height: 0;
	padding: 0 1.1rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--medium);
}

.fb-footer-signup__field input:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--brand);
	box-shadow: none;
}

.fb-footer-signup__form .wp-element-button {
	min-height: 48px;
	white-space: nowrap;
}

.fb-footer .fb-footer-signup__error {
	flex-basis: 100%;
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}

.fb-footer .fb-footer-signup__error:empty {
	display: none;
}

.fb-footer .fb-footer-signup__fine {
	flex-basis: 100%;
	max-width: 60ch;
}

.fb-footer .fb-footer-signup__message {
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
}

.fb-footer .fb-footer-signup__code {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	align-items: center;
	margin-block: var(--wp--preset--spacing--20);
}

.fb-footer-signup__code code {
	padding: 0.5rem 1rem;
	border: 1px dashed var(--wp--preset--color--brand);
	border-radius: 8px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--medium);
	letter-spacing: 0.08em;
}

@media (max-width: 781px) {
	.fb-footer-signup {
		grid-template-columns: 1fr;
	}
}

.fb-footer__contact a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.fb-footer__contact a:hover {
	color: var(--wp--preset--color--brand);
}

/* Social icons: muted, brand blue on hover, 44px touch targets. */
.fb-footer__social.fb-footer__social .wp-social-link {
	color: var(--wp--preset--color--ink);
}

.fb-footer__social.fb-footer__social .wp-social-link:hover {
	color: var(--wp--preset--color--brand);
}

.fb-footer__social .wp-social-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: var(--wp--custom--control--size);
	min-height: var(--wp--custom--control--size);
	padding: 0;
}

@media (max-width: 599px) {
	/* Mobile: links above the LLC line. */
	.fb-footer__inner {
		flex-direction: column-reverse;
		align-items: flex-start;
	}
}

/* Utilities --------------------------------------------------------------- */

/* The V4 mobile design drops some secondary items; these mirror it.
   !important so they win over core layout display rules. */
@media (max-width: 781px) {
	.fb-hide-mobile {
		display: none !important;
	}
}

@media (min-width: 782px) {
	.fb-show-mobile {
		display: none !important;
	}

	/* Columns on the 12-column grid: first column left, last column right. */
	.wp-block-columns.fb-split {
		justify-content: space-between;
	}

	/* Skip one grid column (column width + gutter) before this column. */
	.wp-block-column.fb-offset-1 {
		margin-inline-start: calc((100% + var(--wp--custom--grid--gutter)) / 12);
	}
}

/* Images that fill a fixed-height frame. Only reset the bottom margin:
   the top margin is the layout's block gap. */
.fb-media {
	margin-inline: 0;
	margin-bottom: 0;
}

.fb-media img {
	display: block;
	width: 100%;
	object-fit: cover;
}

/* Round coach headshot (Contact page). */
.fb-headshot {
	flex-shrink: 0;
	margin: 0;
}

.fb-headshot img {
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--wp--preset--color--brand);
}

.fb-contact-intro > p {
	flex: 1 1 0;
	min-width: 0;
}

@media (max-width: 480px) {
	.fb-headshot img {
		width: 80px !important;
		height: 80px !important;
	}
}

/* Text link with an underline rule ("Read my story", "Shop all"). */
.fb-more a {
	color: var(--wp--preset--color--ink);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: var(--wp--custom--rule--offset);
}

.fb-more a:hover {
	color: var(--wp--preset--color--brand);
}

.fb-intro {
	max-width: var(--wp--custom--measure--intro);
	margin: 0;
}

/* Section header: label + heading left, intro or link right, bottoms aligned. */
.fb-section-head.fb-section-head {
	row-gap: var(--wp--preset--spacing--30);
}

/* Hero -------------------------------------------------------------------- */

.fb-hero__lede {
	max-width: var(--wp--custom--measure--lede);
}

.fb-hero__image img {
	height: var(--wp--custom--media--hero-height);
}

/* Credibility strip under the hero buttons: items separated by dots. */
.fb-trust.fb-trust {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10) 0;
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
	list-style: none;
}

.fb-trust li:not(:last-child)::after {
	content: "·";
	margin-inline: var(--wp--preset--spacing--10);
}

/* Shop apparel: blue outline, drawn inside the edge so it matches Get coached's size. */
.fb-hero__secondary .wp-block-button__link {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--brand);
	color: var(--wp--preset--color--brand);
}

.fb-hero__secondary .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--base);
}

@media (max-width: 781px) {
	/* Mobile: Get coached and Shop apparel side by side, equal width. */
	.fb-hero__buttons {
		flex-wrap: nowrap;
	}

	.fb-hero__buttons .wp-block-button {
		flex: 1 1 0;
		min-width: 0;
	}

	.fb-hero__buttons .wp-block-button__link {
		width: 100%;
	}
}

@media (max-width: 359px) {
	/* Smallest phones: less side padding keeps both labels on one line. */
	.fb-hero__buttons .wp-block-button__link {
		padding-inline: var(--wp--preset--spacing--10);
	}
}

/* Mission ----------------------------------------------------------------- */

.fb-mission__image img {
	height: var(--wp--custom--media--mission-height);
	object-position: center 30%;
}

.fb-stats > .fb-stat {
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.fb-stat p {
	margin: 0;
}

.fb-stat__value {
	line-height: 1;
}

@media (max-width: 781px) {
	/* Mobile: one row per stat, value left and label right. */
	.fb-stats {
		border-top: 1px solid var(--wp--preset--color--line);
	}

	.fb-stats > .fb-stat {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: var(--wp--preset--spacing--30);
		padding-block: var(--wp--preset--spacing--40);
	}

	.fb-stat__label {
		text-align: right;
	}
}

@media (min-width: 782px) {
	/* Desktop: stacked, divider under all but the last. */
	.fb-stats {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--40);
	}

	.fb-stat {
		display: flex;
		flex-direction: column;
		gap: var(--wp--custom--stat--gap);
		padding-bottom: var(--wp--preset--spacing--40);
	}

	.fb-stats > .fb-stat:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}
}

/* Product cards (local sessions, apparel) --------------------------------- */

.fb-products .wc-block-product-template.wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--wp--custom--grid--card-gap);
	row-gap: var(--wp--custom--grid--card-row-gap);
	margin: 0;
	padding: 0;
}

@media (min-width: 782px) {
	.fb-products--4 .wc-block-product-template.wc-block-product-template {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.fb-products--3 .wc-block-product-template.wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Whole card is one link: the title's link covers the card. */
.fb-products .wc-block-product.wc-block-product {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	width: auto;
	margin: 0;
}

.fb-products .wc-block-components-product-image {
	margin: 0;
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
}

.fb-products--3 .wc-block-components-product-image {
	background: var(--wp--preset--color--base);
}

.fb-card__meta.fb-card__meta {
	gap: var(--wp--preset--spacing--10);
}

.fb-card__title {
	margin: 0;
	font-weight: 500;
	line-height: 1.4;
}

.fb-card__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.fb-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.fb-card__title a:hover {
	color: var(--wp--preset--color--brand);
}

.fb-card__price {
	margin: 0;
	white-space: nowrap;
}

@media (max-width: 781px) {
	/* Mobile: name above price. */
	.fb-card__meta.fb-card__meta {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Virtual session rows ---------------------------------------------------- */

.fb-rows .wc-block-product-template {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--wp--preset--color--line);
}

.fb-rows .wc-block-product.wc-block-product {
	position: relative;
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.fb-row {
	min-height: var(--wp--custom--row--height);
}

.fb-row__name.fb-row__name {
	gap: var(--wp--preset--spacing--20);
}

.fb-row__title {
	margin: 0;
	line-height: 1;
}

.fb-row__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.fb-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.fb-row__title a:hover {
	color: var(--wp--preset--color--brand);
}

/* Category tag only on the nutrition row. */
.fb-row__tag {
	position: relative;
	z-index: 1;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.fb-row__tag a {
	color: inherit;
	text-decoration: none;
}

.fb-rows .wc-block-product:not(.product_cat-nutrition) .fb-row__tag {
	display: none;
}

.fb-row__price {
	margin: 0;
	white-space: nowrap;
}

@media (min-width: 782px) {
	/* Arrow after the price (decorative). */
	.fb-row::after {
		content: "";
		flex: none;
		width: var(--wp--custom--icon--size);
		height: var(--wp--custom--icon--size);
		/* Spacing before the arrow is the row's flex gap. */
		background-color: var(--wp--preset--color--ink);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	/* Price sits next to the arrow. Child selector outranks core's
	   `.is-layout-flex > *` margin reset. */
	.fb-row > .fb-row__name {
		margin-inline-end: auto;
	}
}

/* Apparel banner ---------------------------------------------------------- */

.fb-banner img {
	height: var(--wp--custom--media--banner-height);
}

/* Client quote ------------------------------------------------------------ */

/* Client quotes: readable body type on cards, not display caps. */
.fb-quotes > .wp-block-column {
	display: flex;
}

.fb-quote.fb-quote {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: var(--wp--preset--spacing--50);
	border: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--large);
	font-style: normal;
	line-height: 1.6;
	text-transform: none;
	letter-spacing: 0;
}

.fb-quote p {
	margin: 0;
}

.fb-quote cite {
	display: block;
	margin-top: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}

.fb-quote cite strong {
	color: var(--wp--preset--color--ink);
	font-weight: 500;
}

/* FAQ (core Details blocks) ----------------------------------------------- */

.fb-faq {
	border-top: 1px solid var(--wp--preset--color--line);
}

.fb-faq .wp-block-details {
	margin: 0;
}

.fb-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	box-sizing: border-box;
	min-height: var(--wp--custom--faq--summary-height);
	padding-block: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
	list-style: none;
	cursor: pointer;
}

.fb-faq summary::-webkit-details-marker {
	display: none;
}

/* Plus/minus sign (decorative; the details element announces its state). */
.fb-faq summary::after {
	content: "+";
	flex: none;
	width: var(--wp--custom--icon--sign-size);
	text-align: center;
	font-size: var(--wp--custom--icon--sign-size);
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--muted);
}

.fb-faq details[open] summary::after {
	content: "–";
}

.fb-faq details > :not(summary) {
	margin: 0;
	padding-inline-end: var(--wp--custom--faq--answer-inset);
	padding-bottom: var(--wp--preset--spacing--40);
}

/* Closing call to action ------------------------------------------------- */

.wp-block-cover.fb-cta {
	min-height: var(--wp--custom--media--cta-height);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
}

.fb-cta .wp-block-cover__inner-container > * + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* White focus ring on the dark photo. */
.fb-cta :focus-visible {
	outline-color: var(--wp--preset--color--base);
}

@media (max-width: 781px) {
	.fb-cta .wp-block-cover__image-background {
		object-position: 30% center !important;
	}
}

/* Store (shop, product, cart, checkout) ---------------------------------- */

.fb-breadcrumbs,
.fb-breadcrumbs a {
	color: var(--wp--preset--color--muted);
}

/* WooCommerce titles inherit the display font; product names use body type. */
.wc-block-components-product-name,
.wc-block-cart-items .wc-block-components-product-name,
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

/* Section titles in the cart and checkout read as labels. */
.wc-block-components-title.wc-block-components-title,
.wc-block-cart__totals-title.wc-block-cart__totals-title,
.wc-block-cart-items__header,
.wc-block-components-checkout-step__title.wc-block-components-checkout-step__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: var(--wp--custom--label--letter-spacing);
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
}

/* Product page */
/* Gallery fills its column (WooCommerce caps it at a fixed width). */
.fb-product .woocommerce-product-gallery {
	width: 100%;
	max-width: none;
	float: none;
}

.fb-product .woocommerce-product-gallery__image img,
.fb-product .woocommerce-product-gallery img {
	border-radius: var(--wp--custom--radius--card);
}

.fb-product .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.fb-product-meta > * {
	margin: 0;
}

.fb-product-meta a {
	color: inherit;
}

/* Product page form controls: location, ZIP, free tee, size, quantity. */
.wp-block-woocommerce-add-to-cart-form select,
.wp-block-woocommerce-add-to-cart-form input[type="text"],
.wp-block-woocommerce-add-to-cart-form input[type="number"],
.wp-block-woocommerce-catalog-sorting select {
	box-sizing: border-box;
	min-height: var(--wp--custom--control--size);
	padding: 0 var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: var(--wp--custom--radius--input);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-woocommerce-add-to-cart-form select,
.wp-block-woocommerce-add-to-cart-form input[type="text"] {
	width: 100%;
	max-width: 100%;
}

.wp-block-woocommerce-add-to-cart-form .quantity input.qty {
	width: 5em;
	text-align: center;
}

.fb-option-group {
	margin: 0 0 var(--wp--preset--spacing--40);
	padding: 0;
	border: 0;
	min-width: 0;
}

.fb-option-group legend,
.wp-block-woocommerce-add-to-cart-form table.variations th label {
	margin-bottom: var(--wp--preset--spacing--10);
	padding: 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: var(--wp--custom--label--letter-spacing);
	text-transform: uppercase;
	color: var(--wp--preset--color--ink);
}

.fb-option-help {
	margin: 0 0 var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.fb-option {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	margin: 0 0 var(--wp--preset--spacing--20);
}

.fb-option label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

/* Size picker (variable products). */
.wp-block-woocommerce-add-to-cart-form table.variations,
.wp-block-woocommerce-add-to-cart-form table.variations tr,
.wp-block-woocommerce-add-to-cart-form table.variations th,
.wp-block-woocommerce-add-to-cart-form table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	text-align: left;
}

.wp-block-woocommerce-add-to-cart-form .reset_variations {
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-woocommerce-add-to-cart-form form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--wp--preset--spacing--20);
}

.wp-block-woocommerce-add-to-cart-form form.cart > *:not(.quantity):not(button) {
	flex: 1 1 100%;
}

/* Tabs */
.fb-product-details .wc-tabs li a {
	font-weight: 500;
}

/* Related products and shop grid: product titles stay body type. */
.fb-related > .wp-block-heading {
	margin-bottom: var(--wp--preset--spacing--40);
}

.fb-shop-bar.fb-shop-bar > * {
	margin: 0;
}

/* WooCommerce caps titles and account content on store pages at 1000px;
   use the site's content width instead. */
body.woocommerce-cart .wp-block-post-title,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-account .wp-block-post-title,
body.woocommerce-account main .woocommerce {
	max-width: var(--wp--style--global--wide-size);
}

/* My Account: smaller section headings, readable form width. */
body.woocommerce-account main .woocommerce h2 {
	font-size: var(--wp--preset--font-size--heading-sm);
}

body.woocommerce-account main .woocommerce form.login,
body.woocommerce-account main .woocommerce form.register,
body.woocommerce-account main .woocommerce form.lost_reset_password {
	margin: 0;
	padding: 0;
	border: 0;
}

body.woocommerce-account main .woocommerce form.lost_reset_password {
	max-width: var(--wp--custom--layout--prose);
}

/* Sign in / sign up: two cards side by side, stacked on phones. */
.fb-account-forms.fb-account-forms {
	box-sizing: border-box;
	width: 100%;
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

/* WooCommerce's float clearfix would take up grid cells. */
.fb-account-forms.fb-account-forms::before,
.fb-account-forms.fb-account-forms::after {
	content: none;
	display: none;
}

@media (min-width: 782px) {
	.fb-account-forms.fb-account-forms {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Doubled classes outrank WooCommerce's `.woocommerce .col2-set .col-1` (48% floats). */
.fb-account-forms.fb-account-forms .fb-account-forms__panel.fb-account-forms__panel {
	box-sizing: border-box;
	min-width: 0;
	float: none;
	width: auto;
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
}

.fb-account-forms__panel:first-child {
	background: var(--wp--preset--color--surface);
	border-color: var(--wp--preset--color--surface);
}

.fb-account-forms__panel h2 {
	margin: 0 0 var(--wp--preset--spacing--10);
}

.fb-account-forms__intro {
	margin: 0 0 var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--muted);
}

body.woocommerce-account .woocommerce-form-row input.input-text {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--wp--custom--control--size);
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: var(--wp--custom--radius--input);
	background: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--medium);
}

/* Session booking panel (thank-you page, My Account) ---------------------- */

.fb-booking {
	margin-block: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--50);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
}

.fb-booking > * {
	margin: 0;
}

.fb-booking > * + * {
	margin-top: var(--wp--preset--spacing--30);
}

.fb-booking__label {
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: var(--wp--custom--label--letter-spacing);
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.fb-booking__title.fb-booking__title {
	font-size: var(--wp--preset--font-size--heading-sm);
	line-height: 1;
}

.fb-booking__items {
	margin: 0 0 var(--wp--preset--spacing--20);
	padding-left: 1.2em;
}

.fb-booking__action {
	margin: 0;
}

.fb-booking__action .wp-element-button {
	display: inline-block;
}

.fb-booking__note {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.fb-booking__admin {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

/* Visually hidden, still read by screen readers. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Content pages ---------------------------------------------------------- */

/* Rounded panel (About band, Contact email card). */
.fb-card {
	border-radius: var(--wp--custom--radius--card);
}

/* Long email addresses: wrap rather than run off a phone screen. */
.fb-contact-card a {
	overflow-wrap: anywhere;
}

.fb-table table {
	border-collapse: collapse;
	width: 100%;
}

.fb-table th,
.fb-table td {
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) 0;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	text-align: left;
}

.fb-table thead {
	border-bottom: 0;
}

.fb-table th {
	font-weight: 500;
}

.fb-about-stats p {
	margin: 0;
}

/* Size guide (page, and the dialog on apparel product pages) ------------- */

.fb-size-chart {
	margin-block: var(--wp--preset--spacing--50);
}

.fb-size-chart__garment {
	margin-block: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

/* Narrow phones scroll the table, not the page. */
.fb-size-table {
	overflow-x: auto;
}

.fb-size-table table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.fb-size-table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.fb-size-table th,
.fb-size-table td {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20) var(--wp--preset--spacing--10) 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	text-align: left;
	white-space: nowrap;
}

.fb-size-table thead th {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.fb-size-chart__cm {
	margin-top: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--small);
}

.fb-size-chart__cm summary {
	cursor: pointer;
	color: var(--wp--preset--color--brand);
}

.fb-size-guide__notes {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.fb-size-guide-link {
	margin-block: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--small);
}

.fb-size-dialog {
	box-sizing: border-box;
	width: min(100% - 2 * var(--wp--preset--spacing--gutter), var(--wp--custom--layout--prose));
	max-height: calc(100dvh - 2 * var(--wp--preset--spacing--30));
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
	border: 0;
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	overflow-y: auto;
}

.fb-size-dialog::backdrop {
	background: color-mix(in srgb, var(--wp--preset--color--ink) 55%, transparent);
}

.fb-size-dialog__title {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--heading-sm);
}

.fb-size-dialog .fb-size-chart {
	margin-block: 0;
}

.fb-size-dialog__close {
	position: absolute;
	top: var(--wp--preset--spacing--10);
	right: var(--wp--preset--spacing--10);
	width: var(--wp--custom--control--size);
	height: var(--wp--custom--control--size);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--heading-sm);
	line-height: 1;
	cursor: pointer;
}

/* Sign-up offer pop-up ---------------------------------------------------- */

.fb-signup {
	box-sizing: border-box;
	width: min(100% - 2 * var(--wp--preset--spacing--gutter), var(--wp--custom--layout--prose));
	max-height: calc(100dvh - 2 * var(--wp--preset--spacing--30));
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
	border: 0;
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	overflow-y: auto;
}

.fb-signup::backdrop {
	background: color-mix(in srgb, var(--wp--preset--color--ink) 55%, transparent);
}

.fb-signup__close {
	position: absolute;
	top: var(--wp--preset--spacing--10);
	right: var(--wp--preset--spacing--10);
	width: var(--wp--custom--control--size);
	height: var(--wp--custom--control--size);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--heading-sm);
	line-height: 1;
	cursor: pointer;
}

.fb-signup__body > * {
	margin: 0;
}

.fb-signup__body > * + * {
	margin-top: var(--wp--preset--spacing--30);
}

.fb-signup__label {
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: var(--wp--custom--label--letter-spacing);
	text-transform: uppercase;
	color: var(--wp--preset--color--brand);
}

.fb-signup__title {
	font-size: var(--wp--preset--font-size--heading-sm);
	line-height: 0.95;
}

.fb-signup__lede {
	color: var(--wp--preset--color--muted);
}

.fb-signup__form > * {
	margin: 0 0 var(--wp--preset--spacing--20);
}

.fb-signup__field {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
}

.fb-signup__field label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.fb-signup__optional {
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

.fb-signup__field input {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--wp--custom--control--size);
	padding: 0 var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: var(--wp--custom--radius--input);
	font: inherit;
}

.fb-signup__consent {
	display: flex;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--label);
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.fb-signup__consent input {
	flex: none;
	width: var(--wp--custom--icon--size);
	height: var(--wp--custom--icon--size);
	margin-top: 0.15em;
}

.fb-signup__consent[hidden] {
	display: none;
}

/* Honeypot: off-screen for people, still in the form for bots. */
.fb-signup__hp {
	position: absolute;
	left: -9999px;
}

.fb-signup__error {
	color: var(--wp--preset--color--ink);
	font-weight: 500;
}

.fb-signup__error:empty {
	display: none;
}

.fb-signup__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.fb-signup__dismiss {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--muted);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.fb-signup__fine {
	font-size: var(--wp--preset--font-size--label);
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.fb-signup__code {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
}

.fb-signup__code code {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	border: 1px dashed var(--wp--preset--color--brand);
	border-radius: var(--wp--custom--radius--input);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--heading-sm);
	letter-spacing: 0.06em;
}

@media (max-width: 599px) {
	/* Phones: a sheet from the bottom. */
	.fb-signup {
		width: 100%;
		max-width: 100%;
		margin: auto 0 0;
		border-radius: var(--wp--custom--radius--card) var(--wp--custom--radius--card) 0 0;
	}
}

/* Shop tabs: All · Apparel · Coaching. */
.fb-shop-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10);
}

.fb-shop-tabs a {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--radius--pill);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--line);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-decoration: none;
}

.fb-shop-tabs a:hover {
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--brand);
	color: var(--wp--preset--color--brand);
}

.fb-shop-tabs a[aria-current="page"] {
	background-color: var(--wp--preset--color--ink);
	box-shadow: none;
	color: var(--wp--preset--color--base);
}

/* Waist-to-height calculator. */
.fb-whtr {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--50);
	background-color: var(--wp--preset--color--surface);
}

.fb-whtr p {
	margin: 0;
}

.fb-whtr__field {
	display: grid;
	gap: var(--wp--preset--spacing--10);
	margin: 0;
	padding: 0;
	border: 0;
}

.fb-whtr label,
.fb-whtr legend {
	font-weight: 500;
}

.fb-whtr legend {
	margin-bottom: var(--wp--preset--spacing--10);
	padding: 0;
}

.fb-whtr__height {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}

.fb-whtr select,
.fb-whtr input {
	min-height: var(--wp--custom--control--size);
	padding: 0 var(--wp--preset--spacing--20);
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: var(--wp--custom--radius--input);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	font: inherit;
}

.fb-whtr__height input {
	width: 5.5em;
}

.fb-whtr__field > input,
.fb-whtr__field > select {
	max-width: 20em;
}

.fb-whtr__help {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.fb-whtr__result {
	display: grid;
	gap: var(--wp--preset--spacing--10);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--line);
}

.fb-whtr__ratio {
	font-size: var(--wp--preset--font-size--large);
}

.fb-whtr__msg {
	font-weight: 700;
}

.fb-whtr__msg--pass {
	color: var(--wp--preset--color--brand);
}

/* Programs: how it works, program cards, assessment ----------------------- */

/* Space between the section's head, steps, cards, and assessment. */
.fb-programs > * + * {
	margin-top: var(--wp--preset--spacing--60);
}

.fb-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--wp--preset--spacing--30);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fb-steps li {
	display: grid;
	gap: var(--wp--preset--spacing--10);
	align-content: start;
	padding-top: var(--wp--preset--spacing--30);
	border-top: 2px solid var(--wp--preset--color--brand);
}

.fb-steps__num {
	color: var(--wp--preset--color--brand);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--heading-sm);
	line-height: 1;
}

.fb-steps span:last-child {
	color: var(--wp--preset--color--muted);
}

.fb-program-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: var(--wp--preset--spacing--30);
}

.fb-program,
.fb-assess {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	padding: var(--wp--preset--spacing--50);
	background-color: var(--wp--preset--color--surface);
}

.fb-program p,
.fb-program h3,
.fb-assess p,
.fb-assess h3 {
	margin: 0;
}

.fb-program__for {
	color: var(--wp--preset--color--brand);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fb-program__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--heading-sm);
	font-weight: 400;
	line-height: 1;
}

.fb-program__length {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.fb-program__desc {
	flex: 1;
	color: var(--wp--preset--color--muted);
}

.fb-program__options {
	display: grid;
	gap: var(--wp--preset--spacing--10);
	margin: var(--wp--preset--spacing--20) 0 0;
	padding: 0;
	list-style: none;
}

.fb-program__options a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--20);
	min-height: var(--wp--custom--control--size);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--base);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--line);
	color: var(--wp--preset--color--ink);
	font-weight: 500;
	text-decoration: none;
}

.fb-program__options a:hover {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--brand);
}

.fb-program__options small {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
}

.fb-program__price {
	color: var(--wp--preset--color--brand);
	font-weight: 700;
	white-space: nowrap;
}

.fb-assess {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40);
}

.fb-assess .fb-program__price {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--large);
}

.fb-assess__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.fb-assess__calc {
	color: var(--wp--preset--color--ink);
	font-weight: 500;
}

/* Assessment credit code (thank-you page, My Account). */
.fb-credit__code code {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* Reassurance line under Add to cart. */
.fb-reassurance {
	margin-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--muted);
}

/* Accessibility fixes (Phase 7 QA) --------------------------------------- */

/* Add to cart before a size is chosen: WooCommerce fades it to half opacity
   (2.1:1 contrast). Show it solid gray instead (5.1:1); still reads as not
   ready. */
/* Outranks WooCommerce's `.woocommerce button.button.disabled` (opacity .5). */
.woocommerce button.button.single_add_to_cart_button.disabled,
.woocommerce button.button.single_add_to_cart_button.disabled:hover {
	opacity: 1;
	background-color: var(--wp--preset--color--muted);
	color: var(--wp--preset--color--base);
	cursor: not-allowed;
}

/* Show/hide password toggle: 22px from WooCommerce; WCAG 2.2 asks for 24px+.
   Use the site's 44px control size. */
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
	top: 50%;
	transform: translateY(-50%);
	min-width: var(--wp--custom--control--size);
	min-height: var(--wp--custom--control--size);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Terms deep links (/terms/#programs, #standard-guarantee): land with breathing room and flag the target. */
.wp-block-post-content :is(h2, li)[id] {
	scroll-margin-top: var(--wp--preset--spacing--60);
}

.wp-block-post-content li:target {
	background: var(--wp--preset--color--surface);
	outline: 2px solid var(--wp--preset--color--brand);
	outline-offset: 6px;
	border-radius: 4px;
}

/* Polish pass (October 2026) ------------------------------------------- */

/* Shop page numbers: round 44px tap targets. */
.wp-block-query-pagination-numbers {
	display: inline-flex;
	gap: var(--wp--preset--spacing--10);
}

.wp-block-query-pagination-numbers .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	border-radius: 999px;
	text-decoration: none;
}

.wp-block-query-pagination-numbers a.page-numbers:hover {
	background: var(--wp--preset--color--surface);
}

.wp-block-query-pagination-numbers .page-numbers.current {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--base);
}

.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

/* Breadcrumb links: more room to tap. */
.woocommerce-breadcrumb a {
	display: inline-block;
	padding-block: 0.35rem;
}

/* Product pages: no empty space while the size isn't chosen yet. */
.woocommerce div.product form.variations_form table.variations {
	margin-bottom: var(--wp--preset--spacing--30);
}

.woocommerce div.product form.variations_form table.variations td,
.woocommerce div.product form.variations_form table.variations th {
	padding-bottom: 0;
}

.woocommerce div.product form.variations_form .fb-size-guide-link {
	margin: var(--wp--preset--spacing--10) 0 0;
}

.variations_form .reset_variations[style*="visibility: hidden"] {
	display: none;
}

.variations_form .single_variation_wrap .woocommerce-variation:empty,
.variations_form .single_variation_wrap .single_variation:empty {
	display: none;
}

/* Cart and checkout buttons: same 16px text as every other button. */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart .wc-block-components-button.contained {
	font-size: 1rem;
}

/* "Remember me" and other account checkboxes: same size as the rest of the site. */
.woocommerce-form__input-checkbox,
.woocommerce-account input[type="checkbox"] {
	width: 20px;
	height: 20px;
	accent-color: var(--wp--preset--color--brand);
	vertical-align: middle;
}

/* Tee fit note (product page under the size picker, and the size guide). */
.fb-fit-note {
	margin: var(--wp--preset--spacing--10) 0 0;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

/* Apparel page: pre-order note under the title. */
.fb-preorder-note {
	margin: var(--wp--preset--spacing--20) 0 0;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border-left: 4px solid var(--wp--preset--color--brand);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
}

/* Design v5 (October 2026) ----------------------------------------------- */
/*
 * The coming-soon page's look, carried to the site. The home page is dark:
 * `.fb-dark` swaps the light tokens for their dark counterparts, so every
 * block color class inside it flips at once. Store, cart, checkout, and
 * legal pages stay light with the same palette, cut corners, and buttons.
 * The header and footer are dark everywhere.
 */

/* Unswapped light and dark values, captured before any scope swaps tokens. */
:root {
	--fb-snow: var(--wp--preset--color--base);
	--fb-night: var(--wp--preset--color--night);
	--fb-cut: var(--wp--custom--cut--md);
	--fb-chamfer: polygon(0 0, calc(100% - var(--fb-cut)) 0, 100% var(--fb-cut), 100% 100%, var(--fb-cut) 100%, 0 calc(100% - var(--fb-cut)));
	--fb-notch: polygon(0 0, 100% 0, 100% calc(100% - var(--fb-cut)), calc(100% - var(--fb-cut)) 100%, 0 100%);
}

@property --fb-gx { syntax: "<percentage>"; inherits: false; initial-value: 82%; }
@property --fb-gy { syntax: "<percentage>"; inherits: false; initial-value: 18%; }
@property --fb-gc { syntax: "<color>"; inherits: false; initial-value: rgba(68, 152, 240, 0.34); }

/* Dark scope ------------------------------------------------------------- */

.fb-dark,
.fb-footer {
	--wp--preset--color--ink: var(--fb-snow);
	--wp--preset--color--muted: var(--wp--preset--color--mist);
	--wp--preset--color--surface: var(--wp--preset--color--panel);
	--wp--preset--color--line: var(--wp--preset--color--panel-line);
	color: var(--wp--preset--color--ink);
}

body.home {
	background-color: var(--wp--preset--color--night);
}

body.home .wp-site-blocks {
	position: relative;
	z-index: 1;
	overflow-x: clip;
}

.fb-dark a:where(:not(.wp-element-button, .wp-block-button__link)) {
	color: var(--wp--preset--color--sky);
}

.fb-dark :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.fb-footer :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.fb-header :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: var(--wp--preset--color--gold);
}

.fb-dark .is-style-label {
	color: var(--wp--preset--color--sky);
	font-weight: 700;
}

/* The spotlight: one fixed light that travels to each section. */
.fb-glow {
	--fb-gx: 82%;
	--fb-gy: 18%;
	--fb-gc: var(--wp--custom--glow--sky);
	position: fixed;
	inset: -10vh -10vw;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(52vmax 40vmax at var(--fb-gx) var(--fb-gy), var(--fb-gc), var(--wp--custom--glow--none) 72%);
	transition: --fb-gx 1.6s var(--wp--custom--ease--out), --fb-gy 1.6s var(--wp--custom--ease--out), --fb-gc 1.6s ease;
	animation: fb-lightbar 4.8s ease-in-out infinite;
}

/* Second light: gold, on its own path, slower, opposite side. The two trade
   brightness like a light bar (a slow pulse, never a flash). */
.fb-glow.fb-glow--b {
	--fb-gx: 18%;
	--fb-gy: 62%;
	--fb-gc: var(--wp--custom--glow--gold-bright);
	background: radial-gradient(40vmax 32vmax at var(--fb-gx) var(--fb-gy), var(--fb-gc), var(--wp--custom--glow--none) 72%);
	transition: --fb-gx 2.6s cubic-bezier(0.6, 0, 0.3, 1), --fb-gy 2.6s cubic-bezier(0.6, 0, 0.3, 1);
	animation-delay: -2.4s;
}

@keyframes fb-lightbar {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(1.06); }
}

/* Buttons everywhere: lift and a soft blue light on hover. */
.wp-element-button,
.wp-block-button__link {
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--wp--preset--color--royal) 80%, transparent);
}

/* Header: dark on every page, brand stripe on top ------------------------ */

header.wp-block-template-part:has(.fb-header) {
	background:
		linear-gradient(90deg, var(--wp--preset--color--royal) 0 45%, var(--wp--preset--color--sky) 45% 85%, var(--wp--preset--color--gold) 85%) top / 100% 6px no-repeat,
		var(--wp--preset--color--night);
}

.fb-brand__name a,
.fb-header__nav .wp-block-navigation-item__content,
.fb-header__account a,
.fb-header__cart .wc-block-mini-cart__button,
.fb-header__nav .wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--base);
}

.fb-header__nav.fb-header__nav,
.fb-header__nav.fb-header__nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--base);
}

.fb-header__nav.fb-header__nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--sky);
}

.fb-header__cart .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--night);
}

.fb-header__cta .is-style-outline .wp-block-button__link {
	border: 0;
	background: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--base);
}

.fb-header__cta .is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--brand-hover);
}

/* The mobile menu opens dark too. */
.fb-header__nav .wp-block-navigation__responsive-container.is-menu-open {
	--wp--preset--color--base: var(--fb-night);
	--wp--preset--color--ink: var(--fb-snow);
	--wp--preset--color--muted: var(--wp--preset--color--mist);
}

.fb-header__nav .is-menu-open .wp-block-navigation-item__content {
	color: var(--fb-snow);
}

.fb-header__nav .is-menu-open .fb-nav-book .wp-block-navigation-item__content {
	color: var(--fb-snow);
}

.fb-header__nav .is-menu-open .fb-nav-contact .wp-block-navigation-item__content {
	color: var(--wp--preset--color--mist);
}

/* Footer: dark everywhere, sign-up in a striped royal panel -------------- */

.fb-footer.fb-footer {
	background:
		linear-gradient(90deg, var(--wp--preset--color--royal) 0 45%, var(--wp--preset--color--sky) 45% 85%, var(--wp--preset--color--gold) 85%) bottom / 100% 6px no-repeat,
		var(--wp--preset--color--night) !important;
}

.fb-footer-signup {
	position: relative;
	isolation: isolate;
	padding: var(--wp--preset--spacing--50);
	border-bottom: 0;
	background: linear-gradient(135deg, var(--wp--preset--color--brand), var(--wp--preset--color--brand-hover));
	clip-path: var(--fb-chamfer);
	--fb-cut: var(--wp--custom--cut--lg);
	color: var(--fb-snow);
}

.fb-footer-signup::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--fb-snow) 5%, transparent) 0 14px, transparent 14px 28px);
}

.fb-footer .fb-footer-signup__label {
	color: var(--fb-snow);
}

.fb-footer-signup__title,
.fb-footer-signup__field,
.fb-footer .fb-footer-signup__message,
.fb-footer .fb-footer-signup__error {
	color: var(--fb-snow);
}

.fb-footer-signup__fine,
.fb-footer-signup p {
	color: var(--fb-snow);
}

.fb-footer-signup__field input {
	border-color: var(--fb-snow);
	color: var(--fb-night);
}

.fb-footer-signup__form .wp-element-button {
	background: var(--fb-night);
	color: var(--fb-snow);
}

.fb-footer-signup__code code {
	border: 2px dashed var(--wp--preset--color--gold);
	background: color-mix(in srgb, var(--fb-night) 30%, transparent);
	color: var(--fb-snow);
}

.fb-footer-signup :focus-visible,
.fb-footer-signup__field input:focus-visible {
	outline-color: var(--wp--preset--color--gold);
	border-color: var(--fb-snow);
}

.fb-footer__contact a:hover,
.fb-footer__social.fb-footer__social .wp-social-link:hover,
.fb-footer__nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--sky);
}

/* Shared pieces ----------------------------------------------------------- */

/* Badge: a cut-corner tag in the panel's accent color. */
.fb-badge.fb-badge {
	align-self: flex-start;
	padding: 5px 14px 5px 10px;
	background: var(--fb-accent, var(--wp--preset--color--royal));
	color: var(--fb-night);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* Panel: cut corners, accent bar, a light that follows the pointer. */
.fb-panel {
	--fb-accent: var(--wp--preset--color--royal);
	--fb-mx: 30%;
	--fb-my: 25%;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	clip-path: var(--fb-chamfer);
	background:
		radial-gradient(480px circle at var(--fb-mx) var(--fb-my), color-mix(in srgb, var(--fb-accent) 22%, transparent), transparent 62%),
		linear-gradient(160deg, color-mix(in srgb, var(--wp--preset--color--panel) 80%, var(--wp--preset--color--panel-line)), var(--wp--preset--color--panel) 60%);
	transition: transform 0.35s var(--wp--custom--ease--out);
}

.fb-panel::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 6px;
	background: var(--fb-accent);
}

.fb-panel::after {
	content: "";
	position: absolute;
	top: -2px;
	left: calc(100% - var(--fb-cut));
	width: calc(var(--fb-cut) * 1.42);
	height: 5px;
	background: var(--fb-accent);
	transform: rotate(45deg);
	transform-origin: 0 0;
}


/* Session clock: filled to 45 of 60 minutes. */
.fb-dial {
	position: relative;
	flex: none;
	width: clamp(150px, 15vw, 200px);
	aspect-ratio: 1;
}

.fb-dial svg {
	display: block;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.fb-dial__track { fill: none; stroke: var(--wp--preset--color--panel-line); stroke-width: 10; }
.fb-dial__ticks { fill: none; stroke: var(--wp--preset--color--mist); stroke-opacity: 0.45; stroke-width: 3; stroke-dasharray: 2 26.27; }
.fb-dial__fill { fill: none; stroke: var(--wp--preset--color--royal); stroke-width: 10; stroke-dasharray: 339.29; stroke-dashoffset: 84.82; transition: stroke-dashoffset 1.6s var(--wp--custom--ease--out) 0.2s; }

.fb-dial__read {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.fb-dial__read b {
	color: var(--fb-snow);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3.6rem, 5vw, 5rem);
	font-weight: 400;
	line-height: 0.8;
}

.fb-dial__read span {
	margin-top: 6px;
	color: var(--wp--preset--color--mist);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* Ticker: tilted gold band of brand phrases. */
.fb-ticker {
	position: relative;
	z-index: 2;
	margin-block: var(--wp--preset--spacing--60) 0;
	margin-inline: calc(var(--wp--style--root--padding-left) * -1 - 4vw) calc(var(--wp--style--root--padding-right) * -1 - 4vw) !important;
	max-width: none !important;
	overflow: hidden;
	background: var(--wp--preset--color--gold);
	color: var(--fb-night);
	transform: rotate(-2deg);
	box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--wp--preset--color--gold) 55%, transparent);
}

.fb-ticker__track {
	display: flex;
	width: max-content;
	will-change: transform;
}

.fb-ticker__run {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 14px;
	list-style: none;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.fb-ticker__run li {
	display: flex;
	align-items: center;
	gap: 28px;
}

.fb-ticker__run li::after {
	content: "\2605";
	font-size: 0.7em;
}

@media (max-width: 599px) {
	.fb-ticker {
		transform: rotate(-3deg);
	}

}

/* Home: hero ------------------------------------------------------------- */

.fb-dark .fb-hero {
	position: relative;
	isolation: isolate;
}

.fb-dark .fb-hero h1 mark {
	color: var(--wp--preset--color--sky) !important;
	background: linear-gradient(100deg, var(--wp--preset--color--sky) 0 40%, var(--fb-snow) 50%, var(--wp--preset--color--sky) 60% 100%) 100% 0 / 260% 100% no-repeat !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent;
	animation: fb-shine 3.2s 0.6s var(--wp--custom--ease--out) both;
}

@keyframes fb-shine {
	from { background-position: 100% 0; }
	to { background-position: 0 0; }
}

.fb-dark .fb-hero__lede {
	color: var(--fb-snow) !important;
	opacity: 0.9;
}

.fb-dark .fb-hero__secondary .wp-block-button__link {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--sky);
	color: var(--fb-snow);
	background: transparent;
}

.fb-dark .fb-hero__secondary .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--wp--preset--color--sky) 18%, transparent);
	color: var(--fb-snow);
}

/* Photos: cut corners. */
.fb-dark .fb-media {
	position: relative;
	isolation: isolate;
	--fb-cut: var(--wp--custom--cut--lg);
}

.fb-dark .fb-media img {
	border-radius: 0 !important;
	clip-path: var(--fb-chamfer);
}

/* Home: programs ---------------------------------------------------------- */

/* How it works: plain numbered steps under a thin blue rule. */
.fb-dark .fb-steps li {
	border-top-color: var(--wp--preset--color--royal);
}

.fb-dark .fb-steps__num {
	color: var(--wp--preset--color--sky);
}

.fb-dark .fb-program {
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) calc(var(--wp--preset--spacing--50) + 6px);
	gap: var(--wp--preset--spacing--20);
}

.fb-dark .fb-program__name {
	font-size: var(--wp--preset--font-size--heading-sm);
}

.fb-dark .fb-program__length {
	color: var(--fb-accent);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--wordmark);
	line-height: 1;
}

.fb-dark .fb-program__options a {
	border-radius: 0;
	background: color-mix(in srgb, var(--wp--preset--color--night) 88%, transparent);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--panel-line);
	color: var(--fb-snow);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
	transition: box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.fb-dark .fb-program__options a:hover {
	box-shadow: inset 0 0 0 2px var(--fb-accent);
	background: color-mix(in srgb, var(--fb-accent) 14%, transparent);
	transform: translateX(4px);
}

.fb-dark .fb-program__price {
	color: var(--wp--preset--color--gold);
}

.fb-dark .fb-assess {
	--fb-cut: var(--wp--custom--cut--md);
	padding: var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--panel);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--panel-line), inset 6px 0 0 var(--wp--preset--color--royal);
	clip-path: var(--fb-chamfer);
}

.fb-dark .fb-assess .fb-program__price {
	color: var(--wp--preset--color--gold);
}

.fb-dark .fb-assess__calc {
	color: var(--wp--preset--color--sky);
}

/* Home: product cards on dark (local sessions, apparel) ------------------- */

.fb-dark .fb-products .wc-block-product.wc-block-product {
	--fb-cut: var(--wp--custom--cut--sm);
	padding: var(--wp--preset--spacing--20);
	background: var(--wp--preset--color--panel);
	clip-path: var(--fb-chamfer);
	transition: transform 0.35s var(--wp--custom--ease--out), background-color 0.3s ease;
}

.fb-dark .fb-products .wc-block-product:hover {
	transform: translateY(-6px);
	background: color-mix(in srgb, var(--wp--preset--color--royal) 18%, var(--wp--preset--color--panel));
}

.fb-dark .fb-products .wc-block-components-product-image {
	border-radius: 0;
	clip-path: var(--fb-notch);
}

.fb-dark .fb-products .wc-block-components-product-image img {
	transition: transform 0.6s var(--wp--custom--ease--out);
}

.fb-dark .fb-products .wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.04);
}

.fb-dark .fb-apparel .fb-products .wc-block-product:hover {
	background: color-mix(in srgb, var(--wp--preset--color--gold) 14%, var(--wp--preset--color--panel));
}

.fb-dark .fb-card__meta {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--10) var(--wp--preset--spacing--10);
}

.fb-dark .fb-card__price {
	color: var(--wp--preset--color--gold) !important;
	font-weight: 700;
}

.fb-dark .fb-local .fb-section-head {
	align-items: center !important;
}

/* Home: virtual rows ------------------------------------------------------ */

.fb-dark .fb-virtual.fb-virtual {
	background: transparent !important;
}

.fb-dark .fb-rows .wc-block-product.wc-block-product {
	transition: background-color 0.3s ease;
}

.fb-dark .fb-rows .wc-block-product:hover {
	background: linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--royal) 22%, transparent), transparent 80%);
}

.fb-dark .fb-row {
	padding-inline: var(--wp--preset--spacing--20);
}

.fb-dark .fb-row::after {
	transition: transform 0.25s ease;
}

.fb-dark .fb-rows .wc-block-product:hover .fb-row::after {
	transform: translateX(6px);
	background-color: var(--wp--preset--color--sky);
}

.fb-dark .fb-row__price {
	color: var(--wp--preset--color--gold) !important;
}

/* Home: apparel band ------------------------------------------------------ */

.fb-dark .fb-apparel.fb-apparel {
	background: transparent !important;
}

.fb-dark .fb-apparel .fb-products .wc-block-components-product-image {
	background: var(--fb-snow);
}

/* Home: quotes ------------------------------------------------------------ */

.fb-dark .fb-quote.fb-quote {
	--fb-cut: var(--wp--custom--cut--md);
	position: relative;
	padding-top: calc(var(--wp--preset--spacing--50) + 2.4rem);
	border-left: 6px solid var(--wp--preset--color--sky);
	clip-path: var(--fb-chamfer);
}

.fb-dark .fb-quote.fb-quote::before {
	content: "\201C";
	position: absolute;
	top: var(--wp--preset--spacing--20);
	left: var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--sky);
	font-family: var(--wp--preset--font-family--display);
	font-size: 6rem;
	line-height: 1;
}

/* Home: FAQ --------------------------------------------------------------- */

.fb-dark .fb-faq summary::after {
	color: var(--wp--preset--color--sky);
	transition: transform 0.25s ease;
}

.fb-dark .fb-faq details[open] summary {
	color: var(--wp--preset--color--sky);
}

.fb-dark .fb-faq summary:hover {
	color: var(--wp--preset--color--sky);
}

/* Home: closing call to action ------------------------------------------- */

.fb-dark .wp-block-cover.fb-cta {
	--fb-cut: var(--wp--custom--cut--lg);
	border-radius: 0;
	clip-path: var(--fb-chamfer);
}

.fb-dark .fb-cta .wp-block-cover__background.wp-block-cover__background {
	background: linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--night) 80%, transparent), color-mix(in srgb, var(--wp--preset--color--brand) 55%, transparent)) !important;
	opacity: 1;
}

.fb-dark .fb-cta .wp-block-cover__inner-container::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--fb-snow) 4%, transparent) 0 14px, transparent 14px 28px);
	pointer-events: none;
}

.fb-dark .fb-cta h2 {
	color: var(--fb-snow) !important;
}

/* Slide-ins (only with JavaScript and without reduced motion) ------------- */

.fb-anim [data-fb-reveal] {
	transition: opacity 0.7s ease, translate 0.9s var(--wp--custom--ease--out), transform 0.35s var(--wp--custom--ease--out), background-color 0.3s ease;
}

.fb-anim [data-fb-reveal]:not(.is-in) {
	opacity: 0;
	translate: 0 40px;
}

.fb-anim .fb-program-grid > :nth-child(2) { transition-delay: 0.1s; }
.fb-anim .fb-program-grid > :nth-child(3) { transition-delay: 0.2s; }
.fb-anim .fb-products .wc-block-product:nth-child(2) { transition-delay: 0.08s; }
.fb-anim .fb-products .wc-block-product:nth-child(3) { transition-delay: 0.16s; }
.fb-anim .fb-products .wc-block-product:nth-child(4) { transition-delay: 0.24s; }
.fb-anim .fb-program-grid > .is-in,
.fb-anim .fb-products .wc-block-product.is-in:hover {
	transition-delay: 0s;
}

.fb-anim .fb-dial:not(.is-in) .fb-dial__fill {
	stroke-dashoffset: 339.29;
}

@media (prefers-reduced-motion: reduce) {
	.fb-glow,
	.fb-dark .fb-hero h1 mark {
		animation: none !important;
	}

	.fb-glow,
	.fb-panel,
	.fb-dial__fill,
	.wp-element-button,
	.wp-block-button__link,
	.fb-dark .fb-products .wc-block-product {
		transition: none !important;
	}

	.fb-dark .fb-hero h1 mark {
		background: none !important;
		-webkit-text-fill-color: currentColor;
	}

	.fb-ticker__track {
		flex-wrap: wrap;
		width: auto;
	}

	.fb-ticker__track {
		transform: none !important;
	}

	.fb-ticker__run[aria-hidden="true"] {
		display: none;
	}

	.fb-ticker__run {
		flex-wrap: wrap;
		white-space: normal;
	}
}

/* Product names stay white on dark; prices in gold. */
.fb-dark .fb-card__title a,
.fb-dark .fb-row__title a {
	color: var(--fb-snow);
}

.fb-dark .fb-card__title a:hover,
.fb-dark .fb-row__title a:hover {
	color: var(--wp--preset--color--sky);
}

.fb-dark :is(.fb-card__price, .fb-row__price) :is(.wc-block-components-product-price, .woocommerce-Price-amount, bdi, span) {
	color: var(--wp--preset--color--gold);
}

/* The former gray bands are open now: no extra padding. */
.fb-dark .fb-virtual.fb-virtual,
.fb-dark .fb-apparel.fb-apparel {
	padding-block: 0 !important;
}

/* On the home page the footer lets the spotlight through. */
body.home .fb-footer.fb-footer {
	background:
		linear-gradient(90deg, var(--wp--preset--color--royal) 0 45%, var(--wp--preset--color--sky) 45% 85%, var(--wp--preset--color--gold) 85%) bottom / 100% 6px no-repeat,
		transparent !important;
}

/* Light pages: same cut corners and brand labels ------------------------- */

.is-style-label {
	color: var(--wp--preset--color--brand);
	font-weight: 700;
}

.fb-media img,
.fb-products .wc-block-components-product-image,
.fb-card {
	--fb-cut: var(--wp--custom--cut--md);
	border-radius: 0 !important;
	clip-path: var(--fb-chamfer);
}

/* Product photos: cut bottom-right corner only (the zoom button sits top-right).
   On each photo, not the gallery wrapper: the slider gives the wrapper no
   height, so clipping it hides the photo entirely. */
.woocommerce-product-gallery .woocommerce-product-gallery__image img {
	--fb-cut: var(--wp--custom--cut--lg);
	clip-path: var(--fb-notch);
}

.fb-products .wc-block-product.wc-block-product {
	transition: transform 0.35s var(--wp--custom--ease--out);
}

.fb-products .wc-block-product:hover {
	transform: translateY(-6px);
}

.fb-products .wc-block-components-product-image img {
	transition: transform 0.6s var(--wp--custom--ease--out);
}

.fb-products .wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.04);
}

/* Page titles get the brand stripe under them. */
.wp-block-post-title:not(.fb-card__title, .fb-row__title, .fb-short-title),
.wp-block-query-title,
.woocommerce-products-header__title {
	padding-bottom: var(--wp--preset--spacing--20);
	background: linear-gradient(90deg, var(--wp--preset--color--royal) 0 45%, var(--wp--preset--color--sky) 45% 85%, var(--wp--preset--color--gold) 85%) left bottom / min(240px, 40%) 6px no-repeat;
}

@media (prefers-reduced-motion: reduce) {
	.fb-products .wc-block-product,
	.fb-products .wc-block-components-product-image img {
		transition: none !important;
	}
}

/* Calmer home (owner review): one rhythm, header that stays with you ----- */

/* The header stays at the top and tightens once the page scrolls. */
header.wp-block-template-part:has(.fb-header) {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	transition: box-shadow 0.3s ease;
}

.fb-header__inner {
	transition: min-height 0.3s var(--wp--custom--ease--out);
}

.fb-scrolled header.wp-block-template-part:has(.fb-header) {
	box-shadow: 0 12px 30px -18px color-mix(in srgb, var(--fb-night) 90%, transparent);
}

.fb-scrolled .fb-header__inner {
	min-height: var(--wp--custom--header--height-compact);
}

/* In-page links jump straight to their section and land just under the header. */
:where(section[id], [id="main"]) {
	scroll-margin-top: calc(var(--wp--custom--header--height-compact) + var(--wp--preset--spacing--30));
}

/* Every home section sits the same distance apart. */
.fb-home > :is(section, .wp-block-group).wp-block-group {
	margin-top: var(--wp--preset--spacing--90) !important;
}

.fb-home > .fb-hero.wp-block-group {
	margin-top: 0 !important;
}

.fb-home > .fb-cta-section.wp-block-group {
	margin-bottom: var(--wp--preset--spacing--80) !important;
}

/* Credentials: one quiet line. */
.fb-dark .fb-trust {
	color: var(--wp--preset--color--mist) !important;
}

/* Mission stats: a clean list with thin rules, value in white, label quiet. */
.fb-dark .fb-stat__value {
	color: var(--fb-snow);
}

/* Section heads line up the same way everywhere: label, heading, intro. */
.fb-dark .fb-section-head.fb-section-head {
	align-items: flex-end;
}

/* After an in-page jump, the section you land on is already in place. */
.fb-anim .fb-jumped [data-fb-reveal],
.fb-anim .fb-jumped[data-fb-reveal] {
	transition: none !important;
}

/* Gentler slide-in. */
.fb-anim [data-fb-reveal]:not(.is-in) {
	translate: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
	header.wp-block-template-part:has(.fb-header),
	.fb-header__inner {
		transition: none;
	}
}

.fb-dark .fb-assess .fb-program__for {
	color: var(--wp--preset--color--sky);
}

.fb-programs.fb-programs > .fb-steps {
	margin-top: var(--wp--preset--spacing--60);
}

/* Get coached: two clear choices ------------------------------------------ */

.fb-choice > * + * {
	margin-top: var(--wp--preset--spacing--30);
}

.fb-choice__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--50) !important;
}

.fb-choice__item {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) calc(var(--wp--preset--spacing--50) + 6px);
}

.fb-choice__item p {
	margin: 0;
}

.fb-choice__desc {
	color: var(--fb-snow);
	font-size: var(--wp--preset--font-size--large);
	max-width: 32rem;
}

.fb-choice__fit {
	color: var(--wp--preset--color--mist);
}

.fb-choice .fb-choice__btn {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-bottom: var(--wp--preset--spacing--20);
	padding: 0.35em 1.1em 0.3em;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--heading-sm);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.03em;
	text-decoration: none;
}

.fb-choice__btn span {
	font-size: 0.7em;
	transition: transform 0.25s ease;
}

.fb-choice__btn:hover span {
	transform: translateY(4px);
}

@media (max-width: 781px) {
	.fb-choice__grid {
		grid-template-columns: 1fr;
	}
}

/* Photos on dark: soft edges that fade into the page, a cool blue grade ---- */

.fb-dark .fb-media {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, black 16%, black 84%, transparent 100%), linear-gradient(180deg, transparent 0, black 10%, black 68%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0, black 16%, black 84%, transparent 100%), linear-gradient(180deg, transparent 0, black 10%, black 68%, transparent 100%);
	mask-composite: intersect;
}

.fb-dark .fb-media img {
	clip-path: none;
	filter: saturate(0.78) contrast(1.06) brightness(0.92);
}

.fb-dark .fb-media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--fb-night) 70%, transparent) 100%),
		linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--royal) 34%, transparent), transparent 60%);
	mix-blend-mode: normal;
}

/* The closing photo matches: no hard corners, edges fade out. */
.fb-dark .wp-block-cover.fb-cta {
	clip-path: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, black 12%, black 88%, transparent 100%), linear-gradient(180deg, transparent 0, black 14%, black 80%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0, black 12%, black 88%, transparent 100%), linear-gradient(180deg, transparent 0, black 14%, black 80%, transparent 100%);
	mask-composite: intersect;
}

.fb-dark .fb-cta .wp-block-cover__image-background {
	filter: saturate(0.8) contrast(1.05);
}

/* Faded falcon emblem: rides with the spotlight from section to section. */
.fb-emblem {
	--fb-er: -12deg;
	position: fixed;
	z-index: 0;
	left: 82%;
	top: 26%;
	width: min(44vw, 560px);
	height: auto;
	opacity: 0.07;
	transform: translate(-50%, -50%) rotate(var(--fb-er));
	transition: left 1.6s var(--wp--custom--ease--out), top 1.6s var(--wp--custom--ease--out), transform 1.6s var(--wp--custom--ease--out);
	pointer-events: none;
	user-select: none;
}

@media (max-width: 781px) {
	.fb-emblem {
		width: 78vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fb-emblem {
		transition: none;
	}
}

/* Programs caption in gold. */
.fb-dark .fb-programs .fb-intro {
	color: var(--wp--preset--color--gold) !important;
}

/* WooPayments' pay-later promo badge ("As low as $X/mo"): hidden. Program
   pages carry one quiet line instead (mu-plugin pay-later.php). */
#payment-method-message {
	display: none !important;
}

/* Standard guarantee tag on Get In Standard and PT Test Prep. */
.fb-program__guarantee {
	margin: 0;
}

.fb-program__guarantee a {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 32px;
	padding: 4px 14px;
	border: 1.5px solid var(--wp--preset--color--gold);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

.fb-program__guarantee a::before {
	content: "\2713";
	font-size: 1.1em;
	letter-spacing: 0;
}

.fb-program__guarantee a:hover {
	background: color-mix(in srgb, var(--wp--preset--color--gold) 14%, transparent);
}

/* Links page (link in bio): one dark column of tappable pills. */
body.page-template-page-links {
	background-color: var(--wp--preset--color--night);
}

.fb-links {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	isolation: isolate;
}

.fb-links::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(70vmax 45vmax at 85% 0%, var(--wp--custom--glow--sky), var(--wp--custom--glow--none) 65%),
		radial-gradient(60vmax 40vmax at 10% 100%, var(--wp--custom--glow--gold), var(--wp--custom--glow--none) 65%);
}

.fb-links .wp-block-post-content > * + * {
	margin-block-start: var(--wp--preset--spacing--30);
}

.fb-links__logo img {
	filter: drop-shadow(0 0 24px var(--wp--custom--glow--sky));
}

.fb-links__name {
	margin-block-start: var(--wp--preset--spacing--40);
}

.fb-links__motto {
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.fb-links .fb-links__list {
	gap: var(--wp--preset--spacing--20);
	margin-block-start: var(--wp--preset--spacing--60);
}

.fb-links__list .wp-block-button__link {
	display: block;
	padding: 18px 26px;
	font-size: var(--wp--preset--font-size--base);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	transition: transform 0.15s var(--wp--custom--ease, ease), border-color 0.15s ease, background-color 0.15s ease;
}

.fb-links__list .is-style-outline .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--royal);
	background-color: var(--wp--preset--color--panel);
	color: var(--wp--preset--color--base);
}

.fb-links__list .fb-links__free .wp-block-button__link {
	border-color: var(--wp--preset--color--gold);
}

.fb-links__list .fb-links__primary .wp-block-button__link {
	background-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--night);
	box-shadow: 0 0 32px var(--wp--custom--glow--gold-bright);
}

.fb-links__list .wp-block-button__link:hover {
	transform: translateY(-2px);
	border-color: var(--wp--preset--color--gold);
}

.fb-links__list .is-style-outline .wp-block-button__link:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--royal) 18%, var(--wp--preset--color--panel));
}

.fb-links__social {
	margin-block-start: var(--wp--preset--spacing--60);
	gap: var(--wp--preset--spacing--40);
	font-size: 28px;
}

.fb-links__social .wp-social-link {
	color: var(--wp--preset--color--base);
}

.fb-links__legal {
	color: var(--wp--preset--color--mist);
}

@media (prefers-reduced-motion: reduce) {
	.fb-links__list .wp-block-button__link {
		transition: none;
	}

	.fb-links__list .wp-block-button__link:hover {
		transform: none;
	}
}
