.hermon-homepage {
	overflow: visible;
}

.hermon-homepage__hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: var(--hermon-space-24) 0 var(--hermon-space-20);
	border-bottom: 1px solid var(--hermon-color-line);
	background:
		radial-gradient(circle at 82% 18%, rgba(241, 184, 75, 0.24), transparent 34%),
		linear-gradient(135deg, rgba(14, 124, 134, 0.15), rgba(255, 255, 255, 0) 48%),
		linear-gradient(180deg, #ffffff 0%, var(--hermon-color-bg-alt) 100%);
}

.hermon-homepage__hero::before {
	position: absolute;
	inset: 34px max(24px, calc((100vw - var(--hermon-container)) / 2)) auto auto;
	z-index: -1;
	width: 360px;
	height: 360px;
	content: "";
	border: 1px solid rgba(14, 124, 134, 0.18);
	border-radius: 42px;
	background: rgba(255, 255, 255, 0.4);
	box-shadow: var(--hermon-shadow-lg);
	transform: rotate(10deg);
}

.hermon-homepage__hero::after {
	position: absolute;
	right: max(24px, calc((100vw - var(--hermon-container)) / 2));
	bottom: -80px;
	z-index: -1;
	width: 220px;
	height: 220px;
	content: "";
	border: 1px solid rgba(241, 184, 75, 0.38);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.46);
}

.hermon-homepage__hero-inner {
	position: relative;
	z-index: 1;
	max-width: 920px;
	margin-left: max(24px, calc((100vw - var(--hermon-container)) / 2));
}

.hermon-homepage__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--hermon-space-2);
	margin: 0 0 var(--hermon-space-5);
	color: var(--hermon-color-accent-dark);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hermon-homepage__eyebrow::before {
	width: 28px;
	height: 2px;
	content: "";
	border-radius: var(--hermon-radius-pill);
	background: var(--hermon-color-warm);
}

.hermon-homepage__headline {
	max-width: 820px;
	margin: 0;
	color: var(--hermon-color-ink);
	font-size: 6.4rem;
	font-weight: 850;
	line-height: 0.94;
	letter-spacing: 0;
}

.hermon-homepage__subtitle {
	max-width: 720px;
	margin: var(--hermon-space-6) 0 0;
	color: var(--hermon-color-muted);
	font-size: 1.26rem;
	line-height: var(--hermon-leading-body);
}

.hermon-homepage__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: var(--hermon-space-8);
	padding: 0 var(--hermon-space-6);
	border: 1px solid transparent;
	border-radius: var(--hermon-radius);
	background: var(--hermon-color-accent);
	box-shadow: 0 12px 24px rgba(14, 124, 134, 0.22);
	color: #ffffff !important;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: background var(--hermon-transition), border-color var(--hermon-transition), box-shadow var(--hermon-transition), transform var(--hermon-transition);
}

.hermon-homepage__cta:hover,
.hermon-homepage__cta:focus,
.hermon-homepage__cta:visited {
	border-color: rgba(255, 255, 255, 0.35);
	background: var(--hermon-color-accent-dark);
	box-shadow: 0 16px 30px rgba(7, 90, 99, 0.25);
	color: #ffffff !important;
	transform: translateY(-2px);
}

.hermon-homepage__cta:not(:hover):not(:focus):visited {
	transform: none;
}

.hermon-homepage__cta:visited {
	background: var(--hermon-color-accent);
	transform: none;
}

.hermon-homepage__cta--secondary {
	flex: 0 0 auto;
	margin-top: 0;
	background: var(--hermon-color-ink);
	box-shadow: 0 14px 26px rgba(13, 21, 36, 0.18);
	color: #ffffff !important;
}

.hermon-homepage__categories,
.hermon-homepage__articles {
	padding: var(--hermon-space-20) 0;
}

.hermon-homepage__categories {
	background: var(--hermon-color-bg);
}

.hermon-homepage__articles {
	border-top: 1px solid rgba(220, 227, 236, 0.72);
	background: linear-gradient(180deg, #ffffff 0%, var(--hermon-color-bg) 100%);
}

.hermon-articles .hermon-homepage__articles {
	padding: var(--hermon-space-20) 0 var(--hermon-space-24);
}

.hermon-homepage__section-header {
	max-width: 760px;
	margin-bottom: var(--hermon-space-8);
}

.hermon-homepage__section-title {
	margin: 0;
	color: var(--hermon-color-ink);
	font-size: 3.35rem;
	font-weight: 820;
	line-height: var(--hermon-leading-title);
	letter-spacing: 0;
}

.hermon-homepage__category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: var(--hermon-space-5);
}

.hermon-homepage__category-card,
.hermon-homepage__article-card {
	min-width: 0;
	border: 1px solid rgba(199, 209, 222, 0.78);
	border-radius: var(--hermon-radius-lg);
	background: var(--hermon-color-surface);
	box-shadow: var(--hermon-shadow-sm);
	transition: border-color var(--hermon-transition), box-shadow var(--hermon-transition), transform var(--hermon-transition);
}

.hermon-homepage__category-card:hover,
.hermon-homepage__article-card:hover {
	border-color: rgba(14, 124, 134, 0.28);
	box-shadow: var(--hermon-shadow-md);
	transform: translateY(-3px);
}

.hermon-homepage__category-card {
	min-height: 236px;
	overflow: hidden;
	padding: 0;
}

.hermon-homepage__category-link {
	display: flex;
	flex-direction: column;
	min-height: 236px;
	padding: var(--hermon-space-6);
	color: inherit !important;
	text-decoration: none !important;
}

.hermon-homepage__category-link::before {
	display: block;
	width: 46px;
	height: 4px;
	margin-bottom: var(--hermon-space-6);
	content: "";
	border-radius: var(--hermon-radius-pill);
	background: linear-gradient(90deg, var(--hermon-color-warm), var(--hermon-color-accent));
}

.hermon-homepage__category-title {
	margin: 0;
	color: var(--hermon-color-ink);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
}

.hermon-homepage__category-description {
	margin: var(--hermon-space-4) 0 0;
	color: var(--hermon-color-muted);
	font-size: 0.96rem;
	line-height: 1.64;
}

.hermon-homepage__category-link:hover .hermon-homepage__category-title,
.hermon-homepage__category-link:focus .hermon-homepage__category-title {
	color: var(--hermon-color-accent-dark);
}

.hermon-homepage__article-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: var(--hermon-space-6);
}

.hermon-homepage__article-card {
	overflow: hidden;
}

.hermon-homepage__article-link {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
}

.hermon-homepage__article-link:hover .hermon-homepage__article-title,
.hermon-homepage__article-link:focus .hermon-homepage__article-title {
	color: var(--hermon-color-accent-dark);
}

.hermon-homepage__article-image {
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(135deg, rgba(14, 124, 134, 0.12), rgba(241, 184, 75, 0.18)),
		var(--hermon-color-bg-alt);
	overflow: hidden;
}

.hermon-homepage__article-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.hermon-homepage__article-card:hover .hermon-homepage__article-image img {
	transform: scale(1.025);
}

.hermon-homepage__article-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: var(--hermon-space-6);
}

.hermon-homepage__article-topic {
	margin: 0 0 var(--hermon-space-3);
	color: var(--hermon-color-accent-dark);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hermon-homepage__article-title {
	margin: 0;
	color: var(--hermon-color-ink);
	font-size: 1.34rem;
	font-weight: 820;
	line-height: 1.24;
	letter-spacing: 0;
	transition: color var(--hermon-transition);
}

.hermon-homepage__article-excerpt {
	margin: var(--hermon-space-4) 0 0;
	color: var(--hermon-color-muted);
	font-size: 0.98rem;
	line-height: 1.68;
}

.hermon-homepage__empty {
	margin: 0;
	padding: var(--hermon-space-6);
	border: 1px dashed var(--hermon-color-line-strong);
	border-radius: var(--hermon-radius-lg);
	background: rgba(255, 255, 255, 0.72);
	color: var(--hermon-color-muted);
	line-height: 1.68;
}

.hermon-homepage__cta-section {
	padding: 0 0 var(--hermon-space-24);
	background: var(--hermon-color-bg);
}

.hermon-homepage__cta-panel {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--hermon-space-10);
	overflow: hidden;
	padding: var(--hermon-space-12);
	border: 1px solid rgba(14, 124, 134, 0.18);
	border-radius: var(--hermon-radius-lg);
	background:
		linear-gradient(135deg, rgba(14, 124, 134, 0.08), rgba(241, 184, 75, 0.14)),
		var(--hermon-color-surface);
	box-shadow: var(--hermon-shadow-md);
}

.hermon-homepage__cta-panel::after {
	position: absolute;
	inset: auto -64px -92px auto;
	z-index: -1;
	width: 240px;
	height: 240px;
	content: "";
	border-radius: 50%;
	background: rgba(241, 184, 75, 0.22);
}

.hermon-homepage__cta-title {
	max-width: 780px;
	margin: 0;
	color: var(--hermon-color-ink);
	font-size: 2.35rem;
	font-weight: 820;
	line-height: 1.12;
	letter-spacing: 0;
}

.hermon-homepage__cta-description {
	max-width: 740px;
	margin: var(--hermon-space-4) 0 0;
	color: var(--hermon-color-muted);
	font-size: 1.04rem;
	line-height: 1.68;
}

@media (max-width: 1120px) {
	.hermon-homepage__headline {
		font-size: 5rem;
	}

	.hermon-homepage__section-title {
		font-size: 2.75rem;
	}

	.hermon-homepage__cta-panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.hermon-homepage__hero {
		padding: var(--hermon-space-20) 0 var(--hermon-space-16);
	}

	.hermon-homepage__hero::before {
		inset: auto -130px -110px auto;
		width: 260px;
		height: 260px;
	}

	.hermon-homepage__hero::after {
		display: none;
	}

	.hermon-homepage__hero-inner {
		max-width: none;
		margin-left: auto;
	}

	.hermon-homepage__headline {
		font-size: 3.18rem;
		line-height: 1;
	}

	.hermon-homepage__subtitle {
		font-size: 1.05rem;
	}

	.hermon-homepage__categories,
	.hermon-homepage__articles,
	.hermon-articles .hermon-homepage__articles {
		padding: var(--hermon-space-16) 0;
	}

	.hermon-homepage__cta-section {
		padding-bottom: var(--hermon-space-16);
	}

	.hermon-homepage__section-title {
		font-size: 2.08rem;
	}

	.hermon-homepage__category-grid,
	.hermon-homepage__article-grid {
		grid-template-columns: 1fr;
		gap: var(--hermon-space-4);
	}

	.hermon-homepage__category-card {
		min-height: auto;
	}

	.hermon-homepage__category-link {
		min-height: auto;
	}

	.hermon-homepage__cta-panel {
		gap: var(--hermon-space-6);
		padding: var(--hermon-space-6);
	}

	.hermon-homepage__cta-title {
		font-size: 1.72rem;
	}

	.hermon-homepage__cta {
		width: 100%;
		min-width: 0;
		white-space: normal;
	}
}

/*
 * Dark premium homepage refinement.
 * The markup remains unchanged; this layer upgrades visual hierarchy,
 * depth, spacing, and card polish for the public Hermon Lab surfaces.
 */
.hermon-homepage {
	position: relative;
	background:
		linear-gradient(180deg, rgba(9, 14, 27, 0.2), rgba(6, 9, 17, 1) 64vh),
		var(--hermon-color-bg);
}

.hermon-homepage::before {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	content: "";
	background:
		linear-gradient(120deg, rgba(97, 216, 255, 0.08), transparent 32%),
		linear-gradient(260deg, rgba(183, 156, 255, 0.09), transparent 36%),
		linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
	background-size: auto, auto, 76px 76px, 76px 76px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.hermon-homepage > * {
	position: relative;
	z-index: 1;
}

.hermon-homepage__hero {
	min-height: clamp(620px, 74vh, 880px);
	display: flex;
	align-items: center;
	padding: clamp(7rem, 10vw, 10rem) 0 clamp(5rem, 8vw, 8rem);
	border-bottom: 1px solid var(--hermon-color-line);
	background:
		linear-gradient(135deg, rgba(97, 216, 255, 0.16), transparent 38%),
		linear-gradient(245deg, rgba(183, 156, 255, 0.15), transparent 42%),
		linear-gradient(180deg, rgba(16, 24, 39, 0.5), rgba(6, 9, 17, 0.98));
}

.hermon-homepage__hero::before {
	inset: 72px max(28px, calc((100vw - var(--hermon-container)) / 2)) auto auto;
	width: min(42vw, 520px);
	height: min(42vw, 520px);
	border-color: rgba(97, 216, 255, 0.18);
	border-radius: var(--hermon-radius-xl);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
		rgba(16, 24, 39, 0.45);
	box-shadow: var(--hermon-shadow-glow);
}

.hermon-homepage__hero::after {
	inset: auto max(28px, calc((100vw - var(--hermon-container)) / 2)) -120px auto;
	width: 42%;
	max-width: 620px;
	height: 180px;
	border: 1px solid rgba(183, 156, 255, 0.16);
	border-radius: var(--hermon-radius-xl);
	background: linear-gradient(90deg, rgba(97, 216, 255, 0.08), rgba(183, 156, 255, 0.1));
	filter: blur(0.2px);
}

.hermon-homepage__hero-inner {
	max-width: 980px;
	margin-inline-start: max(28px, calc((100vw - var(--hermon-container)) / 2));
}

.hermon-homepage__eyebrow {
	padding: 0.45rem 0.75rem;
	border: 1px solid rgba(97, 216, 255, 0.2);
	border-radius: var(--hermon-radius-pill);
	background: rgba(97, 216, 255, 0.08);
	color: var(--hermon-color-accent-dark);
	font-size: 0.72rem;
	font-weight: 900;
}

.hermon-homepage__eyebrow::before {
	width: 8px;
	height: 8px;
	background: var(--hermon-color-accent);
	box-shadow: 0 0 18px rgba(97, 216, 255, 0.78);
}

.hermon-homepage__headline {
	max-width: 960px;
	color: #ffffff;
	font-size: clamp(3.5rem, 8vw, 7.4rem);
	font-weight: 920;
	line-height: 0.94;
	text-wrap: balance;
	text-shadow: 0 20px 80px rgba(0, 0, 0, 0.34);
}

.hermon-homepage__subtitle {
	max-width: 760px;
	color: var(--hermon-color-muted);
	font-size: clamp(1.05rem, 2vw, 1.34rem);
	line-height: 1.74;
}

.hermon-homepage__cta {
	min-height: 54px;
	padding: 0 var(--hermon-space-7, 1.75rem);
	border: 1px solid rgba(97, 216, 255, 0.38);
	border-radius: var(--hermon-radius-pill);
	background:
		linear-gradient(135deg, rgba(97, 216, 255, 0.95), rgba(183, 156, 255, 0.82)),
		var(--hermon-color-accent);
	box-shadow: 0 18px 52px rgba(97, 216, 255, 0.22);
	color: #04111f !important;
	font-weight: 900;
}

.hermon-homepage__cta:hover,
.hermon-homepage__cta:focus,
.hermon-homepage__cta:visited {
	border-color: rgba(255, 255, 255, 0.55);
	background:
		linear-gradient(135deg, #8de6ff, #c9b8ff),
		var(--hermon-color-accent);
	box-shadow: 0 22px 70px rgba(97, 216, 255, 0.32);
	color: #03101c !important;
	transform: translateY(-2px);
}

.hermon-homepage__categories,
.hermon-homepage__articles,
.hermon-articles .hermon-homepage__articles {
	padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.hermon-homepage__categories {
	background:
		linear-gradient(180deg, rgba(6, 9, 17, 0.98), rgba(10, 15, 28, 0.98)),
		var(--hermon-color-bg);
}

.hermon-homepage__articles {
	border-top: 1px solid var(--hermon-color-line);
	background:
		linear-gradient(180deg, rgba(15, 23, 38, 0.86), rgba(6, 9, 17, 0.98)),
		var(--hermon-color-bg);
}

.hermon-homepage__section-header {
	max-width: 820px;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hermon-homepage__section-title {
	color: #ffffff;
	font-size: clamp(2.2rem, 4.8vw, 4rem);
	font-weight: 900;
	text-wrap: balance;
}

.hermon-homepage__category-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.hermon-homepage__category-card,
.hermon-homepage__article-card {
	position: relative;
	border-color: var(--hermon-topic-accent-line);
	background:
		linear-gradient(135deg, var(--hermon-topic-accent-soft), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
		var(--hermon-color-surface);
	box-shadow: var(--hermon-shadow-sm);
}

.hermon-homepage__category-card::before,
.hermon-homepage__article-card::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	border-radius: inherit;
	background: linear-gradient(135deg, var(--hermon-topic-accent-soft), transparent 42%, rgba(183, 156, 255, 0.08));
	opacity: 0;
	transition: opacity var(--hermon-transition);
}

.hermon-homepage__category-card:hover,
.hermon-homepage__category-card:focus-within,
.hermon-homepage__article-card:hover,
.hermon-homepage__article-card:focus-within {
	border-color: var(--hermon-topic-accent-line);
	box-shadow: var(--hermon-shadow-glow);
	transform: translateY(-4px);
}

.hermon-homepage__category-card:hover::before,
.hermon-homepage__category-card:focus-within::before,
.hermon-homepage__article-card:hover::before,
.hermon-homepage__article-card:focus-within::before {
	opacity: 1;
}

.hermon-homepage__category-link {
	position: relative;
	z-index: 1;
	min-height: 260px;
	padding: clamp(1.4rem, 2.3vw, 2rem);
}

.hermon-homepage__category-link::before {
	width: 10px;
	height: 10px;
	border: 1px solid var(--hermon-topic-accent-line);
	border-radius: 50%;
	background: var(--hermon-topic-accent);
	box-shadow: 0 0 22px var(--hermon-signal-glow);
}

.hermon-homepage__category-title,
.hermon-homepage__article-title {
	color: #ffffff;
}

.hermon-homepage__category-title {
	font-size: 1.18rem;
}

.hermon-homepage__category-description,
.hermon-homepage__article-excerpt {
	color: var(--hermon-color-muted);
}

.hermon-homepage__category-link:hover .hermon-homepage__category-title,
.hermon-homepage__category-link:focus .hermon-homepage__category-title,
.hermon-homepage__article-link:hover .hermon-homepage__article-title,
.hermon-homepage__article-link:focus .hermon-homepage__article-title {
	color: var(--hermon-color-accent-dark);
}

.hermon-homepage__article-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
	gap: clamp(1rem, 2vw, 1.6rem);
}

.hermon-homepage__article-card--feature {
	grid-column: span 2;
}

.hermon-homepage__article-card--feature .hermon-homepage__article-title {
	font-size: clamp(1.7rem, 2.8vw, 2.3rem);
	line-height: 1.08;
}

.hermon-homepage__article-card--feature .hermon-homepage__article-excerpt {
	font-size: 1.02rem;
	line-height: 1.72;
}

.hermon-homepage__article-card--medium .hermon-homepage__article-title {
	font-size: clamp(1.2rem, 1.7vw, 1.45rem);
	line-height: 1.16;
}

.hermon-homepage__article-card--compact .hermon-homepage__article-body {
	padding-block: clamp(1.15rem, 1.8vw, 1.5rem);
}

.hermon-homepage__article-card--compact .hermon-homepage__article-title {
	font-size: 1.08rem;
	line-height: 1.2;
}

.hermon-homepage__article-image {
	background:
		linear-gradient(135deg, var(--hermon-topic-accent-soft), rgba(183, 156, 255, 0.14)),
		var(--hermon-color-surface-strong);
}

.hermon-homepage__article-card:hover .hermon-homepage__article-image img,
.hermon-homepage__article-card:focus-within .hermon-homepage__article-image img {
	transform: scale(1.035);
}

.hermon-homepage__article-body {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--hermon-space-3);
	padding: clamp(1.4rem, 2.3vw, 2rem);
}

.hermon-homepage__article-body .hermon-signal-label {
	justify-self: start;
}

.hermon-homepage__article-card:hover .hermon-signal-label,
.hermon-homepage__article-card:focus-within .hermon-signal-label,
.hermon-homepage__category-card:hover .hermon-homepage__category-link::before,
.hermon-homepage__category-card:focus-within .hermon-homepage__category-link::before {
	border-color: var(--hermon-topic-accent-line);
	box-shadow: 0 0 26px var(--hermon-signal-glow);
}

.hermon-homepage__article-topic {
	color: var(--hermon-color-accent-dark);
	margin: 0;
	font-size: 0.78rem;
	font-weight: 760;
	line-height: 1.25;
}

.hermon-homepage__article-title,
.hermon-homepage__article-excerpt {
	margin: 0;
}

.hermon-homepage__empty {
	border-color: rgba(97, 216, 255, 0.25);
	background: rgba(255, 255, 255, 0.045);
	color: var(--hermon-color-muted);
}

.hermon-homepage__cta-section {
	padding: 0 0 clamp(4.5rem, 7vw, 7.5rem);
	background: var(--hermon-color-bg);
}

.hermon-homepage__cta-panel {
	border-color: rgba(97, 216, 255, 0.22);
	border-radius: var(--hermon-radius-xl);
	background:
		linear-gradient(135deg, rgba(97, 216, 255, 0.12), rgba(183, 156, 255, 0.1)),
		linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
		var(--hermon-color-surface);
	box-shadow: var(--hermon-shadow-glow);
}

.hermon-homepage__cta-panel::after {
	inset: auto 0 0 auto;
	width: 42%;
	height: 100%;
	border-radius: 0;
	background: linear-gradient(90deg, transparent, rgba(97, 216, 255, 0.12));
}

.hermon-homepage__cta-title {
	color: #ffffff;
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	text-wrap: balance;
}

.hermon-homepage__cta-description {
	color: var(--hermon-color-muted);
}

.hermon-homepage__cta--secondary {
	border-color: rgba(255, 209, 102, 0.35);
	background:
		linear-gradient(135deg, rgba(255, 209, 102, 0.95), rgba(97, 216, 255, 0.78)),
		var(--hermon-color-warm);
	box-shadow: 0 18px 52px rgba(255, 209, 102, 0.16);
	color: #08101c !important;
}

@media (max-width: 760px) {
	.hermon-homepage__hero {
		min-height: auto;
		padding: var(--hermon-space-20) 0 var(--hermon-space-16);
	}

	.hermon-homepage__hero::before,
	.hermon-homepage__hero::after {
		opacity: 0.42;
	}

	.hermon-homepage__headline {
		font-size: clamp(3rem, 14vw, 4rem);
	}

	.hermon-homepage__category-link {
		min-height: auto;
	}

	.hermon-homepage__article-card--feature {
		grid-column: auto;
	}

	.hermon-homepage__cta-panel {
		padding: var(--hermon-space-7, 1.75rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hermon-homepage__category-card,
	.hermon-homepage__article-card,
	.hermon-homepage__article-image img,
	.hermon-homepage__cta,
	.hermon-signal-label {
		transition: none !important;
	}

	.hermon-homepage__category-card:hover,
	.hermon-homepage__category-card:focus-within,
	.hermon-homepage__article-card:hover,
	.hermon-homepage__article-card:focus-within,
	.hermon-homepage__article-card:hover .hermon-homepage__article-image img,
	.hermon-homepage__article-card:focus-within .hermon-homepage__article-image img,
	.hermon-homepage__cta:hover,
	.hermon-homepage__cta:focus {
		transform: none !important;
	}
}

/*
 * Next-stage homepage polish:
 * Keeps the existing structure, adding a controlled editorial/signal rhythm.
 */
.hermon-homepage::before {
	background:
		linear-gradient(118deg, rgba(97, 216, 255, 0.064), transparent 30%),
		linear-gradient(258deg, rgba(183, 156, 255, 0.07), transparent 36%),
		linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: auto, auto, 88px 88px, 88px 88px;
}

.hermon-homepage__hero {
	min-height: clamp(600px, 70vh, 820px);
	background:
		radial-gradient(circle at 78% 24%, rgba(97, 216, 255, 0.11), transparent 30%),
		linear-gradient(135deg, rgba(97, 216, 255, 0.12), transparent 40%),
		linear-gradient(245deg, rgba(183, 156, 255, 0.105), transparent 45%),
		linear-gradient(180deg, rgba(16, 24, 39, 0.52), rgba(6, 9, 17, 0.98));
}

.hermon-homepage__hero::before {
	opacity: 0.82;
	box-shadow: 0 0 0 1px rgba(97, 216, 255, 0.1), 0 30px 90px rgba(97, 216, 255, 0.09);
}

.hermon-homepage__headline {
	max-width: 900px;
	font-size: clamp(3.35rem, 7.4vw, 6.9rem);
	line-height: 0.96;
}

.hermon-homepage__subtitle {
	max-width: 700px;
	color: rgba(219, 228, 242, 0.78);
}

.hermon-homepage__categories,
.hermon-homepage__articles,
.hermon-articles .hermon-homepage__articles {
	padding: clamp(4.25rem, 6.4vw, 6.5rem) 0;
}

.hermon-homepage__section-header {
	position: relative;
	margin-bottom: clamp(2.1rem, 3.6vw, 3.2rem);
}

.hermon-homepage__section-header::after {
	display: block;
	width: min(180px, 38vw);
	height: 1px;
	margin-top: var(--hermon-space-5);
	content: "";
	background: linear-gradient(90deg, var(--hermon-topic-accent-line), transparent);
}

.hermon-homepage__section-title {
	max-width: 780px;
	font-size: clamp(2.05rem, 4.25vw, 3.65rem);
	line-height: 1.05;
}

.hermon-homepage__category-grid {
	gap: clamp(1rem, 1.8vw, 1.35rem);
}

.hermon-homepage__category-card,
.hermon-homepage__article-card {
	border-color: var(--hermon-editorial-line);
	background:
		linear-gradient(135deg, var(--hermon-topic-accent-soft), transparent 30%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022)),
		var(--hermon-editorial-panel);
	box-shadow: var(--hermon-shadow-signal);
}

.hermon-homepage__category-card:hover,
.hermon-homepage__category-card:focus-within,
.hermon-homepage__article-card:hover,
.hermon-homepage__article-card:focus-within {
	border-color: var(--hermon-topic-accent-line);
	box-shadow: var(--hermon-shadow-signal-hover);
	transform: translateY(-3px);
}

.hermon-homepage__category-link {
	min-height: 244px;
	padding: clamp(1.35rem, 2vw, 1.8rem);
}

.hermon-homepage__category-title {
	font-size: clamp(1.06rem, 1.45vw, 1.18rem);
	line-height: 1.22;
}

.hermon-homepage__category-description {
	font-size: 0.94rem;
	line-height: 1.72;
}

.hermon-homepage__article-grid {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(1rem, 1.8vw, 1.45rem);
}

.hermon-homepage__article-card {
	grid-column: span 2;
}

.hermon-homepage__article-card--feature {
	grid-column: span 4;
}

.hermon-homepage__article-card--medium {
	grid-column: span 2;
}

.hermon-homepage__article-card--compact {
	grid-column: span 2;
}

.hermon-homepage__article-card--feature .hermon-homepage__article-image {
	aspect-ratio: 16 / 8.4;
}

.hermon-homepage__article-card--medium:nth-child(3) {
	transform: translateY(12px);
}

.hermon-homepage__article-card--medium:nth-child(3):hover,
.hermon-homepage__article-card--medium:nth-child(3):focus-within {
	transform: translateY(8px);
}

.hermon-homepage__article-image {
	border-bottom: 1px solid var(--hermon-editorial-line);
}

.hermon-homepage__article-image img {
	filter: saturate(1.02) contrast(1.02);
}

.hermon-homepage__article-card:hover .hermon-homepage__article-image img,
.hermon-homepage__article-card:focus-within .hermon-homepage__article-image img {
	transform: scale(1.026);
}

.hermon-homepage__article-body {
	gap: 0.85rem;
	padding: clamp(1.28rem, 2vw, 1.75rem);
}

.hermon-homepage__article-card--feature .hermon-homepage__article-body {
	padding: clamp(1.55rem, 2.4vw, 2.15rem);
}

.hermon-homepage__article-card--feature .hermon-homepage__article-title {
	font-size: clamp(1.55rem, 2.35vw, 2.05rem);
	line-height: 1.1;
}

.hermon-homepage__article-card--medium .hermon-homepage__article-title {
	font-size: clamp(1.18rem, 1.48vw, 1.36rem);
	line-height: 1.18;
}

.hermon-homepage__article-card--compact .hermon-homepage__article-title {
	font-size: 1.06rem;
	line-height: 1.24;
}

.hermon-homepage__article-excerpt {
	color: rgba(168, 180, 199, 0.88);
}

.hermon-homepage__cta-panel {
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(97, 216, 255, 0.14);
}

@media (max-width: 980px) {
	.hermon-homepage__article-card,
	.hermon-homepage__article-card--feature,
	.hermon-homepage__article-card--medium,
	.hermon-homepage__article-card--compact {
		grid-column: span 3;
	}

	.hermon-homepage__article-card--feature {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.hermon-homepage__hero {
		min-height: auto;
		padding: clamp(5rem, 18vw, 6.5rem) 0 clamp(3.75rem, 14vw, 5rem);
	}

	.hermon-homepage__hero-inner {
		margin-inline-start: auto;
	}

	.hermon-homepage__headline {
		font-size: clamp(2.65rem, 12.5vw, 3.7rem);
		line-height: 1;
	}

	.hermon-homepage__subtitle {
		font-size: 1rem;
		line-height: 1.76;
	}

	.hermon-homepage__categories,
	.hermon-homepage__articles,
	.hermon-articles .hermon-homepage__articles {
		padding: clamp(3.35rem, 13vw, 4.75rem) 0;
	}

	.hermon-homepage__section-title {
		font-size: clamp(1.9rem, 9vw, 2.55rem);
		line-height: 1.12;
	}

	.hermon-homepage__article-grid {
		grid-template-columns: 1fr;
		gap: var(--hermon-space-5);
	}

	.hermon-homepage__article-card,
	.hermon-homepage__article-card--feature,
	.hermon-homepage__article-card--medium,
	.hermon-homepage__article-card--compact {
		grid-column: auto;
	}

	.hermon-homepage__article-card--medium:nth-child(3),
	.hermon-homepage__article-card--medium:nth-child(3):hover,
	.hermon-homepage__article-card--medium:nth-child(3):focus-within {
		transform: none;
	}

	.hermon-homepage__article-card--feature .hermon-homepage__article-image {
		aspect-ratio: 16 / 9.6;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hermon-homepage__article-card--medium:nth-child(3),
	.hermon-homepage__article-card--medium:nth-child(3):hover,
	.hermon-homepage__article-card--medium:nth-child(3):focus-within {
		transform: none !important;
	}
}

body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage,
body.hermon-lab-surface.hermon-dir-rtl .hermon-topic-archive,
body.hermon-lab-surface.hermon-dir-rtl .hermon-archive {
	direction: rtl;
	text-align: start;
}

body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__hero-inner,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__section-header,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-link,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__article-body {
	text-align: start;
}

body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__headline,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__section-title,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-title,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__article-title {
	max-inline-size: 100%;
	letter-spacing: 0;
	overflow-wrap: normal;
	word-break: normal;
}

body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__subtitle,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-description,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__article-excerpt {
	max-inline-size: 100%;
	overflow-wrap: break-word;
}

body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__cta {
	justify-content: center;
	text-align: center;
	white-space: normal;
}

body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-link::before,
body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__article-body .hermon-signal-label {
	justify-self: start;
}

@media (max-width: 768px) {
	body.hermon-lab-surface .hermon-topic-archive,
	body.hermon-lab-surface .hermon-archive {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-lab-nav__toggle,
	body.hermon-lab-surface .hermon-archive .hermon-lab-nav__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: space-between;
		min-height: 42px;
		padding: 0 var(--hermon-space-4);
		border: 1px solid rgba(160, 178, 205, 0.22);
		border-radius: var(--hermon-radius);
		background: rgba(255, 255, 255, 0.055);
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-lab-nav__links,
	body.hermon-lab-surface .hermon-archive .hermon-lab-nav__links {
		display: none;
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-lab-nav.is-menu-open .hermon-lab-nav__links,
	body.hermon-lab-surface .hermon-archive .hermon-lab-nav.is-menu-open .hermon-lab-nav__links {
		display: flex;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-lab-nav__inner,
	body.hermon-lab-surface .hermon-archive .hermon-lab-nav__inner {
		align-items: stretch;
		flex-direction: column;
		gap: var(--hermon-space-4);
		max-width: 100%;
		min-height: auto;
		padding-block: var(--hermon-space-4);
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-lab-nav__link,
	body.hermon-lab-surface .hermon-archive .hermon-lab-nav__link {
		justify-content: space-between;
		width: 100%;
		border-radius: var(--hermon-radius);
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-lab-nav__dropdown-panel,
	body.hermon-lab-surface .hermon-archive .hermon-lab-nav__dropdown-panel {
		position: static;
		display: none;
		min-width: 0;
		margin-top: var(--hermon-space-2);
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-lab-nav__dropdown.is-open .hermon-lab-nav__dropdown-panel,
	body.hermon-lab-surface .hermon-archive .hermon-lab-nav__dropdown.is-open .hermon-lab-nav__dropdown-panel {
		display: grid;
	}

	body.hermon-lab-surface .hermon-topic-archive__hero,
	body.hermon-lab-surface .hermon-archive__hero {
		min-height: auto;
		padding-block: clamp(72px, 18vw, 120px);
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__hero-inner,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__hero-inner {
		max-width: 100%;
		margin-inline-start: auto;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__headline,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__headline {
		font-size: clamp(2.65rem, 12.5vw, 3.7rem);
		line-height: 1;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__subtitle,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__subtitle {
		font-size: 1rem;
		line-height: 1.76;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__article-grid,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__article-grid {
		display: grid;
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__article-card,
	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__article-card--feature,
	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__article-card--medium,
	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__article-card--compact,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__article-card,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__article-card--feature,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__article-card--medium,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__article-card--compact {
		grid-column: auto;
	}

	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__article-card--medium:nth-child(3),
	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__article-card--medium:nth-child(3):hover,
	body.hermon-lab-surface .hermon-topic-archive .hermon-homepage__article-card--medium:nth-child(3):focus-within,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__article-card--medium:nth-child(3),
	body.hermon-lab-surface .hermon-archive .hermon-homepage__article-card--medium:nth-child(3):hover,
	body.hermon-lab-surface .hermon-archive .hermon-homepage__article-card--medium:nth-child(3):focus-within {
		transform: none;
	}
}

@media (max-width: 760px) {
	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-topic-archive,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-archive {
		max-inline-size: 100%;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__hero-inner,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-topic-archive .hermon-homepage__hero-inner,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-archive .hermon-homepage__hero-inner {
		width: min(100% - 30px, var(--hermon-container));
		max-inline-size: 100%;
		margin-inline: auto;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__headline,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-topic-archive .hermon-homepage__headline,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-archive .hermon-homepage__headline {
		max-inline-size: 100%;
		font-size: clamp(2.45rem, 16vw, 3.45rem);
		line-height: 1.06;
		text-wrap: balance;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__subtitle,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-topic-archive .hermon-homepage__subtitle,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-archive .hermon-homepage__subtitle {
		font-size: clamp(1rem, 4.4vw, 1.1rem);
		line-height: 1.82;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__section-header {
		max-inline-size: 100%;
		margin-inline: 0;
		text-align: start;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__section-title {
		font-size: clamp(1.85rem, 8.2vw, 2.4rem);
		line-height: 1.18;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-grid,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__article-grid {
		max-inline-size: 100%;
		min-inline-size: 0;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-card,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__article-card {
		min-inline-size: 0;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-link {
		gap: var(--hermon-space-4);
		padding: clamp(1.25rem, 5.8vw, 1.65rem);
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-title {
		font-size: clamp(1.12rem, 5vw, 1.28rem);
		line-height: 1.28;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__category-description,
	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__article-excerpt {
		line-height: 1.82;
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__article-body {
		padding: clamp(1.25rem, 5.6vw, 1.65rem);
	}

	body.hermon-lab-surface.hermon-dir-rtl .hermon-homepage__cta {
		inline-size: auto;
		max-inline-size: 100%;
		min-inline-size: 0;
		padding-inline: clamp(1.1rem, 6vw, 1.65rem);
	}
}
