/* =========================================================================
   Faber Team — scoped styles. Everything lives under .ftm.
   Fonts: Urbanist (headings) + Jost (body) are already loaded by the theme,
   so this file loads no fonts of its own.
   No :root vars, no * resets, no ::before/::after, keyframes prefixed ftm.
   ========================================================================= */

.ftm {
	--ftm-navy: #203556;
	--ftm-navy-2: #16273e;
	--ftm-teal: #009877;
	--ftm-teal-ink: #00785e;   /* teal darkened for small text: 5.4:1 on white */
	--ftm-teal-soft: #5fd3b8;  /* teal for text on navy */
	--ftm-slate: #536c82;
	--ftm-ink: #1f2a37;
	--ftm-mist: #f2f5f7;
	--ftm-line: #e1e7ec;
	--ftm-head: 'Urbanist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--ftm-body: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--ftm-ease: cubic-bezier(.2, .7, .2, 1);
	font-family: var(--ftm-body);
	color: var(--ftm-ink);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* Neutralise theme element styles inside our scope only */
.ftm h1, .ftm h2, .ftm h3, .ftm h4, .ftm p, .ftm ul, .ftm li, .ftm figure {
	margin: 0;
	padding: 0;
	letter-spacing: normal;
	text-transform: none;
}
.ftm ul { list-style: none; }
.ftm li::marker { content: none; }
.ftm a { text-decoration: none; box-shadow: none; }
.ftm img { max-width: 100%; height: auto; border: 0; display: block; }
.ftm h1, .ftm h2, .ftm h3, .ftm h4 {
	font-family: var(--ftm-head);
	color: var(--ftm-navy);
	font-weight: 600;
	line-height: 1.2;
}
.ftm a:focus-visible, .ftm button:focus-visible {
	outline: 2px solid var(--ftm-teal);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------------- Shared bits ---------------- */
.ftm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	color: var(--ftm-teal-ink);
	margin-bottom: 12px !important;
}
.ftm-eyebrow__rule { display: inline-block; width: 28px; height: 2px; background: var(--ftm-teal); }

.ftm-mono {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(150deg, var(--ftm-navy) 0%, var(--ftm-navy-2) 100%);
	color: var(--ftm-teal-soft);
	font-family: var(--ftm-head);
	font-weight: 500;
	font-size: clamp(28px, 4vw, 52px);
	letter-spacing: .04em;
}

.ftm-grid {
	display: grid;
	grid-template-columns: repeat(var(--ftm-cols, 4), minmax(0, 1fr));
	gap: 40px 28px;
}
@media (max-width: 1024px) {
	.ftm-grid { grid-template-columns: repeat(var(--ftm-cols-t, 2), minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ftm-grid { grid-template-columns: repeat(var(--ftm-cols-m, 1), minmax(0, 1fr)); gap: 32px 20px; }
}

/* Social: icon circles (cards) and labelled buttons (profile) */
.ftm-social { display: flex; flex-wrap: wrap; gap: 8px; }
.ftm-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--ftm-navy) !important;
	border: 1px solid var(--ftm-line);
	background: #fff;
	transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.ftm-social--icons .ftm-social__link { width: 36px; height: 36px; border-radius: 50%; }
.ftm-social--buttons .ftm-social__link {
	height: 44px;
	padding: 0 20px;
	border-radius: 2px;
	font-weight: 500;
	font-size: 15px;
}
.ftm-social__link:hover, .ftm-social__link:focus-visible {
	background: var(--ftm-teal);
	border-color: var(--ftm-teal);
	color: #fff !important;
}

/* Card skeleton */
.ftm-card { position: relative; min-width: 0; }
.ftm-card__media { position: relative; overflow: hidden; background: var(--ftm-mist); }
.ftm-card__media-link { display: block; width: 100%; height: 100%; }
.ftm-card__img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 18%; }
.ftm-card__shade, .ftm-card__bar, .ftm-card__tab { display: none; pointer-events: none; }
.ftm-card__name { font-size: 20px; }
.ftm-card__name a { color: inherit !important; transition: color .2s ease; }
.ftm-card__name a:hover { color: var(--ftm-teal-ink) !important; }
.ftm-card__creds { font-size: 14.5px; color: var(--ftm-slate); margin-top: 3px !important; }
.ftm-card__role {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	color: var(--ftm-teal-ink);
	margin-top: 8px !important;
}
.ftm-card__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ftm-slate);
	margin-top: 12px !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ftm-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
}
.ftm-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ftm-navy) !important;
	white-space: nowrap;
}
.ftm-card__more svg { transition: transform .25s ease; }
.ftm-card__more:hover { color: var(--ftm-teal-ink) !important; }
.ftm-card__more:hover svg { transform: translateX(4px); }

/* =========================================================================
   DESIGN A — Portrait
   Tall portrait, quiet type underneath, teal rule draws in on hover.
   ========================================================================= */
.ftm--a .ftm-card__media { aspect-ratio: 4 / 5; }
.ftm--a .ftm-card__img { transition: transform .7s var(--ftm-ease); }
.ftm--a .ftm-card__bar {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: var(--ftm-teal);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .45s var(--ftm-ease);
}
.ftm--a .ftm-card:hover .ftm-card__img { transform: scale(1.04); }
.ftm--a .ftm-card:hover .ftm-card__bar,
.ftm--a .ftm-card:focus-within .ftm-card__bar { transform: scaleX(1); }
.ftm--a .ftm-card__body { padding-top: 20px; }
.ftm--a .ftm-card__foot { border-top: 1px solid var(--ftm-line); padding-top: 14px; }

/* =========================================================================
   DESIGN B — Panel
   Horizontal intro card with the bio's opening lines. Best on service pages.
   ========================================================================= */
.ftm--b .ftm-card {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--ftm-line);
	border-left: 3px solid var(--ftm-navy);
	border-radius: 4px;
	padding: 24px;
	height: 100%;
	box-sizing: border-box;
	transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.ftm--b .ftm-card:hover {
	border-left-color: var(--ftm-teal);
	box-shadow: 0 16px 36px rgba(32, 53, 86, .09);
	transform: translateY(-3px);
}
.ftm--b .ftm-card__media { aspect-ratio: 4 / 5; border-radius: 3px; }
.ftm--b .ftm-card__name { font-size: 19px; }
.ftm--b .ftm-card__body { display: flex; flex-direction: column; min-height: 100%; }
.ftm--b .ftm-card__foot { margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
@media (max-width: 480px) {
	.ftm--b .ftm-card { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 18px; }
	.ftm--b .ftm-card__foot { flex-wrap: wrap; }
}

/* =========================================================================
   DESIGN C — Spotlight
   Name set over the photo on a navy fade; links rise in on hover.
   Photo + text share one grid cell — no absolute positioning of content.
   ========================================================================= */
.ftm--c .ftm-card { display: grid; overflow: hidden; background: var(--ftm-navy); }
.ftm--c .ftm-card__media,
.ftm--c .ftm-card__body { grid-area: 1 / 1; }
.ftm--c .ftm-card__media { aspect-ratio: 3 / 4; background: var(--ftm-navy); }
.ftm--c .ftm-card__img {
	filter: grayscale(.3) contrast(1.02);
	transition: transform .8s var(--ftm-ease), filter .6s ease;
}
.ftm--c .ftm-card:hover .ftm-card__img,
.ftm--c .ftm-card:focus-within .ftm-card__img { filter: none; transform: scale(1.05); }
.ftm--c .ftm-card__shade {
	display: block;
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(22, 39, 62, 0) 38%, rgba(22, 39, 62, .55) 62%, rgba(22, 39, 62, .96) 100%);
}
.ftm--c .ftm-card__tab {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 4px;
	background: var(--ftm-teal);
	transition: width .45s var(--ftm-ease);
}
.ftm--c .ftm-card:hover .ftm-card__tab { width: 100%; }
.ftm--c .ftm-card__body {
	position: relative;
	z-index: 2;
	align-self: end;
	padding: 24px 22px 22px;
	pointer-events: none;
}
.ftm--c .ftm-card__body a { pointer-events: auto; }
.ftm--c .ftm-card__name { color: #fff; font-size: 21px; }
.ftm--c .ftm-card__name a:hover { color: var(--ftm-teal-soft) !important; }
.ftm--c .ftm-card__creds { color: rgba(255, 255, 255, .78); }
.ftm--c .ftm-card__role { color: var(--ftm-teal-soft); }
.ftm--c .ftm-card__excerpt { color: rgba(255, 255, 255, .8); }
.ftm--c .ftm-card__more { color: #fff !important; }
.ftm--c .ftm-card__more:hover { color: var(--ftm-teal-soft) !important; }
.ftm--c .ftm-social__link { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.ftm--c .ftm-card__foot {
	border-top: 1px solid rgba(255, 255, 255, .18);
	padding-top: 14px;
	max-height: 0;
	margin-top: 0;
	padding-top: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .45s var(--ftm-ease), opacity .35s ease, margin-top .45s var(--ftm-ease), padding-top .45s var(--ftm-ease);
}
.ftm--c .ftm-card:hover .ftm-card__foot,
.ftm--c .ftm-card:focus-within .ftm-card__foot {
	max-height: 60px;
	opacity: 1;
	margin-top: 16px;
	padding-top: 14px;
}
@media (hover: none) {
	.ftm--c .ftm-card__foot { max-height: 60px; opacity: 1; margin-top: 16px; padding-top: 14px; }
	.ftm--c .ftm-card__img { filter: none; }
	.ftm--a .ftm-card__foot, .ftm--c .ftm-card__foot { flex-wrap: nowrap; }
	.ftm--a .ftm-social, .ftm--c .ftm-social { flex-wrap: nowrap; gap: 6px; }
	.ftm--a .ftm-social__link, .ftm--c .ftm-social__link,
	.ftm--a .ftm-card__more, .ftm--c .ftm-card__more { box-sizing: border-box; width: 30px !important; height: 30px !important; flex: 0 0 30px; }
}

/* =========================================================================
   TEAM PAGE — grouped sections (no filters)
   ========================================================================= */
.ftm-team { padding: 8px 0; }
.ftm-group + .ftm-group { margin-top: 88px; }
.ftm-group__head {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 36px;
}
.ftm-group__title { font-size: clamp(26px, 3vw, 36px); white-space: nowrap; }
.ftm-group__rule { flex: 1; height: 1px; background: var(--ftm-line); }

/* =========================================================================
   SERVICE-PAGE SECTION
   ========================================================================= */
.ftm-service { padding: 88px 24px; }
.ftm-service--mist { background: var(--ftm-mist); }
.ftm-service--white { background: #fff; }
.ftm-service--navy { background: var(--ftm-navy); }
.ftm-service__inner { max-width: 1180px; margin: 0 auto; }
.ftm-service__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
	margin-bottom: 44px;
}
.ftm-service__titles { max-width: 640px; }
.ftm-service__title { font-size: clamp(28px, 3.2vw, 40px); }
.ftm-service__intro { margin-top: 14px !important; font-size: 17px; color: var(--ftm-slate); }
.ftm-service__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	color: var(--ftm-navy) !important;
	border-bottom: 2px solid var(--ftm-teal);
	padding-bottom: 4px;
}
.ftm-service__link svg { transition: transform .25s ease; }
.ftm-service__link:hover svg { transform: translateX(4px); }
.ftm-service--navy .ftm-service__title { color: #fff; }
.ftm-service--navy .ftm-service__intro { color: #c9d2de; }
.ftm-service--navy .ftm-service__link { color: #fff !important; }
.ftm-service--navy .ftm-eyebrow { color: var(--ftm-teal-soft); }
.ftm-service--navy.ftm--a .ftm-card__name { color: #fff; }
.ftm-service--navy.ftm--a .ftm-card__creds { color: #c9d2de; }
.ftm-service--navy.ftm--a .ftm-card__role { color: var(--ftm-teal-soft); }
.ftm-service--navy.ftm--a .ftm-card__more { color: #fff !important; }
.ftm-service--navy.ftm--a .ftm-card__foot { border-top-color: rgba(255, 255, 255, .15); }
@media (max-width: 767px) {
	.ftm-service { padding: 64px 20px; }
	.ftm-service__head { margin-bottom: 32px; }
}

/* =========================================================================
   PROFILE — shared
   ========================================================================= */
.ftm-profile { overflow-x: clip; }
.ftm-p-hero__inner, .ftm-p-body__inner, .ftm-p-related__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
.ftm-p-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ftm-slate) !important;
	margin-bottom: 28px;
}
.ftm-p-back:hover { color: var(--ftm-teal-ink) !important; }
.ftm-p-back svg { transition: transform .25s ease; }
.ftm-p-back:hover svg { transform: translateX(-4px); }
.ftm-p-name { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; font-weight: 600; }
.ftm-p-creds { margin-top: 10px !important; font-size: 18px; color: var(--ftm-slate); }
.ftm-p-rule { display: block; width: 56px; height: 3px; background: var(--ftm-teal); margin: 22px 0 18px; }
.ftm-p-role {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
	color: var(--ftm-teal-ink);
}
.ftm-p-connect { margin-top: 26px; }
.ftm-p-photo { position: relative; }
.ftm-p-photo__frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ftm-mist); }
.ftm-p-photo__img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 18%; }
.ftm-p-photo__block { display: none; }

.ftm-p-body { padding: 72px 0 88px; }
.ftm-p-bio p { font-size: 17.5px; line-height: 1.75; color: #33414f; }
.ftm-p-bio p + p { margin-top: 20px !important; }
.ftm-p-label {
	font-family: var(--ftm-body) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	color: var(--ftm-slate) !important;
	margin-bottom: 16px !important;
}
.ftm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ftm-chip {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--ftm-line);
	border-radius: 999px;
	font-size: 14px;
	color: var(--ftm-navy) !important;
	background: #fff;
	transition: border-color .2s ease, background .2s ease, color .2s ease;
}
a.ftm-chip:hover { border-color: var(--ftm-teal); background: var(--ftm-teal); color: #fff !important; }

.ftm-p-related { background: var(--ftm-mist); padding: 80px 0 96px; }
.ftm-p-related__title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 36px !important; }

/* =========================================================================
   PROFILE A — Classic: photo left, details right, sticky "focus" column
   ========================================================================= */
.ftm-profile--a .ftm-p-hero { padding: 64px 0 0; }
.ftm-profile--a .ftm-p-hero__inner {
	display: grid;
	grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}
.ftm-profile--a .ftm-p-photo { order: -1; }
.ftm-profile--a .ftm-p-photo__block {
	display: block;
	position: absolute;
	left: -18px;
	bottom: -18px;
	width: 60%;
	height: 45%;
	background: var(--ftm-teal);
	opacity: .14;
}
.ftm-profile--a .ftm-p-body__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 72px;
	align-items: start;
	border-top: 1px solid var(--ftm-line);
	padding-top: 56px;
}
.ftm-profile--a .ftm-p-body { padding-top: 64px; }
.ftm-profile--a .ftm-p-aside { position: sticky; top: 120px; }

/* =========================================================================
   PROFILE B — Banner: navy band, photo overlaps into the body
   ========================================================================= */
.ftm-profile--b .ftm-p-hero {
	background: linear-gradient(155deg, var(--ftm-navy) 0%, var(--ftm-navy-2) 100%);
	padding: 72px 0 0;
}
.ftm-profile--b .ftm-p-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(200px, 290px);
	gap: 64px;
	align-items: end;
}
.ftm-profile--b .ftm-p-intro { padding-bottom: 64px; }
.ftm-profile--b .ftm-p-back { color: #c9d2de !important; }
.ftm-profile--b .ftm-p-back:hover { color: var(--ftm-teal-soft) !important; }
.ftm-profile--b .ftm-p-name { color: #fff; }
.ftm-profile--b .ftm-p-creds { color: #c9d2de; }
.ftm-profile--b .ftm-p-role { color: var(--ftm-teal-soft); }
.ftm-profile--b .ftm-p-hero .ftm-social__link { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff !important; }
.ftm-profile--b .ftm-p-hero .ftm-social__link:hover { background: var(--ftm-teal); border-color: var(--ftm-teal); }
.ftm-profile--b .ftm-p-photo { margin-bottom: -96px; }
.ftm-profile--b .ftm-p-photo__frame { border: 8px solid #fff; box-shadow: 0 28px 60px rgba(22, 39, 62, .28); }
.ftm-profile--b .ftm-p-body__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(200px, 290px);
	gap: 64px;
	align-items: start;
}
.ftm-profile--b .ftm-p-aside { padding-top: 128px; }

/* =========================================================================
   PROFILE C — Editorial: mist hero, oversized name, offset teal block
   ========================================================================= */
.ftm-profile--c .ftm-p-hero { background: var(--ftm-mist); padding: 72px 0 80px; }
.ftm-profile--c .ftm-p-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
	gap: 80px;
	align-items: center;
}
.ftm-profile--c .ftm-p-name { font-size: clamp(42px, 6vw, 76px); font-weight: 500; letter-spacing: -.015em !important; }
.ftm-profile--c .ftm-p-photo__block {
	display: block;
	position: absolute;
	top: 28px;
	right: -28px;
	width: 100%;
	height: 100%;
	background: var(--ftm-teal);
}
.ftm-profile--c .ftm-p-body__inner { max-width: 820px; }
.ftm-profile--c .ftm-p-bio p:first-child {
	font-family: var(--ftm-head);
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.55;
	color: var(--ftm-navy);
	font-weight: 500;
}
.ftm-profile--c .ftm-p-aside { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--ftm-line); }


/* =========================================================================
   PROFILE D — Signature: compact photo on a teal panel, white logo on top
   ========================================================================= */
.ftm-profile--d .ftm-p-hero {
	padding: 64px 0 0;
	background: var(--ftm-mist);
}
.ftm-profile--d .ftm-p-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 72px;
	align-items: end;
}
.ftm-profile--d .ftm-p-intro { padding-bottom: 72px; }
.ftm-profile--d .ftm-p-photo { margin-bottom: -150px; z-index: 2; }
.ftm-profile--d .ftm-p-photo {
	background: var(--ftm-teal);
	padding: 26px 22px 22px;
	border-radius: 4px;
	box-shadow: 0 24px 50px rgba(0, 120, 94, .22);
}
.ftm-profile--d .ftm-p-photo__logo { margin-bottom: 22px; }
.ftm-profile--d .ftm-p-photo__logo img { width: 132px; height: auto !important; }
.ftm-profile--d .ftm-p-photo__frame { border: 3px solid rgba(255, 255, 255, .92); border-radius: 2px; background: var(--ftm-navy); }
.ftm-profile--d .ftm-p-photo__block {
	display: block;
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: -10px;
	height: 10px;
	background: var(--ftm-navy);
	border-radius: 0 0 4px 4px;
}
.ftm-profile--d .ftm-p-body__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 72px;
	align-items: start;
}
.ftm-profile--d .ftm-p-aside { padding-top: 140px; }


/* =========================================================================
   PROFILE E — Ripple card: a white profile card rising from a navy band,
   with outlines of the Faber "e" arch radiating behind it.
   ========================================================================= */
.ftm-p-ripple { display: none; }
.ftm-profile--e .ftm-p-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 24px 0;
	background: linear-gradient(180deg, var(--ftm-navy) 0, var(--ftm-navy-2) calc(100% - 150px), var(--ftm-mist) calc(100% - 150px), var(--ftm-mist) 100%);
}
.ftm-profile--e .ftm-p-ripple {
	display: block;
	position: absolute;
	left: 50%;
	bottom: 150px;
	transform: translateX(-50%);
	color: var(--ftm-teal-soft);
	pointer-events: none;
	z-index: 0;
}
.ftm-profile--e .ftm-p-ripple svg { display: block; width: 100%; height: auto; overflow: visible; }
.ftm-profile--e .ftm-p-ripple path { fill: none; stroke: currentColor; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.ftm-profile--e .ftm-p-ripple--1 { width: 760px; opacity: .55; }
.ftm-profile--e .ftm-p-ripple--2 { width: 1160px; opacity: .3; }
.ftm-profile--e .ftm-p-ripple--3 { width: 1600px; opacity: .14; }

.ftm-profile--e .ftm-p-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	max-width: 1132px;
	padding: 40px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 30px 70px rgba(22, 39, 62, .18);
}
.ftm-profile--e .ftm-p-photo { order: -1; }
.ftm-profile--e .ftm-p-photo__frame { border-radius: 6px; }
.ftm-profile--e .ftm-p-name { font-size: clamp(34px, 4vw, 52px); }
.ftm-profile--e .ftm-p-rule {
	width: 40px;
	height: 20px;
	margin: 20px 0 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 188 93'%3E%3Cpath fill='%23009877' d='M114.026 2.242C92.2807 -2.51563 69.5574 0.349243 49.6801 10.3546C32.255 20.2036 18.0895 34.9163 8.92177 52.6872C3.173 65.2328 0.133126 78.8456 0 92.6407H51.3299C51.794 82.508 55.8566 72.8712 62.7901 65.456C69.7237 58.0408 79.0753 53.3317 89.1702 52.1721C99.2651 51.0125 109.444 53.4782 117.884 59.1274C126.323 64.7767 132.472 73.2405 135.23 83.0031C135.888 85.9443 136.155 88.9591 136.025 91.9698H187.354C187.54 70.148 179.715 49.0136 165.356 32.558C151.535 17.7198 133.708 7.19105 114.026 2.242Z'/%3E%3C/svg%3E") no-repeat left center / contain;
}
.ftm-profile--e .ftm-p-body { background: var(--ftm-mist); padding-top: 64px; }
.ftm-profile--e .ftm-p-body__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 72px;
	align-items: start;
	max-width: 1132px;
	padding: 0;
}
.ftm-profile--e .ftm-p-bio {
	background: #fff;
	border-radius: 10px;
	padding: 40px;
}
.ftm-profile--e .ftm-p-aside { position: sticky; top: 120px; padding-top: 8px; }
.ftm-profile--e .ftm-chips { flex-direction: column; align-items: flex-start; }
.ftm-profile--e .ftm-chip { border-color: rgba(0, 152, 119, .4); }
.ftm-profile--e .ftm-p-related { background: var(--ftm-mist); padding-top: 24px; }
.ftm-arch-mark { display: inline-block; width: 22px; height: 11px; margin-right: 10px; color: var(--ftm-teal); vertical-align: baseline; }
.ftm-p-related__title .ftm-arch-mark { width: 34px; height: 17px; margin-right: 14px; }

@media (max-width: 1024px) {
	.ftm-profile--e .ftm-p-hero__inner { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding: 32px; }
	.ftm-profile--e .ftm-p-body__inner { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; padding: 0 24px; }
}
@media (max-width: 767px) {
	.ftm-profile--e .ftm-p-hero {
		padding: 36px 16px 0;
		background: linear-gradient(180deg, var(--ftm-navy) 0, var(--ftm-navy-2) calc(100% - 110px), var(--ftm-mist) calc(100% - 110px), var(--ftm-mist) 100%);
	}
	.ftm-profile--e .ftm-p-ripple { bottom: 110px; }
	.ftm-profile--e .ftm-p-ripple--1 { width: 420px; }
	.ftm-profile--e .ftm-p-ripple--2 { width: 640px; }
	.ftm-profile--e .ftm-p-ripple--3 { width: 880px; }
	.ftm-profile--e .ftm-p-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		padding: 24px 22px 26px;
		text-align: center;
	}
	.ftm-profile--e .ftm-p-photo { width: 168px; max-width: none; margin: -72px auto 0; }
	.ftm-profile--e .ftm-p-photo__frame { border-radius: 50%; aspect-ratio: 1 / 1; border: 5px solid #fff; box-shadow: 0 12px 28px rgba(22, 39, 62, .22); }
	.ftm-profile--e .ftm-p-hero { padding-top: 96px; }
	.ftm-profile--e .ftm-p-rule { margin: 16px auto 10px; background-position: center; }
	.ftm-profile--e .ftm-social { justify-content: center; }
	.ftm-profile--e .ftm-p-back { margin-bottom: 14px; }
	.ftm-profile--e .ftm-p-body { padding-top: 32px; }
	.ftm-profile--e .ftm-p-body__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 0 16px; }
	.ftm-profile--e .ftm-p-bio { padding: 24px 20px; }
	.ftm-profile--e .ftm-p-aside { position: static; border-top: 0; padding-top: 0 !important; }
	.ftm-profile--e .ftm-chips { flex-direction: row; }
}

/* =========================================================================
   PROFILE F — Motion curves: sweeping curves wipe in across every section,
   the name rises word by word, the portrait wipes open inside drawn rings,
   a wave closes the hero. Curve look + motion come from Team Members →
   Settings (CSS variables on the wrapper), with sensible defaults here.
   ========================================================================= */
.ftm-cv, .ftm-p-rings, .ftm-p-badge, .ftm-p-wave { display: none; }
.ftm-profile--f {
	--ftm-cv-color: #009877;
	--ftm-cv-op: .55;
	--ftm-cv-w: 1.5px;
	--ftm-cv-speed: 2.4s;
	--ftm-par-max: 70px;
	--ftm-spin: 90s;
	--ftm-badge-op: .15;
	--ftm-cv-flip: 1;
}
.ftm-profile--f.ftm-cv-rtl { --ftm-cv-flip: -1; }

/* Sections sit above their curve layer */
.ftm-profile--f .ftm-p-hero,
.ftm-profile--f .ftm-p-body,
.ftm-profile--f .ftm-p-form,
.ftm-profile--f .ftm-p-related { position: relative; overflow: hidden; }
.ftm-profile--f .ftm-p-hero__inner,
.ftm-profile--f .ftm-p-body__inner,
.ftm-profile--f .ftm-p-form__inner,
.ftm-profile--f .ftm-p-related__inner { position: relative; z-index: 2; }

.ftm-profile--f .ftm-p-hero {
	padding: 88px 0 150px;
	background: radial-gradient(120% 90% at 85% 10%, #fff 0%, var(--ftm-mist) 62%);
}
.ftm-profile--f .ftm-p-hero .ftm-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---- Curve layers ---- */
.ftm-profile--f .ftm-cv {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	transform: scaleX(var(--ftm-cv-flip));
}
.ftm-profile--f .ftm-cv--hero {
	transform: translate3d(0, calc(var(--ftm-par, 0) * var(--ftm-par-max)), 0) scaleX(var(--ftm-cv-flip));
	will-change: transform;
}
.ftm-profile--f .ftm-cv__line { position: absolute; inset: 0; }
.ftm-profile--f .ftm-cv svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ftm-profile--f .ftm-cv__mob { display: none !important; }
.ftm-profile--f .ftm-cv__desk--arc { display: none; }
.ftm-profile--f.ftm-cv-shape-arc .ftm-cv__desk--rise { display: none; }
.ftm-profile--f.ftm-cv-shape-arc .ftm-cv__desk--arc { display: block; }
.ftm-profile--f .ftm-cv path {
	fill: none;
	stroke: var(--ftm-cv-color);
	stroke-width: var(--ftm-cv-w);
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
}
.ftm-profile--f .ftm-cv__line--1 { opacity: var(--ftm-cv-op); }
.ftm-profile--f .ftm-cv__line--2 { opacity: calc(var(--ftm-cv-op) * .45); }
.ftm-profile--f .ftm-cv__line--3 { opacity: calc(var(--ftm-cv-op) * .8); }
.ftm-profile--f .ftm-cv--body .ftm-cv__line,
.ftm-profile--f .ftm-cv--form .ftm-cv__line,
.ftm-profile--f .ftm-cv--related .ftm-cv__line { opacity: calc(var(--ftm-cv-op) * .4); }
.ftm-profile--f .ftm-cv--body .ftm-cv__line--2,
.ftm-profile--f .ftm-cv--form .ftm-cv__line--2,
.ftm-profile--f .ftm-cv--related .ftm-cv__line--2 { opacity: calc(var(--ftm-cv-op) * .22); }
.ftm-profile--f.ftm-cv-n1 .ftm-cv__line--2,
.ftm-profile--f.ftm-cv-n1 .ftm-cv__line--3,
.ftm-profile--f.ftm-cv-n2 .ftm-cv__line--3 { display: none; }
.ftm-profile--f.ftm-cv-hero-only .ftm-cv:not(.ftm-cv--hero) { display: none; }

.ftm-profile--f .ftm-p-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 96px;
	align-items: center;
}
.ftm-profile--f .ftm-p-name { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -.012em !important; line-height: 1.05; }
.ftm-profile--f .ftm-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.ftm-profile--f .ftm-w > span { display: inline-block; }
.ftm-profile--f .ftm-p-rule {
	width: 44px; height: 22px; margin: 22px 0 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 188 93'%3E%3Cpath fill='%23009877' d='M114.026 2.242C92.2807 -2.51563 69.5574 0.349243 49.6801 10.3546C32.255 20.2036 18.0895 34.9163 8.92177 52.6872C3.173 65.2328 0.133126 78.8456 0 92.6407H51.3299C51.794 82.508 55.8566 72.8712 62.7901 65.456C69.7237 58.0408 79.0753 53.3317 89.1702 52.1721C99.2651 51.0125 109.444 53.4782 117.884 59.1274C126.323 64.7767 132.472 73.2405 135.23 83.0031C135.888 85.9443 136.155 88.9591 136.025 91.9698H187.354C187.54 70.148 179.715 49.0136 165.356 32.558C151.535 17.7198 133.708 7.19105 114.026 2.242Z'/%3E%3C/svg%3E") no-repeat left center / contain;
}

/* Portrait: circle, drawn rings, logo-arch badge */
.ftm-profile--f .ftm-p-photo {
	position: relative;
	width: 100%;
	max-width: 340px;
	aspect-ratio: 1 / 1;
	justify-self: end;
	transform: translate3d(0, calc(var(--ftm-par, 0) * var(--ftm-par-max) * -.5), 0);
}
.ftm-profile--f .ftm-p-photo__frame {
	position: absolute;
	inset: 0;
	z-index: 2;
	aspect-ratio: auto;
	border-radius: 50%;
	border: 8px solid #fff;
	box-shadow: 0 30px 60px rgba(32, 53, 86, .2);
	background: var(--ftm-navy);
	transform: perspective(900px) rotateX(var(--ftm-rx, 0deg)) rotateY(var(--ftm-ry, 0deg));
	transition: transform .5s var(--ftm-ease);
	-webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: keep the circle clip during transforms */
}
.ftm-profile--f .ftm-p-photo__img { object-position: 50% 22%; }
.ftm-profile--f .ftm-p-photo .ftm-mono { border-radius: 50%; }
.ftm-profile--f .ftm-p-rings {
	display: block;
	position: absolute;
	inset: -10%;
	width: 120%;
	height: 120%;
	z-index: 1;
	overflow: visible;
}
.ftm-profile--f .ftm-p-rings circle { fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ftm-profile--f .ftm-r1 { stroke: var(--ftm-cv-color); stroke-width: 1; stroke-linecap: round; }
.ftm-profile--f .ftm-p-rings .ftm-r2 { stroke: var(--ftm-navy); stroke-width: .6; opacity: .3; stroke-dasharray: .006 .012; transform-box: fill-box; transform-origin: center; }
.ftm-profile--f .ftm-p-badge {
	display: block;
	position: absolute;
	left: -6%;
	bottom: 4%;
	width: 36%;
	z-index: 3;
	color: var(--ftm-cv-color);
	transform-origin: 50% 100%;
}
.ftm-profile--f .ftm-p-badge svg { display: block; width: 100%; height: auto; opacity: var(--ftm-badge-op); }

/* Wave into the bio */
.ftm-profile--f .ftm-p-wave {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 96px;
	z-index: 1;
	pointer-events: none;
}
.ftm-profile--f .ftm-p-wave svg { display: block; width: 100%; height: 100%; }
.ftm-profile--f .ftm-p-wave__line { position: absolute; inset: 0; }
.ftm-profile--f .ftm-wave-fill { fill: #fff; }
.ftm-profile--f .ftm-wave-line { fill: none; stroke: var(--ftm-cv-color); stroke-width: 2px; opacity: .7; vector-effect: non-scaling-stroke; }

.ftm-profile--f .ftm-p-body { padding-top: 40px; background: #fff; }
.ftm-profile--f .ftm-p-body__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 80px;
	align-items: start;
}
.ftm-profile--f .ftm-p-aside { position: sticky; top: 120px; }
.ftm-profile--f .ftm-chips { flex-direction: column; align-items: flex-start; }
.ftm-profile--f .ftm-chip { border-color: rgba(0, 152, 119, .4); background: rgba(255, 255, 255, .85); }
.ftm-profile--f .ftm-p-form { background: var(--ftm-mist); }

/* F: round icon buttons for LinkedIn / Email */
.ftm-profile--f .ftm-p-connect { margin-top: 28px; }
.ftm-profile--f .ftm-p-connect .ftm-social { gap: 12px; }
.ftm-profile--f .ftm-p-connect .ftm-social__link {
	box-sizing: border-box;
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	background: var(--ftm-navy);
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(32, 53, 86, .22);
	transition: background .25s ease, transform .25s var(--ftm-ease), box-shadow .25s ease;
}
.ftm-profile--f .ftm-p-connect .ftm-social__link svg { width: 21px; height: 21px; flex: 0 0 auto; }
.ftm-profile--f .ftm-p-connect .ftm-social__link:hover,
.ftm-profile--f .ftm-p-connect .ftm-social__link:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(32, 53, 86, .28); }
.ftm-profile--f .ftm-p-connect .ftm-social__link--linkedin:hover,
.ftm-profile--f .ftm-p-connect .ftm-social__link--linkedin:focus-visible { background: #0a66c2; }
.ftm-profile--f .ftm-p-connect .ftm-social__link--mail:hover,
.ftm-profile--f .ftm-p-connect .ftm-social__link--mail:focus-visible { background: var(--ftm-teal); }
@media (max-width: 767px) {
	.ftm-profile--f .ftm-p-connect .ftm-social__link { width: 46px; height: 46px; }
}

/* ---- Motion ---- */
@keyframes ftmDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ftmCvWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ftmRise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes ftmUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ftmPop { 0% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes ftmWipe { from { clip-path: circle(0% at 50% 100%); } to { clip-path: circle(75% at 50% 50%); } }
@keyframes ftmZoom { from { transform: scale(1.25); } to { transform: none; } }
@keyframes ftmFade { from { opacity: 0; } to { opacity: .3; } }
@keyframes ftmSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
	/* hero curves wipe in on load; lower sections wipe in when scrolled to (JS adds .ftm-cv-on) */
	.ftm-profile--f .ftm-cv--hero .ftm-cv__line { animation: ftmCvWipe var(--ftm-cv-speed) var(--ftm-ease) both; }
	.ftm-profile--f .ftm-cv--hero .ftm-cv__line--2 { animation-delay: .25s; }
	.ftm-profile--f .ftm-cv--hero .ftm-cv__line--3 { animation-delay: .5s; }
	.ftm-profile--f.ftm-f-ready .ftm-cv:not(.ftm-cv--hero) .ftm-cv__line { clip-path: inset(0 100% 0 0); }
	.ftm-profile--f.ftm-f-ready .ftm-cv.ftm-cv-on .ftm-cv__line { animation: ftmCvWipe var(--ftm-cv-speed) var(--ftm-ease) both; }
	.ftm-profile--f.ftm-f-ready .ftm-cv.ftm-cv-on .ftm-cv__line--2 { animation-delay: .25s; }
	.ftm-profile--f.ftm-f-ready .ftm-cv.ftm-cv-on .ftm-cv__line--3 { animation-delay: .5s; }

	.ftm-profile--f .ftm-p-back { animation: ftmUp .7s var(--ftm-ease) .1s both; }
	.ftm-profile--f .ftm-w > span { animation: ftmRise 1s var(--ftm-ease) both; animation-delay: calc(.25s + var(--i, 0) * .09s); }
	.ftm-profile--f .ftm-p-creds { animation: ftmUp .8s var(--ftm-ease) .6s both; }
	.ftm-profile--f .ftm-p-rule { animation: ftmPop .7s var(--ftm-ease) .75s both; transform-origin: 0 100%; }
	.ftm-profile--f .ftm-p-role { animation: ftmUp .8s var(--ftm-ease) .85s both; }
	.ftm-profile--f .ftm-p-connect { animation: ftmUp .8s var(--ftm-ease) 1s both; }
	.ftm-profile--f .ftm-p-photo__frame { animation: ftmWipe 1.3s var(--ftm-ease) .3s both; }
	.ftm-profile--f .ftm-p-photo__img { animation: ftmZoom 1.8s var(--ftm-ease) .3s both; }
	.ftm-profile--f .ftm-r1 { animation: ftmDraw 1.6s var(--ftm-ease) .55s both; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
	.ftm-profile--f .ftm-r2 { animation: ftmFade 1s ease 1s both, ftmSpin var(--ftm-spin) linear 1s infinite; }
	.ftm-profile--f.ftm-spin-off .ftm-r2 { animation: ftmFade 1s ease 1s both; }
	.ftm-profile--f .ftm-p-badge { animation: ftmPop .8s var(--ftm-ease) 1.15s both; }
	.ftm-profile--f .ftm-p-wave__line { animation: ftmCvWipe 1.8s var(--ftm-ease) .9s both; }
	/* Body: paragraphs and chips cascade in once revealed (JS sets --i) */
	.ftm-profile--f .ftm-p-bio.ftm-in p { animation: ftmUp .8s var(--ftm-ease) both; animation-delay: calc(var(--i, 0) * .14s); }
	.ftm-profile--f .ftm-p-aside.ftm-in .ftm-chips li { animation: ftmUp .6s var(--ftm-ease) both; animation-delay: calc(.15s + var(--i, 0) * .08s); }
}
/* Settings → "Animation: off" — everything shows in its final state */
.ftm-profile--f.ftm-motion-off .ftm-cv__line,
.ftm-profile--f.ftm-motion-off .ftm-cv__line--2,
.ftm-profile--f.ftm-motion-off .ftm-cv__line--3,
.ftm-profile--f.ftm-motion-off .ftm-w > span,
.ftm-profile--f.ftm-motion-off .ftm-p-back,
.ftm-profile--f.ftm-motion-off .ftm-p-creds,
.ftm-profile--f.ftm-motion-off .ftm-p-rule,
.ftm-profile--f.ftm-motion-off .ftm-p-role,
.ftm-profile--f.ftm-motion-off .ftm-p-connect,
.ftm-profile--f.ftm-motion-off .ftm-p-photo__frame,
.ftm-profile--f.ftm-motion-off .ftm-p-photo__img,
.ftm-profile--f.ftm-motion-off .ftm-r1,
.ftm-profile--f.ftm-motion-off .ftm-r2,
.ftm-profile--f.ftm-motion-off .ftm-p-badge,
.ftm-profile--f.ftm-motion-off .ftm-p-wave__line,
.ftm-profile--f.ftm-motion-off .ftm-p-bio p,
.ftm-profile--f.ftm-motion-off .ftm-chips li { animation: none !important; clip-path: none !important; }
.ftm-profile--f.ftm-motion-off .ftm-r1 { transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }

@media (max-width: 1024px) {
	.ftm-profile--f .ftm-p-hero__inner { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
	.ftm-profile--f .ftm-p-body__inner { grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; }
}
@media (max-width: 767px) {
	/* phone curves: portrait paths, same bottom-left → top-right sweep as desktop */
	.ftm-profile--f .ftm-cv__desk { display: none !important; }
	.ftm-profile--f .ftm-cv__mob { display: block !important; }
	/* compact hero */
	.ftm-profile--f .ftm-p-hero { padding: 28px 0 68px; }
	.ftm-profile--f .ftm-p-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.ftm-profile--f .ftm-p-photo { order: -1; width: 150px; justify-self: start; margin-left: 12px; }
	.ftm-profile--f .ftm-p-photo__frame { border-width: 5px; }
	.ftm-profile--f .ftm-p-back { margin-bottom: 12px; }
	.ftm-profile--f .ftm-p-name { font-size: clamp(30px, 8.8vw, 38px); }
	.ftm-profile--f .ftm-p-creds { margin-top: 6px !important; font-size: 15px; }
	.ftm-profile--f .ftm-p-rule { display: none; }
	.ftm-profile--f .ftm-p-role { margin-top: 10px !important; }
	.ftm-profile--f .ftm-p-connect { margin-top: 16px; }
	.ftm-profile--f .ftm-p-wave { height: 40px; }
	.ftm-profile--f .ftm-p-body { padding-top: 20px; }
	.ftm-profile--f .ftm-p-body__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ftm-profile--f .ftm-p-aside { position: static; }
	.ftm-profile--f .ftm-chips { flex-direction: row; }
}

/* Profile responsive */
@media (max-width: 1024px) {
	.ftm-profile--a .ftm-p-hero__inner,
	.ftm-profile--b .ftm-p-hero__inner,
	.ftm-profile--c .ftm-p-hero__inner { gap: 40px; }
	.ftm-profile--a .ftm-p-body__inner,
	.ftm-profile--b .ftm-p-body__inner,
	.ftm-profile--d .ftm-p-body__inner { gap: 48px; grid-template-columns: minmax(0, 1fr) 260px; }
	.ftm-profile--d .ftm-p-hero__inner { gap: 40px; grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 767px) {
	.ftm-profile--a .ftm-p-hero__inner,
	.ftm-profile--b .ftm-p-hero__inner,
	.ftm-profile--c .ftm-p-hero__inner,
	.ftm-profile--a .ftm-p-body__inner,
	.ftm-profile--b .ftm-p-body__inner,
	.ftm-profile--d .ftm-p-hero__inner,
	.ftm-profile--d .ftm-p-body__inner { grid-template-columns: minmax(0, 1fr); }
	.ftm-profile--d .ftm-p-hero { padding-top: 40px; }
	.ftm-profile--d .ftm-p-intro { padding-bottom: 0; }
	.ftm-profile--d .ftm-p-photo { max-width: 250px; margin-bottom: -90px; }
	.ftm-profile--d .ftm-p-body { padding-top: 130px; }
	.ftm-profile--d .ftm-p-aside { padding-top: 0; }
	.ftm-profile--a .ftm-p-hero { padding-top: 40px; }
	.ftm-profile--a .ftm-p-photo,
	.ftm-profile--c .ftm-p-photo { max-width: 260px; }
	.ftm-profile--a .ftm-p-aside { position: static; }
	.ftm-profile--b .ftm-p-hero { padding-top: 48px; }
	.ftm-profile--b .ftm-p-intro { padding-bottom: 0; }
	.ftm-profile--b .ftm-p-photo { max-width: 250px; margin-bottom: -80px; }
	.ftm-profile--b .ftm-p-aside { padding-top: 0; }
	.ftm-profile--b .ftm-p-body { padding-top: 120px; }
	.ftm-profile--c .ftm-p-hero { padding: 48px 0 64px; }
	.ftm-profile--c .ftm-p-photo { margin-right: 28px; }
	.ftm-p-body { padding: 48px 0 64px; }
	.ftm-p-related { padding: 56px 0 64px; }
}

/* =========================================================================
   Reveal on scroll — only hidden once JS has armed the wrapper.
   ========================================================================= */
.ftm.ftm--armed .ftm-reveal { opacity: 0; transform: translateY(16px); }
.ftm.ftm--armed .ftm-reveal.ftm-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
	.ftm.ftm--armed .ftm-reveal {
		transition: opacity .7s ease, transform .7s var(--ftm-ease);
		transition-delay: var(--ftm-delay, 0ms);
	}
}
@media (prefers-reduced-motion: reduce) {
	.ftm.ftm--armed .ftm-reveal { opacity: 1; transform: none; }
	.ftm .ftm-card__img, .ftm .ftm-card, .ftm .ftm-card__bar, .ftm .ftm-card__tab { transition: none !important; }
}

/* =========================================================================
   Elementor containment — keeps the widgets full width inside flex
   containers and stops their overlapping layers (arch, photo card)
   stacking above neighbouring containers or the editor's handles.
   ========================================================================= */
/* A definite width matters: in a wrapping column container Elementor's widget is otherwise
   measured at "fit-content" width, and the bio cards (container queries) then count their
   height as if one word per line — leaving thousands of px of empty space on phones. */
:is(.e-con, .e-con-inner) > :is(.elementor-widget-ftm-team-profile, .elementor-widget-ftm-team-grid, .elementor-widget-ftm-service-team, .elementor-widget-ftm-service-expert, .elementor-widget-ftm-spotlight-cards) {
	width: 100%; max-width: 100%; flex: 0 0 auto; align-self: stretch;
}
.ftm { position: relative; z-index: 0; isolation: isolate; }
.ftm-profile { width: 100%; }

/* =========================================================================
   MOBILE POLISH (phones ≤ 767px, small phones ≤ 400px)
   ========================================================================= */
@media (max-width: 767px) {
	/* Gutter — containers on this site often have 0 side padding */
	.ftm-team { padding-left: 16px; padding-right: 16px; }
	.ftm-service { padding-left: 16px; padding-right: 16px; }
	.ftm-p-hero__inner, .ftm-p-body__inner, .ftm-p-related__inner { padding-left: 20px; padding-right: 20px; }

	/* Team page groups */
	.ftm-group + .ftm-group { margin-top: 56px; }
	.ftm-group__head { gap: 14px; margin-bottom: 20px; }
	.ftm-group__title { font-size: 22px; white-space: normal; }
	.ftm-grid { gap: 24px 14px; }

	/* Compact Portrait (A) + Spotlight (C) cards for the 2-up phone grid */
	.ftm--a .ftm-card__name, .ftm--c .ftm-card__name { font-size: 16px; line-height: 1.25; }
	.ftm--a .ftm-card__creds, .ftm--c .ftm-card__creds { font-size: 12.5px; margin-top: 2px !important; }
	.ftm--a .ftm-card__role, .ftm--c .ftm-card__role { font-size: 10.5px; letter-spacing: .07em !important; margin-top: 6px !important; }
	.ftm--a .ftm-card__body { padding-top: 12px; }
	.ftm--a .ftm-card__foot, .ftm--c .ftm-card__foot { gap: 8px; margin-top: 10px; }
	.ftm--a .ftm-card__foot { padding-top: 10px; }
	.ftm--a .ftm-social--icons .ftm-social__link,
	.ftm--c .ftm-social--icons .ftm-social__link { width: 32px; height: 32px; }
	.ftm--a .ftm-card__more span, .ftm--c .ftm-card__more span { display: none; } /* arrow only; link keeps its aria-label */
	.ftm--a .ftm-card__more, .ftm--c .ftm-card__more {
		width: 32px; height: 32px; justify-content: center;
		border: 1px solid var(--ftm-line); border-radius: 50%;
	}
	.ftm--c .ftm-card__more { border-color: rgba(255, 255, 255, .45); }
	.ftm--c .ftm-card__body { padding: 14px 12px 12px; }
	.ftm--c .ftm-card__foot,
	.ftm--c .ftm-card:hover .ftm-card__foot { max-height: 60px; opacity: 1; margin-top: 10px; padding-top: 10px; }
	/* Spotlight on phones: cards are too short for text over the photo, so the
	   text moves into a navy panel under it — faces stay fully visible. */
	.ftm--c .ftm-card { grid-template-rows: auto 1fr; }
	.ftm--c .ftm-card__body { grid-area: 2 / 1; align-self: stretch; display: flex; flex-direction: column; }
	.ftm--c .ftm-card__foot { margin-top: auto !important; }
	.ftm--c .ftm-card__name { margin-top: 0 !important; }
	.ftm--c .ftm-card__media { aspect-ratio: 4 / 5; }
	.ftm--c .ftm-card__shade { display: none; }
	.ftm--c .ftm-card__img { filter: none; }
	.ftm--a .ftm-card__foot, .ftm--c .ftm-card__foot { flex-wrap: nowrap; }
	.ftm--a .ftm-social, .ftm--c .ftm-social { flex-wrap: nowrap; gap: 6px; }
	.ftm--a .ftm-social__link, .ftm--c .ftm-social__link,
	.ftm--a .ftm-card__more, .ftm--c .ftm-card__more { box-sizing: border-box; width: 30px !important; height: 30px !important; flex: 0 0 30px; }

	/* Panel (B) */
	.ftm--b .ftm-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px; }
	.ftm--b .ftm-card__name { font-size: 17px; }

	/* Service section head */
	.ftm-service__title { font-size: 26px; }
	.ftm-service__head { gap: 14px; }

	/* Profiles: photo first and smaller, tighter type */
	.ftm-p-name, .ftm-profile--c .ftm-p-name { font-size: clamp(30px, 8.6vw, 38px); }
	.ftm-p-creds { font-size: 16px; }
	.ftm-p-back { margin-bottom: 18px; }
	.ftm-p-rule { margin: 16px 0 14px; }
	.ftm-p-connect { margin-top: 20px; }
	.ftm-social--buttons .ftm-social__link { height: 42px; padding: 0 16px; }
	.ftm-p-bio p { font-size: 16.5px; line-height: 1.7; }
	.ftm-profile--c .ftm-p-bio p:first-child { font-size: 18.5px; }
	.ftm-profile--a .ftm-p-hero,
	.ftm-profile--c .ftm-p-hero,
	.ftm-profile--d .ftm-p-hero { padding-top: 32px; }
	.ftm-profile--a .ftm-p-hero__inner,
	.ftm-profile--c .ftm-p-hero__inner,
	.ftm-profile--d .ftm-p-hero__inner { gap: 28px; }
	.ftm-profile--a .ftm-p-photo,
	.ftm-profile--c .ftm-p-photo,
	.ftm-profile--d .ftm-p-photo { order: -1; max-width: 210px; }
	.ftm-profile--c .ftm-p-photo__block { top: 16px; right: -16px; }
	.ftm-profile--c .ftm-p-photo { margin-right: 16px; }
	.ftm-profile--c .ftm-p-hero { padding-bottom: 48px; }
	.ftm-profile--a .ftm-p-photo__block { left: -10px; bottom: -10px; }
	/* D: card no longer overlaps downward once it sits on top */
	.ftm-profile--d .ftm-p-photo { margin-bottom: 0; padding: 18px 16px 16px; }
	.ftm-profile--d .ftm-p-photo__logo { margin-bottom: 14px; }
	.ftm-profile--d .ftm-p-photo__logo img { width: 104px; }
	.ftm-profile--d .ftm-p-intro { padding-bottom: 40px; }
	.ftm-profile--d .ftm-p-body { padding-top: 48px; }
	.ftm-profile--b .ftm-p-photo { max-width: 210px; }
	.ftm-p-aside { border-top: 1px solid var(--ftm-line); padding-top: 28px !important; }
	.ftm-p-related__title { margin-bottom: 24px !important; }
}
@media (max-width: 400px) {
	.ftm-team { padding-left: 12px; padding-right: 12px; }
	.ftm-grid { gap: 20px 10px; }
	.ftm--a .ftm-card__name, .ftm--c .ftm-card__name { font-size: 15px; }
	.ftm--a .ftm-card__creds, .ftm--c .ftm-card__creds { font-size: 11.5px; }
	.ftm--b .ftm-card { grid-template-columns: 80px minmax(0, 1fr); padding: 16px; }
}

/* =========================================================================
   PROFILE CONTACT FORM (all layouts) — shortcode set in Settings
   ========================================================================= */
.ftm-p-form { background: var(--ftm-mist); padding: 80px 0 96px; }
.ftm-p-form__inner { max-width: 820px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.ftm-p-form__title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 28px !important; }
.ftm-p-form__body {
	background: #fff;
	border-radius: 10px;
	padding: 36px 40px;
	box-shadow: 0 18px 44px rgba(32, 53, 86, .08);
}
@media (max-width: 767px) {
	.ftm-p-form { padding: 52px 0 64px; }
	.ftm-p-form__inner { padding: 0 16px; }
	.ftm-p-form__body { padding: 24px 20px; }
	.ftm-profile--e .ftm-p-rule { display: none; } /* arch mark between credentials and title: desktop only */
}

/* =========================================================================
   SERVICE EXPERT (single member, MNP style)
   ========================================================================= */
.ftm-expert { padding: 80px 24px; }
.ftm-expert--white { background: #fff; }
.ftm-expert--mist { background: var(--ftm-mist); }
.ftm-expert__inner { max-width: 1180px; margin: 0 auto; }
.ftm-expert__heading { font-size: clamp(26px, 3vw, 34px); margin-bottom: 40px !important; }
.ftm-expert__underline { display: block; width: 64px; height: 3px; background: var(--ftm-teal); margin-top: 14px; }
.ftm-expert__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 56px;
	align-items: start;
}
.ftm-expert__card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 26px; align-items: start; }
.ftm-expert__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--ftm-mist); }
.ftm-expert__photo a { display: block; width: 100%; height: 100%; }
.ftm-expert__img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 18%; transition: transform .6s var(--ftm-ease); }
.ftm-expert__photo:hover .ftm-expert__img { transform: scale(1.04); }
.ftm-expert__name { font-size: 21px; line-height: 1.3; }
.ftm-expert__creds { font-family: var(--ftm-body); font-size: 15px; font-weight: 500; color: var(--ftm-slate); white-space: nowrap; }
.ftm-expert__role { margin-top: 6px !important; font-size: 15px; color: var(--ftm-slate); }
.ftm-expert__rows {
	margin-top: 18px !important;
	padding-top: 16px !important;
	border-top: 1px solid var(--ftm-line);
	display: grid;
	gap: 10px;
}
.ftm-expert__row { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ftm-ink); min-width: 0; }
.ftm-expert__row svg { flex: 0 0 auto; color: var(--ftm-teal); }
.ftm-expert__row a { color: var(--ftm-ink) !important; overflow-wrap: anywhere; }
.ftm-expert__row a:hover, .ftm-expert__row a:focus { color: var(--ftm-teal-ink) !important; }
/* LinkedIn icon: round button like the cards; greyed + not clickable when there's no URL */
.ftm-expert__li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--ftm-line);
	background: #fff;
	color: var(--ftm-navy) !important;
	transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.ftm-expert__li svg { color: currentColor !important; }
a.ftm-expert__li:hover, a.ftm-expert__li:focus-visible { background: #0a66c2; border-color: #0a66c2; color: #fff !important; }
.ftm-expert__li.is-off { opacity: .35; cursor: default; }
.ftm-expert__more {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--ftm-line);
	font-weight: 600;
	font-size: 15px;
	color: var(--ftm-navy) !important;
}
.ftm-expert__more:hover, .ftm-expert__more:focus { color: var(--ftm-teal-ink) !important; }
.ftm-expert__more svg { transition: transform .25s ease; }
.ftm-expert__more:hover svg { transform: translateX(4px); }
.ftm-expert__bio p { font-size: 16px; line-height: 1.75; color: #33414f; }
.ftm-expert__bio p + p { margin-top: 16px !important; }
@media (max-width: 1024px) {
	.ftm-expert__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 767px) {
	.ftm-expert { padding: 56px 16px; }
	.ftm-expert__heading { margin-bottom: 28px !important; }
	.ftm-expert__card { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
	.ftm-expert__name { font-size: 19px; }
	.ftm-expert__creds { white-space: normal; }
	.ftm-expert__row { font-size: 14.5px; }
}
@media (max-width: 400px) {
	.ftm-expert__card { grid-template-columns: minmax(0, 1fr); }
	.ftm-expert__photo { max-width: 180px; }
}

/* =========================================================================
   MAC / SAFARI CARD FIXES
   1. Consultz colours focused links beige (a:focus) — after a click Safari
      keeps the focus, so card names looked "yellow". Pin every link state.
   2. Smooth the top-bar hover (transform instead of width) and stop Safari
      re-rasterising text over the zooming photo (colour fringing / flicker).
   ========================================================================= */
.ftm .ftm-card__name a:link,
.ftm .ftm-card__name a:visited,
.ftm .ftm-card__name a:focus,
.ftm .ftm-card__name a:active { color: inherit !important; text-decoration: none !important; }
.ftm--a .ftm-card__name a:hover, .ftm--b .ftm-card__name a:hover { color: var(--ftm-teal-ink) !important; }
.ftm--c .ftm-card__name a:hover { color: var(--ftm-teal-soft) !important; }
.ftm .ftm-card__more:focus, .ftm .ftm-card__more:active,
.ftm .ftm-p-back:focus, .ftm .ftm-p-back:active { color: inherit; }
.ftm a:focus:not(:focus-visible) { outline: none; }

.ftm--c .ftm-card__tab {
	width: 100%;
	transform: scaleX(.18);
	transform-origin: left center;
	transition: transform .5s var(--ftm-ease);
	will-change: transform;
}
.ftm--c .ftm-card:hover .ftm-card__tab,
.ftm--c .ftm-card:focus-within .ftm-card__tab { width: 100%; transform: scaleX(1); }
.ftm--a .ftm-card__bar { will-change: transform; }
.ftm-card__media { -webkit-mask-image: -webkit-radial-gradient(white, black); }       /* clips the zoom cleanly in Safari */
.ftm-card__img { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ftm--c .ftm-card__body { transform: translateZ(0); -webkit-font-smoothing: antialiased; }

/* =========================================================================
   BUILT-IN CONTACT FORM (profile pages)
   ========================================================================= */
.ftm .ftm-cf { font-family: var(--ftm-body); }
.ftm .ftm-cf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.ftm .ftm-cf__field { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.ftm .ftm-cf__field--message { grid-column: 1 / -1; }
.ftm .ftm-cf label { font-size: 14px; font-weight: 500; color: var(--ftm-navy); line-height: 1.3; margin: 0; }
.ftm .ftm-cf__req { color: var(--ftm-teal-ink); }
.ftm .ftm-cf input[type="text"],
.ftm .ftm-cf input[type="email"],
.ftm .ftm-cf input[type="tel"],
.ftm .ftm-cf select,
.ftm .ftm-cf textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	font: 400 16px/1.4 var(--ftm-body);
	color: var(--ftm-ink);
	background-color: #fff;
	border: 1px solid #d5dce3;
	border-radius: 4px;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.ftm .ftm-cf select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23203556' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}
.ftm .ftm-cf textarea { min-height: 140px; resize: vertical; }
.ftm .ftm-cf input:focus,
.ftm .ftm-cf select:focus,
.ftm .ftm-cf textarea:focus { outline: none; border-color: var(--ftm-teal); box-shadow: 0 0 0 3px rgba(0, 152, 119, .18); }
.ftm .ftm-cf input[aria-invalid="true"],
.ftm .ftm-cf select[aria-invalid="true"],
.ftm .ftm-cf textarea[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.ftm .ftm-cf__err { min-height: 0; font-size: 13px; color: #b3261e; }
.ftm .ftm-cf__err:empty { display: none; }
.ftm .ftm-cf__optin { margin: 20px 0 0; }
.ftm .ftm-cf__optin label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ftm-slate); font-size: 14px; line-height: 1.5; }
.ftm .ftm-cf__optin input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--ftm-teal); }
.ftm .ftm-cf__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.ftm .ftm-cf__submit {
	font: 600 15px/1 var(--ftm-body);
	letter-spacing: .02em;
	color: #fff;
	background: var(--ftm-teal);
	border: 0;
	border-radius: 3px;
	padding: 16px 34px;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.ftm .ftm-cf__submit:hover { background: var(--ftm-teal-ink); }
.ftm .ftm-cf__submit:focus-visible { outline: 2px solid var(--ftm-navy); outline-offset: 3px; }
.ftm .ftm-cf__submit[disabled] { opacity: .6; cursor: progress; }
.ftm .ftm-cf__status { font-size: 14px; color: var(--ftm-slate); }
.ftm .ftm-cf__alert { margin-bottom: 18px; padding: 12px 16px; border-left: 3px solid #c0392b; background: #fdf1f0; color: #7a1f17; font-size: 14px; }
.ftm .ftm-cf__done {
	padding: 22px 24px;
	border-left: 4px solid var(--ftm-teal);
	background: rgba(0, 152, 119, .07);
	color: var(--ftm-navy);
	font-size: 17px;
	font-weight: 500;
}
.ftm .ftm-cf__done:focus { outline: none; }
/* honeypot: off-screen for people, visible to bots */
.ftm .ftm-cf__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
	.ftm .ftm-cf__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.ftm .ftm-cf__submit { width: 100%; }
}

/* =========================================================================
   EVEN CARD FOOTERS — same height whether a person has 0, 1 or 2 links
   ========================================================================= */
.ftm-card__foot { min-height: 36px; }
.ftm--c .ftm-card:hover .ftm-card__foot,
.ftm--c .ftm-card:focus-within .ftm-card__foot { min-height: 36px; }
.ftm--c .ftm-card__foot { min-height: 0; }
.ftm-social-spacer { display: block; width: 1px; height: 36px; }
.ftm--c .ftm-card__foot--empty { display: none; }
@media (max-width: 767px) {
	.ftm-card__foot { min-height: 30px; }
	.ftm-social-spacer { height: 30px; }
	.ftm--c .ftm-card__foot--empty { display: flex; }
}
/* Portrait (A): pin the footer to the bottom so rows line up even when a card has no credentials line */
.ftm--a .ftm-card { display: flex; flex-direction: column; }
.ftm--a .ftm-card__body { flex: 1 1 auto; display: flex; flex-direction: column; }
.ftm--a .ftm-card__body > p:last-of-type { margin-bottom: 16px !important; }
.ftm--a .ftm-card__foot { margin-top: auto; }
@media (max-width: 767px) {
	.ftm--a .ftm-card__body > p:last-of-type { margin-bottom: 10px !important; }
}

/* =========================================================================
   MISSING LINKS — icon still shown (same look on every card/profile),
   greyed out and not clickable
   ========================================================================= */
.ftm .ftm-social__link.is-off { opacity: .4; cursor: default; pointer-events: none; }
.ftm--c .ftm-social__link.is-off { opacity: .35; }
.ftm-profile--f .ftm-p-connect .ftm-social__link.is-off { opacity: .3; box-shadow: none; }

/* =========================================================================
   SPOTLIGHT CARDS widget — free image + text cards in the C Spotlight look.
   Every visual value is a --spot-* variable driven by the widget controls.
   ========================================================================= */
.ftm-spot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ftm-spot {
	--spot-dur: .8s;
	--spot-ease: cubic-bezier(.2, .7, .2, 1);
	position: relative; display: grid; grid-template-columns: var(--spot-cols, minmax(0, 1fr)); grid-template-rows: auto;
	overflow: hidden; isolation: isolate; background-color: #203556; color: #fff;
	text-decoration: none !important; border-radius: 0;
	transition: translate var(--spot-dur) var(--spot-ease), box-shadow var(--spot-dur) var(--spot-ease);
}
a.ftm-spot, a.ftm-spot:hover, a.ftm-spot:focus, a.ftm-spot:active, a.ftm-spot:visited { color: #fff; text-decoration: none !important; }
.ftm-spot:hover { translate: 0 var(--spot-lift, 0px); }
.ftm-spot > * { grid-area: var(--spot-media-area, 1 / 1); }
.ftm-spot__media { position: relative; z-index: 0; aspect-ratio: 3 / 4; overflow: hidden; margin: 0; align-self: stretch; min-height: 0; }
.ftm-spot .ftm-spot__img {
	display: block; width: 100%; height: 100% !important; max-width: none; margin: 0; border-radius: 0;
	object-fit: cover; object-position: 50% 20%;
	filter: grayscale(var(--spot-gray, 30%));
	transform: scale(1);
	transition: transform var(--spot-dur) var(--spot-ease), filter var(--spot-dur) var(--spot-ease);
}
.ftm-spot:hover .ftm-spot__img, .ftm-spot:focus-within .ftm-spot__img {
	transform: scale(var(--spot-zoom, 1.05)); filter: grayscale(var(--spot-gray-h, 0%));
}
.ftm-spot__shade {
	display: var(--spot-shade, block);
	position: relative; z-index: 1; pointer-events: none; align-self: stretch;
	background: linear-gradient(var(--spot-angle, 180deg),
		var(--spot-c1, rgba(22, 39, 62, 0)) var(--spot-p1, 38%),
		var(--spot-c2, rgba(22, 39, 62, .55)) var(--spot-p2, 62%),
		var(--spot-c3, rgba(22, 39, 62, .96)) var(--spot-p3, 100%));
	transition: opacity var(--spot-dur) var(--spot-ease);
}
.ftm-spot__shade--hover {
	opacity: 0;
	background: linear-gradient(var(--spot-angle, 180deg),
		var(--spot-h1, rgba(22, 39, 62, .15)) var(--spot-p1, 38%),
		var(--spot-h2, rgba(22, 39, 62, .7)) var(--spot-p2, 62%),
		var(--spot-h3, rgba(0, 120, 94, .95)) var(--spot-p3, 100%));
}
.ftm-spot--shade-hover .ftm-spot:hover .ftm-spot__shade--hover,
.ftm-spot--shade-hover .ftm-spot:focus-within .ftm-spot__shade--hover { opacity: 1; }
.ftm-spot--shade-hover .ftm-spot:hover .ftm-spot__shade:not(.ftm-spot__shade--hover),
.ftm-spot--shade-hover .ftm-spot:focus-within .ftm-spot__shade:not(.ftm-spot__shade--hover) { opacity: 0; }

.ftm-spot__bar {
	position: relative; z-index: 3; align-self: start; width: 100%; height: 4px; background-color: #009877;
	transform-origin: left center; transform: scaleX(var(--spot-bar-w, .18));
	transition: transform var(--spot-dur) var(--spot-ease);
}
.ftm-spot--bar-bottom .ftm-spot__bar { align-self: end; }
.ftm-spot--no-bar .ftm-spot__bar { display: none; }
.ftm-spot:hover .ftm-spot__bar, .ftm-spot:focus-within .ftm-spot__bar { transform: scaleX(var(--spot-bar-wh, 1)); }

.ftm-spot .ftm-spot__body { grid-area: var(--spot-body-area, 1 / 1); position: relative; z-index: 2; align-self: end; padding: 24px 22px 22px; min-width: 0; }
.ftm-spot .ftm-spot__title {
	margin: 0; padding: 0; color: #fff; font-size: 1.3rem; line-height: 1.2; font-weight: 600; letter-spacing: 0;
	transition: color .3s ease;
}
.ftm-spot .ftm-spot__sub { margin: 6px 0 0; padding: 0; color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.4; }
.ftm-spot .ftm-spot__label {
	margin: 10px 0 0; padding: 0; color: #5fd3b8; font-size: .72rem; line-height: 1.4;
	font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.ftm-spot .ftm-spot__desc { margin: 12px 0 0; color: rgba(255, 255, 255, .85); font-size: .92rem; line-height: 1.55; }
.ftm-spot .ftm-spot__desc p, .ftm-spot .ftm-spot__desc ul, .ftm-spot .ftm-spot__desc ol { margin: 0; color: inherit; font: inherit; }
.ftm-spot .ftm-spot__desc > * + * { margin-top: .8em !important; }
.ftm-spot .ftm-spot__desc a { color: #5fd3b8; text-decoration: underline; }
.ftm-spot__foot { margin-top: 16px; padding-top: 14px; border-top: 1px none rgba(255, 255, 255, .22); }
.ftm-spot .ftm-spot__btn {
	display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none !important;
	font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: color .3s ease;
	background: none; border: 0; padding: 0; box-shadow: none;
}
a.ftm-spot__btn:hover, a.ftm-spot__btn:focus, a.ftm-spot__btn:visited { text-decoration: none !important; }
.ftm-spot__btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s ease; }
.ftm-spot:hover .ftm-spot__btn svg, .ftm-spot:focus-within .ftm-spot__btn svg { transform: translateX(4px); }
.ftm-spot:hover .ftm-spot__title, .ftm-spot:focus-within .ftm-spot__title,
.ftm-spot:hover .ftm-spot__btn, .ftm-spot:focus-within .ftm-spot__btn { color: #5fd3b8; }

/* Reveal-on-hover text / button (mouse devices only; touch always shows) */
@media (hover: hover) {
	.ftm-spot--desc-hover .ftm-spot__desc,
	.ftm-spot--btn-hover .ftm-spot__foot {
		max-height: 0; opacity: 0; overflow: hidden; margin-top: 0 !important; padding-top: 0;
		transition: max-height var(--spot-dur) var(--spot-ease), opacity var(--spot-dur) var(--spot-ease),
			margin var(--spot-dur) var(--spot-ease), padding var(--spot-dur) var(--spot-ease);
	}
	.ftm-spot--desc-hover .ftm-spot:hover .ftm-spot__desc,
	.ftm-spot--desc-hover .ftm-spot:focus-within .ftm-spot__desc { max-height: 60em; opacity: 1; margin-top: 12px !important; }
	.ftm-spot--btn-hover .ftm-spot:hover .ftm-spot__foot,
	.ftm-spot--btn-hover .ftm-spot:focus-within .ftm-spot__foot { max-height: 5em; opacity: 1; margin-top: 16px !important; padding-top: 14px; }
}
.ftm-spot:focus-visible, .ftm-spot__btn:focus-visible { outline: 3px solid #5fd3b8; outline-offset: 3px; }

@media (max-width: 1024px) { .ftm-spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.ftm-spot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.ftm-spot, .ftm-spot__img, .ftm-spot__shade, .ftm-spot__bar, .ftm-spot__desc, .ftm-spot__foot { transition: none !important; }
	.ftm-spot:hover { translate: none; }
}

/* Spotlight: card width / single card */
.ftm-spot { width: 100%; justify-self: start; }
.ftm-spot-grid.ftm-spot-grid--single { grid-template-columns: minmax(0, 1fr) !important; }
.ftm-spot-grid--single .ftm-spot { max-width: 420px; }

/* Spotlight: section heading (shares the Service Team head look) */
.ftm-spot-head--center { flex-direction: column; align-items: center; text-align: center; }
.ftm-spot-head--center .ftm-service__titles { margin-left: auto; margin-right: auto; }
.ftm-spot-head .ftm-service__title { margin: 0; }
@media (max-width: 767px) { .ftm-spot-head { margin-bottom: 32px; } }

/* Spotlight heading: thin line after the title (like Team page group headings) */
.ftm-spot-head--line .ftm-service__titles { flex: 1 1 320px; max-width: none; }
.ftm-spot-head--line .ftm-service__intro { max-width: 640px; }
.ftm-spot-head__row { display: flex; align-items: center; gap: 24px; }
.ftm-spot-head__row .ftm-service__title { flex: 0 1 auto; }
.ftm-spot-head__row .ftm-group__rule { flex: 1 1 40px; min-width: 40px; height: 1px; background: var(--ftm-line); }
.ftm-spot-head--center.ftm-spot-head--line .ftm-service__titles { width: 100%; flex: 0 0 auto; }
.ftm-spot-head--center .ftm-spot-head__row { justify-content: center; }
.ftm-spot-head--center .ftm-service__intro { margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .ftm-spot-head__row { gap: 14px; } }

/* =========================================================================
   CARD DESIGN D — Spotlight photo + full bio on the card (no profile page)
   Wide card → photo beside the bio; narrow card → photo above (container query).
   ========================================================================= */
.ftm--d .ftm-grid { gap: 44px 36px; }
.ftm-bio {
	container-type: inline-size;
	container-name: ftmbio;
	background: var(--ftm-bio-bg, #fff);
	border: 1px solid var(--ftm-line);
	scroll-margin-top: 120px;
}
.ftm-bio__in { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; height: 100%; }
.ftm-bio__media { min-width: 0; }
.ftm-bio__frame { position: relative; aspect-ratio: 4 / 5; max-height: 460px; width: 100%; overflow: hidden; background: var(--ftm-navy); }
.ftm-bio .ftm-bio__img, .ftm-bio__frame .ftm-mono {
	position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none;
	object-fit: cover; object-position: 50% 20%;
	filter: grayscale(30%); transform: scale(1);
	transition: filter .8s var(--ftm-ease, ease), transform .8s var(--ftm-ease, ease);
}
.ftm-bio:hover .ftm-bio__img { filter: grayscale(0%); transform: scale(1.04); }
.ftm-bio__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(22, 39, 62, 0) 55%, rgba(22, 39, 62, .5) 100%); }
.ftm-bio__bar {
	position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--ftm-teal);
	transform-origin: left center; transform: scaleX(.18); transition: transform .8s var(--ftm-ease, ease);
}
.ftm-bio:hover .ftm-bio__bar { transform: scaleX(1); }
.ftm-bio__body { display: flex; flex-direction: column; min-width: 0; padding: 24px 22px 22px; }
.ftm-bio__head { padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--ftm-line); }
.ftm-bio .ftm-bio__name { font-size: 24px; line-height: 1.2; color: var(--ftm-navy); }
.ftm-bio .ftm-bio__name a, .ftm-bio .ftm-bio__name a:hover, .ftm-bio .ftm-bio__name a:focus, .ftm-bio .ftm-bio__name a:visited { color: var(--ftm-navy) !important; text-decoration: none; }
.ftm-bio .ftm-bio__creds { margin-top: 4px !important; font-size: 14px; color: var(--ftm-slate); }
.ftm-bio .ftm-bio__role {
	margin-top: 10px !important; font-size: 12.5px; font-weight: 600; line-height: 1.4;
	letter-spacing: .12em !important; text-transform: uppercase !important; color: var(--ftm-teal-ink);
}
.ftm-bio .ftm-bio__text { font-size: 16px; line-height: 1.7; color: var(--ftm-ink); }
.ftm-bio .ftm-bio__text p { margin: 0; }
.ftm-bio .ftm-bio__text > * + * { margin-top: .9em !important; }
.ftm-bio .ftm-bio__text a { color: var(--ftm-teal-ink) !important; text-decoration: underline; }
.ftm-bio .ftm-bio__more { margin-top: .9em; }
.ftm-bio .ftm-bio__more[hidden] { display: none; }
.ftm-bio .ftm-bio__toggle {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
	margin: 14px 0 0; padding: 0 0 4px; background: none !important; border: 0; border-bottom: 2px solid var(--ftm-teal); border-radius: 0;
	color: var(--ftm-navy) !important; font: 600 14px/1.4 var(--ftm-body, inherit); cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0;
}
.ftm-bio .ftm-bio__toggle svg { transform: rotate(90deg); transition: transform .25s ease; }
.ftm-bio .ftm-bio__toggle[aria-expanded="true"] svg { transform: rotate(-90deg); }
.ftm-bio__foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ftm-bio .ftm-bio__profile, .ftm-bio .ftm-bio__profile:hover, .ftm-bio .ftm-bio__profile:focus, .ftm-bio .ftm-bio__profile:visited {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px;
	color: var(--ftm-navy) !important; border-bottom: 2px solid var(--ftm-teal); padding-bottom: 3px; text-decoration: none;
}

/* Wide card: photo beside the bio, photo stays in view while reading a long bio */
@container ftmbio (min-width: 540px) {
	.ftm-bio__in { grid-template-columns: minmax(170px, 36%) minmax(0, 1fr); grid-template-rows: 1fr; }
	.ftm-bio__frame { position: sticky; top: var(--ftm-sticky-top, 110px); max-height: none; }
	.ftm-bio__body { padding: 30px 32px 28px; }
	.ftm-bio .ftm-bio__name { font-size: 26px; }
	.ftm-bios--zigzag .ftm-grid > .ftm-bio:nth-child(even) .ftm-bio__in { grid-template-columns: minmax(0, 1fr) minmax(170px, 36%); }
	.ftm-bios--zigzag .ftm-grid > .ftm-bio:nth-child(even) .ftm-bio__media { order: 2; }
	.ftm-bios--top .ftm-bio__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.ftm-bios--top .ftm-bio__frame { position: relative; top: auto; max-height: 520px; }
}
@container ftmbio (min-width: 860px) {
	.ftm-bio__in { grid-template-columns: minmax(220px, 32%) minmax(0, 1fr); }
	.ftm-bio__body { padding: 36px 44px 32px; }
	.ftm-bio .ftm-bio__text { font-size: 16.5px; }
	.ftm-bios--zigzag .ftm-grid > .ftm-bio:nth-child(even) .ftm-bio__in { grid-template-columns: minmax(0, 1fr) minmax(220px, 32%); }
}
@media (max-width: 767px) {
	.ftm--d .ftm-grid { gap: 28px; }
	.ftm-bio__frame { max-height: 420px; }
	.ftm-bio .ftm-bio__name { font-size: 22px; }
	.ftm-bio .ftm-bio__text { font-size: 15.5px; }
}
.ftm-service--navy .ftm-bio { border-color: transparent; }
@media (prefers-reduced-motion: reduce) {
	.ftm-bio__img, .ftm-bio__bar { transition: none !important; }
	.ftm-bio:hover .ftm-bio__img { transform: none; }
}
