@font-face {
	font-family: Overused Grotesk;
	src: url(../fonts/OverusedGrotesk-VF.woff2) format("woff2");
	font-weight: 200 900;
	font-style: normal;
}

body {
	margin: 0;
	padding-top: 65px;
}

/* Layout */

:root {
	--cell: 2.04vw;
}


/* Typographie */

:root {
	font-family: Overused Grotesk, sans-serif;
	font-size: 17px;
	line-height: 1.3;
	font-weight: 450;
	letter-spacing: 0%;
}

.t-1 {
	font-size: 78px;
	line-height: 1;
	letter-spacing: -3%;
}

.t-2 {
	font-size: 58px;
	line-height: 1;
	letter-spacing: -2.5%;
}

.t-3 {
	font-size: 38px;
	line-height: 1;
	letter-spacing: -2%;
	font-weight: 550;
}

.t-4 {
	font-size: 32px;
	font-weight: 350;
	line-height: 1;
	letter-spacing: -2%;
}

.t-5 {
	font-size: 24px;
	font-weight: 350;
	letter-spacing: 1;
	letter-spacing: -1%;
}

.t-small {
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0%;
}

.writer > p + p,
.writer > p + h2,
.writer > p + h3 {
	margin-top: 1em;
}

.writer > h2 {
	margin-bottom: 1em;
	font-size: 24px;
	font-weight: 350;
	letter-spacing: 1;
	letter-spacing: -1%;
}

.writer > h3,
.writer > strong {
	font-weight: 650;
}

.writer a {
	text-decoration: underline;
	opacity: 0.65;
	transition: opacity .1s;
}

.writer a:hover {
	text-decoration: none;
	opacity: .45;
}

@media (min-width: 1920px) {
	:root {
		font-size: 0.8854vw; /* 17px */
	}

	.t-1 {
		font-size: 4.0625vw; /* 78px */
	}

	.t-2 {
		font-size: 3.0208vw; /* 58px */
	}

	.t-3 {
		font-size: 1.9792vw; /* 38px */
	}

	.t-4 {
		font-size: 1.6667vw; /* 32px */
	}

	.t-5 {
		font-size: 1.25vw; /* 24px */
	}

	.t-small {
		font-size: 0.7292vw; /* 14px */
	}

	.writer > h2 {
		font-size: 1.25vw; /* 24px */
	}
}

@media (max-width: 640px) {
	.t-1--sm {
		font-size: 52px;
		line-height: 54px;
		letter-spacing: -3%;
	}

	.t-2--sm {
		font-size: 34px;
		line-height: 36px;
		letter-spacing: 0;
	}

	.t-3--sm {
		font-size: 28px;
		line-height: 30px;
		letter-spacing: -2%;

	}

	.t-4--sm {
		font-size: 22px;
		line-height: 24px;
		letter-spacing: 0%;
	}

	.t-p--sm {
		font-size: 17px;
		line-height: 1.3;
		letter-spacing: 0%;
	}

	.t-small--sm {
		font-size: 9px;
		letter-spacing: 10px;
		letter-spacing: 0%;
	}

	.writer > h2 {
		font-size: 34px;
		line-height: 36px;
		letter-spacing: 0;
	}

	.writer > p + h2 {
		margin-top: 2em;
	}
}


/* Links */

a.link {
	transition: opacity 0.1s;
}

a.link:hover,
button.link:hover {
	opacity: 0.65;
}

a.active,
button.active {
	opacity: 0.45;
}


/* Header */

.site-logo {
	display: block;
	width: 105px;
	flex-shrink: 0;
	height: auto;
}

.site-header {
	padding: calc(var(--cell)*0.3) calc(var(--cell)*0.5);
	box-sizing: border-box;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 10;
}

.site-header-bar {
	padding: 8px calc(var(--cell)*0.5) 8px calc(var(--cell)*0.5);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 50px;
	border-radius: 25px;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	box-shadow: inset 0 0 14px 0px rgba(255,255,255,0.5),
					inset 6px 7px 10px 0px rgba(0,0,0,0.05),
					inset 0px 0px 1px 1px rgba(255,255,255,0.25);
	transition: -webkit-backdrop-filter 0.4s, backdrop-filter 0.4s, background 0.7s;
}

.site-header-bar.is-open {
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	background: rgba(255,255,255,0.3);
}

.site-logo {
	position: relative;
	top: 3px;
}

.site-nav {
	display: flex;
	gap: 20px;
	margin-right: 0.5em;
}

.site-menu-toggle,
.site-menu-icon-close,
.site-menu[hidden] {
	display: none;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-icon-open {
	display: none;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-icon-close {
	display: block;
}

.site-menu-toggle svg {
	display: block;
	width: 21px;
	height: auto;
}

/* Footer */

.site-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: calc(6*var(--cell));
}

.site-footer .site-logo {
	display: block;
	max-width: 596px;
	width: 100%;
	height: auto;
}

.footer-nav {
	display: flex;
	gap: 5px;
	margin-right: var(--cell);
	flex-direction: column;
}


/* Components */

.section-grid,
.site-intro-grid {
	background-image: url(/assets/svg/grid.svg);
	background-size: calc(25% - 0.25px);
}

.section-grid {
	min-height: calc(20*var(--cell));
	display: grid;
	grid-template-columns: repeat(16, 1fr);
	grid-column-gap: var(--cell);
	margin: calc(var(--cell)*0.5);
	padding: calc(4.5*var(--cell)) calc(var(--cell)*0.5) calc(1.5*var(--cell));
}

.grid-title-block {
	background-image: url('/assets/svg/corner.svg');
	background-repeat: no-repeat;
	padding: 0.5vw 1.5vw;
	text-wrap: balance;
}

/* Default page */

.default-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.page-heading {
	padding: calc(4.5*var(--cell)) 0 calc(3.5*var(--cell)) calc(var(--cell)*0.5);
	margin-left: calc(var(--cell)*0.5);
	margin-top: calc(var(--cell)*0.5);
	margin-bottom: calc(var(--cell)*0.5);
	max-height: calc(31*var(--cell));
	min-height: calc(14*var(--cell));
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-column-gap: var(--cell);
	background-image: url(/assets/svg/grid.svg);
	background-size: calc(50% - 0.5px);
}

.page-title {
	grid-column: 2 / span 6;
}

.page-content {
	padding: calc(6*var(--cell)) var(--cell) 0 calc(var(--cell)*0.5);
}


/* Home */

.home-intro-title {
	grid-column: 2 / -4;
	margin-bottom: calc(3*var(--cell));
}

.home-intro-description-left {
	grid-column: -9 / -5;
}

.home-intro-description-right {
	grid-column: -5 / -1;
}

/* Project grid */

.projects-section {
	margin: var(--cell) var(--cell) calc(6*var(--cell));
}

.projects-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 24px;
}

.projects-view-switch {
	display: flex;
	gap: 24px;
	margin-inline-start: auto;
}

.projects-grid[hidden] {
	display: none;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: start;
	gap: 24px;
	overflow: hidden;
}

.project-card * {
	min-width: 0;
	line-height: 1.18;
}

.project-card-image {
	overflow: hidden;
	margin-bottom: 8px;
}

.project-card img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.25s;
}

.project-card:hover img {
	transform: scale(104%);
}

.projects-index {
	width: 100%;
	list-style: none;
}

.project-row {
	padding-top: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid;
	font-weight: 350;
}

.project-row:last-of-type {
	border-bottom: 0;
}

.project-row > a {
	display: flex;
	gap: 24px;
}

.project-row-title,
.project-row-subtitle,
.project-row-location {
	flex: 1;
}


.portfolios {
	display: grid;
	align-items: baseline;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 24px;
	margin: 0 var(--cell);
	margin-top: calc(2*var(--cell));
}

.portfolios-list {
	grid-column: span 3;
	list-style: none;
}

.portfolio-row {
	padding: 24px 0;
	border-bottom: 1px solid;
}

.portfolio-row > a {	
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.portfolio-link {
	transition: transform 0.25s;
}

.portfolio-row:hover .portfolio-link {
	transform: translate(0.25em);
}

/* Research */

.research-intro-title {
	grid-column: 2 / -4;
	margin-bottom: calc(2*var(--cell));
}

.themes-list {
	padding-top: calc(5*var(--cell));
	margin: var(--cell);
}

.theme {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 52px;
	position: relative;
	margin-bottom: calc(3.5*var(--cell));
}

.theme-header {
	position: relative;
	grid-column: span 1;
	cursor: pointer;
	padding: 12px 0 24px 24px;
}

.theme:nth-child(odd) > .theme-header {
	margin-left: calc(4*var(--cell) - 24px);
}

.theme:nth-child(even) > .theme-header {
	grid-column: 2 / span 1;
	margin-right: calc(4*var(--cell) - 24px);
}

.theme-header::before {
	content: "";
	display: block;
	top: -37px;
	left: -37px;
	position: absolute;
	width: 65px;
	height: 65px;
	background-image: url('/assets/svg/half-cross.svg');
	background-repeat: no-repeat;
	background-size: 100% auto;
}

.theme:nth-child(n) .theme-header:before {
	transform: rotate(180deg);
}

.theme:nth-child(2n) .theme-header:before {
	transform: rotate(90deg);
}

.theme:nth-child(3n) .theme-header:before {
	transform: rotate(-90deg);
}

.theme:nth-child(4n) .theme-header:before {
	transform: rotate(0deg);
}

.theme-title {
	margin-bottom: 24px;
}

.theme-trigger {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-align: inherit;
	cursor: pointer;
}

.theme-description {
	max-width: 24em;
}

.theme-title,
.theme-description {
	transition: opacity 0.2s;
}

.theme-cover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: calc(16*var(--cell));
	z-index: 1;
	aspect-ratio: 16/10;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.theme-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.theme-header:hover .theme-cover {
	opacity: 1;
}

.theme-header:has(.theme-cover):hover .theme-title,
.theme-header:has(.theme-cover):hover .theme-description {
	opacity: 0;
}

.theme-panel {
	display: grid;
	grid-template-columns: subgrid;
	grid-column: 1 / -1;
}

.theme-panel[hidden] {
	display: none;
}

.theme-content {
	margin-top: calc(6*var(--cell));
	margin-bottom: calc(3*var(--cell));
	display: grid;
	grid-template-columns: subgrid;
	grid-column: span 2;
}

.theme-gallery {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.theme-text {
	grid-column: 2;
}

/* Without gallery, text of left themes moves to the left column, aligned with the title */
.theme:nth-child(odd) .theme-content:not(:has(.theme-gallery)) > .theme-text {
	grid-column: 1;
	padding-left: calc(4*var(--cell) - 24px);
}

.theme-intro {
	margin-bottom: 84px;
}

/* Project single */

.project {
	margin: 0 var(--cell);
	display: flex;
	gap: calc(4*var(--cell));
	align-items: flex-start;
}

.project-gallery {
	flex: 1;
}

.project-text {
	position: sticky;
	top: 64px;
	bottom: 64px;
	flex: 1;
	max-width: 32rem;
}

.project-header {
	margin-bottom: 64px;
}

.project-program {
	margin-bottom: 36px;
	text-wrap: balance;
}

.project-header > * {
	padding: 10px 0 6px;
	border-bottom: 1px solid;
}

.project-technical {
	margin-bottom: 36px;
}

.project-gallery {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.project-footer {
	display: flex;
	justify-content: space-between;
	margin: 135px 0 135px;
	padding: 0 var(--cell) 30px;
	border-bottom: 1px solid;
}

/* Project lightbox */

.project-gallery-trigger {
	display: block;
	width: 100%;
	cursor: zoom-in;
}

html.lightbox-open {
	overflow: hidden;
}

.project-lightbox {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: calc(3.5*var(--cell));
	border: 0;
	background: white;
}

.project-lightbox[open] {
	display: grid;
	place-items: center;
}

.project-lightbox::backdrop {
	background: white;
}

.project-lightbox-image {
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: contain;
}

.project-lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
}

.project-lightbox-close {
	top: calc(0.75*var(--cell));
	right: calc(0.75*var(--cell));
}

.project-lightbox-previous,
.project-lightbox-next {
	top: calc(50% - calc(0.75*var(--cell)));
}

.project-lightbox-previous {
	left: calc(0.75*var(--cell));
}

.project-lightbox-next {
	right: calc(0.75*var(--cell));
}

/* Agency */

.agency-intro.section-grid {
	padding-bottom: calc(12*var(--cell));
}

.agency-about {
	display: grid;
	grid-template-columns: repeat(16, 1fr);
	grid-column-gap: var(--cell);
	margin: calc(var(--cell)*0.5);
	padding: 0 calc(var(--cell)*0.5) 0;
}

.agency-about figure:nth-child(1) {
	grid-column: 5 / -1;
	margin-top: calc(-10*var(--cell));
	margin-bottom: calc(4*var(--cell));
}

.agency-about figure:nth-child(2) {
	grid-column: 1 / span 8;
}

.agency-about figure:nth-child(3) {
	margin-top: calc(11.5*var(--cell));
	grid-column: -6 /	 -1;
}

.agency-about-text {
	margin-top: calc(-10*var(--cell));
	grid-column: 2 / span 6;
	margin-bottom: calc(var(--cell)*5);
}

.agency-intro-title {
	grid-column: 2 / -4;
}

.agency-skills {
	position: relative;
	padding: calc(var(--cell)*4) var(--cell);
	background: hsla(0, 0%, 95%, 0.2);
	display: grid;
	grid-template-columns: 3fr 5fr;
	grid-column-gap: 24px;
}

.skill {
	position: relative;
	padding: 24px 0 28px 78px;
	border-bottom: 1px solid;
}

.skill::before {
	content: '';
	position: absolute;
	top: 22px;
	left: 0;
	width: 37px;
	height: 37px;
	display: block;
	background-image: url('/assets/svg/half-cross-sm.svg');
	background-size: 100%;
	transition: transform 0.3s;
}

.skill:nth-child(n):before {
	transform: rotate(0deg);
}

.skill:nth-child(n):hover::before {
	transform: rotate(-90deg);
}

.skill:nth-child(2n):before {
	transform: rotate(-90deg);
}

.skill:nth-child(2n):hover::before {
	transform: rotate(-180deg);
}

.skill:nth-child(3n):before {
	transform: rotate(180deg);
}

.skill:nth-child(3n):hover::before {
	transform: rotate(90deg);
}

.skill:nth-child(4n):before {
	transform: rotate(90deg);
}

.skill:nth-child(4n):hover::before {
	transform: rotate(0deg);
}

.skill-title {
	margin-bottom: 12px;
}

.skill-text {
	max-width: 38rem;
}

.skill-image {
	display: none;
}

.skills-heading {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
}

.skills-images {
	position: relative;
	flex: 1;
}

.skills-images figure {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.skills-images figure.is-visible {
	opacity: 1;
}

.skills-images img {
	height: 100%;
	object-fit: contain;
	object-position: left bottom;
}

.two-cols-section {
	margin: calc(var(--cell)*4) var(--cell) 0;
	display: grid;
	grid-template-columns: 3fr 5fr;
	grid-column-gap: 24px;
}

.col-heading {
	margin-bottom: 36px;
}

.agency-map {
	margin-top: calc(var(--cell)*3);
}

/* Contact */

.office {
	padding: 24px 0;
	border-bottom: 1px solid;
}

.office:first-of-type {
	padding-top: 0;
}

.office:last-of-type {
	border-bottom: 0;
}

.office-heading {
	margin-bottom: 24px;
	text-wrap: balance;
}

.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (max-width: 890px) {
	:root {
		--cell: 2.7vw;
	}

	.section-grid,
	.site-intro-grid {
		background-size: calc(33.33%);
	}

	.section-grid {
		grid-template-columns: repeat(12, 1fr);
	}

	.agency-about {
		grid-template-columns: repeat(12, 1fr);
	}

	.page-heading {
		grid-template-columns: repeat(6, 1fr);
		background-size: calc(66.66%);
	}

	.page-title {
		grid-column: 2 / span 4;
	}

	.home-intro-title,
	.research-intro-title,
	.agency-intro-title {
		grid-column: 2/-2;
	}

	.projects-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.agency-about figure:nth-child(2) {
		grid-column: 1 / span 6;
	}

	.agency-about figure:nth-child(3) {
		grid-column: -5 / -1;
	}

}


@media (max-width: 640px) {
	:root {
		--cell: 8vw;
	}

	.site-header {
		padding-left: calc(0.25*var(--cell));
		padding-right: calc(0.25*var(--cell));
	}

	.site-header-bar {
		flex-wrap: wrap;
		height: auto;
	}

	.site-menu-toggle {
		display: grid;
		place-items: center;
		width: 21px;
		height: 21px;
	}

	.site-menu {
		width: 100%;
	}

	.site-nav {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 24px;
		padding-bottom: calc(var(--cell)*0.33 - 8px);
		gap: 8px;
	}

	.site-footer {
		display: block;
	}

	.site-footer .site-logo {
		padding-right: calc(0.75*var(--cell));
		margin-bottom: calc(1*var(--cell));
	}

	.footer-nav {
		padding-left: calc(0.75*var(--cell));
		padding-bottom: calc(0.75*var(--cell));
	}

	.footer-nav-link {
		margin-bottom: 11px;
	}

	.section-grid,
	.site-intro-grid {
		background-size: 100%;
	}

	.section-grid {
		display: block;
		min-height: auto;
		margin: calc(0.25*var(--cell));
		padding-top: calc(1.5 * var(--cell));
		padding-bottom: calc(3*var(--cell));
	}

	.grid-title-block {
		background-size: 13px 13px;
		padding: 1.5vw 2.5vw;
	}

	.default-page {
		display: block;
	}

	.page-heading {
		display: block;
		margin-left: calc(var(--cell)*0.25);
		margin-right: calc(var(--cell)*0.25);
		min-height: calc(9*var(--cell));
		padding-top: calc(1.5 * var(--cell));
		padding-bottom: calc(3*var(--cell));
		background-size: 100%;
	}

	.page-content {
		padding: calc(2*var(--cell)) calc(0.75*var(--cell)) 0;
		padding-top: calc(2*var(--cell));
	}

	.home-intro-title {
		margin-bottom: calc(2*var(--cell));
	}

	.home-intro-description-left {
		margin-bottom: 1em;
	}
	.projects-section {
		margin: calc(0.75*var(--cell));
		margin-top: calc(2*var(--cell));
	}

	.projects-filters {
		flex-direction: column;
		align-items: start;
		margin-bottom: calc(2*var(--cell));
		gap: 8px;
	}

	.projects-view-switch {
		order: -1;
		margin-inline-start: initial;
		margin-bottom: calc(2*var(--cell));
	}

	.projects-grid {
		grid-template-columns: 1fr;
	}

	.project-card {
		margin-bottom: calc(2*var(--cell));
	}

	.project-row-subtitle,
	.project-row-location {
		display: none;
	}

	.portfolios {
		display: block;
		margin-left: calc(0.75*var(--cell));
		margin-right: calc(0.75*var(--cell));
	}

	.portfolios-heading {
		margin-bottom: calc(2*var(--cell));
	}

	.project {
		display: flex;
		flex-direction: column;
		align-items: initial;
		margin-left: calc(0.75*var(--cell));
		margin-right: calc(0.75*var(--cell));
	}

	.project-text {
		position: relative;
		order: -1;
	}

	.project-footer {
		padding-left: calc(0.75*var(--cell));
		padding-right: calc(0.75*var(--cell));
		margin: calc(2*var(--cell)) 0;
	}

	.project-lightbox {
		padding: var(--cell);
	}

	.project-lightbox button {
		width: 21px;
		height: 21px;
	}

	.project-lightbox-close {
		top: calc(0.75*var(--cell));
		right: calc(1*var(--cell));
		z-index: 1;
	}

	.project-lightbox .project-lightbox-previous,
	.project-lightbox .project-lightbox-next {
		top: 0;
		width: 50%;
		height: 100%;
	}

	.project-lightbox-previous {
		left: 0;
	}

	.project-lightbox-next {
		right: 0;
	}

	.project-lightbox-previous img,
	.project-lightbox-next img {
		display: none;
	}

	.research-intro-title {
		margin-bottom: 0;
	}

	.themes-list {
		margin-left: calc(0.75*var(--cell));
		margin-right: calc(0.75*var(--cell));
		padding-top: calc(3*var(--cell));
	}

	.theme {
		display: block;
	}

	.theme:nth-child(odd) > .theme-header,
	.theme > .theme-header {
		margin-left: 41px;
	}

	.theme:nth-child(even) > .theme-header {
		margin-right: 0;
	}

	.theme-header::before {
		width: 36px;
		height: 36px;
		top: -21px;
		left: -21px;
	}

	.theme-content {
		margin-top: calc(var(--cell)*2);
		display: block;
	}

	.theme-gallery {
		gap: 12px;
		margin-bottom: calc(var(--cell)*2);
	}

	.theme:nth-child(odd) .theme-content:not(:has(.theme-gallery)) > .theme-text {
		padding-left: 0;
	}

	.agency-intro.section-grid {
		padding-bottom: calc(3*var(--cell));
	}

	.agency-about {
		grid-template-columns: repeat(11, 1fr);
		grid-column-gap: 0;
		margin: calc(0.25*var(--cell));
	}

	.agency-about figure:nth-child(1) {
		margin-top: calc(2*var(--cell));
		margin-bottom: calc(2*var(--cell));
		grid-column: 2 / -1;
	}

	.agency-about figure:nth-child(2) {
		grid-column: 1 / span 8;
	}

	.agency-about figure:nth-child(3) {
		margin-top: calc(2*var(--cell));
		grid-column: 4 / -1;
	}

	.agency-about-text {
		margin-bottom: calc(2*var(--cell));
		grid-column: 1 / span 9;
		margin-top: calc(2*var(--cell));
	}

	.skills-heading {
		margin-bottom: var(--cell);
	}

	.agency-skills {
		display: block;
		padding-left: calc(0.75*var(--cell));
		padding-right: calc(0.75*var(--cell));
		padding-top: calc(var(--cell));
		padding-bottom: calc(var(--cell));
	}

	.skills-images {
		display: none;
	}

	.skill-text {
		margin-bottom: 18px;
	}

	.skill-image {
		display: block;
	}

	.two-cols-section {
		margin-top: calc(2*var(--cell));
		display: block;
		margin-left: calc(0.75*var(--cell));
		margin-right: calc(0.75*var(--cell));
	}

	.two-cols-section > section:first-child {
		margin-bottom: calc(2.5*var(--cell));
	}

	.office:not(:last-child) {
		padding-bottom: calc(3*var(--cell));
	}
}

/* Intro */

html.intro-open {
	overflow: hidden;
}

/* Show the intro from the first paint, before the script opens the dialog */
html.intro-open .site-intro {
	display: block;
	z-index: 100;
}

.site-intro {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: var(--cell);
	border: 0;
	background: black;
}

.site-intro-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.5s;
}

.site-intro-video.is-loaded {
	opacity: 1;
}

.site-intro-overlay {
	position: absolute;
	inset: 0;
	background: black;
	display: flex;
	align-items: center;
	justify-content: center;
	mix-blend-mode: screen;
}

.site-intro-grid {
	position: absolute;
	inset: calc(var(--cell) * 0.5);
	opacity: 0.5;
}

.site-intro-logo-container {
	position: relative;
	/*top: calc(0.5*var(--cell));*/
	width: calc(10*var(--cell));
	height: auto;
}

.site-intro-logo-container::before {
	content: "";
	position: absolute;
	inset: 0;
	display: block;
	background: black;
}

.site-intro-logo {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 640px) {
	.site-intro-grid {
		inset: calc(var(--cell) * 0.25);
	}
}
