/*
 * Header
 * ======================================================== */


body > header {
	position: fixed;
	z-index: 4;
	padding: 0 var(--header-padding-side);
	width: 100%;
	display: flex;
	justify-content: flex-start;
	transition: all 250ms ease-in-out;
	flex-direction: column;
	/* min-height: 4.5em; */
}
body > header:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: var(--z-body-bg-90pct);
	transition: all 500ms ease-in-out;
	opacity: 1;
	backdrop-filter: blur(5px);
}

body.has-hero > header:before {
	opacity: 0;
}
body.has-hero.has-sticky-header > header:before {
	opacity: 1;
}

body.has-hero-dark > header::before {
	background-color: #00000090;
}

body > header nav:before {
	content: "";
	position: absolute;
	width: 100vw;
	height: 15rem;
	background: transparent url(../img/lines-top.svg) no-repeat right top / auto 100%;
	opacity: 1;
	right: calc( 100vw - var(--z-nav-bg-lines-offset) );
}
@media (max-width: 55rem) {
	body > header nav:before {
		display: none;
	}
}







.menu-bar {
	display: flex;
	justify-content: space-between;
}
body > header > nav {
	transition: all 250ms ease-in-out;
	gap: 2rem 1rem;
}
@media (max-width: 55rem) {
	body > header > nav {
		flex-wrap: wrap;
	}
}
body.has-sticky-header > header > nav {
	gap: 1rem;
}
body > header > nav:nth-of-type(2) {
	padding: 1.5em 0;
}
body > header nav > ul a,
body > header nav > ul a:visited {
	display: block;
	position: relative;
	color: var(--z-color-black);
	text-decoration: none;
	padding: calc(1rem + var(--z-padding-default)) 1.6rem;
	transition: all 150ms ease-in-out;
	text-shadow: 0 0 14px rgba(255,255,255,0.25);
}
.has-hero-dark header nav > ul a,
.has-hero-dark header nav > ul a:visited {
	color: var(--z-color-white);
	text-shadow: none;
}


header .logo {
	display: flex;
	max-width: 20rem;
	max-width: 6rem;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
header .logo.hide-on-mobile {
	max-width: 18rem;
}
header .logo svg {
	max-width: 100%;
	width: 100%;
	height: auto;
	z-index: 1;
}

header .user-meta {
	color: var(--z-color-primary);
	font-size: 1.5rem;
	display: flex;
	gap: calc( var(--z-default-gap) / 2 );
}
header .user-meta .user-name span {
	font-weight: 560;
}
header .user-meta i {
	opacity: 0.25;
	margin-right: 0.5rem;
}
@media (max-width: 55rem) {
	header .user-meta {
		order: 4;
		flex-basis: 100%;
	}
}
@media (min-width: 55rem) {
	header .user-meta {
		margin-right: auto;
		margin-left: 7.5rem;
	}
}

@media (max-width: 55rem) {
	header .user-meta {
		justify-content: space-between;
	}
	.user-meta .logout span {
		display: none;
	}

	.user-meta .logout i {
		opacity: 1;
	}
}



/*
header a.logo {
	display: flex;
	width: 20rem;
	height: auto;
	aspect-ratio: 20 / 7;
	position: relative;
}
header .logo img,
header .logo svg {
	max-width: 100%;
	width: 100%;
	height: auto;
	z-index: 1;
}
header.sticky a.logo {
	width: 14rem;
}
body > header.sticky {
	padding-top: 0.5rem;
}
ul.menu-meta {
	display: flex;
	justify-content: flex-end;
	gap: 3em;
	list-style: none;
	margin: 0;
}
*/





/*
 * Hero
 * ======================================================== */
article section.hero {
	padding-bottom: 1rem;
	padding-top: 14rem;
	margin-top: 0;
	max-width: 100%;
	width: 100%;
	height: 70dvh;
	grid-column: 1 / -1;

	background-color: transparent;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;

	display: grid;
	grid-template-columns: var(--z-grid--colums-default);
	grid-row: 1;
}
article section.hero:before {
	content: "";
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.25);
	mix-blend-mode: multiply;
}
article section.hero > .left {
	grid-column: 1 / -3;
	max-width: 57ch;
	width: 100%;
	padding-left: 2rem;
	align-self: center;
	justify-self: end;
	z-index: 1;
}
/* .hero h1 span {
	display: block;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: inherit;
	color: var(--z-color-secondary);
} */
article .hero h1 {
	width: max-content;
	font-size: 5.4rem;
	line-height: 1.3;
	font-weight: 600;
	text-transform: uppercase;
	transform: translate(-3rem);
	color: var(--z-color-primary);
	display: flex;
	flex-wrap: wrap;
	margin: 4rem 0;
}
article .hero :not(h1) {
	width: max-content;
	max-width: 40ch;
	color: var(--z-color-white);
}
.hero > div > * {
	font-size: 2.4rem;
}
/* h1 > span:first-of-type {
	padding-left: 2rem;
} */
.hero .date {
	color: var(--z-color-tertiary-darker);
}
.hero .project-number {
	font-size: 1.4rem;
	text-transform: uppercase;
	color: var(--z-color-tertiary-darker);
	display: flex;
	justify-content: flex-start;
	align-items: baseline;
}
.hero .project-number span {
	font-size: 1.8rem;
	font-weight: 600;
	margin-left: 0.5rem;
}
.hero .project-number + .date {
	color: var(--z-base-text-color);
}





/*
 * Footer
 * ======================================================== */
body > footer {
	position: relative;
	color: var(--z-footer-text-color);
}
body > footer .branding {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 12rem;
	background: transparent url(../img/bg-footer.svg) no-repeat center bottom / auto 100%;
	font-size: 1.4rem;
}
body > footer .branding svg {
	transition: opacity 250ms ease-in-out;
	opacity: 0.85;
}
body > footer .branding:focus svg,
body > footer .branding:hover svg {
	opacity: 1;
}
body > footer .copyright {
	background: var(--z-footer-bg-color);
	color: var(--z-footer-text-color);
	font-size: 1.4rem;
}
body > footer .copyright .container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 2rem var(--z-container-padding-side);
}
body > footer .copyright .container .right {
	text-align: right;
}
body > footer .copyright ul {
	padding-left: 0;
	list-style: none;
	margin: 0;
	display: flex;
	gap: var(--z-default-gap);
	justify-content: end;
	flex-wrap: wrap;
}
body > footer .copyright a {
	color: var(--z-footer-link-color);
	text-decoration: none;
}
body > footer .copyright a:hover {
	color: var(--z-footer-link-color-hover);
	text-decoration: underline;
}

@media (max-width: 1100px) {
	body > footer {
		background: transparent url(../img/bg-footer.svg) no-repeat center bottom / auto 100%;
	}
	body > footer .branding {
		background: transparent;
	}
	body > footer .copyright .container {
		justify-content: start;
	}
}
@media (min-width: 1100px) {
	body > footer .copyright {
		position: absolute;
		bottom: 0;
		width: 100%;
	}
	body > footer .copyright .container {
		justify-content: space-between;
		flex-wrap: wrap;
		padding: 0 var(--z-container-padding-side) 1rem var(--z-container-padding-side);
	}
}





.debug span {
	display: none;
}
.debug:active span {
	display: inline-block;
}
.debug i {
	opacity: 0.3;
}