/* -------------------------------------------------------------------------- */
/* ---------------------------------- RESET --------------------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}
body {
	line-height: 1;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after {
	content: "";
	content: none;
}
q:before,
q:after {
	content: "";
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	word-break: break-word;
	word-wrap: break-word;
}
html {
	font-size: 10px;
	font-size: 62.5% !important;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-behavior: smooth;
}
html img,
html video {
	max-width: 100%;
	height: auto;
}
html svg {
	-webkit-user-select: none;
	-moz-user-select: -moz-none;
	-ms-user-select: none;
	user-select: none;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
b,
strong {
	font-weight: bolder;
}
em {
	font-style: italic;
}

/* -------------------------------------------------------------------------- */
/* ---------------------------------- FONTS --------------------------------- */

@font-face {
	font-family: "Biennale";
	src: url("../fonts/biennale/biennale.woff2") format("woff2"),
		url("../fonts/biennale/biennale.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

/* -------------------------------------------------------------------------- */
/* -------------------------------- KEYFRAMES ------------------------------- */

@keyframes reveal {
	0% {
		opacity: 0;
		transform: translateY(50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

/* -------------------------------------------------------------------------- */
/* ---------------------------------- PAGE ---------------------------------- */

.page {
	--color-light: #fff;
	--color-primary: #051b3f;
	--color-secondary: #fc671a;
	--color-tertiary: #999;

	background-color: var(--color-light);
	color: var(--color-primary);
	font-family: "Biennale", sans-serif;
	font-size: 1.6rem;
	line-height: 1.15;
	font-weight: 400;
}
.page__container {
	z-index: 1;
	position: relative;
	top: 0;
	display: flex;
	flex-flow: column nowrap;
	align-items: stretch;
	justify-content: space-between;
	height: auto;
	min-height: 100vh;
	width: 100%;
	transition: top 0.3s ease-in-out;
}
.page__main {
	display: flex;
	flex-flow: column nowrap;
	flex: 1;
	max-width: 100%;
}

/* -------------------------------------------------------------------------- */
/* -------------------------------- SECTIONS -------------------------------- */

/*  HOME */
.section-home {
	z-index: 1;
	position: relative;
}
.section-home .section__wrapper {
	display: flex;
	flex-flow: column nowrap;
	height: 100%;
	min-height: 100vh;
	width: calc(100% - 50px);
	max-width: 1400px;
	margin-inline: auto;
	padding-block: 25px;
	gap: 25px 50px;
}

.section-home .section__heading {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	width: 100%;
	max-width: 240px;
	margin-inline: auto;
	gap: 20px;
}
.section-home .section__heading__logo {
	width: 100%;
	max-width: 280px;
}
.section-home .section__heading__media {
	width: 100%;
	max-width: 120px;
}

.section-home .section__content {
	position: relative;
	display: flex;
	flex-flow: column nowrap;
	width: 100%;
	max-width: 800px;
	margin-inline: auto;
	gap: 25px;
}
.section-home .section__content__title {
	width: 100%;
	max-width: 680px;
	margin-inline: auto;
	color: var(--color-secondary);
	font-size: 2.2rem;
	text-align: center;
}
.section-home .section__content__media {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #fff;
	cursor: pointer;
}
.section-home .section__content__media:hover :is(img, video) {
	opacity: 0.66;
}
.section-home .section__content__media :is(img, video) {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: all ease-in-out 0.3s;
}
.section-home .section__content__link {
	position: absolute;
	top: 100%;
	right: 0;
	display: inline-flex;
	flex-flow: row nowrap;
	align-items: baseline;
	gap: 8px;
	color: var(--color-tertiary);
	font-size: 1.2rem;
	text-decoration: none;
	white-space: nowrap;
	transform: translateY(10px);
	transition: all ease-in-out 0.3s;
}

.section-home .section__content__link:hover {
	color: var(--color-primary);
}

.section-home .section__popin {
	z-index: 1;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: all ease-in-out 0.3s;
}
.section-home .section__popin__wrapper {
	height: auto;
	max-height: 100%;
	width: 100%;
	max-width: 1400px;
	transform: scale(0);
	transition: all ease 0.6s;
}
.section-home .section__popin__backdrop {
	z-index: -1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #000;
	opacity: 0.9;
}
.section-home .section__popin__media :is(img, video) {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

/* (events) */
.section-home .section__popin.--open {
	visibility: visible;
	opacity: 1;
}
.section-home .section__popin.--open .section__popin__wrapper {
	transform: scale(1);
}

/* (responsive) */
@media screen and (min-width: 1024px) {
	.section-home .section__wrapper {
		display: flex;
		flex-flow: row nowrap;
		align-items: center;
	}

	.section-home .section__heading {
		display: flex;
		flex-flow: column-reverse nowrap;
		max-width: 320px;
	}
	.section-home .section__heading__media {
		max-width: 100%;
	}

	.section-home .section__content__title {
		text-align: left;
		margin-left: 0;
		font-size: 2.8rem;
	}

	.section-home .section__content__link {
		transform: rotate(-90deg) translate(60%, 85px);
	}
}

/* DATA */
[data-anim] {
	opacity: 0;
	animation: reveal 0.6s ease-out 1 forwards;
	animation-delay: var(--delay, 0s);
}
