/* Reset */

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

* {
	margin: 0;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* Styling */

:root {
	--c-pink: #f90c61;
	--c-black: #000000;
	--c-gray: #424241;
	--c-beige-dark: #e8e8d8;
	--c-beige: #f8f8ec;
	--c-beige-light: #fefef8;
	--c-white: #ffffff;
}

/* fonts */

@font-face {
	font-family: 'CM_Serif';
	src: url('/static/fonts/cmunrm.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'CM_Serif';
	src: url('/static/fonts/cmunbx.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'CM_Serif';
	src: url('/static/fonts/cmunti.woff2') format('woff2');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'CM_Serif';
	src: url('/static/fonts/cmunbi.woff2') format('woff2');
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: 'CM_Concrete';
	src: url('/static/fonts/cmunorm.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'CM_Serif_Slanted';
	src: url('/static/fonts/cmunsl.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

/* global */

html {
	overflow-x: hidden;
}

body {
	background-color: var(--c-beige-light);
	color: var(--c-black);
	font-family: 'CM_Serif';
	width: 100%;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1 {
	font-weight: 500;
	font-size: 32px;
	line-height: 1.3;
}

h2 {
	font-weight: 500;
	font-size: 24px;
	line-height: 1.3;
}

h3 {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
}

body,
p {
	font-weight: 500;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -0.3px;
}

p {
	text-align: justify;
	margin: 24px 0;
}

@media (min-width: 480px) {
	body,
	p {
		font-size: 16px;
	}
}

label,
.label {
	font-family: 'CM_Concrete', Monaco, monospace;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 1px;
}

a {
	text-decoration: none;
	color: var(--c-pink);
}

.un {
	background-image: linear-gradient(var(--c-pink), var(--c-pink));
	background-size: 100% 1px;
	background-position: 0 calc(100% - 1.5px);
	background-repeat: no-repeat;
	transition: background-position 0.2s;
}

.un:hover,
a:hover .un {
	background-position: 0 100%;
}

.visuallyhidden {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0 !important;
	border: 0 !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden;
}

/* spacing */

.outer-container {
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
}

.container {
	width: 100%;
	padding: 0 16px;
	max-width: 900px;
}

.small-container {
	max-width: 576px;
}

section {
	margin: 96px 0;
}

@media (min-width: 768px) {
	section {
		margin: 80px 0;
	}
}

.with-arrow::after {
	content: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.4517 8L4.94886 7.50142L7.91477 4.53977H0.5V3.82386H7.91477L4.94886 0.862216L5.4517 0.363636L9.26989 4.18182L5.4517 8Z' fill='black'/%3E%3C/svg%3E");
	display: inline-block;
	width: 12px;
	height: 16px;
	margin-left: 8px;
	transition: transform 0.3s;
}

.with-arrow:hover:after {
	transform: translateX(8px);
}

.with-arrow-pink::after {
	content: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.4517 8L4.94886 7.50142L7.91477 4.53977H0.5V3.82386H7.91477L4.94886 0.862216L5.4517 0.363636L9.26989 4.18182L5.4517 8Z' fill='%23F90C61'/%3E%3C/svg%3E");
}

.with-arrow-down::after {
	content: url("data:image/svg+xml,%3Csvg width='8' height='9' viewBox='0 0 8 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4.9517L0.49858 4.44886L3.46023 7.41477V0H4.17614L4.17614 7.41477L7.13778 4.44886L7.63636 4.9517L3.81818 8.76989L0 4.9517Z' fill='%23424241'/%3E%3C/svg%3E");
	display: inline-block;
	width: 8px;
	height: 16px;
	margin-left: 8px;
	transition: transform 0.3s;
}

@media (max-width: 479px) {
	.mbtn {
		padding: 12px 16px;
		background-color: var(--c-beige);
		border-radius: 4px;
		display: inline-block;
	}

	.mbtn-fit {
		width: 100%;
		display: inline-flex;
		justify-content: center;
	}
}

/* header */

header {
	margin: 120px 0 80px;
}

.header__company-name,
.header__company-name h2 {
	font-family: 'CM_Concrete';
	font-size: 20px;
	color: var(--c-black);
	text-decoration: none !important;
	font-style: normal;
	display: inline-block;
}

.header__company-name span {
	color: var(--c-pink);
}

/* graphic */

.logo-graphic {
	position: absolute;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
	top: 0;
	right: 0;
	width: 450px;
	height: 450px;
	z-index: -1;
}

.logo-graphic img {
	mix-blend-mode: multiply;
	opacity: 0.03;
	position: absolute;
	max-width: unset;
	width: 450px;
	height: 450px;
	top: -150px;
	right: -150px;
	pointer-events: none;
}

@media (min-width: 768px) {
	.logo-graphic,
	.logo-graphic img {
		width: 720px;
		height: 720px;
	}
}

.logo-graphic__clip {
	position: absolute;
	top: 0;
	opacity: 0.3 !important;
}

/* footer */

footer {
	padding: 60px 0 120px;
	border-top: 1px solid var(--c-beige-dark);
	text-align: center;
}

.footer__easter-egg {
	position: relative;
	width: 240px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 60px auto 0;
}

.footer__easter-egg > * {
	position: absolute;
	visibility: hidden;
}

.footer__easter-egg p {
	font-style: italic;
	font-weight: 700;
	font-size: 12px;
	color: var(--c-gray);
	opacity: 0.5;
	text-align: center;
	max-width: 240px;
}

@media (min-width: 480px) {
	footer {
		padding: 40px 0 120px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: left;
	}
	.footer__easter-egg {
		margin: 0;
		justify-content: flex-end;
	}
	.footer__easter-egg p {
		text-align: right;
	}
}

/* team section on the homepage */

.team-avatars {
	display: grid;
	grid-template-columns: repeat(auto-fill, 60px);
	grid-gap: 8px;
	margin-top: 24px;
}

@media (min-width: 480px) {
	.team-avatars {
		grid-gap: 16px;
	}
}

.team-avatars img {
	width: 60px;
	height: 60px;
	border-radius: 30px;
	mix-blend-mode: luminosity;
}

/* team members on the team page */

.team-member {
	padding: 40px 0;
	border-top: 1px solid var(--c-beige-dark);
	display: flex;
}

/* mobile and desktop images */
.team-member img {
	object-fit: cover;
	mix-blend-mode: luminosity;
	border-radius: 4px;
}

.team-member__summary {
	display: flex;
	align-items: center;
}

.team-member__summary img {
	width: 130px;
	height: 130px;
	padding-right: 16px;
}

.team-member > img {
	width: 280px;
	height: 280px;
	padding-right: 32px;
	display: none;
}

/* implicitly applying .un class to all links */

.team-member a {
	background-image: linear-gradient(var(--c-pink), var(--c-pink));
	background-size: 100% 1px;
	background-position: 0 calc(100% - 1.5px);
	background-repeat: no-repeat;
	transition: background-position 0.2s;
}

.team-member a:hover {
	background-position: 0 100%;
}

.team-member:nth-child(even) {
	flex-direction: row-reverse;
}

.team-member:nth-child(even) > img {
	padding-right: 0;
	padding-left: 32px;
}

@media (min-width: 660px) {
	.team-member {
		padding: 60px 0;
	}
	.team-member__summary img {
		display: none;
	}
	.team-member > img {
		display: block;
	}
}

/* projects */

.projects {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 16px;
}

a.projects__card {
	display: flex;
	height: 120px;
	justify-content: center;
	align-items: center;
	background-color: var(--c-beige);
	color: var(--c-gray);
	border-radius: 4px;
	-webkit-user-select: none;
	user-select: none;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.projects__card:hover {
	background-color: var(--c-pink);
	color: var(--c-white);
}

.projects__card svg {
	width: 150px;
	max-width: 80%;
	mix-blend-mode: luminosity;
	opacity: 0.4;
}

.projects__card:hover svg {
	mix-blend-mode: none;
	opacity: 1;
}

/* project page */

.project__logo {
	max-width: 180px;
	color: var(--c-gray);
	mix-blend-mode: luminosity;
}

/* next project section */

.project__next-project {
	border-top: 1px solid var(--c-beige-dark);
	padding: 40px 0;
	text-align: center;
}

.project__next-project label {
	display: block;
	margin-bottom: 8px;
}

.project__next-project a {
	text-decoration: none;
	color: var(--c-black);
	font-style: normal;
	font-family: 'CM_Serif';
	display: inline-block;
}

.project__next-project .with-arrow::after {
	top: -3px;
	position: relative;
}

@media (min-width: 480px) {
	.project__next-project {
		text-align: left;
		padding: 40px 0 80px;
	}
}

/* findings */

.findings {
	border-radius: 4px;
}

a.finding {
	display: flex;
	align-items: center;
	background-color: var(--c-beige);
	padding: 16px;
	margin: 24px 0;
	font-size: 16px;
	text-decoration: none;
}

.finding__name {
	margin-right: 8px;
}

.finding__ext {
	margin-left: auto;
	color: var(--c-black);
	text-decoration: none !important;
	font-weight: 500;
	font-size: 14px;
	font-style: italic;
	flex-shrink: 0;
}

.finding .with-arrow-down:after {
	transition: transform 0.3s;
}

.finding:hover .with-arrow-down:after {
	transform: translateY(4px);
}

@media (min-width: 480px) {
	.findings {
		background-color: var(--c-beige);
		padding: 8px 16px;
	}
	.findings > div {
		padding: 16px 0;
	}
	a.finding {
		padding: 16px 0;
		margin: 0;
		border-top: 1px solid var(--c-beige-dark);
	}
}
