/* Project Elevate 2026 — design tokens & global styles */

:root {
	--pe-bg-start: #1b1f35;
	--pe-bg-end: #0f1110;
	--pe-purple: #6947c5;
	--pe-pink: #f48195;
	--pe-cyan: #47cbe4;
	--pe-blue: #2374df;
	--pe-text: #fff6eb;
	--pe-white: #ffffff;
	--pe-black: #000000;
	--pe-container: 1440px;
	--pe-gutter: 1rem;
	--pe-header-height: 66px;
	/* fixed header: top offset + vertical padding + bar height */
	--pe-header-offset: var(--pe-header-height);
	--pe-font: 'Manrope', system-ui, -apple-system, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	font-family: var(--pe-font);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--pe-text);
	background: linear-gradient(149deg, var(--pe-bg-start) 1.6%, var(--pe-bg-end) 98.3%);
	min-height: 100vh;
	overflow-x: hidden;
}

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

a {
	color: var(--pe-cyan);
}

.pe-container {
	width: min(100% - (2 * var(--pe-gutter)), var(--pe-container));
	margin-inline: auto;
}

.pe-main {
	min-height: 100vh;
	padding-top: var(--pe-header-offset);
}

body.admin-bar .pe-main {
	padding-top: calc(var(--pe-header-offset) + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .pe-main {
		padding-top: calc(var(--pe-header-offset) + 46px);
	}
}

/* Header */
.pe-header {
	position: fixed;
	top: 0;
	z-index: 1000;
	padding: 0;
	width: 100%;
}

body.admin-bar .pe-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .pe-header {
		top: 46px;
	}
}

.pe-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--pe-header-height);
	gap: 1rem;
	width:100%;
}

@media (min-width: 993px) {
	.pe-header__inner {
		padding-inline: var(--pe-gutter);
	}
}

.pe-header__logo img,
.pe-header__logo .custom-logo {
	max-height: 42px;
	width: auto;
}

.pe-header__logo-text {
	color: var(--pe-white);
	font-weight: 600;
	text-decoration: none;
}

.pe-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.pe-header__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--pe-white);
}

.pe-nav {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.25rem;
	justify-content: flex-end;
}

.pe-nav a {
	display: block;
	padding: 0.75rem 1rem;
	color: var(--pe-text);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
}

.pe-nav a:hover,
.pe-nav .current-menu-item > a,
.pe-nav .current_page_item > a {
	color: var(--pe-cyan);
}

.pe-nav .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

@media (min-width: 769px) and (max-width: 992px) {
	:root {
		--pe-header-height: 58px;
	}

	.pe-header__inner {
		gap: 0.75rem;
		padding-inline: var(--pe-gutter);
	}

	.pe-header__logo img,
	.pe-header__logo .custom-logo {
		max-height: 36px;
	}

	.pe-nav a {
		padding: 0.5rem 0.75rem;
		font-size: 0.8125rem;
	}
}

@media (max-width: 768px) {
	:root {
		--pe-header-height: 52px;
	}

	.pe-container {
		width: 100%;
		max-width: var(--pe-container);
		padding-inline: var(--pe-gutter);
	}

	.pe-header__inner {
		gap: 0.5rem;
	}

	.pe-header__logo {
		min-width: 0;
	}

	.pe-header__logo img,
	.pe-header__logo .custom-logo {
		max-height: 30px;
	}

	.pe-header__toggle {
		display: flex;
		flex-shrink: 0;
	}

	.pe-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--pe-bg-end);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.pe-header__nav.is-open {
		max-height: 400px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.pe-nav {
		flex-direction: column;
		padding: 0.5rem 0;
	}
}

/* Page layout */
.pe-page {
	position: relative;
	overflow: hidden;
}

.pe-page__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.pe-page__bg-shape {
	position: absolute;
	opacity: 0.35;
	max-width: 40%;
}

.pe-page__bg-shape--0 {
	top: 10%;
	left: -5%;
	width: 35%;
}

.pe-page__bg-shape--1 {
	top: 40%;
	right: -8%;
	width: 30%;
}

.pe-page__bg-shape--2 {
	bottom: 5%;
	left: 20%;
	width: 25%;
}

.pe-page__bg-shape {
	animation: pe-float 18s ease-in-out infinite alternate;
}

.pe-page__bg-shape--1 {
	animation-delay: -6s;
}

.pe-page__bg-shape--2 {
	animation-delay: -12s;
}

@keyframes pe-float {
	from { transform: translate(0, 0) rotate(0deg); }
	to { transform: translate(12px, -18px) rotate(2deg); }
}

@media (max-width: 768px) {
	.pe-page__bg {
		display: none;
	}
}

.pe-page__content {
	position: relative;
	z-index: 1;
}

/* Heading box */
.pe-heading-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 2rem;
	padding: 1rem 2.5rem;
	position: relative;
	min-width: min(100%, 320px);
	text-align: center;
}

.pe-heading-box::before,
.pe-heading-box::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 24px;
	background: inherit;
	transform: skewX(-18deg);
}

.pe-heading-box::before {
	left: -12px;
	border-left: 2px solid;
}

.pe-heading-box::after {
	right: -12px;
	border-right: 2px solid;
}

.pe-heading-box--blue {
	background: rgba(35, 116, 223, 0.15);
	border: 2px solid var(--pe-blue);
	box-shadow: 0 0 24px rgba(35, 116, 223, 0.35);
}

.pe-heading-box--purple {
	background: rgba(105, 71, 197, 0.15);
	border: 2px solid var(--pe-purple);
	box-shadow: 0 0 24px rgba(105, 71, 197, 0.35);
}

.pe-heading-box--cyan {
	background: rgba(71, 203, 228, 0.1);
	border: 2px solid var(--pe-cyan);
}

.pe-heading-box--white {
	background: rgba(0, 0, 0, 0.4);
	border: 2px solid var(--pe-cyan);
}

.pe-heading-box__text {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 500;
}

.pe-heading-box--purple .pe-heading-box__text,
.pe-heading-box--blue .pe-heading-box__text,
.pe-heading-box--cyan .pe-heading-box__text,
.pe-heading-box--white .pe-heading-box__text {
	color: var(--pe-white);
}

/* Parallelogram image frame */
.pe-parallelogram-frame {
	position: relative;
	transform: skewX(-12deg);
	overflow: hidden;
	border: 3px solid var(--pe-cyan);
	box-shadow: 0 0 30px rgba(71, 203, 228, 0.4);
}

.pe-parallelogram-frame img {
	transform: skewX(12deg) scale(1.15);
	width: 115%;
	margin-left: -7.5%;
}

/* CTA buttons */
.pe-cta {
	display: inline-block;
	padding: 0.85rem 2.5rem;
	text-decoration: none;
	font-weight: 600;
	color: var(--pe-white);
	background: linear-gradient(135deg, var(--pe-blue), var(--pe-cyan));
	transform: skewX(-12deg);
	box-shadow: 0 4px 24px rgba(35, 116, 223, 0.45);
	transition: box-shadow 0.2s ease;
}

.pe-cta span,
.pe-cta {
	font-style: normal;
}

.pe-cta:hover {
	box-shadow: 0 6px 32px rgba(71, 203, 228, 0.55);
	color: var(--pe-white);
}

.pe-cta--purple {
	background: linear-gradient(135deg, var(--pe-purple), var(--pe-pink));
	box-shadow: 0 4px 24px rgba(105, 71, 197, 0.45);
}

.pe-cta-split {
	display: flex;
	align-items: stretch;
	max-width: 480px;
	margin: 0 auto;
	text-decoration: none;
	color: var(--pe-white);
}

.pe-cta-split__cap {
	flex: 0 0 48px;
	transform: skewX(-12deg);
}

.pe-cta-split__cap--purple { background: linear-gradient(135deg, var(--pe-purple), var(--pe-pink)); }
.pe-cta-split__cap--blue { background: linear-gradient(135deg, var(--pe-blue), var(--pe-cyan)); }

.pe-cta-split__label {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.5rem;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-left: none;
	font-weight: 600;
}

/* WYSIWYG */
.pe-wysiwyg ul,
.pe-wysiwyg ol {
	padding-left: 1.5rem;
}

.pe-wysiwyg li {
	margin-bottom: 0.5rem;
}

/* Footer */
.pe-footer {
	background: var(--pe-black);
	color: var(--pe-white);
	padding: 1.5rem 0 2rem;
	margin-top: 3rem;
}

.pe-footer__menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	gap: 0.25rem 0;
}

.pe-footer__menu a {
	color: var(--pe-white);
	text-decoration: none;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.5rem 0.875rem;
}

.pe-footer__copyright {
	text-align: center;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	color: var(--pe-white);
}

.pe-footer__social {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.pe-footer__social img {
	height: 20px;
	width: auto;
}

.pe-section {
	padding: 4rem 0;
}

.pe-section__title {
	text-align: center;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	color: var(--pe-cyan);
	margin: 0 0 2rem;
}
