/* ==========================================================================
   Family Farm Masterclass — landing page
   Scoped to #ffm so Salient's global typography/list/button styles don't leak in.
   ========================================================================== */

#ffm {
	--ffm-navy: #272a68;
	--ffm-navy-deep: #1c1f52;
	--ffm-blue: #3c5dab;
	--ffm-peri: #c9d1e8;
	--ffm-peri-soft: #e9edf7;
	--ffm-lav: #c3c6da;
	--ffm-ink: #23264f;
	--ffm-muted: #585c85;
	--ffm-white: #fff;
	--ffm-radius: 22px;
	--ffm-radius-sm: 12px;
	--ffm-shadow: 0 18px 40px -18px rgba(28, 31, 82, .35);
	--ffm-body: "PT Sans", "Helvetica Neue", Arial, sans-serif;
	--ffm-heading: "PT Sans", "Helvetica Neue", Arial, sans-serif;
	--ffm-gutter: clamp(16px, 4vw, 40px);

	font-family: var(--ffm-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ffm-ink);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

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

#ffm h1, #ffm h2, #ffm h3, #ffm h4 {
	color: var(--ffm-navy);
	letter-spacing: 0;
	margin: 0;
	padding: 0;
}
/* All headings except the hero logo (h1). */
#ffm h2, #ffm h3, #ffm h4 {
	font-family: var(--ffm-heading);
	text-transform: uppercase;
	font-weight: 700;
}

#ffm p { margin: 0 0 1em; padding: 0; font-family: var(--ffm-body); font-size: inherit; line-height: inherit; color: inherit; }
#ffm p:last-child { margin-bottom: 0; }
#ffm ul, #ffm ol { margin: 0; padding: 0; list-style: none; }
#ffm ul li, #ffm ol li { margin: 0; padding: 0; list-style: none; font-family: var(--ffm-body); }
#ffm img { display: block; max-width: 100%; height: auto; }
#ffm a { color: var(--ffm-blue); text-decoration: none; transition: color .2s; }
#ffm a:hover { color: var(--ffm-navy); }
#ffm strong { font-weight: 600; }
#ffm svg { display: block; }

#ffm .ffm-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--ffm-gutter); }
#ffm .ffm-section { padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: 110px; }
#ffm [id] { scroll-margin-top: 110px; }

#ffm .ffm-eyebrow {
	font-family: var(--ffm-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ffm-blue);
	margin-bottom: 14px;
}
#ffm .ffm-eyebrow--light { color: var(--ffm-navy); }

#ffm .ffm-h2 {
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.08;
	font-weight: 700;
	margin-bottom: 22px;
}
#ffm .ffm-h2--xl {
	font-size: clamp(34px, 5.2vw, 60px);
	text-transform: uppercase;
	line-height: 1;
}
#ffm .ffm-h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; text-align: center; margin-bottom: 28px; }
#ffm .ffm-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--ffm-ink); }

/* Buttons */
#ffm .ffm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 14px 30px;
	border-radius: 0;
	border: 2px solid var(--ffm-blue);
	background: var(--ffm-blue);
	color: #fff;
	font-family: var(--ffm-body);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .04em;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
#ffm .ffm-btn:hover { background: var(--ffm-navy); border-color: var(--ffm-navy); color: #fff; transform: translateY(-2px); box-shadow: var(--ffm-shadow); }
#ffm .ffm-btn:focus-visible, #ffm a:focus-visible, #ffm button:focus-visible { outline: 3px solid #f6c445; outline-offset: 3px; }
#ffm .ffm-btn--light { background: #fff; border-color: #fff; color: var(--ffm-navy); }
#ffm .ffm-btn--light:hover { background: var(--ffm-peri); border-color: var(--ffm-peri); color: var(--ffm-navy); }
#ffm .ffm-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
#ffm .ffm-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ffm-navy); }
#ffm .ffm-btn--outline { background: transparent; color: var(--ffm-blue); }
#ffm .ffm-btn--outline:hover { background: var(--ffm-blue); border-color: var(--ffm-blue); color: #fff; }
#ffm .ffm-textlink { font-weight: 600; border-bottom: 2px solid var(--ffm-peri); padding-bottom: 2px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#ffm .ffm-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(640px, 100svh, 960px);
	display: grid;
	align-items: center;
	padding: clamp(150px, 20vh, 190px) var(--ffm-gutter) clamp(56px, 9vh, 96px);
	color: #fff;
	text-align: center;
	overflow: hidden;
	background: #6d8fb3;
}
#ffm .ffm-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 55%;
	z-index: -2;
	transform: scale(1.04);
	animation: ffm-hero-zoom 18s ease-out forwards;
}
#ffm .ffm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(20, 24, 60, .55) 0%, rgba(20, 24, 60, 0) 26%),
		linear-gradient(0deg, rgba(10, 22, 12, .6) 0%, rgba(10, 22, 12, .1) 42%, rgba(10, 22, 12, 0) 60%);
}
@keyframes ffm-hero-zoom { to { transform: scale(1); } }

#ffm .ffm-hero__inner { max-width: 1100px; margin: 0 auto; width: 100%; }

#ffm .ffm-logo { margin: 0 auto; line-height: 0; }
#ffm .ffm-logo img { width: clamp(320px, 62vw, 760px); max-width: 100%; height: auto; margin: 0 auto; }
#ffm .ffm-hero__when {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 16px;
	margin: clamp(40px, 7vh, 72px) 0 12px;
	font-size: clamp(14px, 1.5vw, 18px);
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
#ffm .ffm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ffm-peri); }
#ffm .ffm-hero__free {
	display: inline-block;
	margin: 6px 0 28px;
	padding: 7px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-size: 15px;
	font-weight: 500;
	color: #fff;
}
#ffm .ffm-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* --------------------------------------------------------------------------
   Facts bar
   -------------------------------------------------------------------------- */
#ffm .ffm-facts { background: var(--ffm-navy); color: #fff; padding: 28px 0; }
#ffm .ffm-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
#ffm .ffm-fact { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 3px solid var(--ffm-blue); }
#ffm .ffm-fact__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ffm-peri); }
#ffm .ffm-fact__value { font-family: var(--ffm-body); font-weight: 700; font-size: 20px; line-height: 1.2; color: #fff; }
#ffm .ffm-fact__sub { font-size: 14px; color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
#ffm .ffm-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
#ffm .ffm-collage { position: relative; padding: clamp(20px, 4vw, 48px); background: var(--ffm-peri); border-radius: var(--ffm-radius); }
#ffm .ffm-collage__circle {
	position: relative;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	transform: rotate(-3deg);
}
#ffm .ffm-collage__circle img { position: absolute; width: calc(50% - 4px); height: calc(50% - 4px); max-width: none; object-fit: cover; }
#ffm .ffm-collage__circle img:nth-child(1) { top: 0; left: 0; }
#ffm .ffm-collage__circle img:nth-child(2) { top: 0; right: 0; }
#ffm .ffm-collage__circle img:nth-child(3) { bottom: 0; left: 0; }
#ffm .ffm-collage__circle img:nth-child(4) { bottom: 0; right: 0; }
#ffm .ffm-collage__circle img:nth-child(2) { object-position: 50% 30%; }
#ffm .ffm-collage__dot { position: absolute; width: clamp(48px, 8vw, 84px); aspect-ratio: 1; border-radius: 50%; background: var(--ffm-blue); box-shadow: var(--ffm-shadow); }
#ffm .ffm-collage__dot--a { top: 8%; left: 10%; }
#ffm .ffm-collage__dot--b { bottom: 10%; right: 8%; }
#ffm .ffm-intro__text .ffm-btn { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Why attend
   -------------------------------------------------------------------------- */
#ffm .ffm-why {
	position: relative;
	isolation: isolate;
	background: var(--ffm-why-bg) center / cover no-repeat;
}
#ffm .ffm-why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(233, 237, 247, .78); }
#ffm .ffm-why__title {
	max-width: 900px;
	margin: 0 auto clamp(40px, 5vw, 64px);
	padding: 26px clamp(20px, 4vw, 48px);
	background: #fff;
	border-radius: var(--ffm-radius);
	box-shadow: var(--ffm-shadow);
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	font-size: clamp(24px, 3.4vw, 42px);
	line-height: 1.08;
	color: var(--ffm-navy);
}
#ffm .ffm-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px); }
#ffm .ffm-why__card {
	position: relative;
	padding: 40px 32px 36px;
	background: var(--ffm-navy);
	border-radius: var(--ffm-radius);
	color: #fff;
	text-align: center;
	box-shadow: var(--ffm-shadow);
}
#ffm .ffm-why__card::before {
	content: "";
	position: absolute;
	left: -18px;
	bottom: -18px;
	width: 42%;
	height: 38%;
	border-radius: var(--ffm-radius);
	background: var(--ffm-blue);
	z-index: -1;
}
#ffm .ffm-why__num { display: block; font-family: var(--ffm-body); font-weight: 700; font-size: 15px; letter-spacing: .2em; color: var(--ffm-peri); margin-bottom: 14px; }
#ffm .ffm-why__card h3 { color: #fff; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.08; margin-bottom: 16px; }
#ffm .ffm-why__card p { color: rgba(255, 255, 255, .88); font-size: 16px; }

/* --------------------------------------------------------------------------
   Agenda
   -------------------------------------------------------------------------- */
#ffm .ffm-agenda { padding-top: 0; padding-bottom: clamp(24px, 3vw, 40px); }
#ffm .ffm-agenda__band { background: var(--ffm-peri); padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px); margin-bottom: clamp(40px, 5vw, 64px); }
#ffm .ffm-agenda__band .ffm-h2 { color: var(--ffm-blue); text-shadow: 0 4px 16px rgba(39, 42, 104, .15); margin-bottom: 16px; }
#ffm .ffm-agenda__meta { font-family: var(--ffm-body); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px); color: var(--ffm-navy); }
#ffm .ffm-agenda__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: clamp(40px, 6vw, 80px); align-items: start; }

#ffm .ffm-timeline { position: relative; }
#ffm .ffm-timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 118px; width: 2px; background: var(--ffm-peri); }
#ffm .ffm-timeline__item { position: relative; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 40px; padding: 0 0 30px; }
#ffm .ffm-timeline__item::before {
	content: "";
	position: absolute;
	left: 111px;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: 4px solid var(--ffm-blue);
}
#ffm .ffm-timeline__time { font-family: var(--ffm-body); font-weight: 700; font-size: 18px; color: var(--ffm-blue); text-align: right; line-height: 1.5; white-space: nowrap; }
#ffm .ffm-timeline__body h3 { font-size: 21px; line-height: 1.25; text-transform: uppercase; color: var(--ffm-navy); margin-bottom: 6px; }
#ffm .ffm-timeline__body p { color: var(--ffm-muted); font-size: 16px; margin-bottom: .6em; }
#ffm .ffm-timeline__by { font-weight: 600; color: var(--ffm-blue) !important; }
#ffm .ffm-timeline__people { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#ffm .ffm-timeline__people span { font-size: 14px; font-weight: 600; color: var(--ffm-navy); }
#ffm .ffm-timeline__people a { font-size: 14px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--ffm-peri-soft); color: var(--ffm-navy); }
#ffm .ffm-timeline__people a:hover { background: var(--ffm-blue); color: #fff; }
#ffm .ffm-timeline__item--break::before,
#ffm .ffm-timeline__item--meal::before { background: var(--ffm-peri); border-color: var(--ffm-peri); transform: scale(.75); }
#ffm .ffm-timeline__item--break .ffm-timeline__body h3,
#ffm .ffm-timeline__item--meal .ffm-timeline__body h3 { color: var(--ffm-blue); font-size: 18px; }
#ffm .ffm-timeline__item--meal .ffm-timeline__body h3::after { content: " · Lunch provided"; text-transform: none; font-family: var(--ffm-body); font-weight: 500; font-size: 14px; color: var(--ffm-muted); }
#ffm .ffm-timeline__item:last-child { padding-bottom: 0; }

#ffm .ffm-agenda__aside { position: sticky; top: 140px; }
#ffm .ffm-agenda__photos { position: relative; aspect-ratio: 1 / 1.12; }
#ffm .ffm-agenda__photo { position: absolute; border-radius: 50%; object-fit: cover; border: 6px solid var(--ffm-blue); box-shadow: var(--ffm-shadow); aspect-ratio: 1; }
#ffm .ffm-agenda__photo--a { width: 78%; top: 0; left: 0; z-index: 2; }
#ffm .ffm-agenda__photo--b { width: 62%; right: 0; bottom: 0; filter: grayscale(1); }
#ffm .ffm-agenda__badge {
	position: absolute;
	z-index: 3;
	top: -2%;
	right: 6%;
	width: 30%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--ffm-navy);
	display: grid;
	place-items: center;
	color: #fff;
	box-shadow: var(--ffm-shadow);
}
#ffm .ffm-agenda__badge svg { height: 62%; width: auto; }
#ffm .ffm-note { margin-top: 36px; font-style: italic; font-weight: 600; color: var(--ffm-navy); font-size: 15px; }

/* --------------------------------------------------------------------------
   Speakers
   -------------------------------------------------------------------------- */
#ffm .ffm-speakers { background: linear-gradient(180deg, #fff 0, #fff 420px, var(--ffm-lav) 420px, var(--ffm-lav) 100%); }
#ffm .ffm-speakers__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
#ffm .ffm-speakers__head .ffm-h2 {
	background: linear-gradient(180deg, var(--ffm-navy) 55%, rgba(39, 42, 104, .55));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
#ffm .ffm-speakers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
#ffm .ffm-speaker { display: flex; flex-direction: column; }
#ffm .ffm-speaker:nth-child(even) { margin-top: 48px; }
#ffm .ffm-speaker__photo { width: 84%; margin: 0 auto; border-radius: var(--ffm-radius) var(--ffm-radius) 0 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ffm-peri); }
#ffm .ffm-speaker__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
#ffm .ffm-speaker:hover .ffm-speaker__photo img { transform: scale(1.04); }
#ffm .ffm-speaker__body { position: relative; background: var(--ffm-navy); color: #fff; border-radius: var(--ffm-radius-sm); padding: 0 22px 26px; text-align: center; box-shadow: var(--ffm-shadow); }
#ffm .ffm-speaker__name {
	margin: 0 -8px 16px;
	transform: translateY(-50%);
	padding: 10px 12px;
	background: var(--ffm-blue);
	border-radius: 10px 10px 0 0;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .28em;
	text-transform: uppercase;
	line-height: 1.2;
}
#ffm .ffm-speaker__role { margin-top: -14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ffm-peri); line-height: 1.4; }
#ffm .ffm-speaker__bio { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .9); }

/* --------------------------------------------------------------------------
   Host
   -------------------------------------------------------------------------- */
#ffm .ffm-host__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
#ffm .ffm-host__photo { position: relative; max-width: 460px; }
#ffm .ffm-host__photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--ffm-radius); background: var(--ffm-peri); z-index: -1; }
#ffm .ffm-host__photo img { border-radius: var(--ffm-radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
#ffm .ffm-host__photo { isolation: isolate; }
#ffm .ffm-host__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }

/* --------------------------------------------------------------------------
   Venue
   -------------------------------------------------------------------------- */
#ffm .ffm-venue { background: var(--ffm-peri-soft); }
#ffm .ffm-venue__head { margin-bottom: clamp(32px, 4vw, 48px); }
#ffm .ffm-venue__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
#ffm .ffm-card { background: #fff; border-radius: var(--ffm-radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--ffm-shadow); }
#ffm .ffm-card h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; margin-bottom: 8px; }
#ffm .ffm-card--navy { background: var(--ffm-navy); color: #fff; }
#ffm .ffm-card--navy h3 { color: #fff; }
#ffm .ffm-card--navy a:not(.ffm-btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
#ffm .ffm-venue__note { font-size: 14px; color: var(--ffm-muted); }
#ffm .ffm-venue__place address { font-style: normal; font-size: 18px; line-height: 1.5; margin: 0 0 22px; color: var(--ffm-ink); }
#ffm .ffm-venue__map { margin-top: 26px; border-radius: var(--ffm-radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ffm-peri); }
#ffm .ffm-venue__map iframe { width: 100%; height: 100%; border: 0; display: block; }

#ffm .ffm-code {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 22px 0 24px;
	padding: 14px 16px 14px 22px;
	background: rgba(255, 255, 255, .08);
	border: 2px dashed rgba(201, 209, 232, .6);
	border-radius: var(--ffm-radius-sm);
}
#ffm .ffm-code__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ffm-peri); }
#ffm .ffm-code__value { font-family: var(--ffm-body); font-weight: 700; font-size: 34px; letter-spacing: .18em; line-height: 1; color: #fff; }
#ffm .ffm-code__copy {
	margin-left: auto;
	padding: 9px 16px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--ffm-navy);
	font: 600 14px/1 var(--ffm-body);
	cursor: pointer;
	transition: background-color .2s;
}
#ffm .ffm-code__copy:hover { background: var(--ffm-peri); }
#ffm .ffm-steps { counter-reset: ffm-step; margin-bottom: 20px; }
#ffm .ffm-steps li { position: relative; padding-left: 40px; margin-bottom: 14px; color: rgba(255, 255, 255, .9); font-size: 15.5px; }
#ffm .ffm-steps li::before {
	counter-increment: ffm-step;
	content: counter(ffm-step);
	position: absolute;
	left: 0;
	top: 1px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ffm-blue);
	color: #fff;
	font: 700 14px/26px var(--ffm-body);
	text-align: center;
}
#ffm .ffm-alert { padding: 12px 16px; border-radius: 10px; background: rgba(60, 93, 171, .45); margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   Sponsorship
   -------------------------------------------------------------------------- */
#ffm .ffm-sponsor { background: var(--ffm-peri); }
#ffm .ffm-sponsor__head { max-width: 820px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
#ffm .ffm-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; }
#ffm .ffm-tier {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 36px 30px 32px;
	background: #fff;
	border-radius: var(--ffm-radius);
	box-shadow: var(--ffm-shadow);
}
#ffm .ffm-tier--legacy { outline: 3px solid var(--ffm-navy); outline-offset: -3px; }
#ffm .ffm-tier__icon {
	position: absolute;
	top: -30px;
	right: 20px;
	width: 104px;
	height: 104px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 8px 8px 0;
	border-radius: 16px;
	background: var(--ffm-navy);
	overflow: hidden;
	box-shadow: var(--ffm-shadow);
}
#ffm .ffm-tier__icon img { max-height: 100%; max-width: 100%; width: auto; }
#ffm .ffm-tier--rooted .ffm-tier__icon img { max-height: 70%; }
#ffm .ffm-tier--growth .ffm-tier__icon img { max-height: 88%; }
#ffm .ffm-tier__name {
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
	padding-right: 108px;
	margin-bottom: 14px;
}
#ffm .ffm-tier__tag { color: var(--ffm-blue); font-weight: 500; margin-bottom: 20px; }
#ffm .ffm-tier__perks { flex: 1; margin-bottom: 28px; }
#ffm .ffm-tier__perks li { position: relative; padding: 0 0 0 30px; margin-bottom: 12px; font-size: 15.5px; line-height: 1.45; color: var(--ffm-ink); }
#ffm .ffm-tier__perks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ffm-peri) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23272a68' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
#ffm .ffm-tier .ffm-btn { width: 100%; font-size: 15px; padding-left: 16px; padding-right: 16px; }

#ffm .ffm-sponsor__how { margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: var(--ffm-radius); box-shadow: var(--ffm-shadow); }
#ffm .ffm-sponsor__how h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 24px; text-align: center; }
#ffm .ffm-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
#ffm .ffm-how li { display: flex; gap: 16px; align-items: flex-start; }
#ffm .ffm-how li > span {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ffm-navy);
	color: #fff;
	font: 700 20px/44px var(--ffm-body);
	text-align: center;
}
#ffm .ffm-how p { font-size: 15.5px; color: var(--ffm-muted); }
#ffm .ffm-how strong { color: var(--ffm-navy); display: block; }
#ffm .ffm-sponsor__contact { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ffm-peri); text-align: center; font-size: 17px; }
#ffm .ffm-sponsor__contact a { font-weight: 600; }

/* --------------------------------------------------------------------------
   Registration
   -------------------------------------------------------------------------- */
#ffm .ffm-register__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
#ffm .ffm-register__info { position: sticky; top: 140px; }
#ffm .ffm-who { margin: 26px 0 30px; }
#ffm .ffm-who li { padding: 14px 0 14px 18px; border-left: 3px solid var(--ffm-peri); margin-bottom: 10px; font-size: 15.5px; color: var(--ffm-muted); }
#ffm .ffm-who strong { color: var(--ffm-navy); }
#ffm .ffm-register__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
#ffm .ffm-register__photos img { aspect-ratio: 1; object-fit: cover; border-radius: var(--ffm-radius-sm); width: 100%; }
#ffm .ffm-register__help { font-size: 15px; color: var(--ffm-muted); }
#ffm .ffm-register__form {
	padding: clamp(24px, 4vw, 48px);
	background: #fff;
	border-radius: var(--ffm-radius);
	border-top: 8px solid var(--ffm-blue);
	box-shadow: 0 30px 60px -28px rgba(28, 31, 82, .45), 0 0 0 1px rgba(39, 42, 104, .06);
}

/* Gravity Forms (Orbital theme) inside the card */
#ffm .ffm-register__form .gform_wrapper { margin: 0; }
#ffm .ffm-register__form .gform_wrapper.gform-theme,
#ffm .ffm-register__form .gform_wrapper .gform-theme {
	--gf-color-primary: #3c5dab;
	--gf-color-primary-rgb: 60, 93, 171;
	--gf-color-primary-contrast: #fff;
	--gf-color-primary-darker: #272a68;
	--gf-color-primary-lighter: #5b79c2;
	--gf-ctrl-border-color: #b9c1dc;
	--gf-ctrl-label-color-primary: #23264f;
	--gf-ctrl-label-color-secondary: #585c85;
	--gf-ctrl-desc-color: #585c85;
	--gf-radius: 10px;
	--gf-font-family-base: "PT Sans", sans-serif;
	--gf-font-family-primary: "PT Sans", sans-serif;
	--gf-font-family-secondary: "PT Sans", sans-serif;
	--gf-font-family-tertiary: "PT Sans", sans-serif;
	--gf-font-family-quaternary: "PT Sans", sans-serif;
}
#ffm .ffm-register__form .gfield_label,
#ffm .ffm-register__form legend.gfield_label { font-family: var(--ffm-body) !important; font-weight: 600 !important; color: var(--ffm-navy) !important; }
#ffm .ffm-register__form .ffm-type .gchoice,
#ffm .ffm-register__form .ffm-tier .gchoice {
	position: relative;
	padding: 14px 16px;
	border: 2px solid var(--ffm-peri);
	border-radius: 12px;
	margin-bottom: 8px;
	transition: border-color .2s, background-color .2s;
}
#ffm .ffm-register__form .ffm-type .gchoice:has(input:checked),
#ffm .ffm-register__form .ffm-tier .gchoice:has(input:checked) { border-color: var(--ffm-blue); background: var(--ffm-peri-soft); }
#ffm .ffm-register__form .ffm-type .gchoice label,
#ffm .ffm-register__form .ffm-tier .gchoice label { font-weight: 500; color: var(--ffm-navy); cursor: pointer; }
#ffm .ffm-register__form .ffm-type .gchoice label::after,
#ffm .ffm-register__form .ffm-tier .gchoice label::after { content: ""; position: absolute; inset: 0; }
#ffm .ffm-register__form .ffm-form-note { padding: 14px 16px; border-radius: 12px; background: var(--ffm-peri-soft); font-size: 15px; color: var(--ffm-ink); }
#ffm .ffm-register__form .gform_footer { margin-top: 12px; }
#ffm .ffm-register__form .gform_footer .gform_button,
#ffm .ffm-register__form .gform_footer input[type="submit"] {
	width: 100%;
	min-height: 56px !important;
	border-radius: 0 !important;
	background: var(--ffm-blue) !important;
	border: 0 !important;
	font-family: var(--ffm-body) !important;
	font-weight: 700 !important;
	font-size: 18px !important;
	letter-spacing: .05em !important;
	text-transform: uppercase;
	color: #fff !important;
	cursor: pointer;
	transition: background-color .2s;
}
#ffm .ffm-register__form .gform_footer .gform_button:hover { background: var(--ffm-navy) !important; }
#ffm .ffm-confirmation h3 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
#ffm .ffm-confirmation p { font-size: 16px; }
#ffm .ffm-confirmation { padding: 12px 0; }

/* --------------------------------------------------------------------------
   Sponsor logos
   -------------------------------------------------------------------------- */
#ffm .ffm-thanks { padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--ffm-peri); }
#ffm .ffm-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; margin-bottom: 40px; }
#ffm .ffm-logos:last-child { margin-bottom: 0; }
#ffm .ffm-logos li { flex: 0 1 200px; display: flex; justify-content: center; }
#ffm .ffm-logos img { max-height: 84px; width: auto; object-fit: contain; }

/* --------------------------------------------------------------------------
   Closing
   -------------------------------------------------------------------------- */
#ffm .ffm-closing { position: relative; isolation: isolate; padding: clamp(80px, 12vw, 150px) 0; text-align: center; color: #fff; overflow: hidden; }
#ffm .ffm-closing__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 70%; z-index: -2; }
#ffm .ffm-closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(39, 42, 104, .88), rgba(28, 31, 82, .78)); }
#ffm .ffm-closing__sprout { display: block; width: 64px; margin: 0 auto 18px; color: #fff; }
#ffm .ffm-closing__sprout svg { width: 100%; height: auto; }
#ffm .ffm-closing h2 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; line-height: 1.05; max-width: 820px; margin: 0 auto 14px; }
#ffm .ffm-closing p { color: rgba(255, 255, 255, .85); font-size: 18px; margin-bottom: 30px; }

/* --------------------------------------------------------------------------
   Scroll reveal (only when JS is running and motion is OK)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	#ffm.ffm-js .ffm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--ffm-delay, 0ms); }
	#ffm.ffm-js .ffm-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	#ffm .ffm-hero__bg { animation: none; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	#ffm .ffm-speakers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
	#ffm .ffm-speaker:nth-child(even) { margin-top: 0; }
	#ffm .ffm-speakers { background: linear-gradient(180deg, #fff 0, #fff 360px, var(--ffm-lav) 360px); }
	#ffm .ffm-tiers { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; gap: 48px; }
	#ffm .ffm-facts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	#ffm .ffm-intro__grid,
	#ffm .ffm-host__grid,
	#ffm .ffm-venue__grid,
	#ffm .ffm-register__grid,
	#ffm .ffm-agenda__grid { grid-template-columns: minmax(0, 1fr); }
	#ffm .ffm-collage { max-width: 520px; width: 100%; margin: 0 auto; }
	#ffm .ffm-why__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; gap: 40px; }
	#ffm .ffm-agenda__aside { display: none; }
	#ffm .ffm-host__photo { max-width: 360px; }
	#ffm .ffm-register__info { position: static; }
	#ffm .ffm-register__photos { display: none; }
	#ffm .ffm-how { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
	#ffm .ffm-logo img { width: 100%; }
	#ffm { font-size: 15.5px; }
	#ffm .ffm-hero { min-height: 0; padding-top: 140px; }
	#ffm .ffm-hero__when { letter-spacing: .16em; gap: 4px 10px; }
	#ffm .ffm-hero__when .ffm-dot { display: none; }
	#ffm .ffm-hero__when span:not(.ffm-dot) { flex-basis: 100%; }
	#ffm .ffm-hero__ctas .ffm-btn { width: 100%; }
	#ffm .ffm-facts__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	#ffm .ffm-speakers__grid { grid-template-columns: minmax(0, 1fr); max-width: 400px; margin: 0 auto; }
	#ffm .ffm-timeline::before { left: 7px; }
	#ffm .ffm-timeline__item { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-left: 34px; }
	#ffm .ffm-timeline__item::before { left: 0; }
	#ffm .ffm-timeline__time { text-align: left; font-size: 16px; }
	#ffm .ffm-timeline__body h3 { font-size: 19px; }
	#ffm .ffm-tier { padding: 32px 22px 26px; }
	#ffm .ffm-tier__icon { width: 72px; height: 72px; right: 16px; }
	#ffm .ffm-tier__name { padding-right: 76px; }
	#ffm .ffm-code__value { font-size: 28px; }
	#ffm .ffm-code { flex-wrap: wrap; gap: 8px 14px; }
	#ffm .ffm-why__card::before { left: -10px; bottom: -10px; }
}

/* Salient: let the page's first row sit flush under the transparent header. */
body.ffm-page .container-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
body.ffm-page .container-wrap .main-content > .row { padding-bottom: 0 !important; }
body.ffm-page .wpb_row:has(#ffm),
body.ffm-page .wpb_row:has(#ffm) .vc_column-inner,
body.ffm-page .wpb_row:has(#ffm) .wpb_wrapper { margin-bottom: 0 !important; padding-bottom: 0 !important; }
