﻿/* =============================================================
   Femmy Creative Hub â€” main stylesheet
   Mobile first. Tokens as custom properties. Reduced motion safe.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
	--fch-teal: #1A8080;
	--fch-blue: #2563EB;
	--fch-white: #FFFFFF;
	--fch-alt: #F7FAFA;
	--fch-ink: #14202B;
	--fch-ink-soft: #45555F;
	--fch-line: rgba(20, 32, 43, 0.08);
	--fch-gradient: linear-gradient(96deg, var(--fch-teal), var(--fch-blue));
	--fch-gradient-soft: linear-gradient(96deg, rgba(26,128,128,0.10), rgba(37,99,235,0.10));
	--fch-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--fch-sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fch-radius: 24px;
	--fch-shadow: 0 2px 6px rgba(20,32,43,0.04), 0 12px 32px rgba(20,32,43,0.07);
	--fch-shadow-lift: 0 6px 14px rgba(20,32,43,0.06), 0 24px 56px rgba(26,128,128,0.16);
	--fch-glow: 0 8px 30px rgba(26,128,128,0.35);
	--fch-ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
	--fch-header-h: 72px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--fch-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--fch-ink);
	background: var(--fch-white);
	overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--fch-teal); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--fch-serif); font-weight: 600; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid rgba(26,128,128,0.55); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden; white-space: nowrap;
}
.fch-skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--fch-ink); color: #fff; padding: 10px 18px; z-index: 300; border-radius: 0 0 12px 0;
}
.fch-skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.fch-container { width: min(1360px, 94vw); margin-inline: auto; }
.fch-narrow { width: min(820px, 92vw); }
.fch-center { text-align: center; }
.fch-section { padding: clamp(64px, 10vw, 120px) 0; }
.fch-section-alt { background: var(--fch-alt); }
.fch-page-pad { padding: calc(var(--fch-header-h) + 48px) 0 80px; }

.fch-h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.fch-h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 0.9em; }
.fch-h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.fch-section-sub { color: var(--fch-ink-soft); max-width: 620px; font-size: 1.1rem; margin-bottom: 2.2em; }
.fch-center .fch-section-sub { margin-inline: auto; }
.fch-eyebrow {
	font-family: var(--fch-sans); font-size: 0.8rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--fch-teal); margin-bottom: 1.1em;
}
.fch-serif-italic { font-family: var(--fch-serif); font-style: italic; font-weight: 500; }
.fch-gradient-text {
	background: var(--fch-gradient);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: var(--fch-teal);
}
.fch-fineprint { font-size: 0.9rem; color: var(--fch-ink-soft); }
.fch-soft-push { margin-top: 3em; font-family: var(--fch-serif); font-style: italic; font-size: 1.15rem; color: var(--fch-ink-soft); }

/* ---------- Buttons ---------- */
.fch-btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	text-align: center;
	transition: transform 0.35s var(--fch-ease-spring), box-shadow 0.35s ease, background-color 0.25s ease, color 0.25s ease;
	will-change: transform;
}
.fch-btn-lg { padding: 17px 36px; font-size: 1.06rem; }
.fch-btn-gradient { background: var(--fch-gradient); color: #fff; box-shadow: var(--fch-glow); }
.fch-btn-gradient:hover { transform: scale(1.045); box-shadow: 0 10px 40px rgba(26,128,128,0.5); color: #fff; }
.fch-btn-ghost { border-color: var(--fch-teal); color: var(--fch-teal); background: transparent; }
.fch-btn-ghost:hover { background: rgba(26,128,128,0.07); transform: translateY(-2px); }
.fch-btn-light { background: #fff; color: var(--fch-teal); box-shadow: 0 8px 30px rgba(0,0,0,0.18); }
.fch-btn-light:hover { transform: scale(1.045); }

/* ---------- Scroll progress ---------- */
.fch-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 220; background: transparent; }
.fch-progress span { display: block; height: 100%; width: 0; background: var(--fch-gradient); }

/* ---------- Header ---------- */
.fch-header {
	position: fixed; inset: 0 0 auto 0; z-index: 200;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
	padding: 14px 0;
}
.fch-header.is-transparent { background: transparent; }
.fch-header.is-solid, .fch-header.is-scrolled, .fch-header.has-open-mega {
	background: rgba(255,255,255,0.9);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--fch-line), 0 8px 30px rgba(20,32,43,0.06);
	padding: 8px 0;
}
.fch-header-inner { display: flex; align-items: center; gap: 16px; }
.fch-brand { margin-right: auto; min-width: 0; }
.fch-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fch-ink); font-weight: 700; }
.fch-logo-mark {
	display: block; width: 34px; height: 34px; object-fit: contain;
	background: transparent; border: 0; border-radius: 0; box-shadow: none; flex: none;
}
.fch-logo-text {
	font-family: var(--fch-serif);
	font-size: clamp(1rem, 0.6rem + 1vw, 1.2rem);
	letter-spacing: -0.01em;
	white-space: nowrap; /* the wordmark never wraps */
}

/* Top level */
.fch-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.fch-nav-item { position: static; }
.fch-nav-link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; text-decoration: none;
	color: var(--fch-ink); font-weight: 500; font-size: 0.95rem;
	position: relative; white-space: nowrap;
	background: none; border: 0; font-family: inherit; cursor: pointer;
}
.fch-nav-link::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
	background: var(--fch-gradient); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--fch-ease-spring);
}
.fch-nav-link:hover::after, .fch-mega-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.fch-caret {
	width: 7px; height: 7px; flex: none;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.3s var(--fch-ease-spring);
}
.fch-mega-toggle[aria-expanded="true"] .fch-caret { transform: rotate(225deg) translateY(-2px); }

.fch-header-cta { flex: none; padding: 11px 22px; font-size: 0.92rem; white-space: nowrap; }

/* Mega panels (desktop: full-width sheet under the header) */
.fch-mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff;
	border-radius: 0 0 var(--fch-radius) var(--fch-radius);
	box-shadow: 0 30px 60px rgba(20,32,43,0.14), 0 1px 0 var(--fch-line) inset;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	pointer-events: none;
	transition: opacity 0.28s ease, transform 0.28s var(--fch-ease-spring), visibility 0s linear 0.28s;
}
.fch-mega.is-open {
	opacity: 1; visibility: visible; transform: translateY(0);
	pointer-events: auto;
	transition: opacity 0.28s ease, transform 0.28s var(--fch-ease-spring);
}
.fch-mega-inner { padding: 34px 0 26px; }
.fch-mega-grid { display: grid; gap: 8px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fch-mega-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.fch-mega-card {
	display: flex; align-items: flex-start; gap: 14px;
	padding: 14px 16px; border-radius: 16px; text-decoration: none;
	transition: background-color 0.25s ease, transform 0.3s var(--fch-ease-spring);
}
.fch-mega-card:hover { background: var(--fch-alt); transform: translateY(-2px); }
.fch-mega-card .fch-icon-circle { width: 44px; height: 44px; margin: 0; flex: none; }
.fch-mega-card .fch-icon-circle svg { width: 20px; height: 20px; }
.fch-mega-card-text { display: block; min-width: 0; }
.fch-mega-card-text strong { display: block; color: var(--fch-ink); font-family: var(--fch-serif); font-size: 1.05rem; margin-bottom: 2px; }
.fch-mega-card-text span { display: block; color: var(--fch-ink-soft); font-size: 0.86rem; line-height: 1.45; }
.fch-mega-card:hover .fch-mega-card-text strong { color: var(--fch-teal); }
.fch-mega-col { min-width: 0; }
.fch-mega-sublinks { list-style: none; margin: 2px 0 0; padding: 0 16px 0 74px; display: grid; gap: 2px; }
.fch-mega-sublinks a {
	display: inline-block; padding: 5px 0; text-decoration: none;
	color: var(--fch-ink-soft); font-size: 0.88rem; font-weight: 500;
	transition: color 0.2s ease, transform 0.25s var(--fch-ease-spring);
}
.fch-mega-sublinks a:hover { color: var(--fch-teal); transform: translateX(3px); }
.fch-mega-footer {
	margin-top: 22px; padding: 16px 20px;
	background: var(--fch-gradient-soft);
	border-radius: 16px;
	display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
}
.fch-mega-footer a { text-decoration: none; color: var(--fch-ink); font-size: 0.92rem; font-weight: 600; }
.fch-mega-footer a:hover { color: var(--fch-teal); }
.fch-mega-footer-cta { color: var(--fch-teal) !important; white-space: nowrap; }

/* Hamburger */
.fch-nav-toggle { display: inline-flex; background: none; border: 0; padding: 10px; }
.fch-nav-toggle-box { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.fch-nav-toggle-box span { height: 2px; border-radius: 2px; background: var(--fch-ink); transition: transform 0.25s ease, opacity 0.25s ease; }
.fch-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fch-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fch-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer with accordions */
@media (max-width: 899px) {
	.fch-nav-menu {
		display: none;
		position: fixed; left: 0; right: 0; top: var(--fch-header-h); bottom: 0;
		background: rgba(255,255,255,0.98);
		-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
		flex-direction: column;
		overflow-y: auto; overscroll-behavior: contain;
		padding: 10px 4vw calc(20px + env(safe-area-inset-bottom));
	}
	.fch-nav-menu.is-open { display: flex; }
	.fch-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.fch-nav-item { border-bottom: 1px solid var(--fch-line); }
	.fch-nav-link { width: 100%; justify-content: space-between; padding: 16px 6px; font-size: 1.05rem; }
	.fch-nav-link::after { display: none; }
	.fch-mega {
		position: static; opacity: 1; visibility: visible; transform: none;
		pointer-events: auto; box-shadow: none; border-radius: 0;
		display: none; transition: none;
	}
	.fch-mega.is-open { display: block; }
	.fch-mega-inner { padding: 0 0 16px; width: 100%; }
	.fch-mega-grid, .fch-mega-grid-3 { grid-template-columns: 1fr; gap: 2px; }
	.fch-mega-card { padding: 10px 6px; }
	.fch-mega-card:hover { transform: none; }
	.fch-mega-sublinks { padding-left: 64px; }
	.fch-mega-footer { margin-top: 12px; flex-direction: column; align-items: flex-start; }
	.fch-drawer-cta { margin-top: auto; padding: 20px 6px 8px; }
	.fch-drawer-cta .fch-btn { display: block; }
}

@media (min-width: 900px) {
	.fch-nav-toggle { display: none; }
	.fch-nav-menu { display: block; }
	.fch-drawer-cta { display: none; }
}
@media (max-width: 480px) {
	.fch-header-cta { display: none; } /* the drawer CTA and floating bar cover it */
	.fch-logo { gap: 8px; }
	.fch-logo-mark { width: 30px; height: 30px; }
	.fch-logo-text { font-size: 0.98rem; }
}

/* ---------- Hero ---------- */
.fch-hero {
	position: relative;
	padding: calc(var(--fch-header-h) + clamp(48px, 9vw, 110px)) 0 clamp(64px, 9vw, 110px);
	overflow: hidden;
}
.fch-hero-mesh {
	position: absolute; inset: -20% -10% auto; height: 120%;
	background:
		radial-gradient(42% 55% at 22% 30%, rgba(26,128,128,0.16), transparent 70%),
		radial-gradient(38% 50% at 78% 22%, rgba(37,99,235,0.14), transparent 70%),
		radial-gradient(30% 40% at 60% 80%, rgba(26,128,128,0.08), transparent 70%);
	animation: fch-breathe 12s ease-in-out infinite alternate;
	pointer-events: none;
}
@keyframes fch-breathe {
	from { transform: scale(1) translateY(0); }
	to   { transform: scale(1.08) translateY(-2%); }
}
.fch-hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.fch-hero-grid > * { min-width: 0; } /* lets the platform marquee clip instead of blowing out the column */
@media (min-width: 900px) {
	/* Portrait matches the height of the text column and gets an equal share
	   of the width (Femmy: "the card is too thin"). Headline clamp shrank a
	   step to make room. */
	.fch-hero-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.fch-hero-title { font-size: clamp(2.3rem, 4.5vw, 3.5rem); margin-bottom: 0.45em; }
.fch-word { display: inline-block; opacity: 0; transform: translateY(26px); }
.js-loaded .fch-word { animation: fch-word-in 0.7s var(--fch-ease-spring) forwards; animation-delay: var(--word-delay, 0s); }
@keyframes fch-word-in { to { opacity: 1; transform: translateY(0); } }
.no-js .fch-word, .fch-motion-off .fch-word { opacity: 1; transform: none; }

.fch-hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fch-ink-soft); max-width: 560px; margin-bottom: 1.8em; }
.fch-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.6em; }

.fch-trust-strip { border-top: 1px solid var(--fch-line); padding-top: 1.4em; }
.fch-trust-note { font-size: 0.86rem; font-weight: 600; color: var(--fch-ink-soft); letter-spacing: 0.02em; margin-bottom: 0.7em; }
.fch-platform-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; }
.fch-platform-badges li {
	font-size: 0.82rem; font-weight: 600; color: var(--fch-teal);
	background: var(--fch-gradient-soft); border: 1px solid rgba(26,128,128,0.16);
	padding: 5px 14px; border-radius: 999px;
}

.fch-hero-visual { position: relative; width: 100%; max-width: 520px; margin-inline: auto; background: transparent; border: 0; box-shadow: none; }
.fch-transform {
	position: relative; isolation: isolate;
	width: 100%; min-height: 600px; overflow: hidden;
	background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.fch-transform-state { position: absolute; inset: 0; background: transparent; border: 0; }
.fch-float-ui {
	position: absolute; min-width: 0;
	border: 1px solid rgba(20,32,43,0.1); background: rgba(255,255,255,0.88);
	box-shadow: 0 16px 40px rgba(20,32,43,0.12); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
.fch-transform-chaos { opacity: 1; animation: fch-chaos-phase 8s ease-in-out infinite; }
.fch-transform-organise { opacity: 0; animation: fch-organise-phase 8s ease-in-out infinite; }
.fch-transform-clean { opacity: 0; animation: fch-clean-phase 8s ease-in-out infinite; }

/* Phase one: the same information is present, but plugins and widgets fight for attention. */
.fch-chaos-nav { left: 2%; top: 12%; z-index: 2; width: 39%; padding: 10px; transform: rotate(-2deg); border-width: 2px; border-radius: 9px; background: rgba(232,235,236,0.94); }
.fch-chaos-nav > strong { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: #30363a; font-size: 0.72rem; }
.fch-chaos-nav > strong b { padding: 1px 5px; border-radius: 9px; background: #a63a3a; color: #fff; font-size: 0.54rem; }
.fch-chaos-nav > span { display: flex; align-items: center; min-height: 28px; padding: 4px 6px; border: 1px solid #b8bec1; border-width: 0 0 1px; color: #485157; background: #f4f4ef; font-size: 0.58rem; font-weight: 650; }
.fch-chaos-nav > span:nth-child(odd) { background: #d9dddf; }
.fch-chaos-nav > span.is-current { border: 2px solid #436c7e; background: #c9dce3; }
.fch-chaos-nav > span.is-nested { padding-left: 18px; border-left: 4px solid #846ca4; }
.fch-chaos-nav > span i, .fch-chaos-nav > span em { margin-left: auto; padding: 1px 4px; border-radius: 8px; background: #b33d4b; color: #fff; font-size: 0.48rem; font-style: normal; }
.fch-chaos-nav > span em { border-radius: 1px; background: #71509b; }
.fch-chaos-alert { display: flex; align-items: center; gap: 8px; z-index: 4; padding: 10px; }
.fch-chaos-alert > b { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; color: #fff; background: #bf7a15; font-size: 0.72rem; }
.fch-chaos-alert > span { min-width: 0; }
.fch-chaos-alert strong, .fch-chaos-alert small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fch-chaos-alert strong { color: #30363a; font-size: 0.66rem; }
.fch-chaos-alert small { color: #59656b; font-size: 0.53rem; }
.fch-chaos-alert > em { margin-left: auto; padding: 3px 5px; border: 1px solid currentColor; font-size: 0.48rem; font-style: normal; font-weight: 800; }
.fch-chaos-alert.is-profile { right: 2%; top: 7%; width: 52%; border-left: 6px solid #c9871e; background: rgba(247,229,183,0.94); transform: rotate(2deg); }
.fch-chaos-alert.is-error { right: 0; top: 27%; width: 48%; border: 2px solid #a63c3c; background: rgba(245,203,203,0.94); transform: rotate(-1deg); }
.fch-chaos-alert.is-error > b { border-radius: 50%; background: #a63232; }
.fch-chaos-alert.is-message { right: 10%; top: 41%; width: 36%; border-style: dashed; background: rgba(203,224,233,0.94); }
.fch-chaos-alert.is-message > b { background: #3f748e; }
.fch-chaos-lessons { left: 24%; top: 48%; z-index: 3; width: 59%; padding: 13px; border-top: 5px solid #69777e; transform: rotate(1deg); }
.fch-chaos-lessons > p { display: flex; gap: 3px; margin: 0 0 5px; }
.fch-chaos-lessons > p em { padding: 2px 4px; border: 1px solid #879096; color: #3c4449; background: #d8dcde; font-size: 0.45rem; font-style: normal; font-weight: 800; }
.fch-chaos-lessons > p em:nth-child(2) { border-color: #a63c3c; background: #efc5c5; color: #812929; }
.fch-chaos-lessons > p em:nth-child(3) { border-radius: 9px; background: #d9cae6; }
.fch-chaos-lessons > strong, .fch-chaos-lessons > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fch-chaos-lessons > strong { color: #30363a; font-size: 0.76rem; }
.fch-chaos-lessons > small { margin: 2px 0 7px; color: #59656b; font-size: 0.53rem; }
.fch-chaos-lessons > div { display: flex; align-items: center; position: relative; height: 10px; border: 1px solid #818b90; background: repeating-linear-gradient(90deg,#d2d6d8 0 8px,#edefef 8px 16px); }
.fch-chaos-lessons > div i { width: 46%; height: 100%; background: #78878e; }
.fch-chaos-lessons > div span { position: absolute; right: 3px; font-size: 0.47rem; font-weight: 800; }
.fch-chaos-lessons footer { display: flex; gap: 4px; margin-top: 7px; }
.fch-chaos-lessons footer b { padding: 4px 6px; border: 2px outset #a9b0b4; background: #d8dcde; color: #30363a; font-size: 0.48rem; }
.fch-chaos-lessons footer b:first-child { border-radius: 9px; background: #44788d; color: #fff; }
.fch-chaos-lessons footer b:nth-child(2) { border-style: dashed; background: #efd89e; }
.fch-chaos-lessons footer b:last-child { border: 0; background: transparent; text-decoration: underline; }
.fch-chaos-card { z-index: 5; padding: 11px; }
.fch-chaos-card small, .fch-chaos-card strong { display: block; }
.fch-chaos-card small { font-size: 0.48rem; font-weight: 800; }
.fch-chaos-card strong { margin: 3px 0 7px; color: #30363a; font-size: 0.7rem; }
.fch-chaos-card span { padding: 4px 6px; border: 2px outset #a5adb1; background: #e5e7e8; font-size: 0.48rem; font-weight: 800; }
.fch-chaos-live { right: 0; bottom: 16%; width: 34%; border-radius: 13px 0; background: rgba(244,211,156,0.94); transform: rotate(3deg); }
.fch-chaos-vault { left: 5%; bottom: 4%; width: 29%; border: 2px dashed #79549b; background: rgba(224,208,235,0.94); transform: rotate(-3deg); }
.fch-chaos-vault > b { position: absolute; top: -9px; right: -5px; padding: 3px 5px; background: #ad3c4c; color: #fff; font-size: 0.54rem; }
.fch-chaos-progress { right: 11%; bottom: 2%; width: 39%; padding: 10px; background: rgba(249,249,241,0.94); transform: rotate(-1deg); }
.fch-chaos-progress > span { display: block; color: #4e585e; font-size: 0.58rem; font-weight: 800; }
.fch-chaos-progress > i { display: block; height: 8px; margin: 5px 0; border: 2px solid #9c7920; border-radius: 9px; background: linear-gradient(90deg,#cda436 0 68%,#e4e5e0 68%); }
.fch-chaos-progress > em { font-size: 0.45rem; font-style: normal; text-decoration: underline; }

/* Phase two: surviving fragments converge into a loose, balanced layout. */
.fch-organise-line { display: none; }
.fch-organise-piece { display: flex; align-items: center; gap: 10px; z-index: 2; width: 52%; padding: 15px; border-radius: 15px; }
.fch-organise-piece i, .fch-organise-piece > b { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; border-radius: 12px; color: #fff; background: var(--fch-gradient); font-size: 0.72rem; font-style: normal; }
.fch-organise-piece span { min-width: 0; }
.fch-organise-piece strong, .fch-organise-piece small { display: block; }
.fch-organise-piece strong { color: var(--fch-ink); font-size: 0.78rem; }
.fch-organise-piece small { color: var(--fch-ink-soft); font-size: 0.58rem; }
.fch-organise-piece.is-payment { right: 3%; top: 14%; }
.fch-organise-piece.is-course { left: 7%; top: 43%; }
.fch-organise-piece.is-progress { right: 12%; top: 72%; }

/* Phase three: one calm learner destination, still built from floating fragments. */
.fch-clean-nav { left: 2%; top: 18%; width: 28%; padding: 12px; border-radius: 16px; }
.fch-clean-nav > strong { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; color: var(--fch-ink); font-size: 0.72rem; }
.fch-clean-nav > strong i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--fch-gradient); color: #fff; font-family: var(--fch-serif); font-style: normal; }
.fch-clean-nav > span { display: block; padding: 7px 8px; border-radius: 8px; color: #728086; font-size: 0.58rem; font-weight: 650; }
.fch-clean-nav > span.is-active { color: var(--fch-teal); background: rgba(26,128,128,0.1); }
.fch-clean-confirm { display: flex; align-items: center; gap: 9px; right: 3%; top: 9%; width: 48%; padding: 11px 13px; border-color: rgba(26,128,128,0.2); border-radius: 14px; }
.fch-clean-confirm > i, .fch-clean-complete > i { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--fch-gradient); font-style: normal; }
.fch-clean-confirm strong, .fch-clean-confirm small, .fch-clean-complete strong, .fch-clean-complete small { display: block; }
.fch-clean-confirm strong, .fch-clean-complete strong { color: var(--fch-ink); font-size: 0.7rem; }
.fch-clean-confirm small, .fch-clean-complete small { color: var(--fch-ink-soft); font-size: 0.55rem; }
.fch-clean-course { right: 0; top: 29%; width: 72%; padding: 20px; border: 0; border-radius: 21px; color: #fff; background: linear-gradient(132deg,rgba(23,110,114,0.96),rgba(37,99,235,0.96)); box-shadow: 0 22px 50px rgba(31,93,166,0.2); }
.fch-clean-course header { display: flex; align-items: center; gap: 12px; }
.fch-clean-course header > span { min-width: 0; }
.fch-clean-course header small, .fch-clean-course header strong, .fch-clean-course header em { display: block; }
.fch-clean-course header small { color: rgba(255,255,255,0.74); font-size: 0.52rem; font-weight: 800; letter-spacing: 0.09em; }
.fch-clean-course header strong { overflow: hidden; margin: 3px 0; color: #fff; font-family: var(--fch-serif); font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.fch-clean-course header em { color: rgba(255,255,255,0.75); font-size: 0.58rem; font-style: normal; }
.fch-clean-course header > b { display: grid; place-items: center; flex: 0 0 auto; width: 56px; height: 56px; margin-left: auto; border: 5px solid rgba(255,255,255,0.28); border-top-color: #fff; border-right-color: #fff; border-radius: 50%; font-size: 0.74rem; }
.fch-clean-progress { height: 6px; margin: 15px 0; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.2); }
.fch-clean-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: #fff; }
.fch-clean-course footer { display: flex; align-items: center; gap: 8px; }
.fch-clean-course footer > span { display: flex; align-items: center; color: rgba(255,255,255,0.75); font-size: 0.54rem; }
.fch-clean-course footer > span i { display: grid; place-items: center; width: 16px; height: 16px; margin-right: 5px; border-radius: 50%; background: rgba(255,255,255,0.16); font-style: normal; }
.fch-clean-course footer > b { margin-left: auto; padding: 9px 12px; border-radius: 999px; color: var(--fch-teal); background: #fff; font-size: 0.6rem; white-space: nowrap; }
.fch-clean-next { left: 5%; bottom: 13%; width: 35%; padding: 14px; border-radius: 14px; }
.fch-clean-next small, .fch-clean-next strong, .fch-clean-next span { display: block; }
.fch-clean-next small { color: var(--fch-teal); font-size: 0.5rem; font-weight: 800; letter-spacing: 0.08em; }
.fch-clean-next strong { margin: 3px 0; color: var(--fch-ink); font-size: 0.7rem; }
.fch-clean-next span { color: var(--fch-blue); font-size: 0.56rem; font-weight: 700; }
.fch-clean-complete { display: flex; align-items: center; gap: 9px; right: 3%; bottom: 4%; width: 52%; padding: 12px; border-radius: 14px; }

@keyframes fch-chaos-phase { 0%, 25% { opacity: 1; transform: scale(1); } 36%, 94% { opacity: 0; transform: scale(0.96); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fch-organise-phase { 0%, 22%, 58%, 100% { opacity: 0; transform: scale(0.96); } 32%, 48% { opacity: 1; transform: scale(1); } }
@keyframes fch-clean-phase { 0%, 43%, 98%, 100% { opacity: 0; transform: translateY(8px); } 56%, 90% { opacity: 1; transform: translateY(0); } }
.fch-portrait {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5; /* mobile/tablet: ratio locks the box, zero layout shift */
	object-fit: cover;
	object-position: 50% 15%; /* focal point favors the face when the box crops */
	border-radius: var(--fch-radius);
	box-shadow: var(--fch-shadow-lift);
	background: var(--fch-gradient-soft); /* soft brand tone while pixels arrive */
}
@media (min-width: 900px) {
	/* Desktop: the transparent composition follows the stretched grid column so
	   its floating fragments remain balanced beside the copy. */
	.fch-hero-visual.fch-hero-visual { max-width: none; margin-inline: 0; height: 100%; }
	.fch-hero-visual .fch-transform { height: 100%; }
	.fch-hero-visual .fch-portrait { height: 100%; aspect-ratio: auto; }
}
.fch-portrait-placeholder {
	aspect-ratio: 4 / 5; border-radius: var(--fch-radius);
	background: var(--fch-gradient-soft);
	border: 1.5px dashed rgba(26,128,128,0.35);
	display: grid; place-items: center;
	color: var(--fch-teal); font-weight: 700; letter-spacing: 0.06em;
	box-shadow: var(--fch-shadow);
}
.fch-float-badge {
	position: absolute; bottom: 22px; left: -8px;
	background: #fff; border-radius: 999px; padding: 9px 18px;
	font-size: 0.85rem; font-weight: 600; color: var(--fch-ink);
	box-shadow: var(--fch-shadow-lift);
	animation: fch-float 5s ease-in-out infinite alternate;
	white-space: nowrap;
}
.fch-float-badge::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 8px; }
@keyframes fch-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ---------- Cards ---------- */
.fch-card {
	background: var(--fch-white);
	border: 1px solid var(--fch-line);
	border-radius: var(--fch-radius);
	padding: clamp(24px, 3.4vw, 38px);
	box-shadow: var(--fch-shadow);
	transition: transform 0.4s var(--fch-ease-spring), box-shadow 0.4s ease;
}
.fch-card:hover { box-shadow: var(--fch-shadow-lift); }
.fch-card-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .fch-card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .fch-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .fch-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.fch-icon-circle {
	display: grid; place-items: center;
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--fch-gradient-soft);
	color: var(--fch-teal);
	margin-bottom: 1.2em;
}
.fch-icon-circle svg { width: 26px; height: 26px; }

.fch-quote-head { font-size: 1.28rem; font-style: italic; font-weight: 500; }
.fch-pain-card p { color: var(--fch-ink-soft); margin: 0; }

/* Services */
.fch-service-card { display: flex; flex-direction: column; position: relative; }
.fch-service-promise { font-weight: 600; }
.fch-service-card ul { margin: 0 0 1.2em; color: var(--fch-ink-soft); font-size: 0.95rem; }
.fch-service-card li { margin-bottom: 0.45em; }
.fch-price { font-size: 0.95rem; margin-bottom: 0.5em; }
.fch-price strong { background: var(--fch-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fch-qualifier { font-size: 0.88rem; color: var(--fch-ink-soft); font-style: italic; margin-bottom: 1.4em; }
.fch-card-link {
	margin-top: auto; font-weight: 700; text-decoration: none; color: var(--fch-teal);
	opacity: 0.75; transform: translateX(-2px); transition: opacity 0.3s ease, transform 0.3s var(--fch-ease-spring);
}
.fch-card:hover .fch-card-link, .fch-card-link:focus-visible { opacity: 1; transform: translateX(2px); }

/* ---------- Split sections ---------- */
.fch-split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .fch-split { grid-template-columns: 1fr 1fr; } }

/* ---------- Before / After slider ---------- */
.fch-ba-slider {
	position: relative; border-radius: var(--fch-radius); overflow: hidden;
	box-shadow: var(--fch-shadow-lift);
	aspect-ratio: 16 / 10; max-width: 980px; margin-inline: auto;
	touch-action: pan-y;
	background: #fff;
}
.fch-ba-slider:focus-within { box-shadow: var(--fch-shadow-lift), 0 0 0 4px rgba(26,128,128,0.22); }
.fch-ba-after, .fch-ba-before { position: absolute; inset: 0; padding: 4% 4% 7%; }
.fch-ba-after { background: linear-gradient(135deg, #eaf7f6, #eaf1ff); }
.fch-ba-before { background: #dfe2e5; clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0); }
.fch-ba-label {
	position: absolute; z-index: 4; bottom: 12px; display: flex; align-items: center; gap: 7px;
	max-width: calc(50% - 34px); margin: 0; padding: 7px 13px;
	border: 1px solid rgba(20,32,43,0.07); border-radius: 999px; background: rgba(255,255,255,0.94);
	box-shadow: 0 5px 16px rgba(20,32,43,0.12); color: var(--fch-ink-soft);
	font-size: 0.68rem; line-height: 1.2; pointer-events: none; white-space: nowrap;
}
.fch-ba-label strong { color: var(--fch-ink); font-size: 0.75rem; }
.fch-ba-label-before { left: 12px; }
.fch-ba-label-after { right: 12px; }
.fch-ba-label-after strong { color: var(--fch-teal); }
.fch-ba-handle {
	position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--ba-pos, 50%);
	width: 3px; background: var(--fch-gradient); transform: translateX(-50%);
	pointer-events: none;
}
.fch-ba-handle span {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 44px; height: 44px; border-radius: 50%; background: #fff;
	box-shadow: 0 6px 20px rgba(20,32,43,0.25);
}
.fch-ba-handle span::before, .fch-ba-handle span::after {
	content: ""; position: absolute; top: 50%; width: 0; height: 0;
	border: 5px solid transparent; transform: translateY(-50%);
}
.fch-ba-handle span::before { left: 9px; border-right-color: var(--fch-teal); }
.fch-ba-handle span::after { right: 9px; border-left-color: var(--fch-blue); }
.fch-ba-range {
	position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%;
	opacity: 0; margin: 0; cursor: ew-resize;
}
.fch-ba-disclosure { max-width: 980px; margin: 13px auto 0; color: var(--fch-ink-soft); font-size: 0.78rem; text-align: center; }

/* Mock portal panels inside the slider */
.fch-mock { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px 16px 8px 8px; background: #fff; box-shadow: 0 12px 42px rgba(20,32,43,0.13); }
.fch-mock-before { border: 1px solid #c7cbd0; background: #f5f5f5; box-shadow: 0 10px 28px rgba(20,32,43,0.13); }
.fch-mock-top { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-bottom: 1px solid #e1e6e8; background: #f8fafb; }
.fch-mock-top small { margin-left: 7px; overflow: hidden; color: #88969b; font-size: 0.54rem; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.fch-mock-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #d1d8db; }
.fch-dashboard { display: grid; grid-template-columns: 21% 1fr; flex: 1; min-height: 0; font-family: var(--fch-sans); }
.fch-dashboard-side { display: flex; flex-direction: column; min-width: 0; padding: 4.5% 7%; }
.fch-dashboard-side > strong { display: flex; align-items: center; gap: 6px; overflow: hidden; margin-bottom: 17%; color: var(--fch-ink); font-size: clamp(0.45rem, 1.15vw, 0.77rem); text-overflow: ellipsis; white-space: nowrap; }
.fch-dashboard-side > strong i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 7px; background: var(--fch-gradient); color: #fff; font-family: var(--fch-serif); font-style: normal; }
.fch-dashboard-side nav { display: flex; flex-direction: column; gap: 5px; }
.fch-dashboard-side nav span { overflow: hidden; border-radius: 7px; padding: 7px 8px; color: #718087; font-size: clamp(0.42rem, 0.8vw, 0.62rem); font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.fch-dashboard-side nav .is-active { color: var(--fch-teal); background: rgba(26,128,128,0.1); }
.fch-learner-mini { display: flex; align-items: center; gap: 7px; margin-top: auto; }
.fch-learner-mini > b { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; background: #dae9ff; color: var(--fch-blue); font-size: 0.5rem; }
.fch-learner-mini p { overflow: hidden; margin: 0; color: var(--fch-ink); font-size: clamp(0.4rem, 0.72vw, 0.57rem); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.fch-learner-mini small { display: block; color: #8c999e; font-size: 0.48rem; font-weight: 500; }
.fch-dashboard-main { min-width: 0; padding: 4% 4.5%; background: #fbfcfc; }
.fch-dashboard-main > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4%; }
.fch-dashboard-main > header small, .fch-dashboard-main > header strong { display: block; }
.fch-dashboard-main > header small { margin-bottom: 2px; color: #89979c; font-size: clamp(0.42rem, 0.7vw, 0.56rem); }
.fch-dashboard-main > header strong { color: var(--fch-ink); font-family: var(--fch-serif); font-size: clamp(0.75rem, 1.7vw, 1.23rem); }
.fch-bell { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: var(--fch-blue); background: #eaf0ff; font-size: 0.5rem; font-weight: 800; }
.fch-course-focus { display: flex; align-items: center; justify-content: space-between; gap: 7%; padding: 5%; border-radius: 15px; color: #fff; background: linear-gradient(130deg, #176e72, #2563eb); box-shadow: 0 10px 24px rgba(31,93,166,0.17); }
.fch-course-focus h3 { margin: 4px 0; color: #fff; font-size: clamp(0.68rem, 1.7vw, 1.16rem); }
.fch-course-focus p { margin: 0 0 10px; color: rgba(255,255,255,0.78); font-size: clamp(0.42rem, 0.76vw, 0.6rem); }
.fch-ui-kicker { color: rgba(255,255,255,0.73); font-size: clamp(0.39rem, 0.65vw, 0.52rem); font-weight: 800; letter-spacing: 0.1em; }
.fch-course-focus button { border: 0; border-radius: 999px; padding: 7px 11px; background: #fff; color: var(--fch-teal); font: 700 clamp(0.42rem, 0.78vw, 0.61rem)/1 var(--fch-sans); }
.fch-course-focus button b { margin-left: 5px; }
.fch-progress-ring { display: grid; place-items: center; flex: 0 0 auto; width: clamp(52px, 10vw, 78px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#fff 0 68%, rgba(255,255,255,0.2) 68%); }
.fch-progress-ring::before { content: ""; grid-area: 1 / 1; width: 78%; aspect-ratio: 1; border-radius: 50%; background: #216aa9; }
.fch-progress-ring > span { z-index: 1; grid-area: 1 / 1; color: #fff; font-size: clamp(0.62rem, 1.4vw, 0.95rem); font-weight: 800; text-align: center; }
.fch-progress-ring small { display: block; margin-top: 1px; color: rgba(255,255,255,0.72); font-size: 0.43rem; font-weight: 500; }
.fch-dashboard-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 3%; margin-top: 3%; }
.fch-dashboard-lower section { min-width: 0; padding: 8%; border: 1px solid #e4eaec; border-radius: 12px; background: #fff; }
.fch-dashboard-lower .fch-ui-kicker { color: var(--fch-teal); }
.fch-dashboard-lower strong { display: block; overflow: hidden; margin: 4px 0; color: var(--fch-ink); font-size: clamp(0.5rem, 1vw, 0.75rem); text-overflow: ellipsis; white-space: nowrap; }
.fch-dashboard-lower p { margin: 0 0 4px; color: var(--fch-blue); font-size: clamp(0.43rem, 0.8vw, 0.61rem); font-weight: 750; }
.fch-dashboard-lower small { display: block; overflow: hidden; color: #87949a; font-size: clamp(0.38rem, 0.65vw, 0.5rem); line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.fch-week-dots { display: flex; gap: 3px; }
.fch-week-dots i { display: block; width: 10px; height: 4px; border-radius: 99px; background: var(--fch-gradient); }

.fch-dashboard-before { grid-template-columns: 29% 1fr; color: #30363a; }
.fch-dashboard-before .fch-dashboard-side { padding: 2.5% 3.5%; border-right: 3px double #939ba1; background: linear-gradient(165deg, #d8dcdf 0 72%, #c8cdd0 72%); }
.fch-dashboard-before .fch-dashboard-side > strong { margin: 0 0 4%; color: #24292d; font-family: Arial, sans-serif; font-size: clamp(0.45rem, 1vw, 0.72rem); letter-spacing: -0.04em; }
.fch-dashboard-before .fch-dashboard-side > strong i { width: 19px; height: 19px; border: 2px solid #4e5860; border-radius: 50%; background: #f4c84f; color: #34393d; font-family: Arial, sans-serif; }
.fch-dashboard-before .fch-dashboard-side nav { gap: 1px; border: 1px solid #aeb4b8; border-bottom: 0; background: #eef0f1; }
.fch-dashboard-before .fch-dashboard-side nav span { display: grid; grid-template-columns: 17px minmax(0, 1fr) auto; align-items: center; gap: 3px; position: relative; border: 0; border-bottom: 1px solid #b7bdc0; border-radius: 0; padding: 3px 4px; color: #394146; background: #e2e5e7; font-family: Arial, sans-serif; font-size: clamp(0.38rem, 0.68vw, 0.54rem); line-height: 1.12; }
.fch-dashboard-before .fch-dashboard-side nav span:nth-child(3n) { background: #f1f1ec; }
.fch-dashboard-before .fch-dashboard-side nav span:nth-child(4n) { border-left: 3px solid #8274a8; }
.fch-dashboard-before .fch-dashboard-side nav span.is-current { border: 2px solid #406577; background: #c6d6dc; font-weight: 800; }
.fch-dashboard-before .fch-dashboard-side nav span.is-nested { padding-left: 12px; color: #616a70; background: #d4d7d9; font-size: clamp(0.34rem, 0.61vw, 0.48rem); }
.fch-dashboard-before .fch-dashboard-side nav span > i { display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid #879096; border-radius: 2px; background: #f6f7f7; color: #4b555b; font-style: normal; font-size: 0.45rem; }
.fch-dashboard-before .fch-dashboard-side nav span:nth-child(2n) > i { border-radius: 50%; background: #d9d0a9; }
.fch-dashboard-before .fch-dashboard-side nav b { border-radius: 8px; padding: 1px 4px; background: #b43f3f; color: #fff; font-size: clamp(0.31rem, 0.52vw, 0.42rem); }
.fch-dashboard-before .fch-dashboard-side nav b.is-new { border-radius: 1px; background: #7853a5; }
.fch-before-side-actions { display: grid; grid-template-columns: 1.25fr 0.8fr; gap: 3px; margin-top: auto; }
.fch-before-side-actions a { padding: 5px 3px; border: 2px outset #b3b9bd; border-radius: 0; background: #d29a35; color: #222; font: 700 clamp(0.34rem, 0.58vw, 0.47rem)/1 Arial, sans-serif; text-align: center; text-transform: uppercase; }
.fch-before-side-actions a:last-child { border: 1px solid #6c767c; border-radius: 9px; background: #e4e6e7; text-transform: none; }
.fch-dashboard-before .fch-dashboard-main { overflow: hidden; padding: 2%; background: #eceeee; font-family: Arial, sans-serif; }
.fch-dashboard-before .fch-dashboard-main > header { align-items: end; padding: 1% 1.5% 1.3%; border: 2px solid #9aa2a7; border-top: 5px solid #596c76; margin-bottom: 1.2%; background: #f7f7f5; }
.fch-dashboard-before .fch-dashboard-main > header strong { font-family: Arial, sans-serif; font-size: clamp(0.64rem, 1.35vw, 0.98rem); text-transform: uppercase; }
.fch-before-header-actions { display: flex; gap: 3px; }
.fch-dashboard-before .fch-dashboard-main > header button, .fch-before-toolbar button, .fch-before-grid button { border: 2px outset #a5adb1; border-radius: 0; padding: 4px 6px; background: #d8dbdd; color: #2f3538; font: 700 clamp(0.34rem, 0.59vw, 0.46rem)/1 Arial, sans-serif; white-space: nowrap; }
.fch-before-header-actions button:first-child { border: 1px dashed #916b30; border-radius: 10px; background: #f1d48e; }
.fch-before-alerts { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 3px 5px; margin-bottom: 1.2%; }
.fch-before-alert { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 5px; min-width: 0; padding: 4px 5px; border: 1px solid #9da5aa; background: #e0e1e2; }
.fch-before-alert:nth-child(2) { margin-left: 5px; border-width: 2px; }
.fch-before-alert:nth-child(3) { margin-right: -8px; border-style: dashed; }
.fch-before-alert:nth-child(4) { transform: translateX(-3px); }
.fch-before-alert > b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 0; background: #6e777c; color: #fff; font-size: clamp(0.38rem, 0.65vw, 0.52rem); }
.fch-before-alert p { min-width: 0; margin: 0; }
.fch-before-alert strong, .fch-before-alert small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fch-before-alert strong { font-size: clamp(0.4rem, 0.68vw, 0.54rem); }
.fch-before-alert small { color: #50585d; font-size: clamp(0.33rem, 0.53vw, 0.43rem); }
.fch-before-alert > span { padding: 3px 4px; border: 1px solid currentColor; font-size: clamp(0.3rem, 0.5vw, 0.4rem); font-weight: 800; white-space: nowrap; }
.fch-before-alert.is-warning { border-left: 5px solid #cf8b18; background: #f5e5ba; }
.fch-before-alert.is-warning > b { background: #d18a17; }
.fch-before-alert.is-danger { border-color: #a34242; background: #f1caca; }
.fch-before-alert.is-danger > b { border-radius: 50%; background: #a63232; }
.fch-before-alert.is-info { border-color: #44778e; background: #cbdfe8; }
.fch-before-alert.is-info > b { background: #3f748e; }
.fch-before-alert.is-promo { border-color: #765396; background: #ded0e8; }
.fch-before-alert.is-promo > b { border: 2px dotted #fff; border-radius: 50%; background: #765396; }
.fch-before-toolbar { display: flex; align-items: center; gap: 3px; margin-bottom: 1.2%; padding: 3px; border-top: 1px solid #7e878c; border-bottom: 3px double #8e969b; background: #d5d8da; }
.fch-before-toolbar h3 { margin: 0 auto 0 0; font: 700 clamp(0.48rem, 0.85vw, 0.66rem)/1 Arial, sans-serif; }
.fch-before-toolbar h3 b { margin-left: 3px; padding: 2px 4px; border-radius: 8px; background: #70787d; color: #fff; font-size: 0.72em; }
.fch-before-toolbar > span { padding: 3px 5px; border: 1px solid #9da5a9; background: #f3f3f1; font-size: clamp(0.31rem, 0.52vw, 0.41rem); white-space: nowrap; }
.fch-before-toolbar > span.is-filter { border: 2px solid #8c6a2a; background: #f1d594; font-weight: 800; }
.fch-before-grid { display: grid; grid-template-columns: 1.25fr 0.72fr 0.9fr; grid-template-rows: 1.18fr 0.82fr; gap: 4px; min-height: 42%; }
.fch-before-grid article { position: relative; min-width: 0; border: 1px solid #aeb5b9; background: #f0f1f1; }
.fch-before-grid article:nth-child(even) { border-width: 2px; }
.fch-before-card.is-course { display: grid; grid-column: span 2; grid-template-columns: 30% 1fr; border-top: 5px solid #65727a; background: #e7e9ea; }
.fch-before-card.is-event { align-self: start; margin-top: 7px; padding: 7%; border-radius: 12px 0 12px 0; background: #f2d39f; box-shadow: 3px 3px 0 #a36f28; }
.fch-before-card.is-resource { display: grid; grid-template-columns: 37% 1fr; background: #dce3e6; }
.fch-before-card.is-certificate { padding: 6%; border-left: 6px solid #82898e; background: #f6f6ef; }
.fch-before-card.is-survey { margin: -4px 3px 2px -2px; padding: 6%; border: 2px dashed #765396; background: #ded0e8; }
.fch-before-card.is-survey > b { position: absolute; top: -6px; right: -3px; padding: 2px 4px; background: #b33f52; color: #fff; font-size: 0.4rem; transform: rotate(4deg); }
.fch-before-thumb { display: grid; place-items: center; position: relative; min-width: 0; background: repeating-linear-gradient(45deg, #b5babd 0 7px, #d0d3d5 7px 14px); color: #4d555a; font-size: clamp(0.34rem, 0.62vw, 0.48rem); font-weight: 800; text-align: center; }
.fch-before-thumb i { position: absolute; top: 3px; left: -2px; padding: 2px 4px; background: #b13b3b; color: #fff; font-style: normal; font-size: 0.37rem; transform: rotate(-3deg); }
.fch-before-thumb.is-alt { background: repeating-linear-gradient(-45deg, #aeb9bd 0 8px, #d7dcde 8px 16px); }
.fch-before-card.is-course > div, .fch-before-card.is-resource > div { min-width: 0; padding: 4%; }
.fch-before-grid small, .fch-before-grid strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.fch-before-grid small { font-size: clamp(0.34rem, 0.55vw, 0.43rem); }
.fch-before-grid strong { margin: 2px 0; font-size: clamp(0.42rem, 0.72vw, 0.57rem); line-height: 1.2; }
.fch-before-grid p { overflow: hidden; margin: 0 0 4px; color: #525a5f; font-size: clamp(0.33rem, 0.54vw, 0.43rem); text-overflow: ellipsis; white-space: nowrap; }
.fch-before-chips { display: flex; gap: 2px; }
.fch-before-chips em { padding: 2px 3px; border: 1px solid #7e878c; background: #d4d7d9; color: #333; font-size: 0.37rem; font-style: normal; font-weight: 800; }
.fch-before-chips em:nth-child(2) { border-color: #a23f3f; background: #efc3c3; color: #7d2424; }
.fch-before-chips em:nth-child(3) { border-radius: 8px; background: #cec0df; }
.fch-before-progress { display: flex; align-items: center; position: relative; height: 9px; margin: 3px 0; border: 1px solid #80898e; background: repeating-linear-gradient(90deg, #d6d9da 0 8px, #eceeee 8px 16px); }
.fch-before-progress i { display: block; width: 46%; height: 100%; background: #7c8990; }
.fch-before-progress span { position: absolute; right: 2px; font-size: 0.37rem; font-weight: 800; }
.fch-before-buttons { display: flex; align-items: center; gap: 2px; }
.fch-before-buttons button:nth-child(1) { border-radius: 8px; background: #48768a; color: #fff; }
.fch-before-buttons button:nth-child(2) { border-style: dashed; background: #eee0b7; }
.fch-before-buttons button:nth-child(3) { border: 0; background: transparent; text-decoration: underline; }
.fch-before-grid article > a { display: inline-block; margin-top: 3px; color: #5d4c76; font-size: clamp(0.3rem, 0.5vw, 0.4rem); text-decoration: underline; }
.fch-before-meter { height: 8px; margin: 4px 0; border: 2px solid #9b761e; border-radius: 7px; background: linear-gradient(90deg, #cfa438 0 68%, #e0e1dc 68%); }
.fch-before-meter span { display: block; margin-top: -2px; color: #24292d; font-size: 0.34rem; text-align: center; }
.fch-before-promo { display: flex; align-items: center; gap: 3px; margin-top: 1.2%; padding: 4px; border: 2px dashed #838b90; background: #d2d5d7; }
.fch-before-promo strong { margin-right: auto; font-size: clamp(0.35rem, 0.6vw, 0.48rem); }
.fch-before-promo span { padding: 3px 4px; border: 1px solid #9da5a9; background: #f0f1f1; font-size: clamp(0.29rem, 0.48vw, 0.38rem); white-space: nowrap; }
.fch-before-promo span:nth-child(3n) { border-radius: 8px; background: #efd59b; }

@media (max-width: 620px) {
	.fch-hero-visual { max-width: 500px; }
	.fch-transform { min-height: 500px; }
	.fch-chaos-nav { left: 0; width: 40%; }
	.fch-chaos-alert.is-profile { right: 0; width: 58%; }
	.fch-chaos-alert.is-error { right: 0; width: 55%; }
	.fch-chaos-lessons { left: 27%; width: 72%; }
	.fch-chaos-live { right: 1%; bottom: 9%; width: 38%; }
	.fch-chaos-alert.is-message, .fch-chaos-vault, .fch-chaos-progress { display: none; }
	.fch-clean-nav { left: 0; width: 29%; }
	.fch-clean-confirm { right: 0; width: 56%; }
	.fch-clean-course { right: 0; width: 76%; padding: 16px; }
	.fch-clean-next { left: 2%; width: 37%; }
	.fch-clean-complete { right: 0; width: 60%; }
	.fch-ba-slider { aspect-ratio: 4 / 3; border-radius: 18px; }
	.fch-ba-after, .fch-ba-before { padding: 10px 10px 42px; }
	.fch-ba-label { bottom: 8px; max-width: calc(50% - 27px); padding: 6px 10px; }
	.fch-ba-label span { display: none; }
	.fch-ba-label-before { left: 8px; }
	.fch-ba-label-after { right: 8px; }
	.fch-ba-handle span { width: 38px; height: 38px; }
	.fch-dashboard { grid-template-columns: 24% 1fr; }
	.fch-dashboard-before { grid-template-columns: 30% 1fr; }
	.fch-dashboard-side { padding-inline: 6%; }
	.fch-dashboard-side nav span { padding: 6px 4px; }
	.fch-dashboard-before .fch-dashboard-side { padding: 2% 3%; }
	.fch-dashboard-before .fch-dashboard-side nav span { padding: 2px 3px; }
	.fch-dashboard-lower { grid-template-columns: 1fr; }
	.fch-dashboard-lower section:last-child { display: none; }
	.fch-before-alerts { gap: 2px; }
	.fch-before-alert { grid-template-columns: 15px minmax(0, 1fr) auto; padding: 3px; }
	.fch-before-alert > b { width: 15px; height: 15px; }
	.fch-before-grid { grid-template-columns: 1.25fr 0.72fr 0.9fr; }
	.fch-before-promo span:nth-last-child(-n+2) { display: none; }
}
@media (max-width: 410px) {
	.fch-transform { min-height: 455px; }
	.fch-chaos-nav { top: 10%; width: 42%; }
	.fch-chaos-alert.is-profile { top: 6%; width: 60%; }
	.fch-chaos-alert.is-error { top: 29%; width: 58%; }
	.fch-chaos-lessons { left: 25%; top: 49%; width: 74%; }
	.fch-chaos-live { display: none; }
	.fch-clean-course { top: 30%; width: 78%; }
	.fch-clean-next { display: none; }
	.fch-clean-complete { bottom: 7%; width: 64%; }
	.fch-ba-slider { aspect-ratio: 1 / 1; }
	.fch-before-promo { display: none; }
}

/* ---------- Device mockup / video placeholder ---------- */
.fch-device { border-radius: 28px; border: 1px solid var(--fch-line); background: #fff; padding: 14px; box-shadow: var(--fch-shadow-lift); max-width: 560px; margin-inline: auto; }
.fch-device-screen { border-radius: 18px; overflow: hidden; background: var(--fch-alt); aspect-ratio: 16 / 10; }
.fch-video-placeholder, .fch-image-placeholder, .fch-booking-placeholder {
	display: grid; place-content: center; gap: 6px; text-align: center;
	width: 100%; height: 100%; min-height: 220px;
	color: var(--fch-teal); font-weight: 700; letter-spacing: 0.05em;
	background: var(--fch-gradient-soft); border: 1.5px dashed rgba(26,128,128,0.35); border-radius: 18px;
}
.fch-video-placeholder small, .fch-image-placeholder small, .fch-booking-placeholder small { font-weight: 500; color: var(--fch-ink-soft); letter-spacing: 0; }
.fch-image-dark { background: linear-gradient(140deg, #17242c, #1f3340); color: #9fd6d6; border-color: rgba(159,214,214,0.4); }
.fch-image-dark small { color: #8aa3ad; }

/* ---------- Platform Finder ---------- */
.fch-finder { max-width: 720px; margin-inline: auto; overflow: hidden; }
.fch-finder-progress { height: 5px; border-radius: 3px; background: var(--fch-alt); margin-bottom: 2em; overflow: hidden; }
.fch-finder-progress span { display: block; height: 100%; width: 25%; background: var(--fch-gradient); border-radius: 3px; transition: width 0.4s var(--fch-ease-spring); }
.fch-finder-step h3, .fch-finder-result h3 { font-size: 1.5rem; }
.fch-finder-options { display: grid; gap: 12px; margin-top: 1.4em; }
@media (min-width: 640px) { .fch-finder-options { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.fch-finder-opt {
	display: flex; flex-direction: column; gap: 4px; text-align: left;
	padding: 18px 20px; border-radius: 18px;
	border: 1.5px solid var(--fch-line); background: #fff;
	font-weight: 600; font-size: 1rem; color: var(--fch-ink);
	transition: transform 0.3s var(--fch-ease-spring), border-color 0.25s ease, box-shadow 0.25s ease;
}
.fch-finder-opt small { font-weight: 500; font-size: 0.85rem; color: var(--fch-ink-soft); }
.fch-finder-opt:hover { border-color: var(--fch-teal); transform: translateY(-2px); box-shadow: var(--fch-shadow); }
.fch-finder-result h3 { font-size: 1.9rem; margin-bottom: 0.4em; }
.fch-finder-email { margin-top: 1.6em; }
.fch-finder-email label { font-weight: 600; display: block; margin-bottom: 0.5em; }
.fch-inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.fch-inline-form input {
	flex: 1 1 220px; padding: 13px 18px; border-radius: 999px;
	border: 1.5px solid var(--fch-line); font: inherit;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.fch-inline-form input:focus { outline: none; border-color: var(--fch-teal); box-shadow: 0 0 0 4px rgba(26,128,128,0.15); }
.fch-finder-or { text-align: center; color: var(--fch-ink-soft); margin: 1em 0; }
.fch-finder-restart { background: none; border: 0; color: var(--fch-ink-soft); text-decoration: underline; margin-top: 1.4em; font-size: 0.88rem; }
.fch-form-msg { font-size: 0.92rem; font-weight: 600; color: var(--fch-teal); margin-top: 0.8em; min-height: 1.2em; }
.fch-form-msg.is-error { color: #c0392b; }

/* ---------- Case study section ---------- */
.fch-case { background: linear-gradient(180deg, #fff 0%, var(--fch-alt) 100%); }
.fch-case-points { list-style: none; padding: 0; margin: 0 0 2em; }
.fch-case-points li { padding: 10px 0 10px 34px; position: relative; color: var(--fch-ink-soft); }
.fch-case-points li::before {
	content: ""; position: absolute; left: 0; top: 14px;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--fch-gradient-soft); border: 1.5px solid rgba(26,128,128,0.4);
}
.fch-case-points li::after {
	content: ""; position: absolute; left: 5px; top: 19px;
	width: 8px; height: 5px; border-left: 2px solid var(--fch-teal); border-bottom: 2px solid var(--fch-teal);
	transform: rotate(-45deg);
}

/* ---------- Process timeline ---------- */
.fch-timeline { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: step; display: grid; gap: 34px; }
.fch-timeline::before {
	content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px;
	background: linear-gradient(180deg, var(--fch-teal), var(--fch-blue));
	border-radius: 2px;
	transform-origin: top;
	transform: scaleY(var(--tl-progress, 0));
	transition: transform 0.2s linear;
}
.fch-step { position: relative; padding-left: 64px; }
.fch-step-num {
	position: absolute; left: 0; top: 0;
	width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center;
	background: #fff; border: 2px solid rgba(26,128,128,0.35);
	font-weight: 700; color: var(--fch-teal);
	box-shadow: var(--fch-shadow);
}
.fch-step h3 { margin-bottom: 0.3em; }
.fch-step p { color: var(--fch-ink-soft); margin-bottom: 0.4em; }
.fch-step-need { font-size: 0.9rem; font-weight: 600; color: var(--fch-teal); }
@media (min-width: 1024px) {
	.fch-timeline { grid-template-columns: repeat(5, 1fr); gap: 26px; }
	.fch-timeline::before { left: 22px; right: 22px; top: 21px; bottom: auto; width: auto; height: 3px; transform: scaleX(var(--tl-progress, 0)); transform-origin: left; }
	.fch-step { padding-left: 0; padding-top: 64px; }
}

/* ---------- Testimonials carousel ---------- */
.fch-carousel { overflow-x: auto; scrollbar-width: none; cursor: grab; scroll-snap-type: x mandatory; padding: 10px 4px 26px; }
.fch-carousel::-webkit-scrollbar { display: none; }
.fch-carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.fch-carousel.is-auto { scroll-snap-type: none; } /* auto scroll drives scrollLeft, snap would fight it */
.fch-carousel-track { display: flex; gap: 22px; width: max-content; }
.fch-testimonial { width: min(420px, 82vw); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; }
.fch-testimonial blockquote { margin: 0 0 1.4em; font-family: var(--fch-serif); font-size: 1.15rem; font-style: italic; line-height: 1.5; }
.fch-testimonial figcaption { display: grid; grid-template-columns: 48px auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.fch-testimonial figcaption strong { grid-column: 2; }
.fch-testimonial figcaption span:last-child { grid-column: 2; font-size: 0.88rem; color: var(--fch-ink-soft); }
.fch-avatar-placeholder { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 50%; background: var(--fch-gradient-soft); border: 1.5px dashed rgba(26,128,128,0.35); }
.fch-avatar {
	grid-row: 1 / 3;
	width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--fch-gradient);
	color: #fff; font-family: var(--fch-serif); font-weight: 600; font-size: 1.15rem;
}

/* ---------- Gradient band (lead magnet fallback + page CTAs) ---------- */
.fch-band { background: var(--fch-gradient); color: #fff; }
.fch-band .fch-h2, .fch-band p { color: #fff; }
.fch-band .fch-serif-italic { color: #fff; }

/* ---------- FAQ ---------- */
.fch-accordion { display: grid; gap: 14px; }
.fch-faq-item {
	background: #fff; border: 1px solid var(--fch-line); border-radius: 20px;
	box-shadow: var(--fch-shadow); overflow: hidden;
}
.fch-faq-item summary {
	list-style: none; cursor: pointer;
	padding: 20px 56px 20px 26px; position: relative;
	font-family: var(--fch-serif); font-size: 1.12rem; font-weight: 600;
}
.fch-faq-item summary::-webkit-details-marker { display: none; }
.fch-faq-item summary::after {
	content: ""; position: absolute; right: 24px; top: 50%;
	width: 10px; height: 10px; border-right: 2px solid var(--fch-teal); border-bottom: 2px solid var(--fch-teal);
	transform: translateY(-70%) rotate(45deg); transition: transform 0.35s var(--fch-ease-spring);
}
.fch-faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.fch-faq-body { padding: 0 26px; overflow: hidden; }
.fch-faq-body p { color: var(--fch-ink-soft); padding-bottom: 22px; margin: 0; }

/* ---------- Final CTA ---------- */
.fch-final-cta { background: var(--fch-gradient); color: #fff; }
.fch-final-cta .fch-h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 820px; margin-inline: auto; }
.fch-final-cta p { color: rgba(255,255,255,0.92); }
.fch-booking { max-width: 860px; margin: 2.4em auto 1.4em; }
.fch-booking-placeholder { min-height: 420px; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); color: #fff; border-radius: var(--fch-radius); }
.fch-booking-placeholder small { color: rgba(255,255,255,0.8); }
.fch-final-cta a { color: #fff; font-weight: 700; }
.fch-booking-fallback { font-size: 0.95rem; }

/* ---------- Pre-footer CTA band (slim, subtle) ---------- */
.fch-prefooter { background: var(--fch-alt); border-top: 1px solid var(--fch-line); padding: 26px 0; }
.fch-prefooter-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.fch-prefooter-line { margin: 0; font-family: var(--fch-serif); font-size: 1.25rem; color: var(--fch-ink); }
.fch-prefooter .fch-btn { padding: 12px 26px; font-size: 0.95rem; }

/* ---------- Mega footer (dark, premium) ---------- */
.fch-footer {
	border-top: 3px solid transparent;
	border-image: var(--fch-gradient) 1;
	background: var(--fch-ink);
	color: rgba(255, 255, 255, 0.72);
	padding: 64px 0 28px;
}
.fch-footer-inner { display: grid; gap: 40px 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .fch-footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fch-footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.fch-footer .fch-logo { color: #fff; }
.fch-footer .fch-logo-mark { width: 50px; height: 50px; }
.fch-footer-tag { color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; margin: 1.1em 0 1.2em; max-width: 300px; }
.fch-footer-heading {
	font-family: var(--fch-sans); font-size: 0.78rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: #7ecfcf; margin: 0 0 1.1em;
}
.fch-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fch-footer-list a, .fch-footer-social a {
	color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.95rem;
	transition: color 0.2s ease;
}
.fch-footer-list a:hover, .fch-footer-social a:hover { color: #fff; }
.fch-footer-social a:focus-visible { outline-color: #7ecfcf; }
.fch-footer-email { font-weight: 700; color: #7ecfcf; text-decoration: none; display: inline-block; margin-bottom: 14px; }
.fch-footer-email:hover { color: #fff; }
.fch-footer-location { color: rgba(255, 255, 255, 0.66); font-size: 0.92rem; margin: -6px 0 16px; }
.fch-footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.fch-footer-social a {
	display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 10px;
	border: 1px solid rgba(126, 207, 207, 0.24); border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.fch-footer-social svg {
	width: 18px; height: 18px; flex: none; fill: none; stroke: #7ecfcf;
	stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.fch-footer-social svg .is-filled { fill: #7ecfcf; stroke: none; }
.fch-footer-social a:hover {
	border-color: rgba(126, 207, 207, 0.62); background: rgba(126, 207, 207, 0.1);
	transform: translateY(-1px);
}
.fch-site-search {
	margin-top: 48px; padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: grid; gap: 16px 32px; align-items: center;
}
@media (min-width: 700px) { .fch-site-search { grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr); } }
.fch-site-search-copy p { max-width: 420px; margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.92rem; }
.fch-site-search .fch-footer-heading { margin-bottom: 8px; }
.fch-site-search-control {
	min-width: 0;
	/* Scoped overrides keep the hosted widget inside the site’s dark footer palette. */
	--ais-autocomplete-accent-color: 126, 207, 207;
	--ais-autocomplete-text-color: 255, 255, 255;
	--ais-autocomplete-text-color-alpha: 1;
	--ais-autocomplete-background-color: 20, 32, 43;
	--ais-autocomplete-background-color-alpha: 0.98;
	--ais-autocomplete-form-border-color: 255, 255, 255;
	--ais-autocomplete-form-border-color-alpha: 0.32;
	--ais-autocomplete-form-focus-ring-color: 126, 207, 207;
	--ais-autocomplete-form-placeholder-color: 255, 255, 255;
	--ais-autocomplete-form-placeholder-color-alpha: 0.58;
	--ais-autocomplete-panel-border-color: 255, 255, 255;
	--ais-autocomplete-panel-border-color-alpha: 0.18;
	--ais-autocomplete-item-secondary-color: 255, 255, 255;
	--ais-autocomplete-item-secondary-color-alpha: 0.68;
	--ais-autocomplete-item-selected-background-color: 126, 207, 207;
	--ais-autocomplete-item-selected-background-color-alpha: 0.18;
}
#autocomplete { min-height: 44px; }
.fch-search-fallback { display: flex; gap: 8px; }
.fch-search-fallback input {
	min-width: 0; flex: 1; min-height: 44px; padding: 10px 13px;
	border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 8px;
	background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit;
}
.fch-search-fallback input::placeholder { color: rgba(255, 255, 255, 0.58); }
.fch-search-fallback button {
	min-height: 44px; padding: 10px 16px; border: 0; border-radius: 8px;
	background: #7ecfcf; color: var(--fch-ink); font: 700 0.92rem var(--fch-sans); cursor: pointer;
}
.fch-search-fallback input:focus-visible, .fch-search-fallback button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fch-search-noscript { margin: 8px 0 0; color: rgba(255, 255, 255, 0.66); font-size: 0.82rem; }
body.fch-algolia-ready .fch-search-fallback { display: none; }
@media (max-width: 460px) { .fch-search-fallback { display: grid; grid-template-columns: 1fr; } .fch-search-fallback button { width: 100%; } }
.fch-footer-legal {
	margin-top: 48px; padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.5); font-size: 0.85rem;
	display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
}
.fch-footer-legal p { margin: 0; }
.fch-footer-legal-nav { display: flex; gap: 20px; }
.fch-footer-legal-nav a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.fch-footer-legal-nav a:hover { color: #fff; }

/* ---------- Mobile floating CTA ---------- */
.fch-mobile-cta {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 210;
	transform: translateY(140%); transition: transform 0.45s var(--fch-ease-spring);
}
.fch-mobile-cta .fch-btn { display: block; }
.fch-mobile-cta.is-visible { transform: translateY(0); }
@media (min-width: 900px) { .fch-mobile-cta { display: none; } }

/* ---------- Exit intent modal ---------- */
.fch-exit-modal { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 5vw; }
.fch-exit-modal[hidden] { display: none; }
.fch-exit-backdrop { position: absolute; inset: 0; background: rgba(20,32,43,0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.fch-exit-card {
	position: relative; background: #fff; border-radius: var(--fch-radius);
	max-width: 480px; padding: 40px; box-shadow: var(--fch-shadow-lift);
	animation: fch-modal-in 0.5s var(--fch-ease-spring);
}
@keyframes fch-modal-in { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: none; } }
.fch-exit-close {
	position: absolute; top: 14px; right: 18px; background: none; border: 0;
	font-size: 1.8rem; line-height: 1; color: var(--fch-ink-soft);
}

/* ---------- Forms (contact) ---------- */
.fch-contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .fch-contact-grid { grid-template-columns: 1.05fr 0.95fr; } }
.fch-form .fch-field { margin-bottom: 18px; }
.fch-form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.fch-form input, .fch-form select, .fch-form textarea {
	width: 100%; padding: 13px 16px; border-radius: 14px;
	border: 1.5px solid var(--fch-line); font: inherit; background: #fff;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.fch-form input:focus, .fch-form select:focus, .fch-form textarea:focus {
	outline: none; border-color: var(--fch-teal); box-shadow: 0 0 0 4px rgba(26,128,128,0.15);
}
.fch-form input.is-invalid, .fch-form textarea.is-invalid { border-color: #c0392b; }
.fch-contact-calendar .fch-booking-placeholder { min-height: 480px; }
.fch-contact-calendar .fch-h3 { margin-bottom: 0.9em; }

/* ---------- Page hero / prose / cards ---------- */
.fch-page-hero { padding: calc(var(--fch-header-h) + clamp(40px, 7vw, 80px)) 0 clamp(28px, 4vw, 48px); }
.fch-prose { font-size: 1.08rem; }
.fch-prose h2 { margin-top: 1.6em; }
.fch-prose img { border-radius: 18px; }
.fch-cs-hero-img img { width: 100%; border-radius: var(--fch-radius); box-shadow: var(--fch-shadow-lift); }
.fch-cs-card, .fch-post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.fch-cs-thumb { display: block; aspect-ratio: 4 / 3; background: var(--fch-alt); }
.fch-cs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fch-cs-thumb .fch-image-placeholder { min-height: 0; height: 100%; border-radius: 0; border-style: dashed; }

/* Gradient fallback for entries without a featured image (see fch_thumb_fallback) */
.fch-thumb-fallback {
	display: grid; place-items: center;
	width: 100%; height: 100%; min-height: 220px;
	background: linear-gradient(135deg, var(--fch-teal), var(--fch-blue));
}
.fch-thumb-fallback span {
	display: grid; place-items: center;
	width: 84px; height: 84px; border-radius: 26px;
	font-family: var(--fch-serif); font-size: 2.6rem; font-weight: 600;
	text-transform: uppercase; color: rgba(255, 255, 255, 0.95);
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.fch-thumb-fallback.is-wide {
	min-height: 320px;
	border-radius: var(--fch-radius);
	box-shadow: var(--fch-shadow-lift);
}
.fch-cs-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.fch-cs-body .fch-h3 a { color: var(--fch-ink); text-decoration: none; }
.fch-cs-body .fch-h3 a:hover { color: var(--fch-teal); }
.fch-cs-excerpt { color: var(--fch-ink-soft); font-size: 0.97rem; }
.fch-post-meta { font-size: 0.85rem; font-weight: 600; color: var(--fch-ink-soft); letter-spacing: 0.03em; }
.fch-pagination { margin-top: 44px; text-align: center; }
.fch-pagination .page-numbers { display: inline-block; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.fch-pagination .page-numbers.current { background: var(--fch-gradient); color: #fff; }

/* ---------- Marquee (niches served) ---------- */
.fch-marquee { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--fch-line); }
.fch-marquee-track { display: flex; gap: 3em; width: max-content; animation: fch-marquee 28s linear infinite; }
.fch-marquee:hover .fch-marquee-track { animation-play-state: paused; }
.fch-marquee-track span { white-space: nowrap; color: var(--fch-ink-soft); font-weight: 600; letter-spacing: 0.04em; }
@keyframes fch-marquee { to { transform: translateX(-50%); } }

/* Edge fade so the carousel and marquees never look hard cut at the sides.
   mask-image works over any background, unlike a gradient overlay. */
.fch-carousel,
.fch-marquee {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fch-fade, 9%), #000 calc(100% - var(--fch-fade, 9%)), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 var(--fch-fade, 9%), #000 calc(100% - var(--fch-fade, 9%)), transparent 100%);
}
@media (max-width: 700px) {
	.fch-carousel, .fch-marquee { --fch-fade: 14%; }
}

/* ---------- Hero platform marquee (trust strip) ---------- */
.fch-platform-marquee { padding: 0; border: 0; max-width: 100%; }
.fch-platform-marquee .fch-marquee-track { gap: 10px; animation-duration: 90s; }
.fch-badge-pill {
	display: inline-block;
	font-size: 0.82rem; font-weight: 600; color: var(--fch-teal);
	background: var(--fch-gradient-soft); border: 1px solid rgba(26,128,128,0.16);
	padding: 5px 14px; border-radius: 999px; white-space: nowrap;
	letter-spacing: normal;
}
.fch-platform-marquee .fch-marquee-track .fch-badge-pill { color: var(--fch-teal); letter-spacing: normal; }
.fch-platform-static { display: none; }
@media (prefers-reduced-motion: reduce) {
	.fch-platform-marquee { display: none; }
	.fch-platform-static { display: flex; }
}

/* ---------- Scroll reveals ---------- */
.fch-reveal, .fch-stagger > * { opacity: 1; transform: none; }
.js-loaded .fch-reveal, .js-loaded .fch-stagger > * {
	opacity: 0; transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s var(--fch-ease-spring);
	transition-delay: var(--reveal-delay, 0s);
}
.js-loaded .fch-reveal.is-inview, .js-loaded .fch-stagger > .is-inview { opacity: 1; transform: none; }

/* ---------- Booking page ---------- */
.fch-booking-hero {
	min-height: 100vh;
	display: grid;
	align-items: center;
	background: var(--fch-gradient);
	color: #fff;
	padding: calc(var(--fch-header-h) + 40px) 0 64px;
}
.fch-booking-hero .fch-h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.fch-booking-sub { color: rgba(255,255,255,0.92); font-size: 1.15rem; max-width: 560px; margin-inline: auto; }
.fch-booking-hero .fch-booking { max-width: 860px; margin: 2.2em auto 1.4em; }
.fch-booking-hero .fch-booking-placeholder { min-height: 480px; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); color: #fff; border-radius: var(--fch-radius); }
.fch-booking-hero .fch-booking-placeholder small { color: rgba(255,255,255,0.8); }
.fch-booking-hero a { color: #fff; font-weight: 700; }
.fch-alt-link { font-size: 0.95rem; }
.fch-booking-hero .fch-alt-link { color: rgba(255,255,255,0.85); }
.fch-booking-hero .fch-alt-link a { text-decoration: underline; }
.fch-center-ctas { justify-content: center; margin-bottom: 1.2em; }

/* ---------- Contact booking cross-link card ---------- */
.fch-booking-crosslink { text-align: center; background: var(--fch-gradient-soft); border-color: rgba(26,128,128,0.2); }
.fch-booking-crosslink p { color: var(--fch-ink-soft); }
.fch-booking-crosslink .fch-btn { margin: 0.4em 0 1.2em; }
.fch-booking-crosslink .fch-booking-fallback { margin: 0; font-size: 0.9rem; }
.fch-booking-crosslink .fch-contact-location { margin-top: 8px; color: var(--fch-ink-soft); }
.fch-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fch-case-visual { display: block; }
.fch-case-visual img { width: 100%; border-radius: var(--fch-radius); box-shadow: var(--fch-shadow-lift); }

/* ---------- Portfolio filter + grid ---------- */
.fch-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.fch-filter-pill {
	padding: 10px 22px; border-radius: 999px;
	border: 1.5px solid rgba(26,128,128,0.25);
	background: #fff; color: var(--fch-teal);
	font-weight: 600; font-size: 0.92rem;
	transition: transform 0.3s var(--fch-ease-spring), background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fch-filter-pill:hover { transform: translateY(-2px); border-color: var(--fch-teal); box-shadow: var(--fch-shadow); }
.fch-filter-pill.is-active {
	background: var(--fch-gradient); color: #fff; border-color: transparent;
	box-shadow: var(--fch-glow);
}
.fch-portfolio-card.is-hidden { display: none; }
.fch-cat-badge {
	display: inline-block; align-self: flex-start;
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--fch-teal); background: var(--fch-gradient-soft);
	border: 1px solid rgba(26,128,128,0.18);
	border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.fch-badge-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fch-filter-empty { color: var(--fch-ink-soft); font-style: italic; padding: 30px 0; }

/* ---------- Portfolio single ---------- */
.fch-stack-line {
	margin: 2em 0 1em; padding: 16px 22px;
	background: var(--fch-alt); border: 1px solid var(--fch-line); border-radius: 16px;
	font-size: 0.98rem;
}
.fch-stack-line strong { color: var(--fch-teal); margin-right: 6px; }
.fch-gallery { display: grid; gap: 18px; margin-top: 2.4em; }
@media (min-width: 720px) { .fch-gallery { grid-template-columns: repeat(3, 1fr); } }
.fch-gallery .fch-image-placeholder { min-height: 170px; }

/* ---------- Image lightbox (case study + portfolio screenshots) ---------- */
.fch-lb-trigger {
	cursor: zoom-in;
	transition: transform 0.35s var(--fch-ease-spring), box-shadow 0.35s ease;
}
.fch-lb-trigger:hover, .fch-lb-trigger:focus-visible {
	transform: translateY(-3px) scale(1.01);
	box-shadow: var(--fch-shadow-lift);
}
.fch-lightbox-open, .fch-lightbox-open body { overflow: hidden; }
.fch-lightbox-open body { padding-right: var(--fch-lb-sbw, 0); }
.fch-lightbox {
	position: fixed; inset: 0; z-index: 400;
	display: grid; place-items: center;
	padding: clamp(12px, 2.5vw, 32px);
	opacity: 0;
	transition: opacity 0.22s ease;
}
.fch-lightbox[hidden] { display: none; }
.fch-lightbox.is-open { opacity: 1; }
.fch-lightbox-backdrop {
	position: absolute; inset: 0;
	background: rgba(20, 32, 43, 0.82);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.fch-lightbox-figure {
	position: relative; margin: 0;
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	max-width: 95vw; max-height: 95vh;
	touch-action: pan-y pinch-zoom;
	transform: scale(0.94);
	transition: transform 0.4s var(--fch-ease-spring), opacity 0.25s ease;
}
.fch-lightbox.is-open .fch-lightbox-figure { transform: none; }
.fch-lightbox.is-loading .fch-lightbox-figure { opacity: 0.55; }
.fch-lightbox-img {
	width: auto; height: auto;
	max-width: 95vw; max-height: 88vh;
	object-fit: contain;
	border-radius: 16px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
	background: rgba(255, 255, 255, 0.04);
	user-select: none; -webkit-user-drag: none;
}
.fch-lightbox-caption {
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.95rem; line-height: 1.5; text-align: center;
	max-width: 70ch; padding: 0 8px;
}
.fch-lightbox-caption[hidden] { display: none; }
.fch-lightbox-btn {
	position: absolute; z-index: 2;
	display: grid; place-items: center;
	width: 48px; height: 48px; padding: 0;
	border: 0; border-radius: 999px;
	background: #fff; color: var(--fch-ink);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s var(--fch-ease-spring);
}
.fch-lightbox-btn:hover { background: var(--fch-teal); color: #fff; transform: scale(1.08); }
.fch-lightbox-btn:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.7); outline-offset: 3px; }
.fch-lightbox-btn[hidden] { display: none; }
.fch-lightbox-close { top: 16px; right: 16px; }
.fch-lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.fch-lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.fch-lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.fch-lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.fch-lightbox-count {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
	margin: 0; padding: 6px 16px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.12); color: #fff;
	font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
}
.fch-lightbox-count[hidden] { display: none; }
@media (min-width: 900px) {
	.fch-lightbox-btn { width: 52px; height: 52px; }
	.fch-lightbox-close { top: 24px; right: 24px; }
	.fch-lightbox-prev { left: 24px; }
	.fch-lightbox-next { right: 24px; }
}
@media (max-width: 899px) {
	.fch-lightbox-img { max-height: 80vh; }
	.fch-lightbox-prev, .fch-lightbox-next { top: auto; bottom: 14px; transform: none; }
	.fch-lightbox-prev:hover, .fch-lightbox-next:hover { transform: scale(1.08); }
	.fch-lightbox-count { bottom: 26px; }
}
.fch-motion-off .fch-lightbox, .fch-motion-off .fch-lightbox-figure, .fch-motion-off .fch-lb-trigger { transition: none; }
.fch-motion-off .fch-lightbox-figure { transform: none; }

/* ---------- Service pages ---------- */
.fch-service-price { font-size: 1.05rem; color: var(--fch-ink-soft); max-width: 620px; margin: -1.2em auto 1.8em; }
.fch-service-price strong { display: block; font-family: var(--fch-serif); font-size: 1.6rem; color: var(--fch-ink); margin-bottom: 0.2em; }
.fch-service-price strong { background: var(--fch-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fch-pain-quote { margin: 0; }
.fch-pain-quote blockquote { margin: 0; font-family: var(--fch-serif); font-style: italic; font-size: 1.15rem; line-height: 1.5; }
.fch-pain-quote blockquote::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: 0.6; color: var(--fch-teal); margin-bottom: 0.35em; font-style: normal; }
.fch-scope-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .fch-scope-grid { grid-template-columns: 1.4fr 1fr; gap: 60px; } }
.fch-scope-not-title { color: var(--fch-ink-soft); margin-top: 0.35em; }
.fch-scope-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fch-scope-list li { position: relative; padding-left: 34px; }
.fch-scope-list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; }
.fch-scope-in li::before { background: var(--fch-gradient-soft); border: 1px solid rgba(26,128,128,0.25); }
.fch-scope-in li::after { content: ""; position: absolute; left: 7px; top: calc(0.2em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--fch-teal); border-bottom: 2px solid var(--fch-teal); transform: rotate(-45deg); }
.fch-scope-out li { color: var(--fch-ink-soft); }
.fch-scope-out li::before { background: var(--fch-alt); border: 1px solid var(--fch-line); }
.fch-scope-out li::after { content: ""; position: absolute; left: 7px; top: calc(0.2em + 10px); width: 8px; height: 2px; background: var(--fch-ink-soft); }
.fch-svc-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: none; }
.fch-svc-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--fch-line); border-radius: 20px; padding: 24px; box-shadow: var(--fch-shadow); }
.fch-svc-step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fch-gradient); color: #fff; font-weight: 700; }
.fch-svc-step .fch-h3 { margin-bottom: 0.35em; }
.fch-svc-step p { margin: 0 0 0.6em; }
.fch-svc-step-need { font-size: 0.92rem; color: var(--fch-ink-soft); margin: 0; }
.fch-proof-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .fch-proof-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; } }
.fch-proof-card { max-width: 560px; }
.fch-proof-card .fch-eyebrow { margin-bottom: 0.6em; }
.fch-related-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.fch-related-card p { color: var(--fch-ink-soft); font-size: 0.97rem; flex: 1; }
.fch-related-card:hover .fch-h3 { color: var(--fch-teal); }
.fch-band .fch-alt-link { margin-top: 1.4em; color: rgba(255,255,255,0.85); }
.fch-band .fch-alt-link a { color: #fff; }

/* ---------- Reduced motion ---------- */
.fch-motion-off .fch-transform-chaos,
.fch-motion-off .fch-transform-organise { display: none !important; }
.fch-motion-off .fch-transform-clean {
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.js-loaded .fch-reveal, .js-loaded .fch-stagger > *, .fch-word { opacity: 1 !important; transform: none !important; }
	.fch-hero-mesh, .fch-float-badge, .fch-marquee-track { animation: none !important; }
	.fch-transform-chaos, .fch-transform-organise { display: none !important; }
	.fch-transform-clean { animation: none !important; opacity: 1 !important; transform: none !important; }
	.fch-timeline::before { transform: none; }
}
