/* ==== base ==== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

	:root {
		--color-bg: #050d19;
		--color-bg-soft: #0a1527;
		--color-surface: rgba(9, 18, 34, 0.82);
		--color-surface-strong: rgba(7, 14, 28, 0.94);
		--color-surface-raised: rgba(13, 25, 45, 0.9);
		--color-text: #e6eefb;
		--color-text-strong: #f8fbff;
		--color-muted: #95a8ca;
		--color-border: rgba(110, 161, 255, 0.18);
		--color-primary: #3b82f6;
		--color-primary-strong: #2563eb;
		--color-primary-deep: #84bbff;
		--color-accent: #22d3ee;
		--color-accent-soft: rgba(34, 211, 238, 0.18);
		--color-success: #59d3a6;
		--shadow-panel: 0 24px 64px rgba(2, 8, 20, 0.46);
		--shadow-glow: 0 18px 48px rgba(37, 118, 255, 0.22);
		--font-display: "Figtree", system-ui, sans-serif;
		--font-sans: "Figtree", system-ui, sans-serif;
		--header-height: 5.35rem;
		--container: 72rem;
		--content: 44rem;
		color-scheme: dark;
	}

html {
	scroll-behavior: smooth;
}

	body {
		margin: 0;
		font-family: var(--font-sans);
		color: var(--color-text);
		background:
			radial-gradient(circle at 18% 0%, rgba(59, 130, 246, 0.24) 0%, rgba(59, 130, 246, 0) 28%),
			radial-gradient(circle at 82% 14%, rgba(34, 211, 238, 0.16) 0%, rgba(34, 211, 238, 0) 22%),
			linear-gradient(180deg, #050c17 0%, #091425 34%, #07111f 100%);
		min-width: 320px;
		-webkit-font-smoothing: antialiased;
		text-rendering: optimizeLegibility;
	}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

.container {
	width: min(calc(100% - 1.5rem), var(--container));
	margin: 0 auto;
}

	.site-header {
		position: fixed;
		inset: 0 0 auto;
		z-index: 60;
		padding: 0.9rem 0 0;
	}

	.site-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.72rem 0.9rem;
		border: 1px solid rgba(132, 187, 255, 0.14);
		border-radius: 999px;
		background:
			linear-gradient(180deg, rgba(8, 16, 30, 0.86) 0%, rgba(6, 12, 24, 0.78) 100%);
		box-shadow:
			0 16px 42px rgba(0, 0, 0, 0.28),
			inset 0 1px 0 rgba(255, 255, 255, 0.04);
		backdrop-filter: blur(18px);
	}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	color: #ffffff;
}

	.site-brand__mark {
		width: 2.6rem;
		height: 2.6rem;
		display: grid;
		place-items: center;
		border-radius: 999px;
		background:
			linear-gradient(135deg, rgba(59, 130, 246, 0.96) 0%, rgba(34, 211, 238, 0.9) 100%);
		border: 1px solid rgba(255, 255, 255, 0.18);
		color: #ffffff;
		font-weight: 900;
		letter-spacing: -0.04em;
		box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
	}

.site-brand__text {
	display: grid;
	gap: 0.08rem;
}

.site-brand__text strong {
	font-size: 0.98rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

	.site-brand__text small {
		color: rgba(200, 222, 255, 0.74);
		font-size: 0.85rem;
	}

.btn,
.site-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.92rem 1.3rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 800;
	letter-spacing: 0.01em;
	transition:
		transform 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		box-shadow 160ms ease;
}

	.site-header__cta,
	.btn-primary {
		background:
			linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-strong) 62%, #2154c9 100%);
		color: #ffffff;
		border-color: rgba(123, 174, 255, 0.24);
		box-shadow:
			0 16px 32px rgba(37, 99, 235, 0.28),
			inset 0 1px 0 rgba(255, 255, 255, 0.16);
	}

	.btn-secondary {
		background: rgba(7, 17, 32, 0.5);
		border-color: rgba(132, 187, 255, 0.22);
		color: var(--color-text);
		backdrop-filter: blur(14px);
	}

	.btn:hover,
	.site-header__cta:hover {
		transform: translateY(-1px);
		box-shadow:
			0 18px 36px rgba(37, 99, 235, 0.24),
			inset 0 1px 0 rgba(255, 255, 255, 0.18);
	}

	.btn-secondary:hover {
		border-color: rgba(132, 187, 255, 0.36);
		background: rgba(10, 22, 41, 0.72);
	}

	.site-header__cta {
		padding-inline: 1.15rem;
	}

	a:focus-visible,
	button:focus-visible,
	summary:focus-visible {
		outline: 2px solid rgba(132, 187, 255, 0.9);
		outline-offset: 3px;
	}

.btn-lg {
	padding-inline: 1.5rem;
}

	main {
		overflow: clip;
		position: relative;
	}

	section {
		scroll-margin-top: calc(var(--header-height) + 1rem);
	}

	.section {
		position: relative;
		padding: clamp(3rem, 7vw, 5rem) 0;
	}

.section-heading {
	max-width: var(--content);
	margin-bottom: 1.9rem;
}

	.section-eyebrow {
		margin: 0 0 0.8rem;
		font-size: 0.8rem;
		font-weight: 800;
		letter-spacing: 0.18em;
		text-transform: uppercase;
		color: var(--color-accent);
	}

	.section-title {
		margin: 0;
		font-family: var(--font-display);
		font-size: clamp(2rem, 4.4vw, 3.5rem);
		line-height: 1.02;
		letter-spacing: -0.05em;
		color: var(--color-text-strong);
		text-wrap: balance;
	}

	.section-copy {
		margin: 0.9rem 0 0;
		color: var(--color-muted);
		line-height: 1.72;
		font-size: 1rem;
	}

	.academy-features,
	.academy-offer,
	.academy-curriculum,
	.academy-format,
	.academy-faq {
		isolation: isolate;
		background-color: #071321 !important;
		background-image:
			radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0) 28%),
			radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 24%),
			linear-gradient(180deg, #07111f 0%, #0a172a 100%) !important;
		color: var(--color-text);
	}

	.academy-features .section-title,
	.academy-offer .section-title,
	.academy-curriculum .section-title,
	.academy-format .section-title,
	.academy-faq .section-title {
		color: var(--color-text-strong) !important;
	}

	.academy-features__heading,
	.academy-offer__heading,
	.academy-format__heading {
		max-width: min(100%, 58rem) !important;
	}

	.academy-curriculum__heading {
		max-width: min(100%, 64rem) !important;
	}

	.academy-curriculum__heading .section-title {
		font-size: clamp(2rem, 4vw, 3.28rem) !important;
	}

	.academy-features .section-copy,
	.academy-offer .section-copy,
	.academy-curriculum .section-copy,
	.academy-format .section-copy,
	.academy-faq .section-copy {
		color: #a7bbde !important;
	}

	.academy-features__item,
	.academy-offer__highlight,
	.academy-offer__card,
	.academy-curriculum__card,
	.academy-format__card,
	.academy-faq__item {
		background-color: #0c1a30 !important;
		background-image:
			linear-gradient(180deg, rgba(12, 26, 48, 0.98) 0%, rgba(9, 20, 37, 0.98) 100%),
			radial-gradient(circle at top right, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 42%) !important;
		border-color: rgba(132, 187, 255, 0.16) !important;
		box-shadow:
			0 24px 48px rgba(2, 8, 20, 0.3),
			inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
		color: var(--color-text) !important;
	}

	.academy-features__icon {
		background-color: rgba(37, 99, 235, 0.2) !important;
		background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(34, 211, 238, 0.18)) !important;
		color: var(--color-text-strong) !important;
	}

	.academy-features__index,
	.academy-faq__count,
	.academy-curriculum__batch,
	.academy-offer__label {
		color: #8cbcff !important;
	}

	.academy-features__item h3,
	.academy-offer__plan,
	.academy-curriculum__body h3,
	.academy-format__card h3,
	.academy-faq__question {
		color: var(--color-text-strong) !important;
	}

	.academy-features__item p:last-child,
	.academy-offer__highlight,
	.academy-offer__benefits li,
	.academy-offer__note,
	.academy-curriculum__body li,
	.academy-curriculum__note,
	.academy-format__card li,
	.academy-format__note,
	.academy-faq__answer p {
		color: #afc1e0 !important;
	}

	.academy-offer__amount {
		background: linear-gradient(135deg, #ffffff 0%, #9dcbff 44%, #5de4ff 100%) !important;
		-webkit-background-clip: text !important;
		background-clip: text !important;
		color: transparent !important;
	}

	.academy-curriculum__media {
		color: #ffffff !important;
	}

	.academy-faq__item summary:hover {
		background: rgba(59, 130, 246, 0.08) !important;
	}

	.site-footer {
		padding: 1.5rem 0 2rem;
	}

	.site-footer__inner {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
		gap: 1.5rem;
		padding: 1.75rem;
		border: 1px solid rgba(132, 187, 255, 0.14);
		border-radius: 2rem;
		background:
			linear-gradient(180deg, rgba(7, 14, 28, 0.92) 0%, rgba(5, 11, 22, 0.94) 100%);
		box-shadow: var(--shadow-panel);
	}

.site-footer__title {
	margin: 0;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.site-footer__copy {
	margin: 0.6rem 0 0;
	color: var(--color-muted);
	line-height: 1.7;
}

.site-footer__links,
.site-footer__meta {
	display: grid;
	align-content: start;
	gap: 0.65rem;
}

.site-footer__links a,
.site-footer__meta a,
.site-footer__bottom {
	color: var(--color-muted);
}

.site-footer__links a:hover,
.site-footer__meta a:hover {
	color: var(--color-text);
}

	.site-footer__bottom {
		padding-top: 1rem;
		font-size: 0.92rem;
	}

.empty-state {
	max-width: 38rem;
	padding: 6rem 0;
	margin: 0 auto;
	text-align: center;
}

.empty-state h1 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3.6rem);
}

	.empty-state p {
		margin: 1rem 0 1.75rem;
		color: var(--color-muted);
		line-height: 1.7;
	}

	@media (max-width: 820px) {
		.site-footer__inner {
			grid-template-columns: 1fr;
		}

	.site-header__inner {
		flex-wrap: nowrap;
		align-items: center;
	}

	.site-header__cta {
		margin-left: auto;
		width: auto;
		padding: 0.8rem 1.05rem;
		box-shadow: 0 12px 24px rgba(4, 7, 16, 0.22);
	}
}

	@media (max-width: 560px) {
		.site-header {
			padding-top: 0.75rem;
		}

		.site-header__inner {
			gap: 0.75rem;
			align-items: center;
			padding: 0.68rem 0.78rem;
		}

	.site-brand {
		max-width: 11rem;
	}

	.site-brand__text strong {
		font-size: 0.82rem;
	}

	.site-brand__text small {
		display: none;
	}

	.site-header__cta {
		font-size: 0.84rem;
		padding: 0.7rem 0.9rem;
	}
}

/* ==== hero ==== */
.hero {
	position: relative;
	padding: 0 0 2.6rem;
	overflow: hidden;
	background:
		linear-gradient(180deg, #090b13 0%, #0d1323 100%);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(6, 8, 14, 0.96) 0%, rgba(6, 8, 14, 0.9) 28%, rgba(8, 10, 18, 0.54) 58%, rgba(18, 52, 132, 0.2) 100%),
		linear-gradient(180deg, rgba(7, 10, 18, 0.3) 0%, rgba(15, 42, 111, 0.4) 100%),
		var(--hero-background);
	background-size: cover;
	background-position: center top;
}

.hero__container {
	position: relative;
	z-index: 1;
	min-height: min(43rem, 100svh);
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(18rem, 0.84fr);
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2rem);
	padding: clamp(5.85rem, 10vw, 7rem) 0 clamp(2.1rem, 5vw, 3rem);
}

.hero__content {
	position: relative;
	z-index: 2;
	max-width: 37rem;
	color: #ffffff;
	padding: 0 0 2.25rem;
}

.hero__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}

.hero__headline {
	margin: 0;
	max-width: 9.4ch;
	font-size: clamp(3rem, 6vw, 5.15rem);
	line-height: 0.92;
	font-weight: 900;
	letter-spacing: -0.055em;
	text-transform: uppercase;
}

.hero__headline-line {
	display: block;
	white-space: nowrap;
}

.hero__accent {
	color: #3b82f6;
}

.hero__subheadline {
	margin: 1.2rem 0 0;
	max-width: 33rem;
	font-size: clamp(1.05rem, 1.5vw, 1.26rem);
	line-height: 1.35;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.94);
}

.hero__note {
	margin: 1.05rem 0 0;
	max-width: 31rem;
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.74);
}

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

.hero .btn-primary {
	background: #2f73e0;
	color: #ffffff;
	box-shadow: 0 20px 42px rgba(47, 115, 224, 0.32);
}

.hero .btn-secondary {
	background: rgba(255, 255, 255, 0.96);
	color: #111827;
	box-shadow: 0 18px 36px rgba(4, 7, 16, 0.22);
}

.hero__visual-wrap {
	position: relative;
	z-index: 1;
	justify-self: end;
	align-self: center;
	width: min(100%, 24rem);
	padding-bottom: 2.6rem; /* room for the card to sit below the image base */
}

/* No frame/box — the image is a transparent cutout shown directly. */
.hero__visual {
	position: relative;
	width: 100%;
}

.hero__visual img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.4));
}

.hero__event-card {
	position: absolute;
	left: 50%;
	right: auto;
	bottom: 0;
	transform: translateX(-50%);
	z-index: 2;
	width: min(94%, 20rem);
	display: grid;
	grid-template-columns: 5.1rem minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.1rem 1rem 0.95rem;
	border-radius: 1.4rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-top: 3px solid #8ee75c;
	background: rgba(11, 14, 22, 0.92);
	backdrop-filter: blur(16px);
	color: #ffffff;
	box-shadow: 0 28px 56px rgba(0, 0, 0, 0.32);
}

.hero__event-thumb {
	aspect-ratio: 1 / 1;
	border-radius: 1rem;
	background:
		linear-gradient(180deg, rgba(8, 11, 18, 0.2), rgba(8, 11, 18, 0.2)),
		url("/hero-conference-bg.jpg");
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero__event-copy {
	min-width: 0;
}

.hero__event-label {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.68);
}

.hero__event-card h2 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.14;
}

.hero__event-card ul {
	list-style: none;
	margin: 0.7rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.36rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.78);
}

.hero__event-card li {
	position: relative;
	padding-left: 1rem;
}

.hero__event-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.52rem;
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 999px;
	background: #3b82f6;
}

@media (max-width: 980px) {
	.hero__container {
		grid-template-columns: 1fr;
		min-height: auto;
		align-items: start;
		padding-top: 5.25rem;
		padding-bottom: 2rem;
		gap: 1rem;
	}

	.hero__content {
		max-width: min(100%, 36rem);
		padding-bottom: 0;
	}

	.hero__visual-wrap {
		justify-self: center;
		width: min(100%, 22rem);
		padding: 0.5rem 0 2.6rem;
	}

	.hero__visual img {
		transform: none;
	}

	.hero__event-card {
		width: min(94%, 20rem);
	}
}

@media (max-width: 640px) {
	.hero::before {
		background-position: 62% center;
	}

	.hero__container {
		gap: 1.1rem;
		padding-top: 10rem;
		padding-bottom: 1.5rem;
	}

	.hero__content {
		order: 1;
		max-width: 100%;
		padding-inline: 0.35rem;
	}

	.hero__eyebrow {
		margin-bottom: 0.7rem;
		font-size: 0.66rem;
		letter-spacing: 0.18em;
	}

	.hero__headline {
		max-width: 8.4ch;
		font-size: clamp(1.82rem, 10.4vw, 2.6rem);
		line-height: 0.92;
		letter-spacing: -0.05em;
	}

	.hero__subheadline {
		margin-top: 1rem;
		font-size: 0.95rem;
		max-width: 17rem;
	}

	.hero__note {
		display: none;
	}

	.hero__actions {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.55rem;
		margin-top: 1.2rem;
		max-width: 100%;
	}

	.hero__actions .btn {
		flex: 0 0 auto;
		white-space: nowrap;
		padding: 0.78rem 1rem;
		font-size: 0.88rem;
	}

	.hero__visual-wrap {
		order: 2;
		justify-self: center;
		width: min(100%, 19rem);
		margin-top: 1.6rem;
		padding-top: 0;
	}

	.hero__event-card {
		width: min(96%, 18.5rem);
		grid-template-columns: 3.8rem minmax(0, 1fr);
		gap: 0.72rem;
		padding: 0.78rem 0.8rem 0.82rem 0.78rem;
	}

	.hero__event-label {
		margin-bottom: 0.35rem;
		font-size: 0.64rem;
		letter-spacing: 0.16em;
		white-space: nowrap;
	}

	.hero__event-card h2 {
		font-size: 0.86rem;
		line-height: 1.05;
		white-space: nowrap;
	}

	.hero__event-card ul {
		margin-top: 0.55rem;
		font-size: 0.82rem;
		gap: 0.3rem;
	}

	.hero__event-card li {
		padding-left: 0.85rem;
		white-space: nowrap;
	}

	.hero__event-card li::before {
		top: 0.44rem;
		width: 0.34rem;
		height: 0.34rem;
	}
}

@media (max-width: 460px) {
	.hero__container {
		padding-top: 9.6rem;
	}

	.hero__headline {
		font-size: clamp(1.62rem, 10.8vw, 2.2rem);
		max-width: 8.2ch;
	}

	.hero__subheadline {
		font-size: 0.9rem;
		max-width: 15rem;
	}

	.hero__content {
		padding-inline: 0.45rem;
	}

	.hero__actions {
		gap: 0.45rem;
		max-width: 100%;
	}

	.hero__actions .btn {
		padding: 0.72rem 0.88rem;
		font-size: 0.82rem;
	}

	.hero__visual-wrap {
		width: min(100%, 17rem);
	}

	.hero__event-card {
		grid-template-columns: 3rem minmax(0, 1fr);
		width: 100%;
		max-width: 16.4rem;
		gap: 0.5rem;
		padding: 0.68rem 0.68rem 0.72rem;
	}

	.hero__event-label {
		font-size: 0.58rem;
		letter-spacing: 0.12em;
	}

	.hero__event-card h2 {
		font-size: 0.78rem;
	}

	.hero__event-card ul {
		font-size: 0.72rem;
		gap: 0.26rem;
	}

	.hero__event-card li {
		padding-left: 0.76rem;
	}

	.hero__event-card li::before {
		top: 0.38rem;
		width: 0.28rem;
		height: 0.28rem;
	}

	.hero__event-thumb {
		aspect-ratio: 1 / 1;
	}
}

/* ==== features ==== */
.academy-features {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(5, 13, 25, 0.96) 0%, rgba(8, 18, 33, 0.98) 100%);
}

.academy-features::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 0%, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0) 32%),
		radial-gradient(circle at 84% 22%, rgba(34, 211, 238, 0.14) 0%, rgba(34, 211, 238, 0) 24%);
	pointer-events: none;
}

.academy-features .container {
	position: relative;
	z-index: 1;
}

.academy-features__heading {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.academy-features__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.academy-features__item {
	position: relative;
	padding: 1.35rem;
	border-radius: 1.5rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background:
		linear-gradient(180deg, rgba(11, 22, 40, 0.94) 0%, rgba(8, 16, 31, 0.92) 100%),
		radial-gradient(circle at top right, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 42%);
	box-shadow:
		0 22px 44px rgba(2, 8, 20, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.academy-features__item::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 0.16rem;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
	opacity: 0.9;
}

.academy-features__icon {
	width: 2.8rem;
	height: 2.8rem;
	display: grid;
	place-items: center;
	border-radius: 0.95rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(34, 211, 238, 0.14));
	font-size: 1.2rem;
	color: var(--color-text-strong);
}

.academy-features__index {
	margin: 1rem 0 0;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-primary-deep);
}

.academy-features__item h3 {
	margin: 0.65rem 0 0;
	font-size: 1.22rem;
	line-height: 1.2;
	color: var(--color-text-strong);
}

.academy-features__item p:last-child {
	margin: 0.8rem 0 0;
	color: var(--color-muted);
	line-height: 1.65;
}

@media (max-width: 980px) {
	.academy-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.academy-features__grid {
		grid-template-columns: 1fr;
	}
}

/* ==== ctaBand ==== */
.academy-cta {
	padding-top: 0;
}

.academy-cta#enroll,
.academy-cta#testimonial-cta,
.academy-cta#channel {
	padding-top: clamp(1.4rem, 3.4vw, 2.35rem);
}

.academy-cta__panel {
	position: relative;
	overflow: hidden;
	padding: 1.4rem;
	border-radius: 1.5rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	box-shadow:
		0 18px 38px rgba(2, 8, 20, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.academy-cta__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top right, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 34%),
		radial-gradient(circle at left bottom, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0) 28%);
	pointer-events: none;
}

.academy-cta__content,
.academy-cta__actions,
.academy-cta__note {
	position: relative;
	z-index: 1;
}

.academy-cta__panel--banner {
	text-align: center;
	background: linear-gradient(135deg, rgba(7, 16, 30, 0.96) 0%, rgba(11, 24, 46, 0.96) 56%, rgba(27, 69, 156, 0.88) 100%);
	color: #ffffff;
}

.academy-cta__panel--panel {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
	gap: 1.2rem;
	align-items: center;
	background: linear-gradient(135deg, rgba(7, 15, 28, 0.98) 0%, rgba(11, 23, 45, 0.98) 58%, rgba(20, 52, 120, 0.94) 100%);
	color: #ffffff;
}

.academy-cta__panel--channel {
	text-align: center;
	background: linear-gradient(135deg, rgba(7, 15, 28, 0.98) 0%, rgba(10, 23, 46, 0.98) 52%, rgba(17, 55, 122, 0.92) 100%);
	color: #ffffff;
}

.academy-cta__panel--banner .section-title,
.academy-cta__panel--banner .section-copy,
.academy-cta__panel--banner .section-eyebrow,
.academy-cta__panel--banner .academy-cta__note,
.academy-cta__panel--panel .section-title,
.academy-cta__panel--panel .section-copy,
.academy-cta__panel--panel .section-eyebrow,
.academy-cta__panel--channel .section-title,
.academy-cta__panel--channel .section-copy,
.academy-cta__panel--channel .section-eyebrow {
	color: inherit;
}

.academy-cta__status {
	margin: 0 0 0.55rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(191, 220, 255, 0.78);
}

.academy-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	margin-top: 1rem;
}

.academy-cta__panel--panel .academy-cta__actions {
	justify-content: flex-start;
}

.academy-cta__panel--panel .btn-secondary,
.academy-cta__panel--channel .btn-secondary,
.academy-cta__panel--banner .btn-secondary {
	border-color: rgba(191, 220, 255, 0.22);
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

.academy-cta__note {
	margin: 0.95rem 0 0;
	color: var(--color-muted);
	line-height: 1.6;
}

.academy-cta__panel--banner .academy-cta__note,
.academy-cta__panel--panel .academy-cta__note,
.academy-cta__panel--channel .academy-cta__note {
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 820px) {
	.academy-cta__panel--panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.academy-cta--banner#enroll .academy-cta__content {
		max-width: 18rem;
		margin-inline: auto;
	}

	.academy-cta--banner#enroll .section-title {
		max-width: 13.5ch;
		margin-inline: auto;
		font-size: clamp(1.72rem, 8.2vw, 2.05rem);
		line-height: 0.96;
		letter-spacing: -0.045em;
		text-wrap: balance;
	}

	.academy-cta__actions {
		flex-direction: column;
	}
}

/* ==== curriculumList ==== */
.academy-curriculum {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(6, 14, 27, 0.98) 0%, rgba(8, 18, 33, 0.98) 100%);
}

.academy-curriculum::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 22%),
		radial-gradient(circle at 88% 30%, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 28%);
	pointer-events: none;
}

.academy-curriculum .container {
	position: relative;
	z-index: 1;
}

.academy-curriculum__heading {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.academy-curriculum__batch {
	margin: 0 0 0.8rem;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.academy-curriculum__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.academy-curriculum__card {
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(180deg, rgba(10, 20, 37, 0.94) 0%, rgba(8, 16, 31, 0.92) 100%);
	box-shadow:
		0 20px 42px rgba(2, 8, 20, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.academy-curriculum__media {
	padding: 1rem 1.15rem;
	background:
		linear-gradient(135deg, rgba(34, 211, 238, 0.24) 0%, rgba(59, 130, 246, 0.44) 100%),
		url("/hero-visual.svg") center / cover;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-text-strong);
}

.academy-curriculum__body {
	padding: 1.2rem;
}

.academy-curriculum__body h3 {
	margin: 0;
	font-size: 1.3rem;
	color: var(--color-text-strong);
}

.academy-curriculum__body ul {
	list-style: none;
	display: grid;
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0;
}

.academy-curriculum__body li {
	padding-left: 1.15rem;
	position: relative;
	color: var(--color-muted);
	line-height: 1.6;
}

.academy-curriculum__body li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.52rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--color-primary);
}

.academy-curriculum__note {
	margin: 1.25rem auto 0;
	max-width: 42rem;
	text-align: center;
	color: var(--color-muted);
	line-height: 1.7;
}

@media (max-width: 980px) {
	.academy-curriculum__grid {
		grid-template-columns: 1fr;
	}
}

/* ==== accessOffer ==== */
.academy-offer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(7, 16, 30, 0.98) 0%, rgba(9, 20, 37, 0.98) 100%);
}

.academy-offer::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 16% 0%, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 28%),
		radial-gradient(circle at 84% 40%, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 24%);
	pointer-events: none;
}

.academy-offer .container {
	position: relative;
	z-index: 1;
}

.academy-offer__heading {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.academy-offer__highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
	margin-bottom: 1.5rem;
}

.academy-offer__highlight {
	padding: 1rem 1.1rem;
	border-radius: 1.15rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: rgba(11, 22, 40, 0.78);
	text-align: center;
	font-weight: 700;
	line-height: 1.45;
	box-shadow:
		0 18px 36px rgba(2, 8, 20, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.academy-offer__card {
	max-width: 34rem;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 2.4rem);
	border-radius: 1.8rem;
	border: 1px solid rgba(132, 187, 255, 0.16);
	background:
		linear-gradient(180deg, rgba(10, 19, 36, 0.96) 0%, rgba(8, 16, 30, 0.94) 100%),
		radial-gradient(circle at top right, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 44%);
	box-shadow:
		0 28px 54px rgba(2, 8, 20, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	text-align: center;
}

.academy-offer__label,
.academy-offer__plan {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--color-muted);
}

.academy-offer__plan {
	margin-top: 0.55rem;
	color: var(--color-text);
}

.academy-offer__amount {
	margin: 0.9rem 0 1.25rem;
	font-size: clamp(2.8rem, 8vw, 4.3rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	background: linear-gradient(135deg, #ffffff 0%, #8ec5ff 38%, #22d3ee 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.academy-offer__benefits {
	list-style: none;
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	text-align: left;
}

.academy-offer__benefits li {
	padding-left: 1.4rem;
	position: relative;
	line-height: 1.6;
	color: var(--color-muted);
}

.academy-offer__benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.56rem;
	height: 0.56rem;
	border-radius: 999px;
	background: var(--color-primary);
}

.academy-offer__actions {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	margin-top: 1.5rem;
}

.academy-offer__note {
	margin: 1rem 0 0;
	color: var(--color-muted);
	line-height: 1.6;
}

@media (max-width: 820px) {
	.academy-offer__highlights {
		grid-template-columns: 1fr;
	}
}

/* ==== programFormat ==== */
.academy-format {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(7, 15, 28, 0.98) 0%, rgba(9, 20, 37, 0.98) 100%);
}

.academy-format::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 86% 0%, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 26%),
		radial-gradient(circle at 10% 78%, rgba(34, 211, 238, 0.08) 0%, rgba(34, 211, 238, 0) 20%);
	pointer-events: none;
}

.academy-format .container {
	position: relative;
	z-index: 1;
}

.academy-format__heading {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.academy-format__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.academy-format__card {
	padding: 1.25rem;
	border-radius: 1.5rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(180deg, rgba(10, 20, 37, 0.94) 0%, rgba(8, 16, 31, 0.92) 100%);
	box-shadow:
		0 18px 38px rgba(2, 8, 20, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.academy-format__card h3 {
	margin: 0;
	font-size: 1.22rem;
	color: var(--color-text-strong);
}

.academy-format__card ul {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.8rem;
}

.academy-format__card li {
	padding-left: 1rem;
	position: relative;
	line-height: 1.6;
	color: var(--color-muted);
}

.academy-format__card li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--color-accent);
}

.academy-format__note {
	margin: 1.25rem auto 0;
	max-width: 42rem;
	text-align: center;
	font-weight: 700;
}

@media (max-width: 980px) {
	.academy-format__grid {
		grid-template-columns: 1fr;
	}
}

/* ==== instructorSpotlight ==== */
.academy-instructor {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(8, 18, 33, 0.98) 0%, rgba(6, 14, 27, 0.98) 100%);
}

.academy-instructor::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 8% 16%, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 22%),
		radial-gradient(circle at 88% 0%, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0) 24%);
	pointer-events: none;
}

.academy-instructor .container {
	position: relative;
	z-index: 1;
}

.academy-instructor__frame {
	display: grid;
	grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
	gap: clamp(1.5rem, 4vw, 3rem);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border-radius: 2rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(180deg, rgba(9, 18, 35, 0.92) 0%, rgba(7, 15, 29, 0.94) 100%);
	box-shadow:
		0 24px 46px rgba(2, 8, 20, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.academy-instructor__media {
	border-radius: 1.7rem;
	overflow: hidden;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(180deg, rgba(11, 22, 40, 0.96) 0%, rgba(8, 17, 33, 0.96) 100%);
	box-shadow: 0 24px 46px rgba(2, 8, 20, 0.28);
}

.academy-instructor__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.academy-instructor__fallback {
	min-height: 26rem;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-size: clamp(3.5rem, 10vw, 5.5rem);
	color: #ffffff;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.88), rgba(34, 211, 238, 0.82));
}

.academy-instructor__name {
	margin: 1rem 0 0;
	font-size: 1.06rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-primary-deep);
}

.academy-instructor__role {
	margin: 0.35rem 0 0;
	color: var(--color-muted);
}

.academy-instructor__copy,
.academy-instructor__mission {
	margin: 1rem 0 0;
	line-height: 1.75;
	color: var(--color-muted);
}

.academy-instructor__mission {
	font-weight: 700;
	color: var(--color-text-strong);
}

.academy-instructor__highlights {
	list-style: none;
	display: grid;
	gap: 0.7rem;
	margin: 1.15rem 0 0;
	padding: 0;
}

.academy-instructor__highlights li {
	padding-left: 1.15rem;
	position: relative;
	line-height: 1.6;
	color: var(--color-muted);
}

.academy-instructor__highlights li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.56rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--color-primary);
}

@media (max-width: 900px) {
	.academy-instructor__frame {
		grid-template-columns: 1fr;
	}

	.academy-instructor__media {
		max-width: 28rem;
		margin: 0 auto;
	}
}

/* ==== testimonials ==== */
.academy-testimonials {
	--testimonial-gap: 1rem;
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(8, 18, 33, 0.98) 0%, rgba(5, 12, 24, 0.98) 100%);
}

.academy-testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 82% 18%, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 28%),
		radial-gradient(circle at 10% 82%, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0) 26%);
	pointer-events: none;
}

.academy-testimonials .container {
	position: relative;
	z-index: 1;
}

.academy-testimonials__topbar {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.9rem;
}

.academy-testimonials__heading {
	margin-bottom: 0;
	max-width: min(100%, 54rem);
}

.academy-testimonials__controls {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.academy-testimonials__control {
	width: 3rem;
	height: 3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(132, 187, 255, 0.18);
	border-radius: 999px;
	background: rgba(8, 17, 32, 0.72);
	color: var(--color-text);
	box-shadow: 0 16px 28px rgba(2, 8, 20, 0.22);
	cursor: pointer;
	backdrop-filter: blur(14px);
	transition:
		transform 160ms ease,
		box-shadow 160ms ease,
		border-color 160ms ease,
		background-color 160ms ease;
}

.academy-testimonials__control:hover,
.academy-testimonials__control:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(132, 187, 255, 0.34);
	box-shadow: 0 20px 32px rgba(7, 29, 76, 0.28);
}

.academy-testimonials__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 0;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-block: 0.2rem 0.35rem;
}

.academy-testimonials__viewport::-webkit-scrollbar {
	display: none;
}

.academy-testimonials__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: var(--testimonial-gap);
}

.academy-testimonials__item {
	flex: 0 0 calc((100% - (var(--testimonial-gap) * 2)) / 3);
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	border-radius: 1.5rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background:
		linear-gradient(180deg, rgba(10, 20, 37, 0.94) 0%, rgba(8, 16, 31, 0.92) 100%),
		radial-gradient(circle at top right, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 46%);
	box-shadow:
		0 18px 40px rgba(2, 8, 20, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	scroll-snap-align: start;
}

.academy-testimonials__avatar {
	width: 3rem;
	height: 3rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(34, 211, 238, 0.92));
	color: #ffffff;
	font-weight: 800;
	box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.academy-testimonials__author {
	margin: 0.85rem 0 0;
	font-weight: 800;
	color: var(--color-text-strong);
}

.academy-testimonials__role {
	margin: 0.2rem 0 0;
	color: var(--color-muted);
	font-size: 0.94rem;
}

.academy-testimonials__item blockquote {
	margin: 1rem 0 0;
	color: var(--color-muted);
	line-height: 1.7;
	min-height: 6.9rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

@media (max-width: 980px) {
	.academy-testimonials__item {
		flex-basis: calc((100% - var(--testimonial-gap)) / 2);
	}
}

@media (max-width: 640px) {
	.academy-testimonials__topbar {
		align-items: start;
		flex-direction: column;
		margin-bottom: 1.4rem;
	}

	.academy-testimonials__controls {
		align-self: flex-end;
	}

	.academy-testimonials__control {
		width: 2.7rem;
		height: 2.7rem;
	}

	.academy-testimonials__item {
		flex-basis: 88%;
	}
}

/* ==== faq ==== */
.academy-faq {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(6, 14, 27, 0.98) 0%, rgba(7, 18, 34, 0.98) 100%);
}

.academy-faq::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 14% 0%, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 26%),
		radial-gradient(circle at 90% 72%, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0) 22%);
	pointer-events: none;
}

.academy-faq .container {
	position: relative;
	z-index: 1;
}

.academy-faq__container {
	max-width: 54rem;
}

.academy-faq__heading {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.academy-faq__list {
	display: grid;
	gap: 0.85rem;
}

.academy-faq__item {
	border-radius: 1.3rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(180deg, rgba(10, 20, 37, 0.92) 0%, rgba(8, 16, 31, 0.92) 100%);
	box-shadow:
		0 14px 32px rgba(2, 8, 20, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.academy-faq__item summary {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.9rem;
	padding: 1rem 1.15rem;
	cursor: pointer;
	list-style: none;
	transition: background-color 160ms ease;
}

.academy-faq__item summary:hover {
	background: rgba(59, 130, 246, 0.05);
}

.academy-faq__item summary::-webkit-details-marker {
	display: none;
}

.academy-faq__count {
	font-weight: 800;
	color: var(--color-primary-deep);
}

.academy-faq__question {
	font-weight: 700;
	line-height: 1.45;
	color: var(--color-text-strong);
}

.academy-faq__toggle {
	font-size: 1.35rem;
	line-height: 1;
	color: var(--color-accent);
	transition: transform 180ms ease;
}

.academy-faq__item[open] .academy-faq__toggle {
	transform: rotate(45deg);
}

.academy-faq__answer {
	padding: 0 1.15rem 1rem 2.95rem;
	border-top: 1px solid rgba(132, 187, 255, 0.1);
}

.academy-faq__answer p {
	margin: 0;
	line-height: 1.7;
	color: var(--color-muted);
}

/* ==== 404 ==== */
.not-found {
	text-align: center;
	padding: var(--spacing-5xl) var(--spacing-lg);
	max-width: var(--max-width);
	margin: 0 auto;
}

.not-found-code {
	font-size: 10rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	opacity: 0.3;
	margin-bottom: var(--spacing-lg);
}

.not-found h1 {
	font-size: var(--font-size-3xl);
	margin-bottom: var(--spacing-md);
}

.not-found p {
	font-size: var(--font-size-lg);
	color: var(--color-muted);
	margin-bottom: var(--spacing-2xl);
}

.not-found-actions {
	display: flex;
	gap: var(--spacing-md);
	justify-content: center;
	flex-wrap: wrap;
}

@media (max-width: 480px) {
	.not-found-code {
		font-size: 6rem;
	}

	.not-found-actions {
		flex-direction: column;
	}

	.not-found-actions .btn {
		width: 100%;
	}
}

/* ==== auth ==== */
.auth-shell {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: var(--spacing-lg, 1.5rem);
	background:
		radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 34%),
		radial-gradient(circle at 82% 88%, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 30%),
		linear-gradient(180deg, rgba(5, 13, 25, 0.98) 0%, rgba(8, 18, 33, 0.98) 100%);
}

.auth-card {
	width: 100%;
	max-width: 26rem;
	padding: clamp(1.5rem, 4vw, 2.4rem);
	border-radius: 1.6rem;
	border: 1px solid rgba(132, 187, 255, 0.16);
	background: linear-gradient(180deg, rgba(10, 19, 36, 0.96) 0%, rgba(8, 16, 30, 0.94) 100%);
	box-shadow:
		0 28px 54px rgba(2, 8, 20, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--color-text-strong);
	font-weight: 800;
	margin-bottom: 1.25rem;
}

.auth-title {
	margin: 0;
	font-size: 1.6rem;
	color: var(--color-text-strong);
}

.auth-subtitle {
	margin: 0.4rem 0 1.4rem;
	color: var(--color-muted);
	line-height: 1.6;
}

.auth-errors {
	margin: 0 0 1.2rem;
	padding: 0.85rem 1rem;
	border-radius: 0.9rem;
	border: 1px solid rgba(248, 113, 113, 0.32);
	background: rgba(127, 29, 29, 0.24);
	color: #fecaca;
}

.auth-errors ul {
	margin: 0;
	padding-left: 1.1rem;
	line-height: 1.6;
}

.auth-form {
	display: grid;
	gap: 1rem;
}

.auth-field {
	display: grid;
	gap: 0.4rem;
}

.auth-field span {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--color-muted);
}

.auth-field input {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(132, 187, 255, 0.2);
	background: rgba(8, 17, 32, 0.72);
	color: var(--color-text-strong);
	font: inherit;
}

.auth-field input:focus-visible {
	outline: none;
	border-color: rgba(132, 187, 255, 0.5);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.auth-remember {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-muted);
	font-size: 0.92rem;
}

.auth-submit {
	width: 100%;
	justify-content: center;
	margin-top: 0.35rem;
}

/* ==== admin ==== */
.admin-body {
	background: linear-gradient(180deg, rgba(5, 13, 25, 0.98) 0%, rgba(8, 18, 33, 0.98) 100%);
	min-height: 100vh;
}

.admin-bar {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(132, 187, 255, 0.14);
	background: rgba(6, 14, 27, 0.92);
	backdrop-filter: blur(14px);
}

.admin-bar__inner {
	max-width: 60rem;
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.admin-bar__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--color-text-strong);
	font-weight: 800;
}

.admin-bar__actions {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
}

.admin-bar__link {
	color: var(--color-muted);
	text-decoration: none;
	font-weight: 600;
}

.admin-main {
	max-width: 60rem;
	margin: 0 auto;
	padding: 1.75rem 1.25rem 4rem;
}

.admin-flash {
	margin-bottom: 1.25rem;
	padding: 0.85rem 1.1rem;
	border-radius: 0.9rem;
	border: 1px solid rgba(52, 211, 153, 0.32);
	background: rgba(6, 78, 59, 0.28);
	color: #a7f3d0;
}

.admin-head {
	margin-bottom: 1.75rem;
}

.admin-head h1 {
	margin: 0.35rem 0 0.4rem;
	color: var(--color-text-strong);
}

.admin-head p {
	margin: 0;
	color: var(--color-muted);
}

.admin-back {
	color: var(--color-muted);
	text-decoration: none;
	font-weight: 600;
}

.admin-list {
	display: grid;
	gap: 0.7rem;
}

.admin-list__row {
	display: grid;
	grid-template-columns: 2.5rem 1fr auto;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.15rem;
	border-radius: 1.1rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(180deg, rgba(10, 20, 37, 0.92) 0%, rgba(8, 16, 31, 0.92) 100%);
	text-decoration: none;
	color: inherit;
	transition: border-color 160ms ease, transform 160ms ease;
}

.admin-list__row:hover {
	border-color: rgba(132, 187, 255, 0.34);
	transform: translateY(-1px);
}

.admin-list__order {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.16);
	color: var(--color-primary-deep);
	font-weight: 800;
}

.admin-list__body {
	display: grid;
	gap: 0.15rem;
}

.admin-list__key {
	font-weight: 800;
	color: var(--color-text-strong);
}

.admin-list__type {
	font-size: 0.9rem;
	color: var(--color-muted);
}

.admin-list__edit {
	color: var(--color-primary-deep);
	font-weight: 700;
}

.admin-form {
	display: grid;
	gap: 1.35rem;
	max-width: 44rem;
}

.admin-field {
	display: grid;
	gap: 0.4rem;
}

.admin-field__label {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--color-muted);
}

.admin-field__help {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(148, 163, 184, 0.85);
}

.admin-input {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(132, 187, 255, 0.2);
	background: rgba(8, 17, 32, 0.72);
	color: var(--color-text-strong);
	font: inherit;
}

.admin-input:focus-visible {
	outline: none;
	border-color: rgba(132, 187, 255, 0.5);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.admin-field--error .admin-input {
	border-color: rgba(248, 113, 113, 0.55);
}

.admin-field__error {
	margin: 0;
	color: #fca5a5;
	font-size: 0.85rem;
}

.admin-repeater {
	display: grid;
	gap: 0.9rem;
	padding: 1rem;
	border-radius: 1rem;
	border: 1px dashed rgba(132, 187, 255, 0.24);
	background: rgba(8, 17, 32, 0.4);
}

.admin-repeater__rows {
	display: grid;
	gap: 0.9rem;
}

.admin-repeater__row {
	display: grid;
	gap: 0.7rem;
	padding: 1rem;
	border-radius: 0.9rem;
	border: 1px solid rgba(132, 187, 255, 0.16);
	background: rgba(10, 20, 37, 0.7);
	margin: 0;
}

.admin-form__actions {
	margin-top: 0.5rem;
}

.admin-images {
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(132, 187, 255, 0.14);
	display: grid;
	gap: 1.25rem;
	max-width: 44rem;
}

.admin-images h2 {
	margin: 0;
	color: var(--color-text-strong);
}

.admin-image {
	display: grid;
	grid-template-columns: 8rem 1fr;
	gap: 1.1rem;
	align-items: start;
}

.admin-image__preview {
	width: 8rem;
	height: 8rem;
	display: grid;
	place-items: center;
	border-radius: 0.9rem;
	overflow: hidden;
	border: 1px solid rgba(132, 187, 255, 0.16);
	background: rgba(8, 17, 32, 0.72);
	color: var(--color-muted);
	font-size: 0.8rem;
	text-align: center;
}

.admin-image__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.admin-image__form {
	display: grid;
	gap: 0.5rem;
	align-content: start;
}

@media (max-width: 560px) {
	.admin-image {
		grid-template-columns: 1fr;
	}
}

/* ==== admin shell (sidebar dashboard) ==== */
.admin-body {
	margin: 0;
	min-height: 100vh;
	background: linear-gradient(180deg, rgba(5, 13, 25, 0.98) 0%, rgba(8, 18, 33, 0.98) 100%);
	color: var(--color-text);
}

.admin-shell {
	display: flex;
	min-height: 100vh;
}

/* --- sidebar --- */
.admin-sidebar {
	position: sticky;
	top: 0;
	align-self: flex-start;
	flex: 0 0 264px;
	width: 264px;
	height: 100vh;
	display: flex;
	flex-direction: column;
	border-right: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(180deg, rgba(7, 16, 30, 0.96) 0%, rgba(6, 13, 26, 0.98) 100%);
	z-index: 40;
}

.admin-sidebar__brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	padding: 1.1rem 1.1rem;
	border-bottom: 1px solid rgba(132, 187, 255, 0.12);
}

.admin-sidebar__brandlink {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--color-text-strong);
	min-width: 0;
}

.admin-sidebar__brandtext {
	display: grid;
	line-height: 1.2;
	min-width: 0;
}

.admin-sidebar__brandtext strong {
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.admin-sidebar__brandtext small {
	font-size: 0.74rem;
	color: var(--color-muted);
	letter-spacing: 0.04em;
}

.admin-sidebar__close {
	display: none;
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--color-muted);
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.2rem 0.5rem;
	border-radius: 0.5rem;
}

.admin-sidebar__close:hover {
	color: var(--color-text-strong);
	background: rgba(132, 187, 255, 0.1);
}

.admin-nav {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 0.9rem 0.7rem 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	scrollbar-width: thin;
}

.admin-nav__heading {
	margin: 1rem 0.6rem 0.4rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(148, 163, 184, 0.7);
}

.admin-nav__link {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.6rem 0.7rem;
	border-radius: 0.7rem;
	text-decoration: none;
	color: var(--color-muted);
	font-weight: 600;
	font-size: 0.92rem;
	border: 1px solid transparent;
	transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
	width: 100%;
}

.admin-nav__link:hover {
	background: rgba(59, 130, 246, 0.1);
	color: var(--color-text-strong);
}

.admin-nav__link.is-active {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(34, 211, 238, 0.14));
	border-color: rgba(132, 187, 255, 0.28);
	color: var(--color-text-strong);
}

.admin-nav__link--button {
	appearance: none;
	background: transparent;
	cursor: pointer;
	font: inherit;
	text-align: left;
}

.admin-nav__icon {
	width: 1.4rem;
	text-align: center;
	font-size: 0.95rem;
	flex-shrink: 0;
	color: var(--color-primary-deep);
}

.admin-nav__num {
	flex-shrink: 0;
	width: 1.7rem;
	height: 1.7rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.16);
	color: var(--color-primary-deep);
	font-size: 0.78rem;
	font-weight: 800;
}

.admin-nav__link.is-active .admin-nav__num {
	background: rgba(59, 130, 246, 0.4);
	color: #fff;
}

.admin-nav__labels {
	display: grid;
	line-height: 1.25;
	min-width: 0;
}

.admin-nav__key {
	font-weight: 700;
	color: inherit;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.admin-nav__type {
	font-size: 0.75rem;
	font-weight: 500;
	color: rgba(148, 163, 184, 0.75);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.admin-sidebar__footer {
	border-top: 1px solid rgba(132, 187, 255, 0.12);
	padding: 0.7rem;
	display: grid;
	gap: 0.2rem;
}

.admin-sidebar__logout {
	margin: 0;
}

/* --- content area --- */
.admin-content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.admin-topbar {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.75rem 1.25rem;
	border-bottom: 1px solid rgba(132, 187, 255, 0.12);
	background: rgba(6, 14, 27, 0.85);
	backdrop-filter: blur(14px);
}

.admin-topbar__title {
	font-weight: 800;
	color: var(--color-text-strong);
	font-size: 1.02rem;
}

.admin-topbar__view {
	margin-left: auto;
	color: var(--color-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

.admin-topbar__view:hover {
	color: var(--color-text-strong);
}

.admin-menu-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.55rem;
	border: 1px solid rgba(132, 187, 255, 0.2);
	border-radius: 0.6rem;
	background: rgba(8, 17, 32, 0.72);
	cursor: pointer;
}

.admin-menu-btn span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--color-text-strong);
}

.admin-main {
	max-width: 82rem;
	width: 100%;
	margin: 0;
	padding: 1.75rem clamp(1.25rem, 2.5vw, 2.25rem) 4rem;
}

/* Keep long-form editing readable even though the shell is wide. */
.admin-main .admin-form,
.admin-main .admin-images {
	max-width: 46rem;
}

/* --- overview cards --- */
.admin-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: 0.8rem;
}

.admin-card {
	display: grid;
	grid-template-columns: 2.4rem 1fr auto;
	align-items: center;
	gap: 0.9rem;
	padding: 1rem 1.1rem;
	border-radius: 1.1rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: linear-gradient(180deg, rgba(10, 20, 37, 0.92) 0%, rgba(8, 16, 31, 0.92) 100%);
	text-decoration: none;
	color: inherit;
	transition: border-color 160ms ease, transform 160ms ease;
}

.admin-card:hover {
	border-color: rgba(132, 187, 255, 0.34);
	transform: translateY(-1px);
}

.admin-card__order {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.16);
	color: var(--color-primary-deep);
	font-weight: 800;
}

.admin-card__body {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}

.admin-card__key {
	font-weight: 800;
	color: var(--color-text-strong);
	overflow: hidden;
	text-overflow: ellipsis;
}

.admin-card__type {
	font-size: 0.9rem;
	color: var(--color-muted);
}

.admin-card__edit {
	color: var(--color-primary-deep);
	font-weight: 700;
	white-space: nowrap;
}

/* --- backdrop (mobile drawer) --- */
.admin-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(2, 8, 20, 0.6);
	backdrop-filter: blur(2px);
	z-index: 35;
}

/* --- responsive: off-canvas sidebar --- */
@media (max-width: 900px) {
	.admin-menu-btn {
		display: flex;
	}

	.admin-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		transform: translateX(-100%);
		transition: transform 220ms ease;
		box-shadow: 24px 0 48px rgba(2, 8, 20, 0.5);
	}

	.admin-sidebar__close {
		display: inline-flex;
		align-items: center;
	}

	.is-sidebar-open .admin-sidebar {
		transform: translateX(0);
	}

	.is-sidebar-open .admin-backdrop {
		display: block;
	}

	.admin-topbar__view {
		display: none;
	}
}

@media (max-width: 480px) {
	.admin-main {
		padding: 1.25rem 1rem 3.5rem;
	}
}

/* ==== programBlock ==== */
.program-block {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(7, 16, 30, 0.98) 0%, rgba(6, 13, 26, 0.98) 100%);
}

.program-block::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 14% 0%, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 26%),
		radial-gradient(circle at 88% 86%, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0) 24%);
	pointer-events: none;
}

/* Alternate the accent side on every other program block for rhythm. */
.program-block:nth-of-type(even)::before {
	background:
		radial-gradient(circle at 86% 0%, rgba(34, 211, 238, 0.14) 0%, rgba(34, 211, 238, 0) 26%),
		radial-gradient(circle at 10% 84%, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 24%);
}

.program-block__container {
	position: relative;
	z-index: 1;
	max-width: 54rem;
}

.program-block__heading {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 1.6rem;
}

.program-block__lead {
	margin: 1rem auto 0;
	max-width: 46rem;
	font-size: clamp(1.1rem, 2.6vw, 1.3rem);
	font-weight: 600;
	line-height: 1.6;
	color: var(--color-text-strong);
}

.program-block__prose {
	display: grid;
	gap: 1rem;
	max-width: 46rem;
	margin: 0 auto;
}

.program-block__prose p {
	margin: 0;
	line-height: 1.8;
	color: var(--color-muted);
	font-size: 1.02rem;
}

.program-block__outro {
	margin-top: 1.6rem;
}

.program-block__items-title {
	margin: 2rem auto 1.1rem;
	max-width: 46rem;
	font-size: 1.28rem;
	color: var(--color-text-strong);
	text-align: center;
}

/* card layout (e.g. the three reprogramming areas) */
.program-block__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 1rem;
	margin: 1.4rem 0;
}

.program-block__card {
	padding: 1.4rem;
	border-radius: 1.4rem;
	border: 1px solid rgba(132, 187, 255, 0.16);
	background:
		linear-gradient(180deg, rgba(11, 22, 40, 0.94) 0%, rgba(8, 16, 31, 0.92) 100%),
		radial-gradient(circle at top right, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 46%);
	box-shadow:
		0 20px 42px rgba(2, 8, 20, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.program-block__card h4 {
	margin: 0 0 0.55rem;
	font-size: 1.14rem;
	color: var(--color-text-strong);
}

.program-block__card p {
	margin: 0;
	line-height: 1.65;
	color: var(--color-muted);
}

/* list layout (checklist of benefits / focus areas) */
.program-block__list {
	list-style: none;
	display: grid;
	gap: 0.85rem;
	margin: 1.3rem auto;
	max-width: 46rem;
	padding: 0;
}

.program-block__list li {
	position: relative;
	padding: 0.9rem 1.1rem 0.9rem 2.9rem;
	border-radius: 1rem;
	border: 1px solid rgba(132, 187, 255, 0.14);
	background: rgba(10, 20, 37, 0.7);
	line-height: 1.6;
	color: var(--color-muted);
}

.program-block__list li::before {
	content: "✓";
	position: absolute;
	left: 1rem;
	top: 0.85rem;
	width: 1.35rem;
	height: 1.35rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(34, 211, 238, 0.9));
}

.program-block__list-title {
	display: block;
	font-weight: 800;
	color: var(--color-text-strong);
	margin-bottom: 0.15rem;
}

.program-block__closing {
	margin: 1.8rem auto 0;
	max-width: 46rem;
	text-align: center;
	font-size: clamp(1.14rem, 2.8vw, 1.4rem);
	font-weight: 800;
	line-height: 1.5;
	background: linear-gradient(135deg, #ffffff 0%, #8ec5ff 45%, #22d3ee 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.program-block__cta {
	margin-top: 1.8rem;
	text-align: center;
}

@media (max-width: 640px) {
	.program-block__list li {
		padding-left: 2.7rem;
	}
}

/* ==== site menu (hamburger + full-width overlay) ==== */
.site-nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 3rem;
	height: 3rem;
	padding: 0 0.72rem;
	border: 1px solid rgba(132, 187, 255, 0.24);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.95));
	box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
	cursor: pointer;
	position: relative;
	z-index: 61;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.site-nav-toggle:hover {
	transform: translateY(-1px);
}

.site-nav-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 2px;
	background: #ffffff;
	transition: transform 240ms ease, opacity 200ms ease;
}

body.is-menu-open .site-nav-toggle {
	background: rgba(12, 20, 38, 0.9);
	border-color: rgba(132, 187, 255, 0.3);
	box-shadow: none;
}

body.is-menu-open .site-nav-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

body.is-menu-open .site-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

body.is-menu-open .site-nav-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-menu {
	position: fixed;
	inset: 0;
	z-index: 50;
	overflow-y: auto;
	background:
		radial-gradient(circle at 18% 8%, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0) 42%),
		radial-gradient(circle at 88% 92%, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 40%),
		linear-gradient(180deg, rgba(6, 12, 24, 0.98) 0%, rgba(8, 16, 31, 0.99) 100%);
	backdrop-filter: blur(10px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-1.5rem);
	transition: opacity 300ms ease, transform 300ms ease, visibility 0s linear 300ms;
}

body.is-menu-open .site-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 300ms ease, transform 300ms ease, visibility 0s;
}

.site-menu__inner {
	width: min(calc(100% - 1.5rem), var(--container));
	margin: 0 auto;
	padding: calc(var(--header-height) + 3.5rem) 0 3rem;
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.site-menu__eyebrow {
	margin: 0 0 1.4rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-primary-deep);
}

.site-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	border-top: 1px solid rgba(132, 187, 255, 0.14);
}

.site-menu__link {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	padding: clamp(0.95rem, 2.6vw, 1.4rem) 0.25rem;
	text-decoration: none;
	color: var(--color-text-strong);
	border-bottom: 1px solid rgba(132, 187, 255, 0.14);
	transition: padding-left 200ms ease, color 200ms ease, background-color 200ms ease;
}

.site-menu__link:hover,
.site-menu__link:focus-visible {
	padding-left: 1rem;
	color: #ffffff;
	background: linear-gradient(90deg, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0));
	outline: none;
}

.site-menu__index {
	flex-shrink: 0;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--color-primary-deep);
	min-width: 2ch;
}

.site-menu__label {
	flex: 1 1 auto;
	font-size: clamp(1.35rem, 4.6vw, 2.15rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.site-menu__arrow {
	flex-shrink: 0;
	font-size: 1.3rem;
	color: var(--color-accent);
	opacity: 0;
	transform: translateX(-0.4rem);
	transition: opacity 200ms ease, transform 200ms ease;
}

.site-menu__link:hover .site-menu__arrow,
.site-menu__link:focus-visible .site-menu__arrow {
	opacity: 1;
	transform: translateX(0);
}

.site-menu__footer {
	margin-top: auto;
	padding-top: 2.2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.6rem;
}

.site-menu__cta {
	flex: 0 0 auto;
}

.site-menu__contact {
	color: var(--color-muted);
	text-decoration: none;
	font-weight: 600;
}

.site-menu__contact:hover {
	color: var(--color-text-strong);
}

/* Stagger the links in as the menu opens */
body.is-menu-open .site-menu__list li {
	animation: siteMenuIn 420ms ease both;
}

body.is-menu-open .site-menu__list li:nth-child(1) { animation-delay: 60ms; }
body.is-menu-open .site-menu__list li:nth-child(2) { animation-delay: 110ms; }
body.is-menu-open .site-menu__list li:nth-child(3) { animation-delay: 160ms; }
body.is-menu-open .site-menu__list li:nth-child(4) { animation-delay: 210ms; }
body.is-menu-open .site-menu__list li:nth-child(5) { animation-delay: 260ms; }
body.is-menu-open .site-menu__list li:nth-child(6) { animation-delay: 310ms; }
body.is-menu-open .site-menu__list li:nth-child(7) { animation-delay: 360ms; }

@keyframes siteMenuIn {
	from { opacity: 0; transform: translateY(0.8rem); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.site-menu,
	.site-nav-toggle__bar,
	body.is-menu-open .site-menu__list li {
		transition: none;
		animation: none;
	}
}

/* Prevent background scroll when the menu is open */
body.is-menu-open {
	overflow: hidden;
}

/* ==== back to top ==== */
.back-to-top {
	position: fixed;
	right: clamp(1rem, 3.5vw, 2.1rem);
	bottom: clamp(1rem, 3.5vw, 2.1rem);
	z-index: 55;
	width: 3.4rem;
	height: 3.4rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	display: grid;
	place-items: center;
	/* progress ring: filled portion up to --scroll%, then the track colour */
	background: conic-gradient(
		from -90deg,
		var(--color-accent) calc(var(--scroll, 0) * 1%),
		rgba(132, 187, 255, 0.16) 0
	);
	box-shadow: 0 16px 34px rgba(2, 8, 20, 0.4);
	opacity: 0;
	transform: translateY(1rem) scale(0.9);
	pointer-events: none;
	transition: opacity 260ms ease, transform 260ms ease;
}

.back-to-top::before {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(13, 22, 42, 0.96) 0%, rgba(8, 15, 30, 0.98) 100%);
	border: 1px solid rgba(132, 187, 255, 0.12);
}

.back-to-top__icon {
	position: relative;
	z-index: 1;
	width: 1.25rem;
	height: 1.25rem;
	color: #ffffff;
	transition: transform 200ms ease;
}

.back-to-top.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.back-to-top:hover {
	transform: translateY(-2px) scale(1.04);
}

.back-to-top:hover .back-to-top__icon {
	transform: translateY(-2px);
}

.back-to-top:focus-visible {
	outline: none;
}

.back-to-top:focus-visible::before {
	border-color: rgba(132, 187, 255, 0.5);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

@media (prefers-reduced-motion: reduce) {
	.back-to-top {
		transition: opacity 200ms ease;
	}
	.back-to-top,
	.back-to-top:hover,
	.back-to-top__icon {
		transform: none;
	}
}
