/* =========================================================================
   FF Home — black / white / grey, large type, generous space.
   Change colours from each widget's Style tab, or globally here:
   .ffhm-page { --ffhm-ink: #1d1d1f; }   (variables also live on :root, so widgets work on any page)
   ========================================================================= */

:root, .ffhm-page {
	--ffhm-black: #000000;
	--ffhm-ink: #1d1d1f;
	--ffhm-grey: #f5f5f7;
	--ffhm-grey-2: #e8e8ed;
	--ffhm-muted: #6e6e73;
	--ffhm-muted-dark: #a1a1a6;
	--ffhm-line: #d2d2d7;
	--ffhm-white: #ffffff;
	--ffhm-radius: 28px;
	--ffhm-radius-sm: 18px;
	--ffhm-ease: cubic-bezier(.25, .1, .25, 1);
	--ffhm-ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Elementor wrappers around our widgets: let sections run edge to edge */
.ffhm-page .ffhm-main { display: block; width: 100%; overflow-x: clip; }
.ffhm-page .ffhm-main .elementor-section.elementor-section-boxed > .elementor-container { max-width: none; }
.ffhm-page .ffhm-main .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
.ffhm-page .ffhm-main .elementor-widget-wrap { padding: 0 !important; }
.ffhm-page .ffhm-main .elementor-widget:not(:last-child) { margin-bottom: 0; }

.ffhm-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); box-sizing: border-box; }
.ffhm-sec, .ffhm-hero { color: var(--ffhm-ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.ffhm-sec *, .ffhm-hero *, .ffhm-sec *::before, .ffhm-sec *::after { box-sizing: border-box; }
:where(.ffhm-sec, .ffhm-hero) :where(ul, li) { margin: 0; padding: 0; }
.ffhm-sec ul, .ffhm-sec li, .ffhm-hero ul { list-style: none !important; }
.ffhm-sec a, .ffhm-hero a { text-decoration: none; color: inherit; }
.ffhm-ico { flex: none; }
[dir="rtl"] .ffhm-ico { transform: scaleX(-1); }
[dir="rtl"] .ffhm-playpause .ffhm-ico, [dir="rtl"] .ffhm-ph .ffhm-ico, [dir="rtl"] .ffhm-feature__icon .ffhm-ico { transform: none; }

/* ---------- Buttons ---------- */
.ffhm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: 12px 26px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid transparent;
	transition: background-color .25s var(--ffhm-ease), color .25s var(--ffhm-ease), border-color .25s var(--ffhm-ease), transform .2s;
}
.ffhm-btn:active { transform: scale(.97); }
.ffhm-btn--light { background: var(--ffhm-white); color: var(--ffhm-black) !important; }
.ffhm-btn--light:hover { background: var(--ffhm-grey-2); }
.ffhm-btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--ffhm-white) !important; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ffhm-btn--ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: var(--ffhm-white); }
.ffhm-btn--dark { background: var(--ffhm-ink); color: var(--ffhm-white) !important; }
.ffhm-btn--dark:hover { background: var(--ffhm-black); }

.ffhm-textlink { display: inline-flex; align-items: center; gap: 2px; font-size: 16px; font-weight: 500; color: inherit; }
.ffhm-textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Placeholder for missing images / video ---------- */
.ffhm-ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px;
	text-align: center;
	font-size: 13px;
	line-height: 1.7;
	color: #86868b;
	background:
		repeating-linear-gradient(135deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 12px),
		linear-gradient(160deg, #f5f5f7, #e8e8ed);
}
.ffhm-hero .ffhm-ph, .ffhm-sec--dark .ffhm-ph, .ffhm-show--dark .ffhm-ph {
	color: #6e6e73;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 12px),
		radial-gradient(120% 90% at 70% 20%, #2a2a2c, #0b0b0c 70%);
}

/* ---------- Section frame ---------- */
.ffhm-sec { padding-block: clamp(72px, 10vw, 140px); }
.ffhm-sec--light { background: var(--ffhm-white); }
.ffhm-sec--grey { background: var(--ffhm-grey); }
.ffhm-sec--dark { background: var(--ffhm-black); color: var(--ffhm-white); }

.ffhm-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 40px;
	margin-block-end: clamp(32px, 4.5vw, 56px);
}
.ffhm-head__text { max-width: 760px; }
.ffhm-sec .ffhm-eyebrow {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ffhm-muted);
}
.ffhm-sec--dark .ffhm-eyebrow { color: var(--ffhm-muted-dark); }
.ffhm-sec .ffhm-title {
	margin: 0;
	font-size: clamp(32px, 4.8vw, 60px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: inherit;
	text-wrap: balance;
}
.ffhm-sec .ffhm-sub {
	margin: 16px 0 0;
	font-size: clamp(16px, 1.5vw, 21px);
	line-height: 1.75;
	color: var(--ffhm-muted);
	max-width: 620px;
}
.ffhm-sec--dark .ffhm-sub { color: var(--ffhm-muted-dark); }
.ffhm-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
	padding-block: 6px;
}
.ffhm-more .ffhm-ico { transition: transform .35s var(--ffhm-ease-out); }
.ffhm-more:hover .ffhm-ico { transform: translateX(4px); }
[dir="rtl"] .ffhm-more:hover .ffhm-ico { transform: scaleX(-1) translateX(4px); }
.ffhm-center { display: flex; justify-content: center; margin-block-start: clamp(36px, 5vw, 56px); }

/* ======================= 1) HERO ======================= */
.ffhm-hero {
	--ffhm-shade: .55;
	position: relative;
	height: 88vh;
	height: 88svh;
	min-height: 520px;
	max-height: 980px;
	overflow: hidden;
	background: var(--ffhm-black);
	color: var(--ffhm-white);
	isolation: isolate;
}
.ffhm-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s var(--ffhm-ease), visibility 0s linear 1s;
}
.ffhm-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ffhm-ease), visibility 0s; z-index: 1; }
.ffhm-slide__media { position: absolute; inset: 0; z-index: -2; }
.ffhm-video {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 9s linear;
}
.ffhm-slide.is-active .ffhm-video { transform: scale(1); }
.ffhm-slide__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(0deg, rgba(0, 0, 0, var(--ffhm-shade)) 0%, rgba(0, 0, 0, calc(var(--ffhm-shade) * .35)) 45%, rgba(0, 0, 0, 0) 75%),
		linear-gradient(90deg, rgba(0, 0, 0, calc(var(--ffhm-shade) * .5)), rgba(0, 0, 0, 0) 60%);
}
[dir="rtl"] .ffhm-slide__shade {
	background:
		linear-gradient(0deg, rgba(0, 0, 0, var(--ffhm-shade)) 0%, rgba(0, 0, 0, calc(var(--ffhm-shade) * .35)) 45%, rgba(0, 0, 0, 0) 75%),
		linear-gradient(270deg, rgba(0, 0, 0, calc(var(--ffhm-shade) * .5)), rgba(0, 0, 0, 0) 60%);
}
.ffhm-slide__content {
	position: absolute;
	inset-inline: 0;
	inset-block-end: clamp(96px, 14vh, 150px);
}
.ffhm-slide__content > * {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .9s var(--ffhm-ease-out), transform 1.1s var(--ffhm-ease-out);
}
.ffhm-slide.is-active .ffhm-slide__content > * { opacity: 1; transform: none; }
.ffhm-slide.is-active .ffhm-slide__content > :nth-child(2) { transition-delay: .12s; }
.ffhm-slide.is-active .ffhm-slide__content > :nth-child(3) { transition-delay: .24s; }
.ffhm-slide.is-active .ffhm-slide__content > :nth-child(4) { transition-delay: .36s; }
.ffhm-hero .ffhm-hero__eyebrow {
	margin: 0 0 14px;
	font-size: clamp(13px, 1.2vw, 15px);
	font-weight: 700;
	letter-spacing: .24em;
	color: rgba(255, 255, 255, .78);
}
.ffhm-hero .ffhm-hero__title {
	margin: 0;
	max-width: 15ch;
	font-size: clamp(40px, 7.2vw, 96px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.025em;
	color: var(--ffhm-white);
	text-wrap: balance;
}
.ffhm-hero .ffhm-hero__text {
	margin: 20px 0 0;
	max-width: 560px;
	font-size: clamp(16px, 1.6vw, 21px);
	line-height: 1.75;
	color: rgba(255, 255, 255, .82);
}
.ffhm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }

.ffhm-hero__controls {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 32px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.ffhm-dots { display: flex; gap: 8px; }
.ffhm-dot {
	position: relative;
	width: 36px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.ffhm-dot::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 50%; height: 3px; margin-block-start: -1.5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.ffhm-dot__bar { position: absolute; inset-inline-start: 0; inset-block-start: 50%; height: 3px; margin-block-start: -1.5px; width: 0; border-radius: 3px; background: var(--ffhm-white); }
.ffhm-dot[aria-selected="true"] .ffhm-dot__bar { width: 100%; transition: width var(--ffhm-dur, 8s) linear; }
.ffhm-hero.is-paused .ffhm-dot[aria-selected="true"] .ffhm-dot__bar { width: 100%; transition: none; }
.ffhm-playpause {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-inline-start: auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 50%;
	color: var(--ffhm-white);
	background: rgba(0, 0, 0, .25);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	cursor: pointer;
	transition: background-color .2s;
}
.ffhm-playpause:hover { background: rgba(255, 255, 255, .18); }
.ffhm-playpause > span { display: grid; place-items: center; }
.ffhm-playpause > .ffhm-playpause__play { display: none; }
.ffhm-hero.is-paused .ffhm-playpause > .ffhm-playpause__play { display: grid; }
.ffhm-hero.is-paused .ffhm-playpause > .ffhm-playpause__pause { display: none; }

.ffhm-scrollcue {
	position: absolute;
	inset-inline-start: 50%;
	inset-block-end: 34px;
	z-index: 3;
	width: 24px;
	height: 38px;
	margin-inline-start: -12px;
	border: 1.5px solid rgba(255, 255, 255, .55);
	border-radius: 14px;
}
.ffhm-scrollcue span { position: absolute; inset-inline-start: 50%; top: 7px; width: 3px; height: 7px; margin-inline-start: -1.5px; border-radius: 2px; background: var(--ffhm-white); animation: ffhm-cue 1.8s var(--ffhm-ease) infinite; }
@keyframes ffhm-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 700px) { .ffhm-scrollcue { display: none; } }

/* ======================= 2) CATEGORIES (bento) ======================= */
.ffhm-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: var(--ffhm-row, minmax(220px, 23vw));
	gap: var(--ffhm-gap, clamp(12px, 1.4vw, 20px));
}
.ffhm-bento > li { min-width: 0; }
.ffhm-bento--1 { grid-template-columns: 1fr; }
.ffhm-bento--1 > :first-child { grid-row: span 2; }
.ffhm-bento--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ffhm-bento--2 > li { grid-row: span 2; }
.ffhm-bento--3 > :first-child, .ffhm-bento--4 > :first-child, .ffhm-bento--5 > :first-child, .ffhm-bento--6 > :first-child { grid-column: span 2; grid-row: span 2; }
.ffhm-bento--3 > :not(:first-child) { grid-column: span 2; }
.ffhm-bento--4 > :nth-child(2) { grid-column: span 2; }
.ffhm-bento--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ffhm-bento--6 > :nth-child(6) { grid-column: span 4; }
@media (min-width: 1500px) { .ffhm-bento { grid-auto-rows: var(--ffhm-row, 340px); } }

.ffhm-tile__link {
	position: relative;
	display: block;
	height: 100%;
	min-height: 220px;
	overflow: hidden;
	border-radius: var(--ffhm-radius);
	background: var(--ffhm-grey);
	isolation: isolate;
	color: var(--ffhm-white) !important;
}
.ffhm-tile__media { position: absolute; inset: 0; z-index: -2; }
.ffhm-tile__img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	transition: transform 1.2s var(--ffhm-ease-out);
}
.ffhm-tile__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .18) 42%, rgba(0, 0, 0, 0) 65%);
	transition: opacity .5s var(--ffhm-ease);
}
.ffhm-tile__link:hover .ffhm-tile__img { transform: scale(1.05); }
.ffhm-tile__body { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; gap: 4px; padding: clamp(20px, 2.4vw, 32px); }
.ffhm-tile__name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.ffhm-bento > :first-child .ffhm-tile__name { font-size: clamp(28px, 3.4vw, 46px); }
.ffhm-tile__meta { font-size: 14px; color: rgba(255, 255, 255, .78); }
.ffhm-tile__go {
	position: absolute;
	inset-block-start: 18px;
	inset-inline-end: 18px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--ffhm-black);
	background: rgba(255, 255, 255, .92);
	opacity: 0;
	transform: scale(.85);
	transition: opacity .35s var(--ffhm-ease), transform .45s var(--ffhm-ease-out);
}
.ffhm-tile__link:hover .ffhm-tile__go, .ffhm-tile__link:focus-visible .ffhm-tile__go { opacity: 1; transform: none; }
@media (hover: none) { .ffhm-tile__go { opacity: 1; transform: none; width: 38px; height: 38px; } }
.ffhm-tile .ffhm-ph { z-index: -2; justify-content: flex-start; padding-top: 22%; }
.ffhm-tile .ffhm-ph > span { max-width: 22ch; }

@media (max-width: 900px) {
	.ffhm-bento, .ffhm-bento--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: var(--ffhm-row, 220px); gap: var(--ffhm-gap, 14px); }
	.ffhm-tile__link { min-height: 0; } /* the tile must never be taller than its row, or it covers the next one */
	.ffhm-bento > li { grid-column: auto !important; grid-row: auto !important; }
	.ffhm-bento > :first-child { grid-column: span 2 !important; grid-row: span 2 !important; }
	.ffhm-bento--2 > li, .ffhm-bento--1 > li { grid-column: span 2 !important; grid-row: span 2 !important; }
	.ffhm-bento--4 > :last-child, .ffhm-bento--6 > :last-child { grid-column: span 2 !important; }
}
@media (max-width: 480px) {
	.ffhm-bento, .ffhm-bento--6 { grid-auto-rows: var(--ffhm-row, 200px); gap: var(--ffhm-gap, 12px); }
	.ffhm-tile__body { padding: 16px; }
	.ffhm-tile__name { font-size: 20px; }
	.ffhm-bento > :first-child .ffhm-tile__name { font-size: 28px; }
	.ffhm-tile__go { inset-block-start: 12px; inset-inline-end: 12px; }
}

/* ======================= 3) PROJECTS (dark rail) ======================= */
.ffhm-rail { position: relative; }
.ffhm-rail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: clamp(280px, 42vw, 560px);
	gap: clamp(14px, 1.6vw, 24px);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-inline: max(clamp(16px, 4vw, 40px), calc((100vw - 1240px) / 2 + 40px));
	scroll-padding-inline: max(clamp(16px, 4vw, 40px), calc((100vw - 1240px) / 2 + 40px));
}
.ffhm-rail__track::-webkit-scrollbar { display: none; }
.ffhm-project { scroll-snap-align: start; }
.ffhm-project__card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--ffhm-radius);
	background: #111;
	isolation: isolate;
	color: var(--ffhm-white) !important;
}
.ffhm-project__media { position: absolute; inset: 0; z-index: -2; }
.ffhm-project__img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transition: transform 1.2s var(--ffhm-ease-out); }
.ffhm-project__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 50%); }
a.ffhm-project__card:hover .ffhm-project__img { transform: scale(1.05); }
.ffhm-project__body { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 2.6vw, 34px); }
.ffhm-project__meta { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.ffhm-project__title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.ffhm-project .ffhm-ph { z-index: -2; }

.ffhm-rail__nav { display: flex; gap: 10px; margin-block-start: 28px; }
.ffhm-arrow {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: var(--ffhm-white);
	background: #333336;
	cursor: pointer;
	transition: background-color .2s, opacity .2s, transform .2s;
}
.ffhm-arrow:hover:not(:disabled) { background: #48484a; }
.ffhm-arrow:active:not(:disabled) { transform: scale(.94); }
.ffhm-arrow:disabled { opacity: .35; cursor: default; }
.ffhm-rail.no-overflow .ffhm-rail__nav { display: none; }
@media (hover: none) and (pointer: coarse) { .ffhm-rail__nav { display: none; } }

/* ======================= 4) PARTS ======================= */
.ffhm-grid { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.ffhm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ffhm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ffhm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .ffhm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ffhm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ffhm-part__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: clamp(18px, 2vw, 28px);
	border-radius: var(--ffhm-radius);
	background: var(--ffhm-white);
	transition: transform .5s var(--ffhm-ease-out), box-shadow .5s var(--ffhm-ease-out);
}
a.ffhm-part__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
.ffhm-part__media { position: relative; display: block; aspect-ratio: 1; margin-block-end: 18px; overflow: hidden; border-radius: var(--ffhm-radius-sm); background: var(--ffhm-white); }
.ffhm-part__img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain; transition: transform .8s var(--ffhm-ease-out); }
a.ffhm-part__card:hover .ffhm-part__img { transform: scale(1.04); }
.ffhm-part__title { font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; line-height: 1.35; }
.ffhm-part__text { margin-block-start: 6px; font-size: 14px; line-height: 1.7; color: var(--ffhm-muted); }
.ffhm-part__go { display: inline-flex; align-items: center; gap: 2px; margin-block-start: auto; padding-block-start: 14px; font-size: 14px; font-weight: 600; }

/* ======================= 5) MOTORS ======================= */
.ffhm-showcase { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.ffhm-showcase--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ffhm-showcase--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .ffhm-showcase--2, .ffhm-showcase--3 { grid-template-columns: minmax(0, 1fr); } }
.ffhm-show {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: clamp(520px, 52vw, 680px);
	overflow: hidden;
	border-radius: var(--ffhm-radius);
	text-align: center;
}
.ffhm-show--light { background: var(--ffhm-grey); color: var(--ffhm-ink); }
.ffhm-show--dark { background: var(--ffhm-black); color: var(--ffhm-white); }
.ffhm-show__text { position: relative; z-index: 1; padding: clamp(36px, 4.5vw, 56px) clamp(24px, 3vw, 40px) 0; }
.ffhm-show__badge { display: inline-block; margin-block-end: 10px; font-size: 14px; font-weight: 700; color: var(--ffhm-muted); }
.ffhm-show--dark .ffhm-show__badge { color: var(--ffhm-muted-dark); }
.ffhm-sec .ffhm-show__title { margin: 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: inherit; }
.ffhm-show__tag { margin: 12px auto 0; max-width: 420px; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.6; color: inherit; opacity: .8; }
.ffhm-show__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-block-start: 22px; }
.ffhm-show--dark .ffhm-btn--dark { background: var(--ffhm-white); color: var(--ffhm-black) !important; }
.ffhm-show--dark .ffhm-btn--dark:hover { background: var(--ffhm-grey-2); }
.ffhm-show__media { position: relative; flex: 1; min-height: 260px; margin-block-start: 28px; }
.ffhm-show__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain; object-position: center bottom; transition: transform 1.2s var(--ffhm-ease-out); }
.ffhm-show:hover .ffhm-show__img { transform: scale(1.03); }
.ffhm-show .ffhm-ph { border-radius: 0; }

.ffhm-features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px clamp(16px, 3vw, 40px);
	margin-block-start: clamp(48px, 6vw, 80px);
	padding-block-start: clamp(40px, 5vw, 64px);
	border-block-start: 1px solid var(--ffhm-line);
}
@media (max-width: 900px) { .ffhm-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ffhm-feature { display: flex; flex-direction: column; gap: 8px; }
.ffhm-feature__icon { color: var(--ffhm-ink); margin-block-end: 6px; }
.ffhm-feature__title { font-size: 18px; font-weight: 800; }
.ffhm-feature__text { font-size: 14px; line-height: 1.75; color: var(--ffhm-muted); }

/* ---------- Reveal on scroll (JS-only; content is visible without JS) ---------- */
.ffhm-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ffhm-ease-out), transform 1.1s var(--ffhm-ease-out); transition-delay: calc(min(var(--d, 0), 6) * 80ms); }
.ffhm-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Focus, motion ---------- */
.ffhm-sec a:focus-visible, .ffhm-sec button:focus-visible, .ffhm-hero a:focus-visible, .ffhm-hero button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.ffhm-tile__link:focus-visible, .ffhm-project__card:focus-visible { outline: 3px solid var(--ffhm-ink); outline-offset: 4px; }
.ffhm-sec--dark .ffhm-project__card:focus-visible { outline-color: var(--ffhm-white); }

@media (prefers-reduced-motion: reduce) {
	.ffhm-sec *, .ffhm-hero *, .ffhm-sec *::before, .ffhm-hero *::after { transition: none !important; animation: none !important; }
	.ffhm-js [data-reveal] { opacity: 1; transform: none; }
	.ffhm-video { transform: none !important; }
}

/* Theme: remove the page-title band and default top gap on the new home page */
.ffhm-page .page_cover, .ffhm-page .page_title { display: none !important; }
.ffhm-page .page_content { margin-top: 0 !important; padding-top: 0 !important; }

/* Hero placeholder (admin note) sits at the top so it never overlaps the headline */
.ffhm-hero .ffhm-ph { justify-content: flex-start; padding-top: clamp(28px, 6vh, 64px); }

/* ---------- Motors: identical image frames in every card ----------
   Text rows line up across cards (subgrid), every image gets the same
   aspect ratio and fills it edge to edge. Change ratio / fit in the
   widget's Style tab. */
.ffhm-motors { --ffhm-motor-ratio: 4 / 3; --ffhm-motor-fit: cover; }
.ffhm-show { min-height: 0; }
.ffhm-show__media {
	flex: none;
	min-height: 0;
	aspect-ratio: var(--ffhm-motor-ratio);
	margin-block-start: 28px;
	overflow: hidden;
}
.ffhm-show__img { object-fit: var(--ffhm-motor-fit); object-position: center; }
@supports (grid-template-rows: subgrid) {
	.ffhm-showcase { grid-auto-rows: auto; }
	.ffhm-show { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
	.ffhm-show__text { align-self: start; }
	.ffhm-show__media { align-self: end; width: 100%; }
}

/* ---------- Hero sizing (v1.5.3) ----------
   Slides are stacked in one grid cell, so the hero is never shorter than its
   content (nothing gets clipped on short laptop screens). Default = full screen.
   --ffhm-top is set by JS to the height of a theme header that overlaps the hero. */
.ffhm-hero {
	display: grid;
	height: auto !important;
	min-height: var(--ffhm-hero-h, 100svh);
	max-height: none;
}
@supports not (height: 100svh) { .ffhm-hero { min-height: var(--ffhm-hero-h, 100vh); } }
.admin-bar .ffhm-hero { min-height: calc(var(--ffhm-hero-h, 100svh) - 32px); }
.ffhm-slide {
	position: relative;
	inset: auto;
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-block: calc(var(--ffhm-top, 0px) + clamp(40px, 7vh, 80px)) clamp(104px, 15vh, 150px);
}
.ffhm-slide__content { position: relative; inset: auto; }
.ffhm-hero .ffhm-hero__title { font-size: clamp(36px, min(7vw, 10.5vh), 96px); }
.ffhm-hero .ffhm-hero__text { font-size: clamp(15px, min(1.6vw, 2.6vh), 21px); }
.ffhm-hero__ctas { margin-block-start: clamp(20px, 4vh, 32px); }
.ffhm-hero .ffhm-ph { padding-top: calc(var(--ffhm-top, 0px) + 24px); }
