@import "theme_colors_and_fonts.css";
:root {
  --bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --bounceAmount: -1em;
  --logo-fill: var(--blue);
  /* default */
}
/* * * * * * * * * * 
/* SCSS VARIABLES  */
/* ~~~~~~~~~~~~~~~~*/
/* Fonts */
/* Colors*/
/* Other variables */
/* Mixins */
/* for labels that should be accessible to screen readers but not visible */
/* ~~~~~~~~~~~~~~~~*/
/* END VARIABLES   *
 * * * * * * * * * */
/* * * * * * * * * * 
 * HACK TOGETHER FIXED LAYOUT      */
/* ~~~~~~~~~~~~~~~~*/
/*header {
	position: fixed;
	top: 0;
	width: 100%;
	min-height: 15vh;
	background: var(--background-color);
	z-index: 10;
}

#colophon {
	position: fixed;
	bottom: 0;
	width: 100%;
	min-height: 15vh;
	background: var(--background-color);
	z-index: 10;
}

main {
	position: fixed;
	top: 15vh;
	bottom: 15vh;
	width: 100%;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
}

.is-style-slide {
	min-height: 55vh;
	overflow-y: auto;
	box-sizing: border-box;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: $padding;
	flex-direction: column;
	height: 100%;
	scroll-behavior: smooth;
	-ms-overflow-style: none;  
		scrollbar-width: none;  

	&::-webkit-scrollbar {
		display: none;
	  }
}*/
html, body {
  overflow: hidden;
  max-height: 100vh;
  height: 100%;
  width: 100%;
  max-width: 100vw;
  scroll-behavior: smooth;
  margin: 0 !important;
}
#page, #home {
  height: 100%;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr auto;
  justify-content: start;
  max-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0;
}
header {
  position: relative !important;
  width: 100%;
  max-height: unset !important;
  background: var(--background-color);
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .home #home {
    overflow: hidden;
  }
  .post-navigation {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    transform: none !important;
    width: 100% !important;
    padding: var(--wp--preset--spacing--narrow) 0 0 !important;
  }
  #logo:not(.single-project #logo), #homelogo {
    overflow: visible;
  }
  #logo:not(.single-project #logo) g, #homelogo g {
    clip-path: none !important;
  }
  #logo:not(.single-project #logo) g > path, #homelogo g > path {
    animation: bounce 0.6s var(--bounce) 1 forwards;
  }
  #logo:not(.single-project #logo) g > path:nth-child(1), #homelogo g > path:nth-child(1) {
    animation-delay: 0.1s;
  }
  #logo:not(.single-project #logo) g > path:nth-child(2), #homelogo g > path:nth-child(2) {
    animation-delay: 0.2s;
  }
  #logo:not(.single-project #logo) g > path:nth-child(3), #homelogo g > path:nth-child(3) {
    animation-delay: 0.3s;
  }
  #logo:not(.single-project #logo) g > path:nth-child(4), #homelogo g > path:nth-child(4) {
    animation: none;
  }
}
#colophon {
  position: relative !important;
  bottom: 0;
  width: 100%;
  max-height: unset !important;
  background: var(--background-color);
  z-index: 10;
  justify-self: end;
}
main {
  width: 100%;
  overflow-y: auto;
  position: relative !important;
  top: 0 !important;
  bottom: unset !important;
  max-height: unset !important;
}
.is-style-slide {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--wp--preset--spacing--narrow);
  flex-direction: column;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.is-style-slide::-webkit-scrollbar {
  display: none;
}
.fade, .work-grid > *, .is-style-slide > *:not(.wp-block-cover__inner-container), .is-style-slide > .wp-block-cover__inner-container > *, .department-grid > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade.active, .work-grid > .active, .is-style-slide > .active, .is-style-slide > .wp-block-cover__inner-container > *.active, .department-grid > .active {
  opacity: 1;
  transform: translateY(0);
}
/*

@media screen and (min-width: 800px) {
	main {
		position: fixed;
		top: 15vh;
		bottom: 15vh;
		scroll-snap-type: y mandatory;
	}

	.is-style-slide {
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}

@media screen and (max-width: 799px) {
	main {
		position: relative;
	}
}
*/
/* * * * * * * * * * 
 * END HACKING TOGETHER FIXED LAYOUT      */
/* ~~~~~~~~~~~~~~~~*/
/* * * * * * * * * * 
 * GLOBAL          */
/* ~~~~~~~~~~~~~~~~*/
@view-transition {
  navigation: auto;
}
.entry-content > :not(.alignwide):not(.alignfull) {
  max-width: 90rem;
  margin: 0 auto;
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  color: transparent;
}
#primary {
  view-transition-name: primary;
}
#post-14 > .entry-content > .wp-block-cover {
  view-transition-name: contact-cover;
}
#post-14 > .entry-content #gform_1 {
  scroll-padding-top: 2rem;
  padding-top: 3rem;
}
#homelogo {
  opacity: 0;
  animation: fadeIn 0.3s ease 1 forwards;
  animation-delay: 0.3s;
}
#homelogo.transitioned {
  opacity: 0 !important;
}
/* Contrast */
body:is(.jsa_contrast__light) {
  background-color: #fff !important;
  --background-color: #fff !important;
  color: #000 !important;
  --logo-fill: #000 !important;
}
body:is(.jsa_contrast__light) header, body:is(.jsa_contrast__light) footer, body:is(.jsa_contrast__light) a, body:is(.jsa_contrast__light) span, body:is(.jsa_contrast__light) fieldset, body:is(.jsa_contrast__light) input, body:is(.jsa_contrast__light) #contrastPanel {
  background-color: #fff !important;
  color: #000 !important;
}
body:is(.jsa_contrast__light) h1, body:is(.jsa_contrast__light) h2, body:is(.jsa_contrast__light) h3, body:is(.jsa_contrast__light) h4, body:is(.jsa_contrast__light) h5, body:is(.jsa_contrast__light) h6, body:is(.jsa_contrast__light) p, body:is(.jsa_contrast__light) span, body:is(.jsa_contrast__light) a, body:is(.jsa_contrast__light) li, body:is(.jsa_contrast__light) mark, body:is(.jsa_contrast__light) div, body:is(.jsa_contrast__light) label {
  color: #000 !important;
}
body:is(.jsa_contrast__light) nav a, body:is(.jsa_contrast__light) button, body:is(.jsa_contrast__light) .wp-block-button__link {
  border-color: #000 !important;
}
body:is(.jsa_contrast__light) #homelogo, body:is(.jsa_contrast__light) #homelogo path {
  fill: #000 !important;
}
body:is(.jsa_contrast__light) #home-down, body:is(.jsa_contrast__light) #close_project svg {
  stroke: #000 !important;
}
body:is(.jsa_contrast__dark) {
  background-color: #000 !important;
  --background-color: #000 !important;
  color: #fff !important;
  --logo-fill: #fff !important;
}
body:is(.jsa_contrast__dark) header, body:is(.jsa_contrast__dark) footer, body:is(.jsa_contrast__dark) a, body:is(.jsa_contrast__dark) span, body:is(.jsa_contrast__dark) fieldset, body:is(.jsa_contrast__dark) input, body:is(.jsa_contrast__dark) #contrastPanel {
  background-color: #000 !important;
  color: #fff !important;
}
body:is(.jsa_contrast__dark) h1, body:is(.jsa_contrast__dark) h2, body:is(.jsa_contrast__dark) h3, body:is(.jsa_contrast__dark) h4, body:is(.jsa_contrast__dark) h5, body:is(.jsa_contrast__dark) h6, body:is(.jsa_contrast__dark) p, body:is(.jsa_contrast__dark) span, body:is(.jsa_contrast__dark) a, body:is(.jsa_contrast__dark) li, body:is(.jsa_contrast__dark) mark, body:is(.jsa_contrast__dark) div, body:is(.jsa_contrast__dark) label, body:is(.jsa_contrast__dark) legend {
  color: #fff !important;
}
body:is(.jsa_contrast__dark) nav a, body:is(.jsa_contrast__dark) button, body:is(.jsa_contrast__dark) .wp-block-button__link {
  border-color: #fff !important;
}
body:is(.jsa_contrast__dark) #homelogo, body:is(.jsa_contrast__dark) #homelogo path {
  fill: #fff !important;
}
body:is(.jsa_contrast__dark) #home-down, body:is(.jsa_contrast__dark) #close_project svg {
  stroke: #fff !important;
}
.people_info .name > br:nth-of-type(n + 2) {
  display: none;
}
#contrastBtn {
  position: relative !important;
  display: inline-block !important;
  top: unset !important;
  right: unset !important;
  margin-right: 0 !important;
  margin-left: 1rem !important;
  padding-left: 1rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  view-transition-name: contrastBtn;
}
#contrastBtn svg {
  transform: rotate(0deg);
  transition: transform 0.5s ease-out;
}
#contrastBtn:hover svg, #contrastBtn:focus-visible svg {
  transform: rotate(360deg);
}
section#contrastPanel {
  position: absolute;
  top: 6rem;
  right: 0;
  padding: 0.75rem 0.5rem !important;
  background: var(--background-color);
  color: var(--logo-fill);
  z-index: 2222222;
  animation: flipdown 0.5s var(--bounce) 1 forwards;
  border: 3px solid var(--logo-fill);
  border-radius: 0 !important;
  border-right: none !important;
  display: block;
}
section#contrastPanel button {
  background: var(--logo-fill);
  color: var(--background-color);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.8em;
  letter-spacing: 0.01em;
  text-align: center;
  display: block;
  max-width: fit-content;
  margin: 0.5rem auto 0;
  font-family: "Montserrat", "Gotham", "Gill Sans", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid var(--logo-fill);
}
section#contrastPanel button:hover {
  background: var(--background-color);
  color: var(--logo-fill);
  border-color: var(--logo-fill);
}
section#contrastPanel:is(.visible) {
  display: block !important;
}
@keyframes flipdown {
  0% {
    transform-origin: right;
    transform: rotateY(90deg);
  }
  100% {
    transform-origin: right;
    transform: rotateY(0deg);
  }
}
#contrastOptions {
  font-family: "Montserrat", "Gotham", "Gill Sans", sans-serif;
  border: none;
  display: block;
  padding: 0.25rem;
}
#contrastOptions legend {
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.015em;
  font-size: 0.8em;
  color: var(--logo-fill);
  border: none;
  display: block;
}
#contrastOptions label {
  font-weight: 600;
  font-size: 0.8em;
  color: var(--logo-fill);
}
input[type="radio"] {
  accent-color: var(--logo-fill);
  border-width: 2px;
}
/* Homepage */
.home .wp-block-cover {
  --s1: 0%;
  --s2: 70%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99;
  transition: all 0.3s ease;
  transform-origin: center center;
  background-color: #000;
}
.home .wp-block-cover video {
  opacity: 0;
}
.home .wp-block-cover video.loaded {
  animation: fadeIn 0.5s ease 1 forwards;
}
.home .wp-block-cover.transitioned {
  transform: scale(0.5);
  z-index: 1;
}
#logo, #homelogo {
  view-transition-name: logo;
}
.home .home-content {
  margin-top: 15vh !important;
  height: 70vh;
  z-index: 2;
}
.home-content * {
  text-shadow: 0px 0px 2em rgba(80, 23, 41, 0.5), 0px 0px 2px rgba(0, 0, 0, 0.5);
}
.logo {
  transition: all 0.3s ease;
}
.logo.transitioned {
  opacity: 0;
  pointer-events: none;
}
#homelogo {
  width: 200px;
  height: auto;
}
#homelogo, #home-down {
  display: block;
  margin: 0 auto;
  cursor: pointer;
  filter: drop-shadow(0px 0px 2.5em rgba(80, 23, 41, 0.4)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.3));
  margin-top: 30px;
}
#home-down {
  --bounceAmount: 0.75rem;
  width: 50px;
  height: auto;
  stroke-linecap: square;
  transform: translateY(0);
  animation: bounce 1s var(--bounce) infinite;
  opacity: 1;
  transition: opacity 0.3s ease;
}
#home-down.transitioned {
  opacity: 0;
  animation: none;
}
#homelogo path {
  fill: #fff;
  transform: translateY(0);
  --bounceAmount: -1em;
}
#logo:hover, #homelogo:hover {
  overflow: visible;
}
#logo:hover g, #homelogo:hover g {
  clip-path: none !important;
}
#logo:hover g > path, #homelogo:hover g > path {
  animation: bounce 0.6s var(--bounce) 1 forwards;
}
#logo:hover g > path:nth-child(1), #homelogo:hover g > path:nth-child(1) {
  animation-delay: 0.1s;
}
#logo:hover g > path:nth-child(2), #homelogo:hover g > path:nth-child(2) {
  animation-delay: 0.2s;
}
#logo:hover g > path:nth-child(3), #homelogo:hover g > path:nth-child(3) {
  animation-delay: 0.3s;
}
#logo:hover g > path:nth-child(4), #homelogo:hover g > path:nth-child(4) {
  animation: none;
}
.home h1 {
  font-size: clamp(2rem, 3vw, 3vw);
  max-width: 12em;
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(var(--bounceAmount));
  }
  100% {
    transform: translateY(0);
  }
}
/* Work page */
.work-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2rem;
  width: 100%;
}
.work-grid > article {
  min-width: 250px;
  max-width: calc((100% - (2rem * 3)) / 4);
}
.work-grid > article .project_image img {
  aspect-ratio: 1.7715736041;
  object-fit: cover;
  width: 100%;
  display: block;
}
.work-grid > article .project_image {
  position: relative;
  overflow: hidden;
  display: block;
}
.work-grid > article .project_image .project_title {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--logo-fill);
  /* fallback */
  background-color: color-mix(in srgb, var(--logo-fill) 90%, transparent 10%);
  color: #fff;
  font-family: "Montserrat", "Gotham", "Gill Sans", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--bounce), opacity 0.25s ease;
  z-index: 99;
  top: 0;
  left: 0;
  opacity: 0;
  transform-origin: center center;
  transform: rotateY(90deg);
  text-align: center;
}
.work-grid > article .project_image .project_title .project_client {
  font-size: 0.8em;
  font-weight: 400;
}
.work-grid > article .project_image:hover .project_title {
  opacity: 1;
  transform: rotateY(0);
}
.single-project .project_client {
  font-family: "Montserrat", "Gotham", "Gill Sans", sans-serif;
  font-weight: 900;
  font-size: 0.9em;
  text-transform: uppercase;
}
.single-project .project_link {
  display: inline-block;
  font-family: "Montserrat", "Gotham", "Gill Sans", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0 1rem;
  padding-bottom: 0;
  line-height: 1;
  color: var(--logo-fill);
  text-decoration: transparent wavy underline;
  transition: text-decoration 0.3s ease;
}
.single-project .project_link:hover, .single-project .project_link:focus-visible {
  text-decoration-color: var(--logo-fill);
}
.single-project .project_link svg {
  display: inline-block;
  margin-left: 0.5rem;
  width: 1em;
  height: 1em;
  stroke-width: 3px;
  transform: scale(1);
  transition: transform 0.3s var(--bounce);
}
.single-project .project_link:hover svg, .single-project .project_link:focus-visible svg {
  transform: scale(1.3);
}
.single-project main {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-behavior: smooth;
}
.single-project main:has(iframe) {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 100%;
  align-items: center;
  height: 100%;
}
.single-project main:has(iframe) iframe {
  max-width: 100%;
  position: relative !important;
  max-height: 100%;
}
.single-project main article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.single-project main article:not(:has(iframe)) {
  align-items: center;
  justify-content: center;
}
.single-project main .project_image {
  text-align: center;
  max-height: 100%;
  position: relative;
  display: block;
}
.single-project main img {
  aspect-ratio: 1.7777777778;
  max-height: 100%;
  width: auto;
  object-fit: cover;
  padding: 0 !important;
}
.single-project main div:has(iframe) {
  height: 100%;
  width: auto;
  padding: 0 !important;
}
.single-project main #close_project {
  background: transparent;
  border: none;
  padding: 0;
  position: absolute;
  top: 0.2rem;
  right: 2rem;
  left: auto;
  display: block;
  cursor: pointer;
  width: fit-content;
  z-index: 99;
  user-select: none;
}
.single-project main #close_project::after {
  display: none !important;
}
.single-project main #close_project svg {
  width: 2rem;
  height: 2rem;
  transform: scale(1);
  transition: transform 0.3s var(--bounce);
  clip-path: none !important;
  overflow: visible;
  transform-origin: center center;
}
.single-project main #close_project svg g {
  clip-path: none !important;
}
.single-project main #close_project svg:hover {
  transform: scale(1.3);
}
.post-navigation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4rem);
}
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.post-navigation .nav-links > div {
  display: flex;
  align-items: center;
}
.post-navigation .nav-links > div.nav-next {
  justify-content: end;
}
.post-navigation .nav-links:has(.nav-next):not(:has(.nav-previous)) {
  justify-content: end;
}
.post-navigation .nav-links span {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  color: transparent;
}
.post-navigation .nav-links a {
  color: var(--logo-fill) !important;
  line-height: 1;
  user-select: none;
}
.post-navigation .nav-links a::after {
  display: none !important;
}
.post-navigation .nav-links a svg {
  width: 2rem;
  height: 2rem;
  transform: scale(1);
  transition: transform 0.3s var(--bounce);
  clip-path: none !important;
  overflow: visible;
  transform-origin: center center;
}
.post-navigation .nav-links a svg g {
  clip-path: none !important;
}
.post-navigation .nav-links a svg:hover {
  transform: scale(1.3);
}
#colophon .wp-block-column:first-child {
  view-transition-name: footer-quote;
}
#colophon .wp-block-column:last-child {
  view-transition-name: footer-address;
}
/* Header */
#masthead {
  view-transition-name: masthead;
}
#masthead .is-style-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#masthead .site-branding {
  margin-right: 2rem;
}
#masthead .site-branding svg {
  width: clamp(3rem, 25vw, 9rem);
}
#masthead .main-navigation ul {
  list-style-type: none;
  display: flex;
  justify-content: end;
  gap: 1rem;
}
#masthead .main-navigation ul li.current-menu-item a {
  background-color: var(--text-color);
  color: var(--background-color);
}
#masthead .main-navigation ul li a {
  color: var(--text-color);
  border: 3px solid var(--text-color);
  display: block;
  font-weight: 900;
  font-family: "Montserrat", "Gotham", "Gill Sans", sans-serif;
  padding: 0.3rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
}
#masthead .main-navigation ul li a:hover {
  background-color: var(--text-color);
  color: var(--background-color);
}
#masthead .main-navigation ul li.menu-item-has-children {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-auto-rows: max-content;
  position: relative;
  justify-content: flex-start;
  align-items: center;
}
#masthead .main-navigation ul li.menu-item-has-children > a {
  grid-column: 1/2;
  grid-row: 1/2;
}
#masthead .main-navigation ul li.menu-item-has-children > .subMenuToggleBtn {
  grid-column: 2/3;
  grid-row: 1/2;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("assets/images/chevron-down.svg");
  background-color: transparent;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  cursor: pointer;
}
#masthead .main-navigation ul li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}
#masthead .main-navigation ul li.menu-item-has-children.open > .sub-menu, #masthead .main-navigation ul li.menu-item-has-children:hover > .sub-menu {
  display: block;
}
#masthead .main-navigation ul li.menu-item-has-children.open > .subMenuToggleBtn, #masthead .main-navigation ul li.menu-item-has-children:hover > .subMenuToggleBtn {
  transform: rotate(180deg);
}
#masthead .main-navigation ul li.menu-item-has-children:not(.open):not(:hover) > .sub-menu {
  display: none;
}
/* ~~~~~~~~~~~~~~~~*/
/* END GLOBAL      *
 * * * * * * * * * */
/* * * * * * * * * * *
 * BLOCK STYLES      */
/* ~~~~~~~~~~~~~~~~~~*/
/* Buttons */
.is-style-fill .wp-block-button__link {
  border-radius: 0;
  padding: 1rem 2rem;
  text-transform: uppercase;
}
/* Columns */
.is-style-container {
  max-width: 90rem;
  margin: 0 auto;
  padding: var(--wp--preset--spacing--narrow);
}
.is-style-no-gap {
  gap: 0;
}
.wp-block-columns {
  margin-bottom: 0;
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END BLOCK STYLES  *
 * * * * * * * * * * */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* * * * * * * * * * *
 * MEDIA QUERIES     */
/* ~~~~~~~~~~~~~~~~~~*/
@media screen and (max-width: 50rem) {
  #masthead .is-style-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #masthead #contrastBtn {
    position: relative !important;
  }
  #masthead .main-navigation #primary-menu {
    position: fixed;
    width: 100vw;
    height: 100vh;
    transform: rotateY(90deg);
    transform-origin: right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s var(--bounce);
    left: 0;
    right: 0;
    margin-top: var(--wp--preset--spacing--narrow);
    flex-direction: column;
    justify-content: start;
    padding: var(--wp--preset--spacing--narrow);
    background: var(--background-color);
    box-shadow: none;
    text-align: center;
  }
  #masthead .main-navigation #primary-menu li a {
    padding: var(--wp--preset--spacing--narrow);
  }
  #masthead .main-navigation #primary-menu li.menu-item-has-children > .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    grid-column: 1/4;
    grid-row: 2/3;
  }
  #masthead .main-navigation.toggled #primary-menu {
    transform: rotateY(0deg);
    opacity: 1;
    pointer-events: all;
  }
  #masthead .menu-toggle {
    border-radius: 0;
    padding: 1rem 2rem;
    text-transform: uppercase;
    display: block;
    margin-right: 0;
    margin-left: auto;
    transition: mask 0.3s ease, -webkit-mask 0.3s ease !important;
    font-size: 1em;
    font-weight: 500;
    padding: 0.4em var(--wp--preset--spacing--narrow);
    text-transform: uppercase;
    transition: all 0.3s ease-out;
    background-position: right center;
    margin-right: 0;
    margin-left: auto;
    color: transparent;
    font-size: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    overflow: hidden;
    background-color: var(--background-color);
    border: none;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }
  #masthead .menu-toggle[aria-expanded="false"] {
    background-color: var(--text-color);
    mask: url(assets/images/menu_menu.svg) no-repeat center;
    mask-size: contain;
    -webkit-mask: url(assets/images/menu_menu.svg) no-repeat center;
    -webkit-mask-size: contain;
  }
  #masthead .menu-toggle[aria-expanded="true"] {
    background-color: var(--text-color);
    mask: url(assets/images/menu_close.svg) no-repeat center;
    mask-size: contain;
    -webkit-mask: url(assets/images/menu_close.svg) no-repeat center;
    -webkit-mask-size: contain;
  }
  #contrastBtn {
    padding: 2rem !important;
    margin: 1rem auto !important;
  }
  #colophon .wp-block-columns {
    gap: 1rem !important;
    margin-top: 1rem !important;
  }
  #close_project {
    position: relative !important;
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 1rem;
    right: 0 !important;
  }
  .post-type-archive-people .department-grid {
    row-gap: var(--wp--preset--spacing--wide) !important;
  }
  .single-project main {
    padding: var(--wp--preset--spacing--narrow) !important;
    padding-top: var(--wp--preset--spacing--wide) !important;
    display: block !important;
  }
  .single-project main article {
    height: auto !important;
    max-height: calc(100% - 2rem) !important;
  }
  .single-project main article:has(iframe) {
    aspect-ratio: 1.7777777778 !important;
    max-width: 100% !important;
  }
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END MEDIA QUERIES *
 * * * * * * * * * * */
