:root {
	--site-width: 2000px;
	--site-header-padding: 1.5em;

	/* Primary & Brand Colors */
	--color-primary: #68358f;
	--color-primary-light: #9d50bb;
	--color-secondary: #36425c;
	--color-accent: #35415b;

	/* Status & Action Colors */
	--color-success: #23ccaa;
	--color-info: #00a0d2;
	--color-warning: #dd9933;
	--color-error: #dc3232;
	--color-link: #1e77f0;

	/* Neutrals */
	--color-white: #ffffff;
	--color-black: #000000;
	--color-gray-dark: #5c5c5c;
	--color-gray-medium: #777777;
	--color-gray-light: #ededed;
	--color-border: #e1e1e2;

	/* Additional Palette Tones */
	--color-coral: #e06b44;
	--color-green: #59a56d;
	--color-sky-blue: #1abaff;

	--fa-primary-color: var(--color-primary);
	--fa-secondary-color: var(--color-primary-light);
}

html,
body {
	font-family: 'Red Hat Text', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	background-color: var(--color-gray-light);
}

a {
	color: inherit;
}

p {
	margin: 1em 0;

	&:first-child {
		margin-top: 0;
	}

	&:last-child {
		margin-bottom: 0;
	}
}

.container {
	width: fit-content;
	max-width: var(--site-width);
	margin: 0 auto;
}

.row {
	display: flex;
	flex-direction: row;
	gap: 1.5em;
}

.column {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.site-header {
	display: flex;
	flex-direction: column;
	width: 100%;

	position: relative;

	.container {
		width: unset;
	}
}

.top-bar {
	background-color: #d9c9ea;
	color: #3f2d52;
	padding: 0.5em var(--site-header-padding);
	position: relative;
	z-index: 1001;

	.container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1em;
		flex-wrap: wrap;
		width: unset;
	}

	.top-bar-links {
		display: flex;
		align-items: center;
		gap: 1em;
		flex-wrap: wrap-reverse;
	}
}

.main-navigation {
	padding: var(--site-header-padding);
	position: relative;
	background-color: var(--color-white);
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

	.container {
		display: flex;
		align-items: center;
		justify-content: center;
		width: unset;
	}

	.logo {
		width: 250px;

		img {
			width: 100%;
			height: auto;
		}
	}

	.main-menu {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 1em;
		flex: 1;
		list-style: none;
		padding: 0;

		li a {
			position: relative;
			display: flex;
			align-items: center;
			gap: 0.5em;
			font-weight: 700;
			color: var(--color-gray-dark);
			text-decoration: none;
			white-space: nowrap;
			padding: 0.25em;

			&:before {
				content: '';
				display: block;
				width: 0;
				height: 2px;
				background-color: var(--color-primary);
				transition: width 0.3s ease;
				position: absolute;
				left: 0;
				bottom: 0;
				border-radius: 2px;
				opacity: 0.8;
				transform-origin: left;
			}

			&:hover:before {
				width: 100%;
			}
		}

		li.dropdown {
			position: relative;

			.dropdown-menu {
				position: absolute;
				top: 100%;
				left: 0;
				background-color: var(--color-white);
				border: 1px solid var(--color-border);
				display: none;
				flex-direction: column;
				gap: 0.25em;
				min-width: 150px;
				list-style: none;
				padding: 0;

				li a {
					padding: 0.5em 1em;
					transition: background-color 0.2s ease;

					&:hover {
						background-color: var(--color-gray-light);
					}
				}
			}

			&:hover .dropdown-menu {
				display: flex;
			}
		}
	}

	.cta {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.15em;

		a {
			font-size: 1.1em;
			font-weight: 700;
			color: var(--color-primary);
			text-decoration: none;
			display: flex;
			align-items: center;
			gap: 0.4em;
			white-space: nowrap;
		}

		span {
			font-size: 0.75em;
			color: var(--color-gray-medium);
			white-space: nowrap;
		}
	}

	.mobile-menu-toggle {
		display: none;
		background: none;
		border: none;
		cursor: pointer;
		font-size: 1.5em;
		color: var(--color-gray-dark);
		padding: 0.25em;
		line-height: 1;
		margin-left: auto;
	}

	@media (max-width: 1200px) {
		padding: 0.75em 1em;

		.container {
			justify-content: flex-start;
		}

		.logo {
			width: 180px;
		}

		.cta {
			margin-left: auto;
			flex-direction: row;
			gap: 0.5em;

			a {
				font-size: 1em;
			}
			span {
				display: none;
			}
		}

		.mobile-menu-toggle {
			display: flex;
			align-items: center;
			justify-content: center;
			margin-left: 0.75em;
		}

		.main-menu {
			display: none;
			flex-direction: column;
			position: absolute;
			top: 100%;
			right: 0;
			width: 100%;
			max-width: 350px;
			background-color: var(--color-white);
			border-top: 1px solid var(--color-border);
			box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
			gap: 0;

			&.is-open {
				display: flex;
			}

			li {
				width: 100%;

				a {
					padding: 0.75em 0.5em;
					border-bottom: 1px solid var(--color-border);
					white-space: normal;

					&:before {
						display: none;
					}
				}
			}

			li.dropdown {
				.dropdown-toggle-chevron {
					display: inline-flex;
					margin-left: auto;
					font-size: 0.8em;
					transition: transform 0.3s ease;
				}

				&.is-expanded .dropdown-toggle-chevron {
					transform: rotate(180deg);
				}
				&:hover .dropdown-menu {
					display: none;
				}
				&.is-expanded > .dropdown-menu {
					display: flex;
				}

				.dropdown-menu {
					position: static;
					border: none;
					border-left: 3px solid var(--color-primary);
					margin-left: 1em;
					display: none;
					padding: 0;

					li a {
						font-size: 0.95em;
						padding: 0.6em 0.75em;
					}
				}
			}
		}
	}

	@media (max-width: 400px) {
		.container {
			display: grid;
			grid-template-areas: 'logo logo' 'cta toggle';
			gap: 1em;
			justify-content: stretch;
		}

		.logo {
			grid-area: logo;
			width: 100%;
		}

		.cta {
			grid-area: cta;
			margin-left: 0;
		}

		.mobile-menu-toggle {
			grid-area: toggle;
			justify-self: end;
		}
	}
}

.page-hero {
	position: relative;
	padding: 25vh 1em;
	padding-top: 15vh;

	.hero-content {
		position: relative;
		z-index: 1;
		display: flex;
		flex-direction: column;
		align-items: center;

		color: var(--color-white);
		text-align: center;

		.hero-title {
			font-size: 3.5em;
		}

		.hero-subtitle {
			font-size: 2.5em;
			font-weight: 300;
		}

		.divider {
			width: 500px;
		}

		p {
			font-size: 1.25em;
			max-width: 600px;
			margin: 0 auto;
		}
	}

	video {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		z-index: 0;
	}

	&::after {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(
			185deg,
			rgba(104, 53, 143, 0.91) 0%,
			rgba(134, 51, 171, 0.73) 50%,
			rgba(206, 131, 240, 0.73) 100%
		);
		z-index: 0;
		backdrop-filter: blur(5px);
	}

	@media (max-width: 800px) {
		font-size: 0.75em;
	}
}
