@font-face {
  font-family: 'NyghtSerifRegular';
  src:  url('../assets/NyghtSerif-Regular.woff2') format('woff2'),
  font-style: normal;
}

@font-face {
  font-family: 'NyghtSerifRegularItalic';
  src:  url('../assets/NyghtSerif-RegularItalic.woff2') format('woff2'),
  font-style: italic;
}

@font-face {
  font-family: 'CarmenSansRegular';
  src:  url('../assets/carmen-sans-regular.woff2') format('woff2'),
  font-style: normal;
}

@font-face {
  font-family: 'CarmenSansBold';
  src:  url('../assets/carmen-sans-bold.woff2') format('woff2'),
  font-style: bold;
}



/*
Base
 */
html {
	width: 100%;
	height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  height: auto;
  min-height: 100%;
	font-family: 'CarmenSansRegular', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
	line-height: 1.5rem;
	color: #000;
	margin: 0;
	background-image: url('../img/background.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: center;
}

h1 {
	font-family: 'NyghtSerifRegular', serif;
	font-size: 3rem;
	line-height: 3.4rem;
	font-weight: normal;
  margin: 0;
}

h1 span {
	font-family: 'NyghtSerifRegularItalic', serif;
	font-size: 3rem;
	line-height: 3.4rem;
}

h2 {
	font-family: 'CarmenSansRegular', sans-serif;
  font-weight: normal;
  font-size: 3rem;
  line-height: 3.5rem;
  margin: 0;
}

h3 {
	font-family: 'CarmenSansBold', sans-serif;
  font-size: 1.625rem;
  line-height: 2rem;
  text-transform: uppercase;
  margin: 3.75rem 0 1.25rem 0;
}

h4 {
	font-family: 'CarmenSansRegular', sans-serif;
  font-weight: 300;
  font-size: 3.25rem;
  line-height: 3rem;
  font-style: normal;
  text-transform: uppercase;
  margin: 0.75rem 0 2.25rem 0;
}

h5 {
	font-family: 'CarmenSansRegular', sans-serif;
  font-weight: 600;
	font-size: 1.625rem;
	line-height: 2rem;
  font-style: normal;
  text-transform: uppercase;
  margin: 0.75rem 0;
}

h6 {
	font-family: 'CarmenSansBold', sans-serif;
  font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.7rem;
  margin: 1.75rem 0 0.25rem 0;
}

p, button {
	font-family: 'CarmenSansRegular', sans-serif;
	margin: 0 0 0.75rem 0;
	font-size: 1rem;
	line-height: 1.7rem;
}

label {
	font-family: 'CarmenSansBold', sans-serif;
  font-weight: 600;
	margin: 0 0 0.2rem 0;
	font-size: 0.8rem;
	line-height: 1rem;
}

quote {
  font-family: 'NyghtSerifRegularItalic', serif;
  font-size: 1.5rem;
  line-height: 1.7rem;
  padding: 1rem;
  margin-bottom: 1rem;
  display: block;
  border-left: 0.5rem solid #F5F6FB;
}

a:link, a:hover, a:active, a:visited {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: #4330A5;
}

ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 3rem;
}

ul li {
    margin: 0.5rem 0;
    list-style: disc;
}

label {
	font-style: normal;
  display: block;
}

button {
	background-color: transparent;
  color: #000;
  border: 1px solid #000;
  border-radius: 6px;
  height: 2rem;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  margin: 0;
}

button:hover {
	background-color: #F5F6FB;
  border: 1px solid #4330A5;
  color: #4330A5;
}

button.primary {
	background-color: #318E86;
	border-right: 1px solid #246C66;
	border-bottom: 1px solid #246C66;
}

button.secondary {
	background-color: #FDE3DA;
	border-right: 1px solid #FBC8B5;
	border-bottom: 1px solid #FBC8B5;
	color: #000;
}

button.tertiary {
	background-color: #FFF;
	color: #9B82D7;
	padding: 0;
}

button.primary:hover {
	background-color: #246C66;
}

button.secondary:hover {
	background-color: #FBC8B5;
}

button.tertiary:hover {
	color: #8470B4;
}

button.primary:disabled {
	background-color: #D9D9D9;
}

.privacy-notice a:link, .privacy-notice a:hover, .privacy-notice a:active, .privacy-notice a:visited {
	font-family: 'CarmenSansRegular', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 0.85em;
	color: #246C66;
	text-decoration: none;
}

form {
	padding: 0;
	margin: 1rem 0 0 0;
	display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.2rem;
}


form button {
	align-self: flex-end;
}

fieldset  {
	display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  border: none;
  width: 100%;
  max-width: 600px;
}

fieldset.fieldset-checkbox {
	display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
}

fieldset.fieldset-checkbox input:checked {
	background-color: #318E86;
}

input, textarea, select {
	border-radius: 8px;
	border: 1px solid #D5D5D4;
	box-sizing: border-box;
	padding: 0 12px;
	font-family: 'CarmenSansRegular', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 0.95em;
	line-height: 1.2em;
	color: #151515;
	appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

input, select {
	height: 50px;
}

textarea {
	padding: 12px;
}

input[type='checkbox'] { 
	width: 18px;
  height: 18px;
	border-radius: 4px;
	padding: 0;
}

input:hover, textarea:hover, select:hover {
	border: 1px solid #4330A5;
}

input:focus, textarea:focus, select:focus {
	border: 1px solid #000;
  outline: none;
}

input::placeholder, textarea::placeholder, option:disabled {
	color: #CBCBCB;
}

input.error {
	border: 1px solid #E3474B;
}

fieldset p {
	margin: 4px 0 0 0;
}

p.error {
	color: #E3474B;
}

p.success {
	color: #61BA99;
}

p.small {
	font-size: 0.75rem;
	margin: 0;
}

b {
	background-color: #FEE5EE;    
	padding: 0.2rem;
  border-radius: 0.2rem;
}

iframe {
	margin: 0.75rem 0;
}

.content {
	width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  display: block;
}

.secondary {
  color: #666;
}


header {
	width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

header h1 {
  top: 1rem;
  left: 2rem;
  width: 210px;
  text-align: right;
}

header nav {
	justify-content: space-between;
	align-items: center;
}

ol {
    margin: 1rem;
    padding-left: 0;
}

ol li {
    margin: 0.5rem;
    list-style: circle;
    line-height: 1.7rem;
}




nav {
	width: calc(100% - 2rem);
	max-width: 1280px;
  margin: 0 auto;
	padding: 1rem 2rem 2rem 2rem;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	color: #000;
  align-items: center;
  gap: 2rem;
}

nav ul {
	display: flex;
	flex-direction: row;
	gap: 30px;
  align-items: center;
}

nav ul li {
	display: inline-block;
  color: #000;
  font-family: 'CarmenSansRegular';
  font-size: 12px;
}

nav button, form button {
	font-size: 12px;
	display: flex;
  flex-direction: row;
  gap: 0.3rem;
  align-items: center;
  border-radius: 1.875rem;
  padding: 0.8rem 1.2rem;
}

form button {
	margin-bottom: 0.6rem;
}

.current {
	text-decoration-line: underline;
	text-decoration-style: dotted;
	text-decoration-color: #FFD6D8;
	text-underline-offset: 10px;
}

h3.first {
	margin-top: 0;
}



/* Hero */
#hero {
	color: #000;
	width: 100%;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
}

#hero header {
	max-width: 1118px;
  width: calc(100% - 10rem);
  height: 625px;
	position: relative;
	margin: 0 auto 3rem;
  padding: 0;
}

#hero header h1, #hero header h1 span {
  font-size: 6.875rem;
  line-height: 7rem;
}

#hero header h1 {
	text-align: right;
	position: absolute;
  width: 481px;
  top: 0;
  left: 0;

}

#hero header h2 {
	position: absolute;
	width: 393px;
  bottom: 0.6rem;
  right: 0;
}

#hero header img {
	width: 513px;
	padding: 4rem 0 3rem 13.4rem;
}

#hero .content {
	max-width: 1280px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 7rem;
}

#hero .content p {
	max-width: 700px;
  text-align: center;
}


/* Work */
#work, #articles, #title, #case-study {
  width: 100%;
}

#work #workList, #articles .content #articlesList {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

#work #workList {
	gap: 5.625rem;
}

#work .content, #articles .content {
  max-width: 1280px;
}

#work a img {
	opacity: 1;
	transition: opacity 0.5s ease-out;
}

#work a button {
	font-family: 'CarmenSansBold', sans-serif;
	opacity: 0;
	transition: opacity 0.5s ease-out;
	position: absolute;
	top: calc(50% - 20.7px);
	left: calc(50% - 92.7px);
	background-color: #FFF;
  border-radius: 2rem;
  border: none;
  color: #000;
  padding: 0.9rem 1.2rem 0.8rem 1.2rem;
  height: fit-content;
  text-transform: uppercase;
  line-height: 1rem;
}

#work a:hover button {
	opacity: 1;
	transition: opacity 0.5s ease-out;
}

#work a:hover img {
	opacity: 0.8;
	transition: opacity 0.5s ease-out;
}

#work .project-header {
	background-color: #000;
	position: relative;
	line-height: 0;
	margin-bottom: 1rem;
}

#work h2 {
	font-family: 'CarmenSansRegular', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
	line-height: 1.5rem;
}

#work .work {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}


/* Articles */

#articles {
	margin-top: 8rem;
}

#articles .content #articlesList {
	flex-direction: row;
	flex-wrap: wrap;
	align-content: stretch;
	justify-content: space-between;
}

#articles .content #articlesList #article-1 {
	background-image: url('../img/article1.png');
}

#articles .content #articlesList #article-2 {
	background-image: url('../img/article2.png');
}

#articles .content #articlesList .link {
	background-color: #C6C1FD;
}

#articles .content #articlesList a:link, #articles .content #articlesList a:hover, #articles .content #articlesList a:visited, #articles .content #articlesList a:active {
 	display: block;
	width: 30%;
	text-decoration: none;
	height: 400px;
}

#articles .content #articlesList a .article {
	height: 100%;
	position: relative;
}

#articles .content #articlesList a .article h2 {
  padding: 1.2rem;
}

#articles .content #articlesList a .link div {
  width: 100%;
  background-color: #C6C1FD;
}

#articles .content #articlesList a .link h2 {
  font-size: 2rem;
  line-height: 2.5rem;
  width: 30%;
  float: right;
  text-align: right;
}

#articles .content #articlesList a .article p.secondary {
	position: absolute;
  bottom: -3rem;
  left: 0;
}



/* Footer */
footer {
	width: 100%;
	margin-top: 7rem;
}

footer .contact {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

footer .contact span {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

footer .copyright {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 0.8em;
  margin: 2em 0;
  font-weight: 400;
}




/* Case Study */
#title {
  text-align: center;
  height: 100px;
  padding: 200px 0;
}

#title h2 {
	font-family: 'NyghtSerifRegular', serif;
  margin: 0;
	margin-bottom: 2rem;
	text-transform: capitalize;
}

#title h4 {
	text-transform: capitalize;
}

#case-study .paragraph {
	max-width: 800px;
	margin: auto;
}

#case-study .paragraph a::before {
	content: "→ ";
}

#case-study .paragraph.protected {
  text-align: center;
  max-width: 400px;
  margin-top: 5rem;
}

#case-study img {
	margin: 1rem 0;
}

#case-study .metrics-4, #case-study .metrics-3 {
  display: flex;
  margin: 1rem 0;
}

#case-study .metrics-4 h2, #case-study .metrics-3 h2 {
	padding: 1.2rem 1.2rem 6rem 1.2rem;
}

#case-study .metrics-4 p, #case-study .metrics-3 p {
  font-size: 1.2rem;
  line-height: 2rem;
	padding: 1.2rem;
}

#case-study .metric-1 {
  background-image: url('/img/bg-metric-1.png');
  background-size: cover;
  background-repeat: no-repeat;
  height: 350px;
}

#case-study .metric-2 {
  background-image: url('/img/bg-metric-2.png');
  background-size: cover;
  background-repeat: no-repeat;
  height: 350px;
}

#case-study .metric-3 {
  background-image: url('/img/bg-metric-3.png');
  background-size: cover;
  background-repeat: no-repeat;
  height: 350px;
}

#case-study .metrics-4 .metric-1, #case-study .metrics-4 .metric-2, #case-study .metrics-4 .metric-3 {
  width: 25%;
}

#case-study .metrics-3 .metric-1, #case-study .metrics-3 .metric-2, #case-study .metrics-3 .metric-3 {
  width: 33.33%;
}

img {
	width: 100%;
}


@media screen and (max-width: 950px) {

	nav {
    padding: 0;
    width: 95%;
    justify-content: center;
    margin: 1rem auto 2rem auto;
	}

	nav ul {
    padding: 0;
    margin: 0;
    gap: 1rem;
  }

	#hero header {
    width: calc(100% - 5rem);
  }

  #hero header img {
    width: 450px;
    padding: 8rem 0 3rem 15rem;
  }

  #work #workList {
    gap: 2rem;
	}

}



@media screen and (max-width: 790px) {


	#hero header h1, #hero header h1 span {
		font-size: 2.5rem;
		line-height: 2.7rem;
	}

	header h1, header h1 span {
		font-size: 1rem;
		line-height: 1.2rem;
		width: 80px;
	}

	.content {
    width: 88%;
  }

  form {
  	flex-direction: column;
  }

	#hero header {
    width: calc(100% - 2rem);
    height: fit-content;
    margin-bottom: 0;
  }

  #hero header h1 {
    width: 175px;
  }

  #hero header img {
    width: 250px;
    padding: 1.3rem 0 3rem 6rem;
  }

  #hero header h2 {
    font-size: 1.5rem;
    line-height: 1.7rem;
    width: 195px;
    bottom: 1.9rem;
  }

	#description .content {
    gap: 120px;
  }

	#description .content .paragraph {
    flex-direction: column;
	}

	#description .content .paragraph h2 {
    margin-bottom: 30px;
	}

	#description .content #ground.paragraph, #description .content #move.paragraph, #description .content #action.paragraph {
		margin-bottom: 0;
	}

	#description .content #ground.paragraph svg {
		position: absolute;
    left: 0;
    top: -10%;
	}

	#description .content #ground.paragraph h2 {
		margin-left: 50%;
    margin-bottom: 42px;
	}

	#description .content #move.paragraph {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}

	#description .content #move.paragraph svg {
    margin-left: 0;
  }

	#description .content #move.paragraph .wrapper {
    margin-left: 0;
	}

	#description .content #action.paragraph {
		margin-top: 35px;
	}

	#description .content #action.paragraph svg {
    position: absolute;
    top: -10%;
    right: 0;
  }

	#description .content #action.paragraph h2 {
    margin-bottom: 60px;
	}

	#description .content #reconnect.paragraph {
		flex-direction: column;
	}

	#description .content #reconnect.paragraph .wrapper {
    text-align: right;
	}

	#description .content #reconnect.paragraph .wrapper h2 {
    width: 100%;
	}

	#articles .content #articlesList a:link, #articles .content #articlesList a:hover, #articles .content #articlesList a:visited, #articles .content #articlesList a:active {
    width: 100%;
    min-width: 368px;
	}

	#articles .content #articlesList {
		gap: 4rem;
	}


	#yoga {
		background-position-x: 40%;
		padding-top: 40px;
	}

	img {
		margin: 0;
	}

	#case-study .metrics-4, #case-study .metrics-3 {
	    flex-direction: column;
	}

	#case-study .metrics-4 .metric-1, #case-study .metrics-4 .metric-2, #case-study .metrics-4 .metric-3, #case-study .metrics-3 .metric-1, #case-study .metrics-3 .metric-2, #case-study .metrics-3 .metric-3 {
	  width: 100%;
	}

}


