/* ---------- Hero ---------- */

.renater-hero {
	position: relative;
	z-index: 1;
	isolation: isolate;
	overflow: hidden;
	/* Slanted lower edge: the next band slides under it (see home-pillars.css). */
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--renater-bevel)), 0 100%);
	display: flex;
	align-items: center;
	color: #fff;
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(87, 188, 194, 0.4), transparent 65%),
		linear-gradient(135deg, #00457c 0%, #0a68a8 60%, #2a8fbd 100%);
}

/* The animated network (canvas) and the slow aurora are on; only the giant wordmark stays off. */
.renater-hero__mark {
	display: none;
}

.renater-hero__canvas {
	position: absolute;
	inset: 0;
	z-index: -2;
}

/* Slow aurora behind the network. */
.renater-hero__glow {
	position: absolute;
	inset: -30%;
	z-index: -3;
	background:
		conic-gradient(from 210deg at 70% 40%, transparent 0deg, rgba(87, 188, 194, 0.45) 60deg, transparent 140deg, rgba(138, 145, 198, 0.38) 220deg, transparent 300deg);
	filter: blur(60px);
	animation: renater-aurora 22s linear infinite;
}

@keyframes renater-aurora {
	to {
		transform: rotate(360deg);
	}
}

.renater-hero__inner {
	position: relative;
	padding-block: clamp(2.5rem, 4vw, 4rem) calc(clamp(2.5rem, 4vw, 4rem) + var(--renater-bevel));
}

.renater-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #cfeff1;
	background: rgba(87, 188, 194, 0.12);
	box-shadow: inset 0 0 0 1px rgba(87, 188, 194, 0.35);
}

.renater-hero__kicker::before {
	content: "";
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--renater-teal);
	box-shadow: 0 0 0 0 rgba(87, 188, 194, 0.7);
	animation: renater-ping 2.4s ease-out infinite;
}

@keyframes renater-ping {
	70% {
		box-shadow: 0 0 0 0.75rem rgba(87, 188, 194, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(87, 188, 194, 0);
	}
}

.renater-design .renater-hero__title {
	max-width: 22ch;
	margin: 0 0 1.25rem;
	font-size: clamp(2.2rem, 1rem + 3vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.045em;
	color: #fff;
}

.renater-hero__title em {
	font-style: normal;
	color: #aeeaf0;
}

.renater-hero__lead {
	max-width: 38rem;
	margin: 0;
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

.renater-hero__actions {
	margin-top: 1.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* Giant outlined wordmark sitting on the lower edge of the hero. */
.renater-hero__mark {
	position: absolute;
	left: 50%;
	bottom: -0.18em;
	z-index: -1;
	transform: translateX(-50%);
	font-size: clamp(6rem, 22vw, 22rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(138, 200, 214, 0.22);
	user-select: none;
	pointer-events: none;
}

/* The hero replaces the page's own top spacing. */
.renater-design .renater-home {
	padding-top: 0;
}

/* ---------- Next JRES: a small block without card or background, on the right of the band ---------- */

.renater-hero__jres {
	margin-top: 2rem;
}

.renater-design .renater-hero__jres-link,
.renater-design .renater-hero__jres-link:visited {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	color: #fff;
	background-image: none;
	text-decoration: none;
}

/* A calendar leaf: month on top between two rings, the day large, the year small. */
.renater-hero__jres-date {
	position: relative;
	display: grid;
	flex: none;
	justify-items: center;
	min-width: 4.5rem;
	padding-top: 0.5rem;
	text-align: center;
}

.renater-hero__jres-date::before,
.renater-hero__jres-date::after {
	content: "";
	position: absolute;
	top: -0.4rem;
	width: 2px;
	height: 0.8rem;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 2px;
}

.renater-hero__jres-date::before {
	left: 28%;
}

.renater-hero__jres-date::after {
	right: 28%;
}

.renater-hero__jres-month {
	width: 100%;
	padding-bottom: 0.2rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #aeeaf0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.renater-hero__jres-day {
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.renater-hero__jres-year {
	font-size: 0.8rem;
	opacity: 0.8;
}

.renater-hero__jres-body {
	display: grid;
	gap: 0.3rem;
}

.renater-hero__jres-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #aeeaf0;
}

.renater-hero__jres-title {
	font-size: 1.4rem;
	line-height: 1.15;
}

.renater-hero__jres-text {
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
}

.renater-hero__jres-link:hover .renater-hero__jres-title {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (min-width: 62em) {
	.renater-hero__inner {
		position: relative;
	}

	.renater-hero__jres {
		position: absolute;
		top: 50%;
		right: var(--renater-gutter);
		width: min(23rem, 34%);
		margin: 0;
		transform: translateY(-50%);
	}
}

/* The floating buttons sit on the right edge: leave them room on wide screens. */
@media (min-width: 90em) {
	.renater-hero__jres {
		right: 19rem;
		width: min(21rem, 30%);
	}
}

@media(max-width:990px) {
	.renater-hero__jres {
			border-top: 1px solid #ffffff7d;
			padding-top: 4rem;
			margin-top: 4rem;
	}
	.renater-hero__kicker {
    font-size: 0.8rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
		text-transform: none;
	}
}