/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Variables
	2.	Typography
	3. 	Layout Base
	4. 	UI Elements
	5. 	Site Header
    6. 	Menu Modal
	7. 	Banner Modal
	8. Blocks
	9. Site Footer
    10. Transitions
	11. Accessibility

-------------------------------------------------------------- */

/* --------------------------------------------------------------
= 0. CSS Reset
-------------------------------------------------------------- */

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
    overscroll-behavior: none;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeSpeed;
}
html,
body {
	border: none;
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6,
p, blockquote, address, big,
cite, code, em, font, img,
small, strike, sub, sup,
li, ol, ul, dl, dt, dd,
fieldset, form, label, legend, button,
table, caption, tr, th, td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
}
blockquote::before,
blockquote::after {
	content: "";
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
a {
	text-decoration: none;
	color: inherit;
}
p {
	margin: 0;
}
ol, ul, menu {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote::after,
q::before, q::after {
	content: '';
	content: none;
}
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}
*, *::before, *::after {
	box-sizing: inherit;
}
* {
	-webkit-tap-highlight-color: transparent !important;
}
button,
input,
textarea {
	-webkit-appearance: none;
	        appearance: none;
}
input,
button,
textarea,
select {
	font: inherit;
}

/* --------------------------------------------------------------
= 1. Variables
-------------------------------------------------------------- */

:root {
	--jk--style--block-gap-small: clamp(1.25rem, 0.7143rem + 2.6786vw, 3.125rem);
	--jk--style--block-gap-large: clamp(1.25rem, -0.1786rem + 7.1429vw, 6.25rem);
}
.placeholders {
    --wp--preset--color--primary: #000000;
    --wp--preset--color--gray-90: #010101;
    --wp--preset--color--gray-80: #3B3B3C;
    --wp--preset--color--gray-70: #666766;
    --wp--preset--color--gray-60: #B9B4B1;
    --wp--preset--color--gray-50: #C5C7C8;
    --wp--preset--color--gray-40: #E2E2E2;
    --wp--preset--color--gray-30: #E0E0E0;
    --wp--preset--color--gray-20: #E9E9E8;
    --wp--preset--color--gray-10: #F5F6F5;
    --wp--preset--color--background: #F3EEE2;

    --wp--style--block-gap: clamp(1.25rem, 0.7143rem + 2.6786vw, 3.125rem);

    --wp--style--global--content-size: 1280px;
    --wp--style--global--wide-size: 1440px;
}

/* --------------------------------------------------------------
= 2. Typography
-------------------------------------------------------------- */

body {
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.fonts-loaded body {
    font-family: 'TT Commons Pro', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

/* --------------------------------------------------------------
= 3. Layout Base
-------------------------------------------------------------- */

body {
    background-color: var(--wp--preset--color--background);
    color: var(--wp--preset--color--primary);
}
.inner {
    margin: 0 auto;
    padding-inline: var(--wp--style--block-gap);
}
.z-index-10 {
    position: relative;
    z-index: 10;
}
.project--open {
    overflow: hidden;
}

/* --------------------------------------------------------------
= 4. UI Elements
-------------------------------------------------------------- */

svg {
    display: inline-block;
    overflow: visible;
}
svg .fill {
    transition: all 300ms ease;
}

/* Logo / Mark / Project Title ------------------------------- */

.logo {
    height: auto;
    max-height: 6.5625rem;
    width: 100%;
}
.mark {
    height: 1.75rem;
    width: auto;
}
.icon {
    height: 1.25rem;
    width: auto;
}
.project-title {
    height: 1.25rem;
    width: auto;
}
@media screen and ( min-width: 48em ) {
    .project-title {
        height: 1.875rem;
    }
}
.logo .fill,
.mark .fill,
.icon .fill,
.project-title .fill {
    fill: var(--wp--preset--color--background);
}
a:hover .icon .fill {
    fill: var(--wp--preset--color--gray-40);
}

/* Logo / Mark / Project Title Transitions ------------------- */

#logo-wipe-rect  {
    transition: width 1500ms ease-out 400ms;
    width: 0;
}
#title-wipe-rect {
    transition: width 1000ms ease-out 600ms;
    width: 0;
}
.page--loaded #logo-wipe-rect,
.page--loaded #title-wipe-rect {
    width: 100%;
}
.mark {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 500ms ease-out;
}
.page--loaded .mark {
    clip-path: inset(0 0 0 0);
}

/* --------------------------------------------------------------
= 5. Site Header
-------------------------------------------------------------- */

#site-header {
    inset-block-start: 0;
    inset-inline: 0;
    padding-block: clamp(1.25rem, 0.8929rem + 1.7857vw, 2.5rem);
    position: absolute;
    width: 100%;
    z-index: 2000;
}
#site-header .inner {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--wp--style--global--wide-size);
    padding-inline: var(--wp--style--block-gap);
}
@media ( min-width: 48em ) {
    #site-header {
        position: fixed;
    }
}

/* --------------------------------------------------------------
= 6. Menu Modal
-------------------------------------------------------------- */

#site-menu ul {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: clamp(0.625rem, 0.0893rem + 2.6786vw, 2.5rem);
}
#site-menu ul li a {
    color: var(--wp--preset--color--background);
    font-size: 1rem;
    line-height: 1em;
    position: relative;
    text-transform: uppercase;
}
#site-menu ul li a:after {
    background: var(--wp--preset--color--background);
    bottom: -2px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transition: width 200ms ease-in-out;
    width: 0;
}
#site-menu ul li a:hover:after {
    width: 100%;
}
#site-menu ul li {
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 600ms ease,
        transform 600ms ease;
}
.page--loaded #site-menu ul li {
    opacity: 1;
    transform: translateX(0);
}
.page--loaded #site-menu ul li:nth-child(1) { transition-delay: 200ms }
.page--loaded #site-menu ul li:nth-child(2) { transition-delay: 400ms }
.page--loaded #site-menu ul li:nth-child(3) { transition-delay: 600ms }

@media ( min-width: 48em ) {
    #site-menu ul {
        flex-direction: row;
    }
}

/* --------------------------------------------------------------
= 7. Banner Modal
-------------------------------------------------------------- */

#banner {
    height: 100vh;
    margin-block: 0 !important;
    opacity: 0;
    padding: calc(var(--wp--style--block-gap) * 2);
    position: relative;
}
.page--loaded #banner {
    opacity: 1;
    transition: opacity 100ms ease;
}
#banner figure,
#banner figure img {
    position: absolute;
    z-index: 1;
}
#banner figure {
    height: calc(100% + var(--wp--style--block-gap));
    inset: calc(var(--wp--style--block-gap) * -1);
    max-width: calc(100% + var(--wp--style--block-gap) * 2);;
}
#banner figure img {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center bottom;
    overflow: hidden;
    width: 100%;
}
#banner figure.has-background img {
    filter: contrast(1); /* had grayscale */
    mix-blend-mode: multiply;
}
.banner-container {
    color: var(--wp--preset--color--background);
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 0.8929rem + 1.7857vw, 2.5rem);
    height: 100%;
    justify-content: flex-end;
    margin-block: 0 !important;
    position: relative;
    width: 100%;
    z-index: 2;
}
.site-description {
    font-size: clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem);
    line-height: 1.5em;
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.page--loaded .site-description {
    opacity: 1;
    transform: translateX(0);
}
.site-description span {
    display: block;
}
.site-description span.separator {
    display: none;
}
.site-title--container,
.site-title--sub-container {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(1.25rem, 0.8929rem + 1.7857vw, 2.5rem);
}
.site-title--sub-container p {
    line-height: 1.375em;
    margin-block: 0 !important;
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.page--loaded .site-title--sub-container p {
    opacity: 1;
    transform: translateX(0);
}
@media ( min-width: 48em ) {
    .site-description span,
    .site-description span.separator {
        display: inline;
    }
    .site-description {
        padding-inline-start: clamp(1.6875rem, 1.4196rem + 1.3393vw, 2.625rem);
    }
    .site-title--container {
        flex-direction: row;
        align-items: flex-start;
    }
    .site-title--sub-container {
        gap: 1.25em;
        max-width: 18.75rem;
    }
    .site-logo {
        flex-grow: 1;
    }
}

/* --------------------------------------------------------------
= 8. Blocks
-------------------------------------------------------------- */

:where(.wp-block-group.has-background) {
    padding: calc(var(--wp--style--block-gap) * 2) !important;
}
.alignfull {
    margin-inline: calc(var(--wp--style--block-gap) * -1);
    max-width: calc(100% + var(--wp--style--block-gap) * 2);
}

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

.wp-block-image.slide {
    overflow: hidden;
    transition: width 800ms ease;
}
.wp-block-image.slide img {
    height: 100%;
    object-fit: cover;
    object-position: left center;
    width: 100%;
}
.wp-block-image.slide img {
    max-width: 0;
    transition: max-width 1000ms ease-in-out 500ms;
}
.wp-block-image.slide.in img {
    max-width: 100%;
}
.wp-block-image.ratio-1-1 {
    aspect-ratio: 1 / 1;
}
.wp-block-image.ratio-3-2 {
    aspect-ratio: 3 / 2;
}
.wp-block-image.ratio-2-3 {
    aspect-ratio: 2 / 3; 
}
.wp-block-image.slide-in-img img {
    height: 100%;
    object-fit: cover;
    object-position: left center;
}
/* Block: Button --------------------------------------------- */

.wp-block-button {
    margin-bottom: var(--jk--block--gap);
}

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

.entry-content > .wp-block-columns {
    padding-right: 0;
    padding-left: 0;
}
.entry-content > .wp-block-columns > .wp-block-column {
    margin-bottom: var(--jk--block--gap);
    padding: 0 var(--jk--margin);
}
@media ( min-width: 48em ) {
    .entry-content > .wp-block-columns {
        margin-bottom: var(--jk--block--gap);
    }
    .entry-content > .wp-block-columns > .wp-block-column {
        margin-bottom: 0;
    }
}

/* Block: Embed ---------------------------------------------- */

.wp-block-embed,
.wp-block-video {
    margin-bottom: var(--jk--block--gap) !important;
}
.wp-block-video audio,
.wp-block-video video,
.wp-block-embed iframe {
	width: 100%;
}
.wp-block-embed .wp-block-embed__wrapper {
	height: 0;
	padding-bottom: 56.25%;
	position: relative;
}
.wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper {
	padding-bottom: 75%; /* 4:3 */
}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	padding-bottom: 56.25%; /* 16:9 */
}
.wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper {
	padding-bottom:  41.5625%; /* 21:9 */
}
.wp-block-embed .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media ( min-width: 48em ) {
	.wp-block-embed,
	.wp-block-video {
		width: 75%;
	}
}
@media ( min-width: 64em ) {
	.wp-block-embed,
	.wp-block-video {
		width: 50%;
	}
}

/* --------------------------------------------------------------
= 9. Site Footer
-------------------------------------------------------------- */

#site-footer {
    height: 23rem;
    padding: var(--wp--style--block-gap);
    position: relative;
    z-index: 10;
}
#site-footer .inner {
    align-items: flex-start;
    color: var(--wp--preset--color--background);
    display: flex;
    flex-direction: column;
    gap: var(--wp--style--block-gap);
    height: 100%;
    justify-content: flex-end;
    max-width: var(--wp--style--global--wide-size);
    padding-inline: var(--wp--style--block-gap);
}
.site-colophon,
.site-contact--container {
    align-items: flex-start;
    display: flex;
    gap: 1.25rem;
}
.site-colophon {
    flex-direction: column;
}
.site-contact--container {
    flex-direction: row;
}
.site-copyright {
    line-height: 0.875em;
    text-transform: uppercase;
    white-space: nowrap;
}
#site-footer a.email {
    line-height: 0.875em;
    position: relative;
}
#site-footer a.icon-link {
    height: 1.25rem;;
}
#site-footer a.email:after {
    background: var(--wp--preset--color--background);
    bottom: -5px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transition: width 200ms ease-in-out;
    width: 0;
}
#site-footer a.email:hover:after {
    width: 100%;
}
@media ( min-width: 48em ) {
    #site-footer .inner {
        align-items: flex-end;
        flex-direction: row;
        justify-content: flex-start;
    }
    .site-colophon,
    .site-contact--container {
        align-items: flex-end;
        flex-direction: row;
    }
    .site-contact {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .site-colophon,
    .site-contact {
        flex-basis: 0;
        flex-grow: 1;
    }
}

/* --------------------------------------------------------------
= 10. Transitions
-------------------------------------------------------------- */

/* Headroom -------------------------------------------------- */

.headroom {
    will-change: transform;
    transition: transform 200ms linear;
}
.headroom--pinned {
    transform: translateY(0%);
}
.headroom--unpinned {
    transform: translateY(-100%);
}
.has-modal-open .headroom {
    height: 100vh;
}

/* Global Delays --------------------------------------------- */

.delay-200 { transition-delay: 200ms !important }
.delay-200 { transition-delay: 400ms !important }
.delay-200 { transition-delay: 600ms !important }
.delay-800 { transition-delay: 800ms !important }
.delay-1000 { transition-delay: 1000ms !important }
.delay-1200 { transition-delay: 1200ms !important }

/* --------------------------------------------------------------
= 11. Accessibility
-------------------------------------------------------------- */

.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 !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
#primary[tabindex="-1"]:focus {
	outline: 0;
}