/*--------------------------------------------------------------
# Document Setup
--------------------------------------------------------------*/

:root {
	--color-text: #fff;
	--color-bg: #000;
	--font-primary: "HK Grotesk", sans-serif;
	--font-secondary: "HK Grotesk", sans-serif;
	--bg-opacity: 100;
	--caption-opacity: 85;
	--spacing-base: 20px;
	--wp--style--block-gap: var(--spacing-base);
	--gutter: 20;
	--margin-vertical-min: 120;
	--margin-vertical-max: 300;
	--margin-vertical: calc(var(--margin-vertical-min) * 1px + (var(--margin-vertical-max) - var(--margin-vertical-min)) * ((100vw - 320px) / 1600));
}

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

html {
	background-color: var(--color-bg);
	-webkit-text-size-adjust: 100%;
}

body {
	overflow-x: hidden;
	margin: 0;
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-primary);
	font-size: 17px;
	line-height: 1.4;
	transition: background .5s;
}

::selection {
	color: var(--color-bg);
	background: var(--color-text);
}

/* Clearing ---------------------------------- */

.group::after,
.wp-block-group::after,
.post-content::after {
	clear: both;
	content: "";
	display: block;
}

/* Screen Reader Text ------------------------ */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

/* Fonts ------------------------------------- */

@font-face {
	font-family: "HK Grotesk";
	font-display: swap;
	src: url(../fonts/HKGrotesk-Regular.woff2) format('woff2');
}

@font-face {
	font-family: "HK Grotesk";
	font-style: italic;
	font-display: swap;
	src: url(../fonts/HKGrotesk-Italic.woff2) format('woff2');
}

@font-face {
	font-family: "HK Grotesk";
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/HKGrotesk-Bold.woff2) format('woff2');
}

@font-face {
	font-family: "HK Grotesk";
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/HKGrotesk-BoldItalic.woff2) format('woff2');
}

/* ---------------------------------------------------------- */
/*	# Element Base
/* ---------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 0 0 25px;
	font-family: var(--font-secondary);
}

h1 {
	font-size: 72px;
	line-height: 1;
}

h2 {
	font-size: 48px;
}

h3 {
	font-size: 36px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 21px;
}

h6 {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

p {
	margin: 0 0 25px;
}

hr {
	height: 2px;
	margin: 25px 0;
	border: 0;
	background-color: var(--color-text);
}

ul,
ol {
	margin: 0 0 25px;
	padding-left: 20px;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

:focus {
	outline: none;
}

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

/* Quotes ------------------------------------ */

blockquote {
	margin: 0 0 25px;
	padding: 5px 0 5px 25px;
	border-color: var(--color-text);
	border-style: solid;
	border-width: 0 0 0 2px;
}

cite {
	opacity: .7;
	font-style: normal;
}

blockquote cite {
	display: block;
	margin-top: 15px;
}

blockquote p:last-of-type {
	margin-bottom: 0;
}

/* Code -------------------------------------- */

code,
kbd,
pre,
samp {
	padding: 0.2rem 0.6rem;
	font-family: monospace;
	font-size: 0.88889em;
}

code,
kbd,
samp {
	border-radius: 0.2rem;
	background-color: rgba(255, 255, 255, .2);
}

pre {
	overflow: auto;
	margin: 0 0 25px;
	padding: 25px;
	border: 1px solid rgba(255, 255, 255, .2);
}

pre code {
	padding: 0;
	background-color: transparent;
}

/* Media ------------------------------------- */

img {
	display: block;
	height: auto;
	max-width: 100%;
}

embed,
iframe,
object,
video {
	max-width: 100%;
}

/* Media captions */

.wp-caption,
.wp-caption-text,
.gallery-caption {
	color: currentColor;
}

/* Inputs ------------------------------------ */

button,
input,
select,
textarea {
	max-width: 100%;
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	width: 100%;
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .5);
	border-radius: 0;
	background: none;
}

button,
input[type="button"],
input[type="submit"] {
	cursor: pointer;
	padding: 0;
	border: none;
	border-radius: 0;
	background: none;
	font-size: 24px;
	appearance: none;
}

::-webkit-input-placeholder {
	opacity: .5;
	color: inherit;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
}

::-moz-placeholder {
	opacity: .5;
	color: inherit;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* Tables ------------------------------------ */

table {
	overflow: hidden;
	max-width: 100%;
	width: 100%;
	margin: 0 0 25px;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
}

tr {
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

th,
td {
	overflow: visible;
	margin: 0;
	padding: 0.5em;
}

thead {
	vertical-align: bottom;
	white-space: nowrap;
}

th {
	font-weight: 600;
	text-align: inherit;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

.site {
	padding: 0 calc(1px * var(--gutter));
}

@media (min-width: 1025px) {
	.site {
		padding: 0 calc(3px * var(--gutter));
	}
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-header {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
	margin-bottom: 50px;
}

@supports (-webkit-touch-callout: none) {
	.site-header {
		min-height: -webkit-fill-available;
	}
}

.header-medium .site-header {
	min-height: auto;
}

.header-top {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 30px;
	align-items: center;
	position: relative;
	z-index: 999;
	padding-top: 10px;
	font-size: 14px;
}

@media (min-width: 1025px) {
	.header-top {
		grid-template-columns: repeat(4, 1fr);
		align-items: start;
	}
}

.header-bottom {
	position: relative;
	z-index: 1;
	padding-top: var(--margin-vertical);
	padding-bottom: 30px;
}

/* Logo */

.site-logo {
	font-size: 30px;
	font-weight: 600;
}

.site-logo a {
	display: inline-block;
	vertical-align: top;
}

.site-logo img {
	max-width: calc(1px * var(--logo-width, 250));
}

/* Info */

@media (max-width: 1024px) {
	.site-info {
		display: none;
	}
}

/* Menu */

.site-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1024px) {

	body.toggled-on {
		overflow: hidden;
	}

	.site-menu {
		display: none;
	}

	.site-menu.main {
		overflow-y: scroll;
		opacity: 0;
		visibility: hidden;
		z-index: 998;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		padding: 40px calc(1px * var(--gutter));
		display: flex;
		flex-direction: column;
		transition: opacity .3s, visibility .3s;
		font-size: 9vw;
		font-weight: 600;
		line-height: 1.2;
	}

	.site-menu.main::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: var(--color-bg);
	}

	.toggled-on .site-menu.main {
		opacity: 1;
		visibility: visible;
	}

	.site-menu > ul:first-child {
		margin-top: auto;
	}

	.site-menu li {
		margin-top: 10px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px);
		transition: opacity .3s, transform .3s, visibility .3s;
	}

	.toggled-on .site-menu li {
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
	}

	.toggled-on .site-menu li:nth-child(1) {
		transition-delay: .1s;
	}

	.toggled-on .site-menu li:nth-child(2) {
		transition-delay: .2s;
	}

	.toggled-on .site-menu li:nth-child(3) {
		transition-delay: .3s;
	}

	.toggled-on .site-menu li:nth-child(4) {
		transition-delay: .4s;
	}

	.toggled-on .site-menu li:nth-child(5) {
		transition-delay: .5s;
	}

	.toggled-on .site-menu li:nth-child(6) {
		transition-delay: .6s;
	}

	.toggled-on .site-menu li:nth-child(7) {
		transition-delay: .7s;
	}

	.toggled-on .site-menu li:nth-child(8) {
		transition-delay: .8s;
	}

	.toggled-on .site-menu li:nth-child(9) {
		transition-delay: .9s;
	}

	.toggled-on .site-menu li:nth-child(10) {
		transition-delay: 1s;
	}

	.site-menu .sub-menu {
		display: none;
		font-size: 17px;
		font-weight: normal;
	}

	.site-menu .sub-menu.toggled-on {
		display: block;
	}

	.site-menu .sub-menu li {
		display: inline-block;
		margin-right: 20px;
	}

	.site-menu .sub-menu a {
		opacity: .5;
	}

	.site-menu .current-menu-item > a {
		opacity: 1;
	}

	.dropdown-toggle {
		cursor: pointer;
		display: inline-block;
		width: 6vw;
		margin-left: 10px;
		text-align: center;
	}

	.dropdown-toggle:before {
		content: "\002b";
	}

	.dropdown-toggle.toggle-on:before {
		content: "\002d";
	}

	.site-menu ul ul .dropdown-toggle {
		display: none;
	}

}

@media (min-width: 1025px) {

	.site-menu.main .secondary-menu {
		display: none;
	}

	.site-menu > ul {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.site-menu a {
		pointer-events: auto;
		position: relative;
		z-index: 3;
		transition: opacity .3s;
	}

	.site-menu a:hover {
		opacity: .7;
	}

	.site-menu li.current-menu-item > a,
	.site-menu li.current-menu-parent > a {
		opacity: .7;
	}

	.site-menu li {
		pointer-events: none;
		position: relative;
	}

	.site-menu .sub-menu {
		visibility: hidden;
		pointer-events: none;
		z-index: 2;
		position: absolute;
		top: -20px;
		left: 100%;
		padding: 20px 40px 20px;
	}

	.site-menu li:hover > .sub-menu {
		visibility: visible;
		pointer-events: auto;
	}

	.site-menu .sub-menu li {
		width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
		opacity: 0;
		transform: translateX(-10px);
	}

}

/* Menu toggle */

.menu-toggle {
	z-index: 999;
	cursor: pointer;
	position: relative;
	right: -20px;
	margin-left: auto;
	padding: 10px 20px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@media (min-width: 1025px) {
	.menu-toggle {
		display: none;
	}
}

.menu-toggle span {
	display: block;
	width: 20px;
	height: 1px;
	margin: 7px 0;
	background-color: var(--color-text);
	transition: transform .3s;
}

.toggled-on .menu-toggle span:nth-child(1) {
	transform: translate(0, 4px) rotate(45deg);
}
.toggled-on .menu-toggle span:nth-child(2) {
	transform: translate(0, -4px) rotate(-45deg);
}

/* Background */

.header-background {
	opacity: calc(0.01 * var(--bg-opacity));
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	transition: opacity .5s;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
}

.header-background img,
.header-background video,
.header-background iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .5s, transform .5s .03s;
}

.is-animating .header-background img {
	transform: scale(1.025);
}

.is-animating .header-background img,
.is-animating .header-background video,
.is-animating .header-background iframe {
	opacity: 0;
}

/* Page Title */

.page-title h1 {
	margin: 0;
	font-size: 18vw;
	line-height: 1;
	letter-spacing: -2px;
	word-wrap: break-word;
}

.page-title.small h1,
.page-title.medium h1 {
	font-size: 9vw;
	line-height: 1.2;
	letter-spacing: 0;
}

@media (min-width: 769px) {
	.page-title.small h1,
	.page-title.medium h1 {
		line-height: 1;
	}
}

@media (min-width: 1025px) {
	.page-title h1 {
		line-height: .8;
		letter-spacing: -5px;
	}

	.page-title.small h1 {
		font-size: 5.4vw;
	}

	.page-title.medium h1 {
		font-size: 10vw;
	}
}

.page-subtitle {
	opacity: .5;
	margin-bottom: 0;
}

/*--------------------------------------------------------------
## Main
--------------------------------------------------------------*/

@media (min-width: 1025px) {
	.post-template-default .site-main {
		padding-right: 50%;
	}
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.site-footer {
	position: relative;
	z-index: 2;
	margin-top: var(--margin-vertical);
	font-size: 14px;
}

@media (min-width: 768px) {
	.site-footer {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-column-gap: 30px;
	}
}

@media (min-width: 1025px) {
	.site-footer {
		grid-template-columns: repeat(4, 1fr);
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/* ---------------------------------------------------------- */
/*	## Blocks
/* ---------------------------------------------------------- */

.is-layout-flex {
	gap: var(--spacing-base);
}

.is-layout-constrained > *,
.is-layout-flow > * {
	margin-block-start: var(--spacing-base);
	margin-block-end: 0;
}

/* Block: Group ------------------------------ */

.wp-block-group.has-background {
	padding: 25px;
}

/* Block: Columns ---------------------------- */

.wp-block-columns.alignfull {
	padding-right: calc(1px * var(--gutter));
	padding-left: calc(1px * var(--gutter));
}

@media (min-width: 1025px) {
	.wp-block-columns.alignfull {
		padding-right: calc(3px * var(--gutter));
		padding-left: calc(3px * var(--gutter));
	}
}

/* Block: Image ------------------------------ */

.wp-block-image .alignright {
	margin-left: 25px;
}

.wp-block-image .alignleft {
	margin-right: 25px;
}

/* Block: Video ------------------------------ */

.wp-block-video video {
  width: 100%;
  max-width: none;
}

/* Block: Table ------------------------------ */

.wp-block-table table {
	margin-bottom: 0;
}

.wp-block-table.is-style-stripes {
	border: 0;
}

.wp-block-table.is-style-stripes tbody tr {
	border: 0;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: rgba(255, 255, 255, .15);
}

/* Block: Quote ------------------------------ */

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	padding: 5px 0 5px 25px;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-style: normal;
}

.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
	font-size: 17px;
	text-align: inherit;
}

/* Block: Pullquote -------------------------- */

.wp-block-pullquote {
	padding: 0;
	border-top: 2px solid var(--color-text);
	border-bottom: 2px solid var(--color-text);
}

.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright {
	margin-top: 0;
}

.wp-block-pullquote blockquote {
	margin: 0;
	padding: 25px 0;
	border: 0;
}

.wp-block-pullquote p,
.wp-block-pullquote.alignleft p,
.wp-block-pullquote.alignright p {
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.wp-block-pullquote.is-style-solid-color {
	border: 0;
}

/* Block: Separator -------------------------- */

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 50px;
}

.wp-block-separator.is-style-dots::before {
	color: inherit;
}

.wp-block-separator.is-style-wide {
	height: 1px;
	border: 0;
}

/* Block: Button ----------------------------- */

.wp-block-button {
	margin: 0 0 25px;
}

.is-style-outline .wp-block-button__link:not(.has-text-color) {
	color: inherit;
}

/* ---------------------------------------------------------- */
/*	## Entry Content
/* ---------------------------------------------------------- */

/* Alignment Classes ------------------------- */

.alignnone,
.aligncenter,
.alignleft,
.alignright {
	max-width: 100%;
	margin-bottom: 25px;
}

.aligncenter,
.aligncenter img {
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 25px;
}

.alignright {
	float: right;
	margin-left: 25px;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-top: 25px;
	margin-bottom: 25px;
	margin-left: calc(-1px * var(--gutter));
}

@media ( min-width: 769px ) {
	.alignleft,
	.alignright {
		max-width: 33.33%;
	}

	.post-template-default .alignleft,
	.post-template-default .alignright {
		max-width: 50%;
	}
}

@media (min-width: 1025px) {
	.post-template-default .alignwide {
		width: calc(100vw - (6px * var(--gutter)));
	}

	.alignfull {
		margin-left: calc(-3px * var(--gutter));
	}
}

/*--------------------------------------------------------------
## Posts and Pages
--------------------------------------------------------------*/

.blog-area {
	display: grid;
	grid-row-gap: calc(4px * var(--gutter));
	grid-column-gap: calc(1px * var(--gutter));
}

@media (min-width: 768px) {
	.blog-area {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1025px) {
	.blog-area {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1025px) {
	.blog-area .size-2x1 {
		grid-column-end: span 2;
	}
}

.post-thumbnail {
	margin-bottom: 20px;
}

.post-thumbnail-inner {
	overflow: hidden;
	position: relative;
	padding-top: 100%;
}

@media (min-width: 1025px) {
	.size-2x1 .post-thumbnail-inner {
		padding-top: calc(50% - calc(var(--gutter) / 2) * 1px );
	}
}

@media (min-width: 1025px) {
	.size-2x1 .post-caption {
		padding-right: 50%;
	}
}

.post-thumbnail-inner img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.post-thumbnail:hover .post-thumbnail-inner img {
	transform: scale(1.03);	
}

.post-caption {
	min-height: 92px;
}

.blog-area .post-title {
	display: inline;
	font-size: 17px;
	word-break: break-word;
}

.blog-area .post-header p:first-of-type {
	display: inline;
	word-break: break-word;
}

.blog-area .post-header p:first-of-type:before {
	display: inline-block;
	width: 40px;
	height: 1px;
	margin: 0 10px 4px 6px;
	background-color: var(--color-text);
	content: "";
}

.post-meta {
	opacity: .5;
}

.post-category {
	margin-left: 10px;
	text-transform: lowercase;
}

.post-category a {
	margin-right: 5px;
}

.post-category a:before {
	content: "\#";
}

.sticky .sticky-post {
	position: relative;
	top: -2px;
	margin-right: 10px;
	padding: 4px 10px 3px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	background-color: rgba(255, 255, 255, .5);
}

.post-content a:where(:not(.wp-block-button__link)) {
	text-decoration: underline;
}

.post-content a:where(:not(.wp-block-button__link)):hover {
	text-decoration: none;
}

/* 404 */

.error404 {
	overflow: hidden;
}

/*--------------------------------------------------------------
## Projects
--------------------------------------------------------------*/

.portfolio-area.layout-masonry {
	margin-right: calc(-1px * var(--gutter));
	margin-bottom: calc(-1px * var(--gutter));
}

.layout-masonry .type-project {
	width: calc(100% - calc(1px * var(--gutter)));
	margin-right: calc(1px * var(--gutter));
	margin-bottom: calc(1px * var(--gutter));
}

@media (min-width: 768px) {
	.layout-masonry .type-project {
		width: calc(50% - calc(1px * var(--gutter)));
	}
}

@media (min-width: 1025px) {
	.layout-masonry .type-project {
		width: calc(25% - calc(1px * var(--gutter)));
	}

	.layout-masonry.columns-3 .type-project {
		width: calc(33.33% - calc(1px * var(--gutter)));
	}

	.layout-masonry.columns-3 .project-caption {
		padding-right: 33.33%;
	}

	.layout-masonry.columns-2 .type-project {
		width: calc(50% - calc(1px * var(--gutter)));
	}

	.layout-masonry.columns-2 .project-caption {
		padding-right: 50%;
	}
}

.portfolio-area.layout-packery {
	display: grid;
	grid-gap: calc(1px * var(--gutter));
}

.portfolio-area.layout-packery:not(.caption-classic) {
	grid-row-gap: calc(4px * var(--gutter));
}

@media (min-width: 768px) {
	.portfolio-area.layout-packery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1025px) {
	.portfolio-area.layout-packery {
		grid-template-columns: repeat(4, 1fr);
	}
}

.portfolio-area .type-project {
	position: relative;
}

.caption-visible .project-thumbnail {
	margin-bottom: 20px;
}

.project-thumbnail img,
.project-thumbnail video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-thumbnail.has-video img {
	z-index: 2;
}

.project-thumbnail.has-video:hover img {
	opacity: 0;
}

.project-thumbnail-second {
	opacity: 0;
	transition: opacity .3s;
}

.project-thumbnail:hover .project-thumbnail-second {
	opacity: 1;
}

.project-thumbnail-inner {
	overflow: hidden;
	position: relative;
}

.project-thumbnail-inner img {
	transition: transform .5s ease;
}

.project-thumbnail:not(.has-video):hover .project-thumbnail-inner img {
	transform: scale(1.03);
}

.project-thumbnail-second img {
	transform: scale(1.03);
}

.project-thumbnail:not(.has-video):hover .project-thumbnail-second img {
	transform: scale(1);
}

.layout-packery .project-thumbnail-inner {
	padding-top: 100%;
}

@media (min-width: 1025px) {

	.layout-packery .size-1x2 {
		grid-row-end: span 2;
	}

	.layout-packery .size-1x2 .project-thumbnail-inner {
		padding-top: calc(200% + calc(1px * var(--gutter)));
	}

	.layout-packery .size-2x1 {
		grid-column-end: span 2;
	}

	.layout-packery .size-2x1 .project-thumbnail-inner {
		padding-top: calc(50% - calc(var(--gutter) / 2) * 1px );
	}

	.layout-packery .size-2x1 .project-caption {
		padding-right: 50%;
	}

	.layout-packery .size-3x2 {
		grid-column-end: span 3;
		grid-row-end: span 2;
	}

	.layout-packery .size-3x2 .project-thumbnail-inner {
		padding-top: calc(66.6667% - calc(var(--gutter) / 3) * 1px );
	}

	.layout-packery .size-3x2 .project-caption {
		padding-right: 66.66%;
	}

}

/* Hover Caption */

.caption-classic .project-caption {
	pointer-events: none;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	color: var(--color-text);
	transition: opacity .3s;
}

.caption-classic .type-project a:hover .project-caption {
	opacity: 1;
}

.caption-classic .project-caption::before {
	opacity: calc(0.01 * var(--caption-opacity));
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-bg);
	content: "";
}

.caption-classic .project-caption h3,
.caption-classic .project-caption p,
.caption-classic .project-caption div {
	position: relative;
	top: 20px;
	transition: top .2s, opacity .3s;
}

.caption-classic .type-project a:hover .project-caption h3,
.caption-classic .type-project a:hover .project-caption p,
.caption-classic .type-project a:hover .project-caption div {
	top: 0;
}

.caption-classic .project-caption h3 {
	display: inline;
	font-size: 17px;
	word-break: break-word;
}

.caption-classic .project-caption p:first-of-type {
	display: inline;
	word-break: break-word;
}

.caption-classic .project-caption p:first-of-type:before {
	display: inline-block;
	width: 40px;
	height: 1px;
	margin: 0 10px 4px 6px;
	background-color: var(--color-text);
	content: "";
}

.caption-classic .project-caption div {
	opacity: .5;
	text-transform: lowercase;
}

.caption-classic .project-caption span {
	margin-right: 8px;
}

.caption-classic .project-caption span:before {
	content: "\#";
}

/* Text Caption */

.caption-visible .project-caption {
	min-height: 92px;
	max-height: 92px;
}

.caption-visible .project-caption h3 {
	display: inline;
	font-size: 17px;
	word-break: break-word;
}

.caption-visible .project-caption p:first-of-type {
	display: inline;
	word-break: break-word;
}

.caption-visible .project-caption p:first-of-type:before {
	display: inline-block;
	width: 40px;
	height: 1px;
	margin: 0 10px 4px 6px;
	background-color: var(--color-text);
	content: "";
}

.caption-visible .project-caption div {
	opacity: .5;
	text-transform: lowercase;
}

.caption-visible .project-caption span {
	margin-right: 8px;
}

.caption-visible .project-caption span:before {
	content: "\#";
}

/* Filter */

body.filter-active {
	overflow-y: hidden;
}

.portfolio-area {
	transform-origin: top;
}

.filter-toggle {
	opacity: 0;
	visibility: hidden;
	cursor: pointer;
	z-index: 999;
	position: fixed;
	top: calc(50% - 30px);
	left: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	transform: translateY(20px);
	transition: all .3s;
}

@media (max-width: 1024px) {
	.filter-toggle {
		top: 20px;
		left: calc(50% - 30px);
		background-color: var(--color-bg);
	}
}

.filter-toggle.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.filter-toggle span {
	position: absolute;
	top: calc(50% - 2px);
	left: calc(50% - 2px);
	width: 4px;
	height: 4px;
	border-radius: 2px;
	background-color: var(--color-text);
	transition: all .3s;
}

.filter-toggle span:before {
	position: absolute;
	top: -7px;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 2px;
	background-color: inherit;
	content: "";
	transition: all .3s;
}

.filter-toggle span:after {
	position: absolute;
	bottom: -7px;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 2px;
	background-color: inherit;
	content: "";
	transition: all .3s;
}

.filter-toggle:hover span {
	width: 8px;
}

.filter-toggle:hover span:before {
	margin-left: -4px;
}

.filter-toggle:hover span:after {
	margin-left: -4px;
}

.filter-area {
	opacity: 0;
	visibility: hidden;
	z-index: 9999;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: flex-end;
	transition: opacity .3s, visibility .3s;
}

@media (min-width: 1025px) {
	.filter-area {
		align-items: center;
		justify-content: center;
		text-align: center;
	}
}

.filter-close {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.filter-area ul {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: 40px;
}

.filter-area li {
	position: relative;
	list-style: none;
	cursor: pointer;
	margin-top: 20px;
	font-size: 9vw;
	line-height: 1;
	font-weight: 600;
}

.filter-area span {
	position: relative;
}

.filter-area span:after {
	position: absolute;
	bottom: 4px;
	left: 50%;
	width: 0;
	height: 4px;
	background-color: var(--color-text);
	content: "";
	transition: all .2s;
}

.filter-area li:hover span:after {
	width: 100%;
	left: 0;
}

.filter-area .active span:after {
	width: 100%;
	left: 0;
}

@media (min-width: 769px) {
	.filter-area li {
		font-size: 6vw;
	}
}

@media (min-width: 1025px) {
	.filter-area li {
		display: inline-block;
		margin: 10px 30px;
		font-size: 4vw;
	}
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comments-button {
	opacity: .5;
	cursor: pointer;
	text-align: center;
	margin-top: 60px;
	padding: 18px 26px;
	border: 1px solid rgba(255, 255, 255, .5);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.comments-button.opened,
.comments-button.opened.active {
	opacity: 1;
}

.comments-area {
	position: relative;
	z-index: 2;
	display: none;
}

.comment-list {
	margin: 0;
	padding: 60px 0 0;
}

.comment {
	list-style: none;
}

.comment-body {
	margin-bottom: 60px;
	display: flex;
	align-items: center;
}

.comment-content {
	width: calc(100% - 100px);
}

.comment-text {
	display: inline;
	word-break: break-word;
}

.comment-text p:first-of-type {
	display: inline;
	word-break: break-word;
}

.comment-text:first-of-type:before {
	display: inline-block;
	width: 40px;
	height: 1px;
	margin: 0 10px 4px 6px;
	background-color: var(--color-text);
	content: "";
}

.comment-text > * {
	max-width: 100%;
}

.comment-text p a {
	border-bottom: 1px solid var(--color-text);
}

.comment-text > h1:not(:first-child),
.comment-text > h2:not(:first-child),
.comment-text > h3:not(:first-child),
.comment-text > h4:not(:first-child),
.comment-text > h5:not(:first-child),
.comment-text > h6:not(:first-child) {
	margin-top: 50px;
}

.comment-body .avatar {
	border-radius: 50%;
	width: 80px;
	margin-right: 20px;
}

.comment-meta {
	opacity: .5;
}

.bypostauthor .comment-meta .by-post-author {
	display: inline;
}

.comment-body .reply {
	padding-left: 10px;
}

.comment-respond {
	margin-top: 60px;
}

.comment .comment-respond {
	margin-bottom: 60px;
}

.comment-reply-title {
	font-size: 24px;
	font-weight: normal;
}

.comment-reply-title small {
	opacity: .5;
	margin-left: 10px;
	font-size: 17px;
}

.comment-notes,
.comment-form label {
	display: none;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/* Load More */

.load-more {
	cursor: pointer;
	position: relative;
	width: 51px;
	height: 51px;
	margin: calc(4px * var(--gutter)) auto 0;
	transition: opacity .4s;
}

.load-more:before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: var(--color-text);
	content: "";
}

.load-more:after {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1px;
	height: 100%;
	background-color: var(--color-text);
	content: "";
}

.load-more.loading:before,
.load-more.loading:after {
	animation: spin 1.2s infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Post Navigation */

.next-post {
	margin-top: var(--margin-vertical);
}

.next-post p {
	opacity: .5;
	margin-bottom: 0;
}

.next-post h3 {
	margin-bottom: 0;
	font-size: 9vw;
	line-height: 1.2;
}

@media (min-width: 769px) {
	.next-post h3 {
		font-size: 6vw;
	}
}

@media (min-width: 1025px) {
	.next-post h3 {
		font-size: 4.4vw;
		line-height: 1;
	}
}

/* Page Links */

.post-nav-links {
	clear: both;
	margin-top: 24px;
}

.post-nav-links .current {
	opacity: .5;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Contact form 7 */

.wpcf7-not-valid-tip {
	margin-top: 10px;
}

.wpcf7 form .wpcf7-response-output {
	opacity: .5;
	margin: 0;
	padding: 0;
	border: 0;
}

/* fancyBox */

[data-fancybox] {
	outline: none;
}

.fancybox__container {
	--carousel-button-svg-stroke-width: 1;
	--carousel-button-svg-filter: none;
	--fancybox-bg: rgba(0, 0, 0, 0.92);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

@keyframes preloader {
	0% { opacity: .2; }
	20% { opacity: 1; }
	100% { opacity: .2; }
}

.preloader {
	opacity: 0;
	pointer-events: none;
	z-index: 9999;
	position: fixed;
	top: calc(50% - 6px);
	left: calc(50% - 13px);
	transition: opacity .3s;
}

.is-animating .preloader {
	opacity: 1;
}

.preloader span {
	display: inline-block;
	width: 1px;
	height: 12px;
	margin: 0 4px;
	background-color: var(--color-text);
	animation: preloader .9s infinite both;
}

.preloader span:nth-child(2) {
	animation-delay: .3s;
}

.preloader span:nth-child(3) {
	animation-delay: .6s;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/

/* Animation on load */

.header-top {
	top: 0;
	transition: .5s;
}

.is-animating .header-top.transition-up {
	opacity: 0;
	top: -20px;
}

.header-bottom {
	transition: .5s;
}

.is-animating .header-bottom.transition-down {
	opacity: 0;
	transform: translate3d(0, 50px, 0);
}

.site-main {
	transition: .5s;
}

.is-animating .site-main.transition-down {
	opacity: 0;
	transform: translate3d(0, 50px, 0);
}

.site-footer {
	transition: .5s;
}

.is-animating .site-footer.transition-down {
	opacity: 0;
	transform: translate3d(0, 30px, 0);
}

/* Animation on scroll */

.post-content > *,
.blog-area .type-post,
.portfolio-area .type-project,
.blocks-gallery-item,
.wp-block-column,
.comments-button,
.next-post,
.load-more {
	opacity: 0;
	transform: translate3d(0, 50px, 0);
	transition: .5s;
	transition-delay: .1s;
}

.site-footer {
	opacity: 0;
	transition: .5s;
	transition-delay: .1s;
}

.post-content > *.active,
.blog-area .type-post.active,
.portfolio-area .type-project.active,
.blocks-gallery-item.active,
.wp-block-column.active,
.next-post.active,
.load-more.active {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.comments-button.active {
	opacity: .5;
	transform: translate3d(0, 0, 0);
}

.site-footer.active {
	opacity: 1;
}

/* Animated Cursor */

.cursor {
	mix-blend-mode: difference;
	user-select: none;
	pointer-events: none;
	z-index: 10000;
	position: fixed;
	top: -10px;
	left: -10px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #fff;
	transform: translate(-50%, -50%);
	transition: width .3s, height .3s, opacity .3s;
}

.cursor.active {
	width: 90px;
	height: 90px;
}

/* Lazy loading ------------------------------ */

.lazyload,
.lazyloading {
	opacity: 0;
}

.lazyloaded {
	opacity: 1;
	transition: opacity 0.3s;
}
