/* ==========================================================================
   Fernlea Meadow
   ========================================================================== */

/* Palettes ---------------------------------------------------------------- */

:root,
.fm-palette-sage {
	--fm-bg: #f6f4ee;
	--fm-surface: #ecede3;
	--fm-primary: #3e5a44;
	--fm-soft: #b9c8b1;
	--fm-text: #1f2a22;
	--fm-muted: #525e54;
	--fm-border: #d6dacb;
	--fm-on: #ffffff;
}

.fm-palette-clay {
	--fm-bg: #f8f2ec;
	--fm-surface: #f1e5da;
	--fm-primary: #94553a;
	--fm-soft: #e3c3ae;
	--fm-text: #2b201b;
	--fm-muted: #67564c;
	--fm-border: #e4d3c4;
}

.fm-palette-dusk {
	--fm-bg: #f3f2f6;
	--fm-surface: #e8e6ef;
	--fm-primary: #4b4670;
	--fm-soft: #c9c4dd;
	--fm-text: #22202e;
	--fm-muted: #5a566a;
	--fm-border: #d8d5e2;
}

:root {
	--fm-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--fm-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fm-gutter: clamp(20px, 5vw, 32px);
	--fm-section: clamp(64px, 9vw, 112px);
	--fm-radius: 14px;
	--fm-radius-sm: 14px;
	--fm-btn-radius: 14px;
	--fm-dot-radius: 999px;
	--fm-primary-text: var(--fm-primary);
}

/* Corner style, chosen by the customer: one radius for everything. */
.fm-corners-square { --fm-radius: 0; --fm-radius-sm: 0; --fm-btn-radius: 0; --fm-dot-radius: 0; }
.fm-corners-soft { --fm-radius: 6px; --fm-radius-sm: 6px; --fm-btn-radius: 6px; --fm-dot-radius: 6px; }
.fm-corners-rounded { --fm-radius: 14px; --fm-radius-sm: 14px; --fm-btn-radius: 14px; --fm-dot-radius: 999px; }
.fm-corners-round { --fm-radius: 24px; --fm-radius-sm: 16px; --fm-btn-radius: 999px; --fm-dot-radius: 999px; }

/* Base -------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--fm-bg);
	color: var(--fm-text);
	font-family: var(--fm-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--fm-primary-text);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--fm-text);
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
	margin: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fm-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--fm-text);
	color: var(--fm-on);
	border-radius: 8px;
}

.fm-skip:focus {
	top: 12px;
}

/* Layout ------------------------------------------------------------------ */

.fm-container {
	width: 100%;
	max-width: calc(1200px + var(--fm-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--fm-gutter);
}

.fm-narrow {
	max-width: calc(800px + var(--fm-gutter) * 2);
}

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

.fm-section--tight-top {
	padding-top: 0;
}

.fm-surface {
	background: var(--fm-surface);
}

.fm-center {
	text-align: center;
}

/* Type -------------------------------------------------------------------- */

.fm-display,
.fm-h1,
.fm-h2,
.fm-h3 {
	font-family: var(--fm-serif);
	color: var(--fm-text);
	text-wrap: balance;
}

.fm-display {
	font-weight: 300;
	font-size: clamp(40px, 5.2vw, 64px);
	line-height: 1.06;
	letter-spacing: -0.015em;
}

.fm-h1 {
	font-weight: 300;
	font-size: clamp(36px, 4.2vw, 52px);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.fm-h2 {
	font-weight: 400;
	font-size: clamp(30px, 3.3vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.005em;
}

.fm-h3 {
	font-weight: 400;
	font-size: clamp(21px, 2vw, 24px);
	line-height: 1.25;
}

.fm-eyebrow {
	font-family: var(--fm-sans);
	font-weight: 500;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fm-primary-text);
}

.fm-lead {
	font-size: clamp(17px, 1.5vw, 19px);
	line-height: 1.6;
	color: var(--fm-muted);
}

.fm-muted {
	color: var(--fm-muted);
}

.fm-small {
	font-size: 14px;
	line-height: 1.5;
}

.fm-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	font-size: 14px;
	color: var(--fm-muted);
}

.fm-meta--large {
	font-size: 16px;
}

.fm-price {
	color: var(--fm-primary-text);
	font-weight: 500;
}

.fm-eyebrow + .fm-h1,
.fm-eyebrow + .fm-h2,
.fm-eyebrow + .fm-display {
	margin-top: 16px;
}

.fm-h1 + .fm-lead,
.fm-h2 + .fm-lead,
.fm-h2 + .fm-muted,
.fm-display + .fm-lead {
	margin-top: 24px;
}

/* Buttons ----------------------------------------------------------------- */

.fm-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.fm-buttons--center {
	justify-content: center;
}

.fm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 14px 28px;
	border-radius: var(--fm-btn-radius);
	border: 1.5px solid transparent;
	font-family: var(--fm-sans);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fm-btn--primary {
	background: var(--fm-primary);
	color: var(--fm-on);
}

.fm-btn--primary:hover {
	background: var(--fm-text);
	color: var(--fm-on);
}

.fm-btn--outline {
	border-color: var(--fm-primary-text);
	color: var(--fm-primary-text);
	background: transparent;
}

.fm-btn--outline:hover {
	background: var(--fm-primary);
	color: var(--fm-on);
}

.fm-btn--outline-light {
	border-color: var(--fm-on);
	color: var(--fm-on);
	background: transparent;
}

.fm-btn--outline-light:hover {
	background: var(--fm-on);
	color: var(--fm-text);
}

.fm-btn--light {
	background: var(--fm-on);
	color: var(--fm-primary-text);
}

.fm-btn--light:hover {
	background: var(--fm-bg);
	color: var(--fm-text);
}

.fm-icon {
	width: 22px;
	height: 22px;
	flex: none;
}

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

.fm-header {
	background: var(--fm-bg);
	position: relative;
	z-index: 20;
}

.fm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 96px;
}

.fm-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--fm-text);
}

.fm-logo__text {
	font-family: var(--fm-serif);
	font-size: 24px;
	line-height: 1.2;
}

.fm-logo__img {
	max-height: 56px;
	width: auto;
}

.fm-nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.fm-nav__list {
	display: flex;
	gap: 36px;
	list-style: none;
	padding: 0;
}

.fm-nav__list a {
	color: var(--fm-text);
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
	padding-block: 6px;
	border-bottom: 1.5px solid transparent;
}

.fm-nav__list a:hover,
.fm-nav__list a[aria-current="page"] {
	border-bottom-color: var(--fm-primary-text);
}

.fm-nav__cta {
	min-height: 48px;
	padding: 12px 24px;
}

.fm-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-btn-radius);
	background: transparent;
	color: var(--fm-text);
	cursor: pointer;
}

.fm-menu-toggle__close {
	display: none;
}

.fm-menu-toggle[aria-expanded="true"] .fm-menu-toggle__open {
	display: none;
}

.fm-menu-toggle[aria-expanded="true"] .fm-menu-toggle__close {
	display: inline-flex;
}

@media (max-width: 860px) {
	.fm-header__inner {
		min-height: 76px;
	}

	.fm-menu-toggle {
		display: inline-flex;
	}

	.fm-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 12px var(--fm-gutter) 28px;
		background: var(--fm-bg);
		border-bottom: 1px solid var(--fm-border);
	}

	.fm-nav.is-open {
		display: flex;
	}

	.fm-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.fm-nav__list a {
		display: block;
		padding-block: 14px;
		font-size: 18px;
		border-bottom: 1px solid var(--fm-border);
	}

	.fm-nav__list a[aria-current="page"] {
		color: var(--fm-primary-text);
		border-bottom-color: var(--fm-border);
	}
}

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

.fm-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(540px, 52vw, 720px);
	padding-block: clamp(80px, 9vw, 120px);
	background-color: var(--fm-primary);
	background-image: var(--fm-hero-image, none);
	background-size: cover;
	background-position: center;
	color: var(--fm-on);
	isolation: isolate;
}

.fm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--fm-text);
	opacity: 0.45;
}

.fm-hero:not(.fm-hero--image)::before {
	opacity: 0.18;
}

.fm-hero__text {
	max-width: 760px;
}

.fm-hero .fm-eyebrow,
.fm-hero .fm-display,
.fm-hero .fm-lead {
	color: var(--fm-on);
}

.fm-hero .fm-lead {
	opacity: 0.92;
	max-width: 560px;
}

.fm-hero .fm-buttons {
	margin-top: 36px;
}

/* Welcome ----------------------------------------------------------------- */

.fm-welcome .fm-h2 {
	margin-top: 16px;
}

.fm-welcome .fm-lead {
	margin-top: 24px;
}

/* Featured services ------------------------------------------------------- */

.fm-split-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 80px;
	margin-bottom: 56px;
}

.fm-split-header > :first-child {
	flex: 1 1 520px;
}

.fm-split-header > p {
	flex: 0 1 420px;
}

.fm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 36px;
	margin-bottom: 48px;
}

.fm-card {
	display: flex;
	flex-direction: column;
	background: var(--fm-bg);
	border-radius: var(--fm-radius);
	overflow: hidden;
}

.fm-card__image img {
	width: 100%;
	aspect-ratio: 376 / 220;
	object-fit: cover;
}

.fm-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 28px 32px;
	flex: 1;
}

.fm-card__body .fm-meta {
	margin-top: auto;
	padding-top: 4px;
}

/* Meet -------------------------------------------------------------------- */

.fm-meet__inner {
	display: grid;
	grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 96px);
	align-items: center;
}

.fm-meet--no-photo .fm-meet__inner {
	grid-template-columns: minmax(0, 800px);
}

.fm-meet__img {
	width: 100%;
	aspect-ratio: 480 / 580;
	object-fit: cover;
	border-radius: var(--fm-radius);
}

.fm-meet__text > * + * {
	margin-top: 24px;
}

.fm-meet__text .fm-eyebrow + .fm-h2 {
	margin-top: 16px;
}

.fm-checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 24px;
	list-style: none;
	padding: 0;
}

.fm-checks li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.fm-checks .fm-icon {
	color: var(--fm-primary-text);
	margin-top: 1px;
}

/* Why --------------------------------------------------------------------- */

.fm-why__heading {
	max-width: 640px;
}

.fm-why__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 40px 60px;
	list-style: none;
	padding: 0;
	margin-top: 56px;
}

.fm-why__item {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fm-why__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--fm-dot-radius);
	background: var(--fm-soft);
	font-family: var(--fm-serif);
	font-size: 22px;
	color: var(--fm-text);
}

/* Testimonials ------------------------------------------------------------ */

.fm-slider {
	margin-top: 40px;
}

.fm-slider__track {
	display: grid;
}

.fm-quote {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
}

.fm-quote.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s;
}

.fm-quote blockquote p {
	font-family: var(--fm-serif);
	font-style: italic;
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.4;
	max-width: 34ch;
	margin-inline: auto;
}

.fm-quote figcaption {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.fm-quote__name {
	font-weight: 500;
}

.fm-slider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 36px;
}

.fm-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-btn-radius);
	background: transparent;
	color: var(--fm-text);
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}

.fm-slider__arrow:hover,
.fm-slider__arrow:focus-visible {
	border-color: var(--fm-primary);
	color: var(--fm-primary-text);
}

.fm-slider__dots {
	display: flex;
	gap: 10px;
}

.fm-slider__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: var(--fm-dot-radius);
	background: var(--fm-text);
	opacity: 0.2;
	cursor: pointer;
	transition: opacity 0.2s;
}

.fm-slider__dot.is-active {
	opacity: 0.8;
	background: var(--fm-primary);
}

@media (prefers-reduced-motion: reduce) {
	.fm-quote,
	.fm-quote.is-active {
		transform: none;
		transition: none;
	}
}

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

.fm-cta {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(420px, 38vw, 560px);
	padding-block: var(--fm-section);
	background-color: var(--fm-primary);
	background-image: var(--fm-cta-image, none);
	background-size: cover;
	background-position: center;
	color: var(--fm-on);
	text-align: center;
	isolation: isolate;
}

.fm-cta--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--fm-text);
	opacity: 0.5;
}

.fm-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 760px;
}

.fm-cta .fm-h1,
.fm-cta .fm-lead {
	color: var(--fm-on);
}

.fm-cta--image .fm-h1,
.fm-cta--image .fm-lead {
	color: #fff;
}

.fm-cta .fm-lead {
	margin-top: 24px;
	opacity: 0.9;
}

.fm-cta .fm-btn {
	margin-top: 32px;
}

.fm-cta__ph-label {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 1;
}

/* Treatments page --------------------------------------------------------- */

.fm-page-header .fm-lead {
	max-width: 720px;
	margin-inline: auto;
}

.fm-rows .fm-container {
	display: flex;
	flex-direction: column;
	gap: clamp(64px, 8vw, 112px);
}

.fm-row {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.fm-row--reverse .fm-row__image {
	order: 2;
}

.fm-row--no-image {
	grid-template-columns: minmax(0, 760px);
}

.fm-row__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--fm-radius);
}

.fm-row__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.fm-row__text .fm-btn {
	margin-top: 8px;
}

/* Contact page ------------------------------------------------------------ */

.fm-contact-header {
	padding-bottom: clamp(40px, 5vw, 64px);
}

.fm-contact-header__title {
	max-width: 820px;
}

.fm-page-header .fm-contact-header__intro {
	max-width: 680px;
	margin-inline: 0;
}

.fm-contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}

.fm-form-card {
	padding: clamp(28px, 4vw, 48px);
	background: var(--fm-surface);
	border-radius: var(--fm-radius);
	scroll-margin-top: 24px;
}

.fm-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 24px;
}

.fm-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fm-field label {
	font-size: 14px;
	font-weight: 500;
}

.fm-field input,
.fm-field textarea {
	width: 100%;
	min-height: 54px;
	padding: 14px 18px;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-sm);
	background: var(--fm-bg);
	color: var(--fm-text);
	font: inherit;
}

.fm-field textarea {
	min-height: 150px;
	resize: vertical;
}

.fm-field input:focus,
.fm-field textarea:focus {
	outline: 2px solid var(--fm-primary);
	outline-offset: 1px;
	border-color: var(--fm-primary-text);
}

.fm-consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 14px;
	color: var(--fm-muted);
}

.fm-consent input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	flex: none;
	accent-color: var(--fm-primary);
}

.fm-form .fm-btn {
	align-self: flex-start;
}

.fm-notice {
	margin-top: 20px;
	padding: 14px 18px;
	border-radius: var(--fm-radius-sm);
	font-size: 15px;
}

.fm-notice--success {
	background: var(--fm-bg);
	border-left: 4px solid var(--fm-primary);
}

.fm-notice--error {
	background: #fbeceb;
	border-left: 4px solid #b3261e;
	color: #5c1712;
}

.fm-details {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-top: 8px;
}

.fm-detail .fm-eyebrow {
	margin-bottom: 8px;
}

.fm-directions {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	border-radius: var(--fm-radius);
	background: var(--fm-soft);
	color: var(--fm-text);
	text-decoration: none;
}

.fm-directions:hover {
	color: var(--fm-text);
	background: color-mix(in srgb, var(--fm-soft) 80%, var(--fm-primary));
}

.fm-directions__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--fm-dot-radius);
	background: var(--fm-bg);
	color: var(--fm-primary-text);
	flex: none;
}

.fm-directions__text {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.fm-directions__title {
	font-family: var(--fm-serif);
	font-size: 20px;
	line-height: 1.25;
}

/* FAQ --------------------------------------------------------------------- */

.fm-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.fm-faq__item {
	border-bottom: 1px solid var(--fm-border);
}

.fm-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 26px;
	cursor: pointer;
	list-style: none;
}

.fm-faq__item summary::-webkit-details-marker {
	display: none;
}

.fm-faq__item summary .fm-icon {
	color: var(--fm-primary-text);
	transition: transform 0.2s ease;
}

.fm-faq__item[open] summary .fm-icon {
	transform: rotate(45deg);
}

.fm-faq__item p {
	padding-bottom: 28px;
	max-width: 680px;
}

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

.fm-footer {
	background: var(--fm-text);
	color: var(--fm-on);
	padding-top: 88px;
	padding-bottom: 48px;
}

.fm-footer a {
	color: var(--fm-on);
	text-decoration: none;
}

.fm-footer a:hover {
	text-decoration: underline;
}

.fm-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 240px));
	gap: 48px 80px;
}

.fm-footer__name {
	font-family: var(--fm-serif);
	font-size: clamp(30px, 3.3vw, 40px);
	line-height: 1.15;
}

.fm-footer__text {
	margin-top: 12px;
	max-width: 380px;
	opacity: 0.8;
}

.fm-footer .fm-eyebrow {
	color: var(--fm-on);
	opacity: 0.6;
	margin-bottom: 14px;
}

.fm-footer__list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fm-social {
	display: flex;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin-top: 20px;
}

.fm-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid color-mix(in srgb, var(--fm-on) 35%, transparent);
	border-radius: var(--fm-dot-radius);
}

.fm-social a:hover {
	background: color-mix(in srgb, var(--fm-on) 12%, transparent);
	text-decoration: none;
}

.fm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid color-mix(in srgb, var(--fm-on) 25%, transparent);
	font-size: 14px;
}

.fm-footer__bottom p {
	opacity: 0.7;
}

/* Generic pages ----------------------------------------------------------- */

.fm-prose > * + * {
	margin-top: 1.1em;
}

.fm-prose h2 {
	font-family: var(--fm-serif);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.2;
	margin-top: 1.8em;
}

.fm-prose h3 {
	font-family: var(--fm-serif);
	font-weight: 400;
	font-size: 22px;
	margin-top: 1.5em;
}

.fm-prose ul,
.fm-prose ol {
	padding-left: 1.3em;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 960px) {
	.fm-meet__inner,
	.fm-row,
	.fm-contact__inner,
	.fm-faq__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.fm-row--reverse .fm-row__image {
		order: 0;
	}

	.fm-meet__photo {
		max-width: 480px;
	}

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

	.fm-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.fm-checks,
	.fm-footer__cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.fm-hero .fm-btn {
		flex: 1 1 100%;
	}

	.fm-footer {
		padding-top: 64px;
	}
}

/* Hero without a photo: keep the main button visible on the plain colour. */
.fm-hero:not(.fm-hero--image) .fm-btn--primary {
	background: var(--fm-on);
	color: var(--fm-primary-text);
}


/* Image placeholders ---------------------------------------------------- */

.fm-ph {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	background:
		radial-gradient(110% 90% at 85% 10%, color-mix(in srgb, var(--fm-soft) 85%, transparent) 0, transparent 62%),
		radial-gradient(90% 80% at 8% 100%, color-mix(in srgb, var(--fm-primary) 20%, transparent) 0, transparent 66%),
		color-mix(in srgb, var(--fm-soft) 45%, var(--fm-surface));
	color: color-mix(in srgb, var(--fm-primary-text) 55%, transparent);
}

.fm-ph svg {
	width: clamp(44px, 12%, 72px);
	height: auto;
	opacity: 0.55;
}

.fm-ph__label {
	display: none;
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	padding: 7px 14px;
	border-radius: var(--fm-btn-radius);
	background: var(--fm-bg);
	color: var(--fm-text);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.35);
}

.fm-editor-view .fm-ph__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.fm-editor-view .fm-ph {
	outline: 2px dashed color-mix(in srgb, var(--fm-primary-text) 45%, transparent);
	outline-offset: -10px;
}

.fm-card__image .fm-ph { aspect-ratio: 376 / 220; }
.fm-row__image .fm-ph { aspect-ratio: 4 / 3; border-radius: var(--fm-radius); }
.fm-meet__photo .fm-ph { aspect-ratio: 480 / 580; border-radius: var(--fm-radius); }

.fm-hero__ph-label {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 1;
}

.fm-editor-view .fm-hero:not(.fm-hero--image) .fm-hero__ph-label,
.fm-editor-view .fm-cta:not(.fm-cta--image) .fm-cta__ph-label {
	display: inline-flex;
	position: absolute;
	left: auto;
	transform: none;
}

.fm-ph__label .fm-icon { width: 16px; height: 16px; }
