/* Home page only (linked by index.hbs): hero additions (eyebrow, bio, buttons, employer row) and the "work with me" cards. */
.hero-eyebrow {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.site-hero .intro-description a {
	text-decoration: underline;
}
.hero-bio {
	max-width: 40rem;
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.6;
}
.hero-proof {
	margin-top: 2.5rem;
}
.hero-proof-label {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	opacity: 0.75;
}
.hero-proof-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hero-proof-list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
}
/* White round badge in both modes, same treatment as .xp-logo on the experience page. */
.hero-proof-list img {
	width: 2rem;
	height: 2rem;
	padding: 4px;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: 50%;
}
.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.5rem;
}

/* "Work with me" cards under the hero (partials/home-ways.hbs). */
.ways {
	margin-bottom: 6rem;
}
.ways-title {
	margin: 0 0 2rem;
}
.ways-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	counter-reset: way;
}
.way {
	position: relative;
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
	padding: 4.5rem 1.75rem 1.75rem;
	overflow: hidden;
	color: #fff;
	/* theme gradient under a dark veil, so white text keeps its contrast whatever accent colour is set */
	background: linear-gradient(to top, rgb(0 0 0 / 80%), rgb(0 0 0 / 45%)), var(--gradient-primary);
	border-radius: 1.5rem;
	counter-increment: way;
}
.way::before {
	position: absolute;
	top: 1.5rem;
	left: 1.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	content: "0" counter(way);
	opacity: 0.7;
}
.way-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.2;
	color: #fff;
}
.way-body {
	max-width: 30rem;
}
.way-body p {
	margin: 0.75rem 0 1.25rem;
	color: rgb(255 255 255 / 85%);
}
.btn.way-cta,
.btn.way-cta:hover,
.btn.way-cta:focus {
	color: #111;
	background: #fff;
}
.btn.way-cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
@media (hover: hover) and (min-width: 992px) {
	.ways-list {
		flex-direction: row;
		height: 26rem;
	}
	.way {
		transition: flex-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	}
	/* collapsed: body stays in the tab order (so focus opens the card) but takes no space */
	.way-body {
		width: 30rem;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: opacity 0.4s;
	}
	.way:hover,
	.way:focus-within,
	.ways-list:not(:hover, :focus-within) .way:first-child {
		flex-grow: 3.2;
	}
	.way:hover .way-body,
	.way:focus-within .way-body,
	.ways-list:not(:hover, :focus-within) .way:first-child .way-body {
		max-height: 20rem;
		opacity: 1;
	}
}
@media (prefers-reduced-motion: reduce) {
	.way,
	.way-body {
		transition: none;
	}
}
