/* ==========================================================================
   Fabio DeMelo 2026 — black & white personal brand
   ========================================================================== */

:root {
	--ink: #0a0a0a;
	--ink-2: #1c1c1e;
	--graphite: #3f3f46;
	--muted: #6b6b70;
	--line: #e5e5e5;
	--line-2: #d4d4d4;
	--paper: #ffffff;
	--paper-2: #f6f6f5;
	--paper-3: #ededeb;
	--max: 1200px;
	--pad: clamp(20px, 5vw, 64px);
	--r: 14px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base (scoped to redesign body) ---------- */
.fdm-body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
.fdm-body * { box-sizing: border-box; }
.fdm-body img { max-width: 100%; display: block; }
.fdm-body a { color: inherit; text-decoration: none; }
.fdm-main { display: block; }

h1, h2, h3, h4 {
	font-family: "Space Grotesk", "Archivo", sans-serif;
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin: 0;
}

.fdm-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 12px 18px;
	z-index: 200;
}
.fdm-skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- Buttons ---------- */
.fdm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: .01em;
	border-radius: 100px;
	border: 1.5px solid var(--ink);
	cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
	white-space: nowrap;
}
.fdm-btn--sm { padding: 12px 24px; font-size: 14px; }
.fdm-btn--block { display: flex; width: 100%; }
.fdm-btn--solid { background: var(--ink); color: #fff; }
.fdm-btn--solid:hover { background: #fff; color: var(--ink); }
.fdm-btn--ghost { background: transparent; color: var(--ink); }
.fdm-btn--ghost:hover { background: var(--ink); color: #fff; }
.fdm-btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.fdm-btn--light:hover { background: transparent; color: #fff; }

/* Button text colors must beat `.fdm-body a { color: inherit }` (specificity fix) */
.fdm-body a.fdm-btn--solid { color: #fff; }
.fdm-body a.fdm-btn--solid:hover { color: var(--ink); }
.fdm-body a.fdm-btn--ghost { color: var(--ink); }
.fdm-body a.fdm-btn--ghost:hover { color: #fff; }
.fdm-body a.fdm-btn--light { color: var(--ink); }
.fdm-body a.fdm-btn--light:hover { color: #fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.fdm-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
	border-bottom: 1px solid transparent;
}
.fdm-header.is-stuck {
	background: rgba(255, 255, 255, .82);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom-color: var(--line);
}
.fdm-header__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 18px var(--pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	transition: padding .35s var(--ease);
}
.fdm-header.is-stuck .fdm-header__inner { padding-top: 12px; padding-bottom: 12px; }

.fdm-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: "Space Grotesk", sans-serif;
}
.fdm-brand__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--ink);
	color: #fff;
	border-radius: 9px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -.02em;
}
.fdm-brand__word {
	font-size: 19px;
	font-weight: 400;
	letter-spacing: -.01em;
	color: var(--ink);
}
.fdm-brand__word strong { font-weight: 700; }
.fdm-brand--light .fdm-brand__word { color: #fff; }
.fdm-brand--light .fdm-brand__mark { background: #fff; color: var(--ink); }

.fdm-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.fdm-nav__list a {
	position: relative;
	display: inline-block;
	padding: 8px 14px;
	font-size: 15px;
	font-weight: 500;
	color: var(--graphite);
	border-radius: 8px;
	transition: color .2s var(--ease), background-color .2s var(--ease);
}
.fdm-nav__list a:hover,
.fdm-nav__list .current-menu-item > a { color: var(--ink); }
.fdm-nav__list a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 4px;
	height: 1.5px;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}
.fdm-nav__list a:hover::after,
.fdm-nav__list .current-menu-item > a::after { transform: scaleX(1); }

.fdm-header__actions { display: flex; align-items: center; gap: 16px; }

.fdm-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 10px;
}
.fdm-burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.fdm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fdm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fdm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.fdm-mobile {
	display: none;
	flex-direction: column;
	gap: 6px;
	padding: 8px var(--pad) 28px;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.fdm-mobile.is-open { display: flex; }
.fdm-mobile__list { list-style: none; margin: 0 0 12px; padding: 0; }
.fdm-mobile__list a {
	display: block;
	padding: 14px 4px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 20px;
	font-weight: 500;
	border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.fdm-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: 120px var(--pad) 80px;
	overflow: hidden;
	background: var(--paper);
}
.fdm-hero__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
.fdm-hero__grid {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(to right, rgba(0,0,0,.045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(0,0,0,.045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
}
.fdm-hero__ghost {
	position: absolute;
	right: -2%;
	bottom: -6%;
	z-index: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: clamp(120px, 26vw, 420px);
	line-height: .8;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(0,0,0,.05);
	pointer-events: none;
	user-select: none;
}
.fdm-hero__inner {
	position: relative;
	z-index: 2;
	max-width: var(--max);
	margin: 0 auto;
	width: 100%;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.fdm-eyebrow {
	font-family: "Space Grotesk", sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--graphite);
	margin: 0 0 24px;
}
.fdm-hero__title {
	font-size: clamp(56px, 11vw, 148px);
	font-weight: 700;
	letter-spacing: -.035em;
	margin: 0 0 28px;
}
.fdm-hero__lead {
	font-size: clamp(17px, 2vw, 20px);
	color: var(--graphite);
	max-width: 30ch;
	margin: 0 0 36px;
}
.fdm-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.fdm-hero__media { position: relative; }
.fdm-hero__photo-wrap {
	position: relative;
	max-width: 460px;
	margin-left: auto;
}
.fdm-hero__photo {
	width: 100%;
	border-radius: var(--r);
	background: var(--paper-2);
	box-shadow: 0 40px 80px -40px rgba(0,0,0,.35);
}
.fdm-hero__chip {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 18px;
	background: rgba(255,255,255,.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 20px 40px -28px rgba(0,0,0,.4);
}
.fdm-hero__chip--a { left: -28px; top: 22%; }
.fdm-hero__chip--b { right: -22px; bottom: 16%; }
.fdm-hero__chip-num {
	font-family: "Space Grotesk", sans-serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.02em;
}
.fdm-hero__chip-label { font-size: 12.5px; color: var(--muted); }

.fdm-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	z-index: 2;
	width: 26px;
	height: 42px;
	border: 1.5px solid var(--line-2);
	border-radius: 14px;
	display: grid;
	place-items: start center;
	padding-top: 7px;
}
.fdm-hero__scroll span {
	width: 3px; height: 8px;
	background: var(--ink);
	border-radius: 2px;
	animation: fdm-scroll 1.6s var(--ease) infinite;
}
@keyframes fdm-scroll {
	0% { opacity: 0; transform: translateY(-2px); }
	40% { opacity: 1; }
	80% { opacity: 0; transform: translateY(12px); }
	100% { opacity: 0; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.fdm-marquee {
	background: var(--ink);
	color: #fff;
	overflow: hidden;
	padding: 22px 0;
	white-space: nowrap;
}
.fdm-marquee__track {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -.01em;
	animation: fdm-marquee 26s linear infinite;
	padding-left: 28px;
}
.fdm-marquee__track .fdm-dot { color: var(--muted); }
@keyframes fdm-marquee {
	to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.fdm-about, .fdm-stats, .fdm-expertise, .fdm-explore {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(72px, 10vw, 140px) var(--pad);
}
.fdm-section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.fdm-kicker {
	display: inline-block;
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
}
.fdm-h2 {
	font-size: clamp(32px, 5vw, 60px);
	letter-spacing: -.03em;
}
.fdm-lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink); }
.fdm-textlink {
	display: inline-block;
	margin-top: 14px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 500;
	border-bottom: 1.5px solid var(--ink);
	padding-bottom: 2px;
	transition: opacity .2s var(--ease);
}
.fdm-textlink:hover { opacity: .6; }

/* About */
.fdm-about__grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.fdm-about__portrait img {
	width: 100%;
	border-radius: var(--r);
	transition: transform .5s var(--ease);
}
.fdm-about__portrait:hover img { transform: scale(1.015); }
.fdm-about__text p { color: var(--graphite); margin: 0 0 18px; }
.fdm-about__text p.fdm-lead { color: var(--ink); }

/* Stats */
.fdm-stats { padding-top: 0; }
.fdm-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
}
.fdm-stat {
	padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
	border-right: 1px solid var(--line);
}
.fdm-stat:last-child { border-right: 0; }
.fdm-stat__num {
	display: block;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(34px, 4.5vw, 56px);
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1;
	margin-bottom: 10px;
}
.fdm-stat__label { font-size: 14.5px; color: var(--muted); }

/* Expertise cards */
.fdm-expertise { background: var(--paper-2); max-width: none; }
.fdm-expertise > .fdm-section__head,
.fdm-expertise > .fdm-cards { max-width: var(--max); margin-left: auto; margin-right: auto; }
.fdm-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(16px, 2vw, 24px);
}
.fdm-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: clamp(28px, 3.5vw, 44px);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.fdm-card:hover {
	transform: translateY(-4px);
	border-color: var(--ink);
	box-shadow: 0 30px 60px -38px rgba(0,0,0,.4);
}
.fdm-card__no {
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	color: var(--muted);
}
.fdm-card h3 {
	font-size: clamp(20px, 2.4vw, 26px);
	margin: 16px 0 12px;
}
.fdm-card p { color: var(--graphite); margin: 0; font-size: 15.5px; }

/* Explore */
.fdm-explore__grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fdm-explore__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: clamp(24px, 4vw, 40px) 4px;
	border-bottom: 1px solid var(--line);
	transition: padding-left .35s var(--ease), color .35s var(--ease);
}
.fdm-explore__label {
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(24px, 4vw, 44px);
	font-weight: 600;
	letter-spacing: -.02em;
}
.fdm-explore__arrow { font-size: clamp(22px, 3vw, 34px); transition: transform .35s var(--ease); }
.fdm-explore__item:hover { padding-left: 20px; }
.fdm-explore__item:hover .fdm-explore__arrow { transform: translateX(10px); }

/* CTA */
/* Light CTA band — must contrast with the dark footer below and white content above */
.fdm-cta { background: var(--paper-3); color: var(--ink); padding: clamp(56px, 7vw, 96px) var(--pad); border-top: 1px solid var(--line); }
.fdm-cta__inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.fdm-cta__title { font-size: clamp(34px, 5.5vw, 64px); letter-spacing: -.03em; }
.fdm-cta__lead { color: var(--graphite); font-size: clamp(17px, 2vw, 20px); margin: 20px 0 32px; }
/* CTA button: solid black on the light band (template uses --light variant).
   `a.` keeps specificity above the global `.fdm-body a.fdm-btn--light` rule. */
.fdm-cta a.fdm-btn--light { background: var(--ink); color: #fff; border-color: var(--ink); }
.fdm-cta a.fdm-btn--light:hover { background: transparent; color: var(--ink); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.fdm-footer { background: var(--ink); color: #d4d4d8; }
.fdm-footer__top {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(56px, 8vw, 96px) var(--pad) clamp(40px, 5vw, 60px);
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: clamp(32px, 5vw, 64px);
}
.fdm-footer__tag { max-width: 42ch; color: #9a9aa0; margin: 22px 0 0; font-size: 15.5px; }
.fdm-footer__nav h4, .fdm-footer__cta h4 {
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #7a7a80;
	margin: 0 0 20px;
}
.fdm-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.fdm-footer__nav li { margin-bottom: 12px; }
.fdm-footer__nav a, .fdm-footer__cta p { color: #d4d4d8; }
.fdm-footer__nav a { transition: color .2s var(--ease); }
.fdm-footer__nav a:hover { color: #fff; }
.fdm-footer__cta p { margin: 0 0 18px; color: #9a9aa0; font-size: 15.5px; }
.fdm-footer__bar {
	max-width: var(--max);
	margin: 0 auto;
	padding: 24px var(--pad);
	border-top: 1px solid rgba(255,255,255,.1);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 14px;
	color: #7a7a80;
}
.fdm-footer__bar p { margin: 0; }

/* ==========================================================================
   REVEAL / MOTION
   ========================================================================== */
[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
	.fdm-hero__inner { grid-template-columns: 1fr; gap: 48px; }
	.fdm-hero__media { order: -1; }
	.fdm-hero__photo-wrap { margin: 0 auto; max-width: 380px; }
	.fdm-about__grid { grid-template-columns: 1fr; }
	.fdm-about__portrait { max-width: 420px; }
	.fdm-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.fdm-stat:nth-child(2) { border-right: 0; }
	.fdm-stat:nth-child(1), .fdm-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
	.fdm-footer__top { grid-template-columns: 1fr 1fr; }
	.fdm-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	.fdm-nav, .fdm-header__actions .fdm-btn { display: none; }
	.fdm-burger { display: flex; }
	.fdm-hero { min-height: auto; padding-top: 110px; }
	.fdm-hero__title { font-size: clamp(52px, 17vw, 88px); }
	.fdm-cards { grid-template-columns: 1fr; }
	.fdm-hero__chip--a { left: -8px; }
	.fdm-hero__chip--b { right: -8px; }
	.fdm-hero__scroll { display: none; }

	/* Custom full-bleed templates: tighten top spacing (still clears fixed header) */
	.fdm-aboutx__hero { padding-top: 104px; text-align: left; }
	.fdm-vhero { padding-top: 104px; }
	.fdm-aboutx__title { font-size: clamp(40px, 13vw, 72px); }
	.fdm-vhero__title { font-size: clamp(40px, 13vw, 80px); }
	.fdm-bento__card { min-height: 180px; }
	.fdm-hero__actions .fdm-btn,
	.fdm-aboutx__copy .fdm-btn { flex: 1 1 auto; }
}

@media (max-width: 460px) {
	.fdm-stats__grid { grid-template-columns: 1fr; }
	.fdm-stat { border-right: 0; border-bottom: 1px solid var(--line); }
	.fdm-stat:last-child { border-bottom: 0; }
	.fdm-footer__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	[data-reveal] { opacity: 1; transform: none; }
	.fdm-marquee__track { animation: none; }
}

/* ==========================================================================
   FIX: fixed-header offset for standard content pages (Elementor inner pages)
   Front page + full-bleed custom templates manage their own top spacing.
   ========================================================================== */
body.fdm-offset .fdm-main {
	padding-top: clamp(96px, 12vh, 128px);
	padding-bottom: clamp(64px, 8vw, 96px);
}

/* ==========================================================================
   HOMEPAGE — VENTURES TEASER
   ========================================================================== */
.fdm-ventures { background: var(--paper); padding: clamp(72px, 10vw, 128px) var(--pad); }
.fdm-ventures__wrap { max-width: var(--max); margin: 0 auto; }
/* Bento grid (adapted from 21st.dev Bento pattern, monochrome) */
.fdm-bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 1fr;
	grid-auto-flow: dense;
	gap: 16px;
}
.fdm-bento__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-height: 220px;
	padding: 24px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	isolation: isolate;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.fdm-bento__card--wide { grid-column: span 2; }
.fdm-bento__card:hover {
	transform: translateY(-4px);
	border-color: var(--ink);
	box-shadow: 0 30px 60px -38px rgba(0,0,0,.45);
}
/* dot-grid overlay (reveals on hover; persistent on feature) */
.fdm-bento__dots {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: radial-gradient(circle at center, rgba(0,0,0,.05) 1px, transparent 1px);
	background-size: 16px 16px;
	opacity: 0;
	transition: opacity .35s var(--ease);
}
.fdm-bento__card:hover .fdm-bento__dots,
.fdm-bento__card.is-feature .fdm-bento__dots { opacity: 1; }
/* gradient ring */
.fdm-bento__ring {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: var(--r);
	padding: 1px;
	background: linear-gradient(135deg, transparent, rgba(0,0,0,.18), transparent);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	opacity: 0;
	transition: opacity .35s var(--ease);
}
.fdm-bento__card:hover .fdm-bento__ring { opacity: 1; }
/* cursor-follow spotlight */
.fdm-bento__spot {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(0,0,0,.06), transparent 60%);
	opacity: 0;
	transition: opacity .35s var(--ease);
}
.fdm-bento__card:hover .fdm-bento__spot { opacity: 1; }

.fdm-bento__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fdm-bento__mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--ink);
	color: #fff;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -.02em;
	transition: transform .35s var(--ease);
}
.fdm-bento__card:hover .fdm-bento__mark { transform: scale(1.06) rotate(-3deg); }
.fdm-bento__cat {
	font-family: "Space Grotesk", sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--paper-2);
}
.fdm-bento__body { margin-top: auto; }
.fdm-bento__name { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.fdm-bento__card--wide .fdm-bento__name { font-size: clamp(26px, 3vw, 38px); }
.fdm-bento__tag { font-size: 15px; color: var(--graphite); margin: 8px 0 0; max-width: 42ch; }
.fdm-bento__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}
.fdm-bento__domain {
	font-family: "Space Grotesk", sans-serif;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ink);
}
.fdm-bento__cta {
	font-family: "Space Grotesk", sans-serif;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--muted);
	transform: translateX(-4px);
	opacity: 0;
	transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.fdm-bento__card:hover .fdm-bento__cta { opacity: 1; transform: translateX(0); color: var(--ink); }
.fdm-bento__cta span { transition: transform .3s var(--ease); display: inline-block; }
.fdm-bento__card:hover .fdm-bento__cta span { transform: translateX(4px); }

.fdm-ventures__cta { margin-top: 48px; display: flex; justify-content: center; }

/* Make Explore alternate (zebra) against the white Ventures section */
.fdm-explore { max-width: none; background: var(--paper-2); }
.fdm-explore > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.fdm-explore__item { border-bottom-color: var(--line-2); }
.fdm-explore__grid { border-top-color: var(--line-2); }

/* ==========================================================================
   ABOUT PAGE (full-bleed editorial)
   ========================================================================== */
.fdm-page { display: block; }

.fdm-aboutx__hero {
	background: var(--paper);
	padding: clamp(128px, 16vh, 184px) var(--pad) clamp(56px, 7vw, 96px);
	border-bottom: 1px solid var(--line);
}
.fdm-aboutx__hero-inner {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.fdm-aboutx__title {
	font-size: clamp(48px, 8vw, 104px);
	letter-spacing: -.035em;
	margin: 0 0 24px;
}
.fdm-aboutx__media img {
	width: 100%;
	border-radius: var(--r);
	box-shadow: 0 40px 80px -40px rgba(0,0,0,.35);
}

/* full-bleed bands w/ zebra striping */
.fdm-aboutx__band { padding: clamp(64px, 9vw, 128px) var(--pad); background: var(--paper); }
.fdm-aboutx__band--tint { background: var(--paper-2); }
.fdm-aboutx__band--dark { background: var(--ink); color: #fff; padding: clamp(40px, 5vw, 64px) var(--pad); }
.fdm-aboutx__bandwrap {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.fdm-statline { display: flex; flex-direction: column; gap: 4px; }
.fdm-statline__num {
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1;
}
.fdm-statline__label { font-size: 14px; color: #b8b8bd; }

.fdm-aboutx__prose { max-width: 820px; margin: 0 auto; }
.fdm-aboutx__prose .fdm-h2 { margin: 16px 0 24px; }
.fdm-aboutx__prose p { color: var(--graphite); margin: 0 0 20px; font-size: 17px; }
.fdm-aboutx__prose .fdm-lead { color: var(--ink); }
.fdm-textlink-inline { border-bottom: 1.5px solid currentColor; padding-bottom: 1px; transition: opacity .2s var(--ease); }
.fdm-textlink-inline:hover { opacity: .6; }

/* ==========================================================================
   VENTURES PAGE
   ========================================================================== */
.fdm-vhero {
	position: relative;
	overflow: hidden;
	background: var(--paper);
	padding: clamp(140px, 18vh, 200px) var(--pad) clamp(64px, 8vw, 104px);
	border-bottom: 1px solid var(--line);
}
.fdm-vhero__inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; text-align: center; }
.fdm-vhero__inner .fdm-eyebrow { margin-bottom: 20px; }
.fdm-vhero__inner .fdm-lead { margin: 24px auto 0; max-width: 60ch; }
.fdm-vhero__title { font-size: clamp(48px, 9vw, 112px); letter-spacing: -.035em; }

.fdm-vrow { padding: clamp(56px, 8vw, 112px) var(--pad); background: var(--paper); border-bottom: 1px solid var(--line); }
.fdm-vrow--tint { background: var(--paper-2); }
.fdm-vrow__inner {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}
.fdm-vrow__aside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 12px; }
.fdm-vrow__no {
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(40px, 5vw, 64px);
	font-weight: 700;
	line-height: 1;
	color: var(--line-2);
	letter-spacing: -.03em;
}
.fdm-vrow__cat {
	font-family: "Space Grotesk", sans-serif;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.fdm-vrow__name { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -.03em; margin-bottom: 8px; }
.fdm-vrow__tag {
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(16px, 2vw, 19px);
	color: var(--graphite);
	margin: 0 0 24px;
}
.fdm-vrow__p { color: var(--graphite); margin: 0 0 18px; font-size: 16.5px; max-width: 64ch; }
.fdm-vrow__main .fdm-btn { margin-top: 16px; }

/* ==========================================================================
   RESPONSIVE — new sections
   ========================================================================== */
@media (max-width: 980px) {
	.fdm-bento { grid-template-columns: repeat(2, 1fr); }
	.fdm-bento__card--wide { grid-column: span 2; }
	.fdm-aboutx__hero-inner { grid-template-columns: 1fr; }
	.fdm-aboutx__media { order: -1; max-width: 420px; }
	.fdm-aboutx__bandwrap { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
	.fdm-vrow__inner { grid-template-columns: 1fr; gap: 24px; }
	.fdm-vrow__aside { position: static; flex-direction: row; align-items: baseline; gap: 16px; }
}
@media (max-width: 560px) {
	.fdm-bento { grid-template-columns: 1fr; }
	.fdm-bento__card--wide { grid-column: span 1; }
	.fdm-aboutx__bandwrap { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   ABOUT — VIDEO (click-to-play facade)
   ========================================================================== */
.fdm-aboutx__videowrap { max-width: 960px; margin: 0 auto; }
.fdm-aboutx__videowrap .fdm-h2 { margin: 16px 0 32px; }
.fdm-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--r);
	overflow: hidden;
	background: var(--ink);
	cursor: pointer;
	border: 1px solid var(--line);
}
.fdm-video__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .88;
	transition: opacity .35s var(--ease), transform .6s var(--ease);
}
.fdm-video:hover .fdm-video__thumb { opacity: 1; transform: scale(1.03); }
.fdm-video__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 84px;
	height: 84px;
	display: grid;
	place-items: center;
	background: rgba(255,255,255,.92);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.fdm-video:hover .fdm-video__play { transform: scale(1.08); background: #fff; }
.fdm-video__tri {
	width: 0; height: 0;
	margin-left: 5px;
	border-style: solid;
	border-width: 13px 0 13px 22px;
	border-color: transparent transparent transparent var(--ink);
}
.fdm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   URL/link directly under venture names
   ========================================================================== */
/* Ventures page rows: linked domain right under the name */
.fdm-vrow__link {
	display: inline-block;
	margin: 0 0 20px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 500;
	font-size: 15px;
	color: var(--ink);
	border-bottom: 1.5px solid var(--ink);
	padding-bottom: 2px;
	transition: opacity .2s var(--ease);
}
.fdm-vrow__link:hover { opacity: .6; }
.fdm-vrow__link span { display: inline-block; transition: transform .25s var(--ease); }
.fdm-vrow__link:hover span { transform: translateX(4px); }
.fdm-vrow__name { margin-bottom: 6px; }

/* Homepage bento: domain shown directly under the name */
.fdm-bento__body .fdm-bento__domain { display: inline-block; margin: 6px 0 0; }
.fdm-bento__name { margin-bottom: 0; }
.fdm-bento__tag { margin-top: 12px; }
.fdm-bento__foot { justify-content: flex-end; }

/* ==========================================================================
   SEO mu-plugin (seo-essentials.php) injects a duplicate <h1> as a direct
   child of <body> on pages whose visible title is an <h2> (Elementor pages).
   It lands outside the layout, under the fixed header, and visually duplicates
   the page title. Keep it for crawlers (valid single H1) but hide it visually —
   the Elementor/page title stays the visible heading. Custom template H1s are
   nested in sections, so `.fdm-body > h1` matches ONLY the injected one.
   ========================================================================== */
.fdm-body > h1 {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

/* ==========================================================================
   VENTURES — investor pitch callout (dark band between white hero & rows)
   ========================================================================== */
.fdm-vpitch { background: var(--ink); color: #fff; padding: clamp(40px, 5vw, 64px) var(--pad); }
.fdm-vpitch__inner {
	max-width: var(--max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 4vw, 56px);
	flex-wrap: wrap;
}
.fdm-vpitch__text { flex: 1 1 420px; }
.fdm-vpitch__title { font-size: clamp(24px, 3vw, 40px); letter-spacing: -.02em; max-width: 22ch; }
.fdm-vpitch__lead { color: #b8b8bd; margin: 14px 0 0; font-size: clamp(16px, 1.7vw, 19px); max-width: 50ch; }
.fdm-vpitch .fdm-btn { flex: 0 0 auto; }
@media (max-width: 600px) {
	.fdm-vpitch__inner { flex-direction: column; align-items: flex-start; }
	.fdm-vpitch .fdm-btn { width: 100%; }
}
