/* ==========================================================================
   About — Hero: "One roof. Connected support."
   Copy left, the folded-roof illustration right (1100px+). Below 1100px the
   illustration follows the copy. A slim category index closes the section.
   ========================================================================== */

.el-ah {
	padding: clamp(7.5rem, 15vh, 9rem) var(--el-gutter, 1.25rem) clamp(3.5rem, 7vw, 5.5rem);
	color: var(--el-ink, #070816);
}

.el-ah p,
.el-ah h1,
.el-ah ul {
	margin: 0;
}

.el-ah__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: clamp(2rem, 5vw, 3rem);
	max-width: var(--el-wide, 1240px);
	margin: 0 auto;
}

.el-ah__text > * {
	max-width: 34rem;
}

.el-ah__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: 1.25rem !important;
	color: var(--el-muted, #555a6b);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.el-ah__eyebrow span {
	width: 28px;
	height: 2px;
	background-color: var(--el-ink, #070816);
}

.el-ah__title {
	font-size: clamp(2.5rem, 4.6vw, 4.25rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.045em;
}

.el-ah__title .el-grad {
	white-space: nowrap;
}

.el-ah__lead {
	margin-top: clamp(1.125rem, 2vw, 1.5rem) !important;
	font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
	font-weight: 600;
	line-height: 1.5;
}

.el-ah__body {
	margin-top: 1rem !important;
	color: #2c2f3d;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.6;
}

.el-ah__who {
	display: flex;
	gap: 0.75rem;
	margin-top: clamp(1.25rem, 2vw, 1.5rem) !important;
	color: var(--el-muted, #555a6b);
	font-size: 0.9375rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1.5;
}

.el-ah__who::before {
	content: "";
	flex: none;
	width: 3px;
	border-radius: 2px;
	background: linear-gradient(180deg, #003dfa, #fb484c);
}

.el-ah__art {
	pointer-events: none;
}

.el-ah__art img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1200 / 560;
}

/* ---------- Category index ---------- */

.el-ah__index {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: clamp(1.5rem, 3vw, 2.5rem);
	row-gap: 1rem;
	max-width: var(--el-wide, 1240px);
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--el-line, #e6e8ed);
}

.el-ah__index-label {
	color: var(--el-muted, #555a6b);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.el-ah__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem 1.5rem;
	padding: 0;
	list-style: none;
}

.el-ah__list li {
	position: relative;
}

.el-ah__list li {
	padding-left: 0.875rem;
}

/* Every item carries its own marker, so no line starts with a stray dot */
.el-ah__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 1px;
	background: linear-gradient(135deg, #003dfa, #fb484c);
	transform: translateY(-50%);
}

.el-ah__list a,
.el-ah__all {
	color: var(--el-ink, #070816);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.el-ah__list a:hover {
	color: var(--el-blue, #003dfa);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.el-ah__all {
	font-weight: 700;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.el-ah__all:hover {
	color: var(--el-blue, #003dfa);
}

.el-ah__list a:focus-visible,
.el-ah__all:focus-visible {
	outline: 2px solid var(--el-blue, #003dfa);
	outline-offset: 3px;
	border-radius: 2px;
}

@media (min-width: 1100px) {
	.el-ah__inner {
		grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
		column-gap: clamp(2rem, 4vw, 4rem);
		align-items: center;
	}

	/* Let the scene run toward the right edge of wide screens */
	.el-ah__art {
		margin-right: calc(-1 * min(var(--el-gutter, 1.25rem), 2.5rem));
	}
}

@media (max-width: 1099px) {
	.el-ah__art {
		max-width: 820px;
	}
}

@media (max-width: 900px) {
	.el-ah__index {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	/* The gradient phrase starts its own line on phones */
	.el-ah__title .el-grad {
		display: block;
		white-space: normal;
	}

	.el-ah__list {
		flex-direction: column;
		gap: 0.625rem;
	}

}
