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

/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body > header {
	position: fixed;
	z-index: 4;
	padding: 0 var(--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(--base-bg-color-90);
	/* background-color: var(--base-bg-color); */
	background: linear-gradient(180deg, rgba(17,17,17,1) 0%, rgba(17,17,17,0.3) 50%, rgba(17,17,17,0) 100%);
	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;
}


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


 /*
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 {
	--hero-height: 100vh;
	--hero-skew-width: 40vh;
	--hero-skew-right: 45vw;
	--hero-no-skew-width: calc( 55vw - var(--hero-skew-width) );
	--hero-no-skew-width: calc( 45vw + var(--hero-skew-width) );
	--hero-animation-delay: 1s;
	--hero-animation-duration: 4s;
	padding-bottom: 1rem;
	padding-top: 3rem;
	margin-top: 0;
	max-width: 100%;
	width: 100%;
	height: var(--hero-height);
	grid-column: 1 / -1;
	position: relative;
	background-color: transparent;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	display: grid;
	grid-template-columns: var(--grid--colums-default);
	grid-row: 1;
}
article section.hero:before,
article section.hero:after {
	position: absolute;
	content: "";
	background: var(--base-bg-color);
	height: var(--hero-height);
	width: auto;
	transform: translateX(120vw);
	animation-name: slide-to-left;
	animation-timing-function: ease-in-out;
	animation-duration: var(--hero-animation-duration);
	animation-delay: var(--hero-animation-delay);
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-direction: normal;
}
article section.hero:before {
	clip-path: polygon(0 0, 100% 0%, 0% 100%, 0% 100%);
	right: var(--hero-skew-right);
	width: var(--hero-skew-width);
}
article section.hero:after {
	background-position: right top;
	width: calc( 100% + var(--hero-no-skew-width));
	right: calc( 45vw + var(--hero-skew-width) );
}

article section.hero > .left {
	grid-column: 1 / -1;
	max-width: var(--container-medium-max-width);
	width: 100%;
	align-self: center;
	justify-self: center;
	z-index: 1;
}
article section.hero > .right {
	display: none;
}
/*
.hero h1 span {
	display: block;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: inherit;
	color: var(--color-secondary);
}
*/
article .hero h1 {
	width: 100%;
	font-size: 8rem;
	line-height: 1.3;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0 0 4rem 0;
	text-align: center;
	text-shadow: 0 0 2rem rgba(0,0,0,0.5);
}
article .hero h1 > span {
	display: block;
	text-align: center;
	width: 100%;
	font-weight: inherit;
	font-size: 67%;
	max-width: unset;
	opacity: 0.3;
	animation-name: soft-fade;
	animation-timing-function: ease-in-out;
	animation-duration: var(--hero-animation-duration);
	animation-delay: var(--hero-animation-delay);
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-direction: normal;
}

article .hero * {
	width: max-content;
	max-width: 33ch;
	color: var(--color-white);
	font-weight: 590;
}
.hero > div > * {
	font-size: 2.4rem;
}
@media screen and (max-width: 800px) {
	article .hero h1 {
		font-size: 6rem;
		max-width: 100%;
		word-break: break-word;
	}
}
@media screen and (max-width: 550px) {
	article section.hero > .left {
		grid-column: 1 / -2;
		padding-left: 2rem;
		padding-right: 2rem;
	}
	article .hero * {
		max-width: 100%;
	}
	article .hero h1 {
		font-size: 3.6rem;
		max-width: 100%;
		word-break: break-word;
	}
	/* article section.hero {
		--hero-skew-right: calc( 100vw - 40vh );
	} */
}
.hero .caption {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 0.1rem 2rem;
	background: rgb(17, 17, 17);
	display: inline-block;
	font-size: 1.2rem;
	font-weight: 310;
	opacity: 0.8;
}



/* h1 > span:first-of-type {
	padding-left: 2rem;
} */
.hero .date {
	color: var(--color-tertiary-darker);
}
.hero .project-number {
	font-size: 1.4rem;
	text-transform: uppercase;
	color: var(--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(--base-text-color);
}


@keyframes slide-to-left {
	0% {
		transform: translateX(120vw);
		opacity: 1;
	}	
	50.999% {
		transform: translateX(-100vw);
		opacity: 1;
	}
	51% {
		transform: translateX(120vw);
		opacity: 0;
	}
	100% {
		opacity: 0.4;
	}
}
@keyframes soft-fade {
	0% {
		opacity: 0.3;
	}
	50% {
		opacity: 0.3;
	}
	100% {
		opacity: 0.7;
	}
}


/*
 * Footer
 * ======================================================== */

footer {
	position: relative;
	background: var(--footer-bg-color);
	color: var(--color-white);
}
footer .contact {
	position: absolute;
	width: 100%;
	transform: translateY(-50%);
	transition: transform 500ms ease-in-out;
	z-index: 3;
}
#footer_items {
	width: 100%;
	position: relative;
	display: grid;
	grid-template-columns: var(--grid--colums-default);
}
.show-footer-contact-block footer .contact,
.hang-footer-contact-block footer .contact {
	position: fixed;
	bottom: 0;
}

.show-footer-contact-block footer .contact {
	transform: translateY(-10%);
}
.hang-footer-contact-block footer .contact {
	transform: translateY(10%);
}
footer .contact .container {
	padding-top: 3rem;
	padding-bottom: 3rem;
	padding-left: 2rem;
	padding-right: 2rem;
	background: var(--color-secondary);
	border-radius: 4px;
	width: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	column-gap: calc(2 * var(--default-gap));
	row-gap: var(--default-gap);
}
footer .contact h3 {
	margin: 0;
	font-size: 1.6rem;
	text-transform: uppercase;
	max-width: 10rem;
	text-align: center;
	font-weight: 900;
}
.en footer .contact h3 {
	max-width: 12rem;
}

footer .contact p {
	margin: 0;
	font-size: 3rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: calc(0.5 * var(--default-gap));
}
@media (max-width: 550px) {
	footer .contact h3 {
		max-width: max-content;
	}
	footer .contact p {
		font-size: 2.5rem;
	}
}
footer .contact a {
	text-decoration: none;
	font-weight: 800;
	color: var(--color-white);
}
footer .contact a:hover {
	text-decoration: underline dashed;
	color: var(--color-white);
}
.contact i {
	opacity: 0.7;
}
@media (max-width: 750px) {
	footer .contact .container {
		row-gap: calc( var(--default-gap) / 2 );
	}
}







footer .prefooter {
	padding-top: 12rem;
	padding-bottom: 4rem;
	gap: var(--default-gap);
	grid-template-columns: 1fr 1fr 1fr;
	max-width: var(--container-normal-max-width);
	margin: 0 auto;
	font-size: 1.5rem;
}
footer .prefooter h2 {
	margin-top: 0;
}
footer .prefooter h2 > svg,
footer .prefooter h2 > img {
	max-width: 22rem;
	width: 100%;
	height: auto;
}
footer .prefooter h3 {
	margin-bottom: 3rem;
	margin-top: 2.4rem;
	font-size: 1.5rem;
	text-transform: uppercase;
}


footer .prefooter .address ul {
	list-style: none;
	padding-left: 0;
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-template-rows: max-content max-content;
	gap: var(--default-gap);
	padding-bottom: var(--default-gap);
	margin-bottom: 0;
}
footer .prefooter .address ul:first-of-type {
	grid-template-columns: 1fr;
}
footer .prefooter .address ul:last-of-type {
	grid-template-rows: 1fr;
}
footer .prefooter .address li {
	position: relative;
	padding-left: 4rem;
}
footer .prefooter .address ul:first-of-type li:nth-child(1) {
	grid-column: 1;
	grid-row: 1;
}
footer .prefooter .address ul:first-of-type li:nth-child(2) {
	grid-column: 1;
	grid-row: 2;
}
footer .prefooter .address ul:first-of-type li:nth-child(3) {
	grid-column: 2;
	grid-row: 1 / -1;
}
footer .prefooter .address li i {
	position: absolute;
	left: 0;
	top: 5px;
	font-size: 95%;
}
footer .prefooter .address h4 {
	font-weight: 400;
	font-size: inherit;
	color: var(--color-secondary);
	margin: 0;
}
footer .prefooter .address address {
	font-style: normal;
}
footer .prefooter .address p {
	padding-left: 4rem;
}
footer .prefooter a {
	color: var(--color-white);
	text-decoration: none;
}
footer .prefooter a:hover {
	color: var(--color-white);
	text-decoration: none;
}
footer .prefooter a:hover {
	color: var(--color-white);
	text-decoration: underline dashed;
}
footer .prefooter a:hover {
	color: var(--color-white);
	text-decoration: underline dashed;
}
footer .about img {
	width: 7rem;
	margin: 1rem 0;
}
footer .prefooter ul.socials {
	list-style: none;
	padding-left: 0;
	display: flex;
	gap: var(--default-gap);
	font-size: 2.8rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
footer .prefooter ul.socials li {
	padding-left: 0;
}
footer .prefooter .socials a {
	opacity: 0.65;
	transition: opacity 250ms ease-in-out;
}
footer .prefooter .socials a:hover {
	text-decoration: none;
	opacity: 1;
}
.prefooter .footer-form {
	grid-column: 2 /-1;
	grid-row: 1 / -1;
}
footer .prefooter .address .footer-form p {
	padding-left: 0;
}
@media (max-width: 1100px) { 
	footer .prefooter {
		grid-template-columns: 1fr 1fr;
	}
	footer .prefooter .address ul {
		display: block;
	}
	footer .prefooter .address li {
		margin-bottom: var(--default-gap);
	}
}

@media (max-width: 750px) {
	footer .prefooter {
		display: block;
	}
	footer .prefooter > * {
		margin-bottom: calc( 2 * var(--default-gap) );
	}
}




footer .copyright {
	background: var(--footer-copy-bg-color);
	color: var(--footer-text-color);
	font-size: 1.4rem;
}
footer .copyright .container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 2rem var(--default-gap);
}
footer .copyright .container .right {
	text-align: right;
}
footer .copyright ul {
	padding-left: 0;
	list-style: none;
	margin: 0;
	display: flex;
	gap: var(--default-gap);
}
footer .copyright a {
	color: var(--footer-link-color);
	text-decoration: none;
}
footer .copyright a:hover {
	color: var(--footer-link-color-hover);
	text-decoration: underline;
}

footer .about {
	position: relative;
	padding-left: var(--default-gap);
	padding-right: var(--default-gap);
	grid-column: 1;
}
footer .address {
	grid-column: 2 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: max-content max-content max-content;
}
footer .address h3 {
	grid-column: 1;
	grid-row: 1;
}
footer .address .address-list {
	grid-column: 1;
	grid-row: 2;	
}
footer .address ul:last-of-type {
	grid-column: 1 / -1;
	grid-row: 3;
}