/**
 * Flowwork Theme main stylesheet.
 *
 * Global design foundation only. Components are added in later sprints.
 */

/* 1. Design Tokens */
:root {
	--fw-color-background: #faf6f8;
	--fw-color-surface: #ffffff;
	--fw-color-text: #302c42;
	--fw-color-text-muted: color-mix(in oklab, #302c42 72%, transparent);
	--fw-color-primary: #302c42;
	--fw-color-primary-contrast: #faf6f8;
	--fw-color-button: #7773a5;
	--fw-color-button-hover: #6b6795;
	--fw-color-secondary: #eddae5;
	--fw-color-accent: #b4a5f9;
	--fw-color-rose: #f9d4e0;
	--fw-color-yellow: #ffdf8f;
	--fw-color-peach: #ffc7ae;
	--fw-color-border: #e8dce4;
	--fw-color-input: #eadfe6;
	--fw-color-focus: #b4a5f9;
	--fw-color-error: #c84343;

	--fw-font-body: "merriweather", Georgia, serif;
	--fw-font-heading: "sofia-pro", system-ui, sans-serif;
	--fw-font-ui: "sofia-pro", system-ui, sans-serif;

	--fw-text-xs: 0.75rem;
	--fw-text-sm: 0.875rem;
	--fw-text-base: 1rem;
	--fw-text-md: 1.125rem;
	--fw-text-lg: 1.125rem;
	--fw-text-xl: 1.25rem;
	--fw-text-2xl: 2rem;
	--fw-text-3xl: 3rem;
	--fw-text-hero: 1.25rem;

	--fw-leading-tight: 1.05;
	--fw-leading-heading: 1.15;
	--fw-leading-body: 1.6;

	--fw-container-max: 80rem;
	--fw-content-max: 48rem;
	--fw-copy-max: 42rem;
	--fw-form-max: 36rem;
	--fw-hero-content-max: 54rem;
	--fw-hero-title-max: 18ch;
	--fw-hero-title-max-with-media: 14ch;
	--fw-section-header-max: 64rem;
	--fw-page-padding: 1.5rem;
	--fw-page-padding-lg: 2.5rem;

	--fw-space-2xs: 0.5rem;
	--fw-space-xs: 0.75rem;
	--fw-space-sm: 1rem;
	--fw-space-md: 1.5rem;
	--fw-space-lg: 2rem;
	--fw-space-xl: 3rem;
	--fw-space-2xl: 5rem;
	--fw-space-3xl: 7rem;
	--fw-section-y: clamp(3rem, 7vw, 5rem);
	--fw-section-y-lg: clamp(5rem, 9vw, 7rem);
	--fw-hero-y: clamp(6rem, 12vw, 9rem);

	--fw-radius-sm: 0.5rem;
	--fw-radius-md: 0.75rem;
	--fw-radius-lg: 1rem;
	--fw-radius-card: 1.5rem;
	--fw-radius-panel: 1.75rem;
	--fw-radius-pill: 999px;

	--fw-shadow-soft: 0 10px 40px -15px color-mix(in oklab, #302c42 18%, transparent);
	--fw-shadow-glow: 0 20px 60px -20px color-mix(in oklab, #b4a5f9 50%, transparent);
	--fw-shadow-focus: 0 0 0 3px color-mix(in oklab, #b4a5f9 30%, transparent);

	--fw-gradient-hero: linear-gradient(135deg, #ffffff 0%, #b4a5f9 50%, #f9d4e0 100%);
	--fw-gradient-warm: linear-gradient(135deg, #ffffff 0%, #ffdf8f 55%, #ffc7ae 100%);
	--fw-gradient-blush: linear-gradient(135deg, #faf6f8 0%, #eddae5 70%, #f9d4e0 100%);
	--fw-gradient-soft: linear-gradient(180deg, #faf6f8 0%, #ffffff 100%);
}

/* 2. Base */
html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--fw-color-background);
	color: var(--fw-color-text);
	font-family: var(--fw-font-body);
	font-size: var(--fw-text-base);
	line-height: var(--fw-leading-body);
	text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

button,
input,
textarea,
select {
	font: inherit;
}

a {
	color: var(--fw-color-primary);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

:focus-visible {
	outline: 2px solid var(--fw-color-focus);
	outline-offset: 3px;
}

/* 3. Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--fw-color-text);
	font-family: var(--fw-font-heading);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: var(--fw-leading-heading);
	margin-block: 0 0.75em;
	text-wrap: balance;
}

h1 {
	font-size: var(--fw-text-hero);
	line-height: var(--fw-leading-tight);
}

h2 {
	font-size: 1.25rem;
}

h3 {
	font-size: 1.125rem;
}

h4 {
	font-size: var(--fw-text-xl);
}

@media (min-width: 40rem) {
	:root {
		--fw-text-hero: 3rem;
	}
}

@media (min-width: 48rem) {
	:root {
		--fw-text-hero: 3.75rem;
	}

	h2 {
		font-size: 3.75rem;
	}

	h3 {
		font-size: 1.5rem;
	}
}

@media (min-width: 64rem) {
	:root {
		--fw-text-hero: 4.5rem;
	}
}

p,
ul,
ol {
	margin-block: 0 1.25rem;
}

p,
li {
	line-height: var(--fw-leading-body);
}

strong,
b {
	font-weight: 700;
}

small {
	font-size: var(--fw-text-sm);
}

/* 4. Layout */
.fw-container,
.wp-site-blocks > .alignwide {
	margin-inline: auto;
	max-width: var(--fw-container-max);
	padding-inline: var(--fw-page-padding);
	width: 100%;
}

.fw-container--content,
.wp-site-blocks > .alignnormal {
	margin-inline: auto;
	max-width: var(--fw-content-max);
	padding-inline: var(--fw-page-padding);
	width: 100%;
}

.fw-container--copy {
	margin-inline: auto;
	max-width: var(--fw-copy-max);
	padding-inline: var(--fw-page-padding);
	width: 100%;
}

.site-main > :where(:not(.alignfull):not(.fw-section):not(.fw-hero)),
.fw-front-page > :where(:not(.alignfull):not(.fw-section):not(.fw-hero)) {
	margin-inline: auto;
	max-width: var(--fw-container-max);
	padding-inline: var(--fw-page-padding);
	width: 100%;
}

.site-main > .fw-section__header,
.fw-front-page > .fw-section__header {
	max-width: var(--fw-container-max);
}

.fw-section {
	padding-block: var(--fw-section-y);
}

.fw-section--large {
	padding-block: var(--fw-section-y-lg);
}

@media (min-width: 64rem) {
	.fw-container,
	.fw-container--content,
	.fw-container--copy,
	.site-main > :where(:not(.alignfull):not(.fw-section):not(.fw-hero)),
	.fw-front-page > :where(:not(.alignfull):not(.fw-section):not(.fw-hero)),
	.wp-site-blocks > .alignwide,
	.wp-site-blocks > .alignnormal {
		padding-inline: var(--fw-page-padding-lg);
	}
}

/* 5. Utilities */
.fw-u-text-balance {
	text-wrap: balance;
}

.fw-u-muted {
	color: var(--fw-color-text-muted);
}

.fw-u-gradient-hero {
	background-image: var(--fw-gradient-hero);
}

.fw-u-gradient-warm {
	background-image: var(--fw-gradient-warm);
}

.fw-u-gradient-blush {
	background-image: var(--fw-gradient-blush);
}

.fw-u-gradient-soft {
	background-image: var(--fw-gradient-soft);
}

.fw-u-shadow-soft {
	box-shadow: var(--fw-shadow-soft);
}

.fw-u-shadow-glow {
	box-shadow: var(--fw-shadow-glow);
}

.fw-u-sr-only {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* 6. WordPress Core Compatibility */
.has-background-background-color {
	background-color: var(--fw-color-background);
}

.has-surface-background-color {
	background-color: var(--fw-color-surface);
}

.alignwide {
	max-width: var(--fw-container-max);
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

/* 7. Header */
.fw-skip-link {
	background: var(--fw-color-primary);
	color: var(--fw-color-primary-contrast);
	font-family: var(--fw-font-ui);
	font-weight: 700;
	left: var(--fw-space-sm);
	padding: var(--fw-space-xs) var(--fw-space-sm);
	position: fixed;
	top: var(--fw-space-sm);
	transform: translateY(calc(-100% - var(--fw-space-lg)));
	z-index: 1000;
}

.fw-skip-link:focus {
	transform: translateY(0);
}

.fw-site-header {
	background: color-mix(in oklab, var(--fw-color-background) 82%, transparent);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid color-mix(in oklab, var(--fw-color-border) 55%, transparent);
	position: sticky;
	top: 0;
	z-index: 100;
}

.fw-site-header__inner {
	align-items: center;
	display: flex;
	gap: var(--fw-space-md);
	justify-content: space-between;
	margin-inline: auto;
	max-width: var(--fw-container-max);
	min-height: 6rem;
	padding-inline: var(--fw-page-padding);
	width: 100%;
}

.fw-site-header__brand {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
}

.fw-site-header__brand .custom-logo-link,
.fw-site-footer__brand .custom-logo-link {
	display: inline-flex;
}

.fw-site-header__brand .custom-logo {
	height: auto;
	max-height: 4rem;
	width: auto;
}

.fw-site-header__site-name,
.fw-site-footer__site-name {
	color: inherit;
	font-family: var(--fw-font-heading);
	font-size: var(--fw-text-xl);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.fw-site-header__nav {
	display: none;
}

.fw-nav-list,
.fw-mobile-nav-list,
.fw-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fw-nav-list {
	align-items: center;
	display: flex;
	gap: var(--fw-space-lg);
}

.fw-nav-list a {
	color: var(--fw-color-text);
	font-family: var(--fw-font-ui);
	font-size: var(--fw-text-xl);
	text-decoration: none;
}

.fw-nav-list a:hover,
.fw-nav-list .current-menu-item > a {
	font-weight: 600;
}

.fw-header-cta {
	align-items: center;
	background: var(--fw-color-button);
	border-radius: var(--fw-radius-pill);
	color: var(--fw-color-primary-contrast);
	display: none;
	font-family: var(--fw-font-ui);
	font-size: var(--fw-text-base);
	font-weight: 700;
	gap: var(--fw-space-xs);
	justify-content: center;
	line-height: 1.2;
	padding: 1rem 1.5rem;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.fw-header-cta:hover {
	background: var(--fw-color-button-hover);
	transform: translateY(-1px);
}

.fw-menu-toggle,
.fw-menu-close {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--fw-color-text);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--fw-font-ui);
	font-weight: 700;
	gap: var(--fw-space-xs);
	justify-content: center;
	padding: var(--fw-space-xs);
}

.fw-menu-toggle__icon,
.fw-menu-toggle__icon::before,
.fw-menu-toggle__icon::after {
	background: currentColor;
	border-radius: var(--fw-radius-pill);
	display: block;
	height: 2px;
	width: 1.5rem;
}

.fw-menu-toggle__icon {
	position: relative;
}

.fw-menu-toggle__icon::before,
.fw-menu-toggle__icon::after {
	content: "";
	left: 0;
	position: absolute;
}

.fw-menu-toggle__icon::before {
	top: -0.45rem;
}

.fw-menu-toggle__icon::after {
	top: 0.45rem;
}

.fw-mobile-navigation {
	background-image: var(--fw-gradient-hero);
	display: flex;
	flex-direction: column;
	inset: 0;
	min-height: 100vh;
	position: fixed;
	z-index: 200;
}

.fw-mobile-navigation[hidden] {
	display: none;
}

.fw-mobile-navigation__bar {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 6rem;
	padding-inline: var(--fw-page-padding);
}

.fw-menu-close {
	font-size: 2rem;
	line-height: 1;
}

.fw-mobile-navigation__nav {
	align-items: center;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--fw-space-lg);
	justify-content: center;
	padding: var(--fw-space-xl) var(--fw-page-padding);
	text-align: center;
}

.fw-mobile-nav-list {
	display: grid;
	gap: var(--fw-space-md);
}

.fw-mobile-nav-list a {
	color: var(--fw-color-text);
	font-family: var(--fw-font-ui);
	font-size: 1.5rem;
	font-weight: 500;
	text-decoration: none;
}

.fw-header-cta--mobile {
	display: inline-flex;
	margin-top: var(--fw-space-sm);
}

body.fw-mobile-nav-open {
	overflow: hidden;
}

@media (min-width: 48rem) {
	.fw-site-header__inner {
		padding-inline: var(--fw-page-padding-lg);
	}

	.fw-site-header__nav {
		display: block;
	}

	.fw-header-cta {
		display: inline-flex;
	}

	.fw-menu-toggle,
	.fw-mobile-navigation {
		display: none;
	}
}

/* 8. Footer */
.fw-site-footer {
	background: var(--fw-color-primary);
	color: var(--fw-color-primary-contrast);
}

.fw-site-footer a {
	color: color-mix(in oklab, var(--fw-color-primary-contrast) 76%, transparent);
	text-decoration: none;
}

.fw-site-footer a:hover {
	color: var(--fw-color-primary-contrast);
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.fw-site-footer__inner {
	display: grid;
	gap: var(--fw-space-xl);
	margin-inline: auto;
	max-width: var(--fw-container-max);
	padding: var(--fw-space-xl) var(--fw-page-padding);
	width: 100%;
}

.fw-site-footer__brand .custom-logo {
	filter: brightness(0) invert(1);
	height: auto;
	max-height: 3rem;
	width: auto;
}

.fw-site-footer__tagline {
	color: color-mix(in oklab, var(--fw-color-primary-contrast) 72%, transparent);
	max-width: 24rem;
	text-transform: uppercase;
}

.fw-site-footer__heading {
	color: var(--fw-color-primary-contrast);
	font-family: var(--fw-font-heading);
	font-size: var(--fw-text-base);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 var(--fw-space-sm);
}

.fw-footer-list {
	display: grid;
	font-size: var(--fw-text-sm);
	gap: var(--fw-space-xs);
}

.fw-site-footer__contact {
	color: color-mix(in oklab, var(--fw-color-primary-contrast) 76%, transparent);
}

.fw-site-footer__bottom {
	border-top: 1px solid color-mix(in oklab, var(--fw-color-primary-contrast) 12%, transparent);
	color: color-mix(in oklab, var(--fw-color-primary-contrast) 64%, transparent);
	font-size: var(--fw-text-xs);
	margin-inline: auto;
	max-width: var(--fw-container-max);
	padding: var(--fw-space-md) var(--fw-page-padding);
	width: 100%;
}

.fw-site-footer__bottom p {
	margin: 0;
}

@media (min-width: 48rem) {
	.fw-site-footer__inner {
		grid-template-columns: 2fr 1fr 1fr 1fr;
		padding-inline: var(--fw-page-padding-lg);
	}

	.fw-site-footer__bottom {
		padding-inline: var(--fw-page-padding-lg);
	}
}

/* 9. Base Components */
.fw-container--wide {
	margin-inline: auto;
	max-width: var(--fw-container-max);
	padding-inline: var(--fw-page-padding);
	width: 100%;
}

.fw-container--narrow {
	margin-inline: auto;
	max-width: var(--fw-form-max);
	padding-inline: var(--fw-page-padding);
	width: 100%;
}

.fw-section {
	min-height: 50vh;
	padding-block: var(--fw-section-y);
	position: relative;
}

.fw-section--soft {
	background-image: var(--fw-gradient-soft);
}

.fw-section--warm {
	background-image: var(--fw-gradient-warm);
}

.fw-section--center {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.fw-section--full {
	min-height: 100vh;
}

.fw-section--compact {
	min-height: auto;
	padding-block: var(--fw-space-xl);
}

.fw-section__header {
	margin-block-end: clamp(var(--fw-space-lg), 6vw, var(--fw-space-2xl));
	max-width: var(--fw-section-header-max);
}

.fw-section__title {
	font-size: 1.25rem;
	line-height: var(--fw-leading-tight);
	margin-block: var(--fw-space-md) 0;
}

.fw-section__intro {
	color: var(--fw-color-text);
	font-size: var(--fw-text-md);
	margin-block-start: var(--fw-space-md);
	max-width: var(--fw-copy-max);
}

.fw-eyebrow,
.fw-badge {
	align-items: center;
	border: 1px solid currentColor;
	border-radius: var(--fw-radius-pill);
	color: var(--fw-color-text);
	display: inline-flex;
	font-family: var(--fw-font-ui);
	font-size: var(--fw-text-lg);
	font-weight: 400;
	gap: var(--fw-space-xs);
	line-height: 1.2;
	padding: 0.375rem var(--fw-space-sm);
	text-transform: uppercase;
}

.fw-badge {
	background: color-mix(in oklab, var(--fw-color-background) 82%, transparent);
	border: 0;
	font-size: var(--fw-text-sm);
	font-weight: 800;
	text-transform: none;
}

.fw-button {
	align-items: center;
	background: var(--fw-color-button);
	border: 1px solid transparent;
	border-radius: var(--fw-radius-md);
	color: var(--fw-color-primary-contrast);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--fw-font-ui);
	font-size: var(--fw-text-md);
	font-weight: 500;
	gap: var(--fw-space-xs);
	justify-content: center;
	line-height: 1.2;
	min-height: 2.75rem;
	padding: 0.75rem var(--fw-space-md);
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.fw-button:hover {
	background: var(--fw-color-button-hover);
	color: var(--fw-color-primary-contrast);
	transform: translateY(-1px);
}

.fw-button:active {
	transform: translateY(0);
}

.fw-button--primary,
.fw-button--cta {
	background: var(--fw-color-button);
	box-shadow: var(--fw-shadow-soft);
	color: var(--fw-color-primary-contrast);
}

.fw-button--soft {
	background: var(--fw-color-secondary);
	color: var(--fw-color-text);
}

.fw-button--soft:hover {
	background: var(--fw-color-rose);
	color: var(--fw-color-text);
}

.fw-button--outline {
	background: transparent;
	border-color: currentColor;
	color: var(--fw-color-text);
}

.fw-button--outline:hover {
	background: var(--fw-color-text);
	border-color: var(--fw-color-text);
	color: var(--fw-color-primary-contrast);
}

.fw-button--link {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--fw-color-text);
	min-height: auto;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.fw-button--link:hover {
	background: transparent;
	color: var(--fw-color-text);
	transform: none;
}

.fw-button--large {
	border-radius: var(--fw-radius-pill);
	font-size: var(--fw-text-md);
	font-weight: 600;
	min-height: 3.5rem;
	padding: 1.25rem var(--fw-space-lg);
}

.fw-button--small {
	font-size: var(--fw-text-sm);
	min-height: 2.25rem;
	padding: 0.5rem var(--fw-space-sm);
}

.fw-button--full {
	width: 100%;
}

.wp-block-button {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: inherit;
	display: inline-block;
	min-height: 0;
	padding: 0;
	transition: none;
}

.wp-block-button:hover,
.wp-block-button:active {
	background: transparent;
	color: inherit;
	transform: none;
}

.wp-block-button .wp-block-button__link {
	align-items: center;
	background: var(--fw-color-button);
	border: 1px solid transparent;
	border-radius: var(--fw-radius-pill);
	color: var(--fw-color-primary-contrast);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--fw-font-ui);
	font-size: var(--fw-text-md);
	font-weight: 600;
	gap: var(--fw-space-xs);
	justify-content: center;
	line-height: 1.2;
	min-height: 3.5rem;
	padding: 1.25rem var(--fw-space-lg);
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.wp-block-button:hover .wp-block-button__link {
	background: var(--fw-color-button-hover);
	color: var(--fw-color-primary-contrast);
	transform: translateY(-1px);
}

.wp-block-button:active .wp-block-button__link {
	transform: translateY(0);
}

.wp-block-button.fw-button--primary .wp-block-button__link,
.wp-block-button.fw-button--cta .wp-block-button__link {
	background: var(--fw-color-button);
	box-shadow: var(--fw-shadow-soft);
	color: var(--fw-color-primary-contrast);
}

.wp-block-button.fw-button--soft .wp-block-button__link {
	background: var(--fw-color-secondary);
	color: var(--fw-color-text);
}

.wp-block-button.fw-button--soft:hover .wp-block-button__link {
	background: var(--fw-color-rose);
	color: var(--fw-color-text);
}

.wp-block-button.fw-button--outline .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
	color: var(--fw-color-text);
}

.wp-block-button.fw-button--outline:hover .wp-block-button__link {
	background: var(--fw-color-text);
	border-color: var(--fw-color-text);
	color: var(--fw-color-primary-contrast);
}

.wp-block-button.fw-button--link .wp-block-button__link {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--fw-color-text);
	min-height: auto;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.wp-block-button.fw-button--link:hover .wp-block-button__link {
	background: transparent;
	color: var(--fw-color-text);
	transform: none;
}

.wp-block-button.fw-button--large .wp-block-button__link {
	border-radius: var(--fw-radius-pill);
	font-size: var(--fw-text-md);
	font-weight: 600;
	min-height: 3.5rem;
	padding: 1.25rem var(--fw-space-lg);
}

.wp-block-button.fw-button--small .wp-block-button__link {
	font-size: var(--fw-text-sm);
	min-height: 2.25rem;
	padding: 0.5rem var(--fw-space-sm);
}

.wp-block-button.fw-button--full,
.wp-block-button.fw-button--full .wp-block-button__link {
	width: 100%;
}

.fw-card {
	background: var(--fw-color-surface);
	border: 1px solid color-mix(in oklab, var(--fw-color-border) 70%, transparent);
	border-radius: var(--fw-radius-card);
	box-shadow: var(--fw-shadow-soft);
	color: var(--fw-color-text);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.fw-card--flat {
	box-shadow: none;
}

.fw-card--panel {
	border-radius: var(--fw-radius-panel);
}

.fw-card--interactive {
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fw-card--interactive:hover {
	border-color: color-mix(in oklab, var(--fw-color-accent) 45%, transparent);
	box-shadow: var(--fw-shadow-glow);
	transform: translateY(-0.25rem);
}

.fw-card--accent {
	background: var(--fw-color-secondary);
}

.fw-card--lavender {
	background: var(--fw-color-accent);
}

.fw-card--warm {
	background: var(--fw-gradient-warm);
}

.fw-card__media {
	aspect-ratio: 16 / 10;
	background: var(--fw-color-secondary);
	overflow: hidden;
}

.fw-card__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.fw-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: var(--fw-space-lg);
}

.fw-card > * + *,
.fw-card__body > * + * {
	margin-block-start: var(--fw-space-md);
}

.fw-card > .wp-block-group.fw-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
}

.fw-card__title {
	font-size: var(--fw-text-lg);
	margin-block-end: var(--fw-space-xs);
}

.fw-card__text {
	color: color-mix(in oklab, var(--fw-color-text) 84%, transparent);
}

.fw-card__body > :last-child {
	margin-block-end: 0;
}

.fw-card :where(h2, h3, h4, h5, h6),
.fw-card__body :where(h2, h3, h4, h5, h6) {
	line-height: var(--fw-leading-tight);
	margin-block: 0;
}

.fw-card :where(h2),
.fw-card__body h2 {
	font-size: clamp(var(--fw-text-2xl), 3vw, 2.75rem);
}

.fw-card :where(h3),
.fw-card__body h3 {
	font-size: var(--fw-text-lg);
}

.fw-card :where(h4),
.fw-card__body h4 {
	font-size: var(--fw-text-md);
}

.fw-card :where(h5, h6),
.fw-card__body h5,
.fw-card__body h6 {
	font-size: var(--fw-text-base);
}

.fw-card :where(p, ul, ol, blockquote),
.fw-card__body :where(p, ul, ol, blockquote) {
	color: color-mix(in oklab, var(--fw-color-text) 84%, transparent);
	margin-block-end: 0;
	margin-block-start: 0;
}

.fw-card :where(h1, h2, h3, h4, h5, h6) + :where(p, ul, ol, blockquote),
.fw-card__body :where(h1, h2, h3, h4, h5, h6) + :where(p, ul, ol, blockquote) {
	margin-block-start: var(--fw-space-md);
}

.fw-card :where(h1, h2, h3, h4, h5, h6) + :where(h2, h3, h4, h5, h6),
.fw-card__body :where(h1, h2, h3, h4, h5, h6) + :where(h2, h3, h4, h5, h6) {
	margin-block-start: var(--fw-space-sm);
}

.fw-card :where(p, ul, ol, blockquote) + :where(p, ul, ol, blockquote),
.fw-card__body :where(p, ul, ol, blockquote) + :where(p, ul, ol, blockquote) {
	margin-block-start: var(--fw-space-sm);
}

.fw-card :where(p, ul, ol, blockquote) + :where(h2, h3, h4, h5, h6),
.fw-card__body :where(p, ul, ol, blockquote) + :where(h2, h3, h4, h5, h6) {
	margin-block-start: var(--fw-space-lg);
}

.fw-card :where(ul, ol),
.fw-card__body :where(ul, ol) {
	padding-inline-start: 1.2em;
}

.fw-card :where(li + li),
.fw-card__body :where(li + li) {
	margin-block-start: 0.5rem;
}

.fw-card__body :where(blockquote, .wp-block-quote) {
	border: 0;
	font-style: italic;
	padding: 0;
}

.fw-card__body :where(blockquote, .wp-block-quote)::before {
	color: var(--fw-color-accent);
	content: "”";
	display: block;
	font-family: var(--fw-font-heading);
	font-size: 2rem;
	font-style: normal;
	font-weight: 800;
	line-height: 1;
	margin-block-end: var(--fw-space-xs);
}

.fw-card__body :where(blockquote p, .wp-block-quote p) {
	font-size: inherit;
	font-style: italic;
}

.fw-card__body :where(blockquote cite, .wp-block-quote cite) {
	color: var(--fw-color-text);
	display: block;
	font-family: var(--fw-font-heading);
	font-style: normal;
	font-weight: 700;
	margin-block-start: var(--fw-space-sm);
}

.fw-card--quote .fw-card__body {
	gap: var(--fw-space-sm);
}

.fw-card--quote .fw-card__body :where(p) {
	font-style: italic;
}

.fw-card--quote .fw-card__body :where(p:last-child) {
	color: var(--fw-color-text);
	font-family: var(--fw-font-heading);
	font-style: normal;
	font-weight: 700;
}

.editor-styles-wrapper .block-editor-block-list__layout.fw-card,
.editor-styles-wrapper .block-editor-block-list__layout.fw-card__body,
.editor-styles-wrapper .block-editor-block-list__layout.fw-grid {
	display: block !important;
}

.editor-styles-wrapper .block-editor-block-list__layout.fw-card__body > * + *,
.editor-styles-wrapper .block-editor-block-list__layout.fw-grid > * + * {
	margin-block-start: var(--fw-space-md);
}

.fw-cta {
	background: var(--fw-color-secondary);
	border-radius: var(--fw-radius-panel);
	box-shadow: var(--fw-shadow-soft);
	padding: clamp(var(--fw-space-lg), 5vw, var(--fw-space-2xl));
}

.fw-cta--glow {
	box-shadow: var(--fw-shadow-glow);
}

.fw-cta--gradient {
	background-image: var(--fw-gradient-hero);
}

.fw-grid {
	align-items: start;
	display: grid;
	gap: var(--fw-space-md);
}

.wp-block-group.fw-grid {
	align-items: start !important;
	display: grid !important;
}

.fw-grid > .wp-block-group {
	align-self: start;
	margin-block-start: 0 !important;
}

.fw-grid > .fw-card {
	align-self: start;
	display: flex;
	margin-block-start: 0 !important;
	width: 100%;
}

.wp-block-group.fw-grid > .wp-block-group.fw-card {
	align-self: start !important;
	display: flex !important;
	flex-direction: column;
	margin-block-start: 0 !important;
	width: 100%;
}

.fw-grid > .fw-card > .fw-card__body {
	flex: 1 1 auto;
	width: 100%;
}

.wp-block-group.fw-grid > .wp-block-group.fw-card > .wp-block-group.fw-card__body {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.fw-grid--2,
.fw-grid--3,
.fw-grid--4 {
	grid-template-columns: 1fr;
}

.fw-grid--center {
	align-items: center;
}

.fw-grid--large-gap {
	gap: var(--fw-space-lg);
}

@media (min-width: 48rem) {
	.fw-container--wide,
	.fw-container--narrow {
		padding-inline: var(--fw-page-padding-lg);
	}

	.fw-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fw-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.fw-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.editor-styles-wrapper .wp-block-group.fw-grid.block-editor-block-list__layout,
.editor-styles-wrapper .wp-block-columns.fw-grid.block-editor-block-list__layout {
	display: block !important;
}

.editor-styles-wrapper .wp-block-group.fw-grid > .wp-block-group.fw-card,
.editor-styles-wrapper .wp-block-columns.fw-grid > .wp-block-column {
	display: block !important;
	margin-block-start: var(--fw-space-md) !important;
}

.editor-styles-wrapper .wp-block-group.fw-grid > .wp-block-group.fw-card:first-child,
.editor-styles-wrapper .wp-block-columns.fw-grid > .wp-block-column:first-child {
	margin-block-start: 0 !important;
}

.editor-styles-wrapper .wp-block-group.fw-grid > .wp-block-group.fw-card > .wp-block-group.fw-card__body,
.editor-styles-wrapper .wp-block-group.fw-card > .wp-block-group.fw-card__body,
.editor-styles-wrapper .wp-block-group.fw-card__body.block-editor-block-list__layout {
	display: block !important;
	height: auto !important;
	min-height: 4rem;
}

/* 10. Hero */
.fw-hero {
	background-image: var(--fw-gradient-hero);
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(4.75rem, 10vw, 8rem) var(--fw-section-y);
	position: relative;
}

.fw-hero::after {
	background: linear-gradient(180deg, transparent 0%, var(--fw-color-background) 100%);
	block-size: clamp(8rem, 18vw, 16rem);
	content: "";
	inset-block-end: 0;
	inset-inline: 0;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.fw-hero__background {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: -2;
}

.fw-hero__orb {
	border-radius: var(--fw-radius-pill);
	filter: blur(4rem);
	inline-size: clamp(14rem, 30vw, 24rem);
	opacity: 0.42;
	position: absolute;
}

.fw-hero__orb::before {
	aspect-ratio: 1;
	content: "";
	display: block;
}

.fw-hero__orb--yellow {
	background: var(--fw-color-yellow);
	inset-block-start: -7rem;
	inset-inline-end: -7rem;
}

.fw-hero__orb--peach {
	background: var(--fw-color-peach);
	inset-block-end: -8rem;
	inset-inline-start: -5rem;
}

.fw-hero__inner {
	margin-inline: auto;
	max-width: var(--fw-container-max);
	padding-inline: var(--fw-page-padding);
	position: relative;
	width: 100%;
	z-index: 1;
}

.fw-hero__layout {
	align-items: center;
	display: grid;
	gap: clamp(var(--fw-space-2xl), 7vw, var(--fw-space-4xl));
}

.fw-hero__content {
	max-width: min(100%, var(--fw-hero-content-max));
	text-align: left;
}

.fw-hero:not(.fw-hero--has-media) .fw-hero__content {
	max-width: min(100%, var(--fw-hero-content-max));
}

.fw-hero__title {
	font-size: var(--fw-text-hero);
	hyphens: manual;
	line-height: var(--fw-leading-tight);
	margin-block: var(--fw-space-lg) 0;
	max-width: var(--fw-hero-title-max);
	text-wrap: balance;
}

.fw-hero__text {
	font-size: clamp(var(--fw-text-base), 2vw, var(--fw-text-xl));
	margin-block: var(--fw-space-lg) 0;
	max-width: min(100%, 42rem);
}

.fw-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--fw-space-sm);
	margin-block-start: var(--fw-space-xl);
}

.fw-hero__media {
	display: flex;
	isolation: isolate;
	justify-content: center;
	margin-inline: auto;
	max-width: min(100%, 24rem);
	position: relative;
}

.fw-hero__image {
	display: block;
	filter: drop-shadow(0 1.5rem 2.25rem rgba(66, 40, 25, 0.16));
	height: auto;
	inline-size: min(100%, 24rem);
	object-fit: contain;
}

@media (max-width: 47.98rem) {
	.fw-hero {
		padding-block-start: clamp(4rem, 18vw, 5.5rem);
	}

	.fw-hero__layout {
		gap: var(--fw-space-2xl);
	}

	.fw-hero__title {
		font-size: var(--fw-text-hero);
		max-width: 11ch;
	}

	.fw-hero__media {
		max-width: min(82vw, 20rem);
	}
}

@media (min-width: 48rem) {
	.fw-hero--has-media .fw-hero__layout {
		grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
	}

	.fw-hero__media {
		justify-content: flex-end;
		margin-inline: 0;
		max-width: none;
	}

	.fw-hero__image {
		inline-size: min(34vw, 30rem);
	}
}

@media (min-width: 64rem) {
	.fw-hero__inner {
		padding-inline: var(--fw-page-padding-lg);
	}

	.fw-hero--has-media .fw-hero__layout {
		grid-template-columns: minmax(0, 1fr) minmax(20rem, 32rem);
	}

	.fw-hero--has-media .fw-hero__title {
		max-width: var(--fw-hero-title-max-with-media);
	}

	.fw-hero__image {
		inline-size: min(32vw, 32rem);
	}
}

/* 11. Front Page Intro Sections */
.fw-home-section {
	overflow: hidden;
}

.fw-section--soft,
.fw-home-section--soft {
	background-image: var(--fw-gradient-soft);
}

.fw-section-copy {
	font-size: var(--fw-text-base);
	margin-block: calc(-1 * var(--fw-space-lg)) var(--fw-space-xl);
	max-width: var(--fw-copy-max);
}

.fw-section-copy p:last-child {
	margin-block-end: 0;
}

.fw-home-card .fw-card__body {
	padding: clamp(var(--fw-space-lg), 4vw, var(--fw-space-xl));
}

.fw-home-card .fw-card__title {
	font-size: 1.125rem;
}

.fw-home-card .fw-card__text {
	font-size: var(--fw-text-base);
}

@media (min-width: 48rem) {
	.fw-section__title {
		font-size: 3.75rem;
	}

	.fw-home-card .fw-card__title {
		font-size: 1.5rem;
	}

	.fw-home-card .fw-card__text {
		font-size: var(--fw-text-xl);
	}
}

/* 12. Front Page Workshop Teaser */
.fw-workshop-teaser {
	max-width: var(--fw-content-max);
}

.fw-workshop-teaser__body {
	padding: clamp(var(--fw-space-lg), 5vw, var(--fw-space-2xl));
}

.fw-workshop-teaser__header {
	margin-block-end: var(--fw-space-lg);
}

.fw-workshop-teaser__title {
	font-size: clamp(var(--fw-text-xl), 3vw, var(--fw-text-2xl));
	margin-block: var(--fw-space-md) var(--fw-space-xs);
}

.fw-workshop-teaser__text {
	color: color-mix(in oklab, var(--fw-color-text) 80%, transparent);
	font-size: clamp(var(--fw-text-base), 1.8vw, var(--fw-text-lg));
	margin-block-end: 0;
}

.fw-check-list {
	display: grid;
	gap: var(--fw-space-sm);
	list-style: none;
	margin: 0 0 var(--fw-space-lg);
	padding: 0;
}

.fw-check-list li {
	align-items: flex-start;
	display: flex;
	font-size: clamp(var(--fw-text-base), 1.8vw, var(--fw-text-lg));
	gap: var(--fw-space-sm);
}

.fw-check-list li::before {
	align-items: center;
	background: var(--fw-color-primary);
	border-radius: var(--fw-radius-pill);
	color: var(--fw-color-primary-contrast);
	content: "✓";
	display: inline-flex;
	flex: 0 0 1.25rem;
	font-family: var(--fw-font-ui);
	font-size: var(--fw-text-sm);
	font-weight: 800;
	height: 1.25rem;
	justify-content: center;
	line-height: 1;
	margin-block-start: 0.2rem;
	width: 1.25rem;
}

.fw-workshop-teaser__meta {
	font-family: var(--fw-font-ui);
	font-size: var(--fw-text-sm);
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-block: 0 var(--fw-space-lg);
	text-transform: uppercase;
}

.fw-workshop-teaser__actions {
	border-top: 1px solid color-mix(in oklab, var(--fw-color-border) 70%, transparent);
	padding-block-start: var(--fw-space-lg);
}

/* 13. Front Page Testimonials and FAQ */
.fw-testimonial-card {
	border: 0;
}

.fw-testimonial-card__body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: clamp(var(--fw-space-lg), 4vw, var(--fw-space-xl));
}

.fw-testimonial-card__mark {
	color: var(--fw-color-accent);
	font-family: var(--fw-font-heading);
	font-size: 3rem;
	font-weight: 800;
	line-height: 0.8;
	margin-block: 0 var(--fw-space-sm);
}

.fw-testimonial-card__quote {
	font-style: italic;
	margin: 0;
}

.fw-testimonial-card__quote p {
	font-size: clamp(var(--fw-text-base), 1.5vw, var(--fw-text-lg));
	margin-block-end: 0;
}

.fw-testimonial-card__name {
	font-family: var(--fw-font-heading);
	font-size: var(--fw-text-lg);
	font-weight: 700;
	margin-block: var(--fw-space-md) 0;
}

.fw-faq-list {
	display: grid;
	gap: var(--fw-space-sm);
	max-width: var(--fw-content-max);
}

.fw-faq-item {
	background: var(--fw-color-surface);
	border: 1px solid color-mix(in oklab, var(--fw-color-border) 70%, transparent);
	border-radius: var(--fw-radius-card);
	box-shadow: var(--fw-shadow-soft);
	overflow: hidden;
}

.fw-faq-item__question,
.fw-faq-item > summary {
	cursor: pointer;
	font-family: var(--fw-font-heading);
	font-size: clamp(var(--fw-text-base), 1.8vw, var(--fw-text-lg));
	font-weight: 800;
	list-style: none;
	padding: var(--fw-space-md) var(--fw-space-lg);
	position: relative;
}

.fw-faq-item__question::-webkit-details-marker,
.fw-faq-item > summary::-webkit-details-marker {
	display: none;
}

.fw-faq-item__question::after,
.fw-faq-item > summary::after {
	content: "+";
	font-family: var(--fw-font-ui);
	font-weight: 800;
	position: absolute;
	right: var(--fw-space-lg);
	top: 50%;
	transform: translateY(-50%);
}

.fw-faq-item[open] .fw-faq-item__question::after,
.fw-faq-item[open] > summary::after {
	content: "-";
}

.fw-faq-item__answer {
	color: color-mix(in oklab, var(--fw-color-text) 84%, transparent);
	padding: 0 var(--fw-space-lg) var(--fw-space-md);
}

.fw-faq-item__answer p {
	margin-block-end: 0;
}
