/* GENERAL FOR BOTH MOBILE AND DESKTOP */
:root{
	--spacing: 1rem;
}*{
	box-sizing: border-box;
}body{
	margin: 0px;
}header, main{
	margin: calc(var(--spacing) * 2);
}ul{
	padding: 0;
	margin: 0;
	list-style: none;
}main{
	margin-top: calc(var(--spacing) * 2);
}.internal{
	padding-bottom: 6rem;
}

html {
  scroll-behavior: smooth;
}

/*--------CUSTOM CURSOR--------*/
html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none !important;
}.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 999999;
  transform: translate(0, 0);
  color: var(--cursor-default-color);
  opacity: 0;
  transition: color 0.2s ease;
}.custom-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
}.custom-cursor.active {
  color: var(--cursor-active-color);
}.custom-cursor {
  opacity: 0;
}.custom-cursor.ready {
  opacity: 1;
}/*--the default states--*/
html:not(.has-custom-cursor) .lightbox {
  cursor: zoom-out;
}html:not(.has-custom-cursor) .lightbox-image {
  cursor: default;
}html:not(.has-custom-cursor) .lightbox button {
  cursor: pointer;
}html:not(.has-custom-cursor) .lightbox-trigger {
  cursor: zoom-in;
}html:not(.has-custom-cursor) .lightbox-close {
  cursor: zoom-out;
}html:not(.has-custom-cursor) .nav-category-toggle {
  cursor: pointer;
}

/*--------------------------------*/
/*           TYPOGRAPHY           */
/*--------------------------------*/
p{
	margin:0; /*removes paragraph stylingg*/
}p:empty{
	height: var(--spacing); /*additional space when client inputs "enter" in writer field - creates a new empty paragraph with a height*/
}

html{
	font-size: 14px;
	font-family: var(--site-font, sans-serif);
	color: var(--text-color) !important;
}a{
	text-decoration: none;
	font-weight: normal;
	color: var(--text-color) !important;
}a:hover, button:hover{
	color: var(--accent-color) !important;
}h1, h2, h3{
	font-size: 1rem;
	padding: 0;
	margin: 0;
	font-weight: 400;
}.site-navigation > ul > li {
  /* main categories */
  font-weight: normal;
}/*SITE NAV SPACING*/
.site-navigation > ul > li{
	padding-bottom: 0.2rem;
}.nav-category-list > li{
	padding-top: 0.2rem;
}

.content a{
	text-decoration: underline;
}

/*---------HEADER--------*/

header{
	display: flex;
	flex-direction: row;
}.h-wrapper1 {
  flex: 1;
  min-width: 0;
}.h-wrapper2 {
  flex: 0 0 auto;
  text-align: right;
}.bio{
	padding-left: calc(var(--spacing) * 2);
}

/*--------FOOTER---------*/
/*making sure the footer is stuck to the bottom of the page not below content*/
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}@supports (min-height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

footer {
  text-align: right;
  padding: 1rem calc(var(--spacing) * 2);
  width: 100%;
  margin-top: auto;

}

.backtotop a {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.dot {
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-0.08em);
}

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

li.nav-category >
  button.nav-category-toggle
  ul.nav-category-list > li

--------------------------*/
.nav-category-toggle {
  line-height: 2;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  -webkit-tap-highlight-color: transparent;
  /*cursor: pointer;*/
}.nav-category-toggle:visited,
.nav-category-toggle:hover,
.nav-category-toggle:active,
.nav-category-toggle:focus {
  color: inherit;
}

/* Hide project lists initially */
.nav-category-list {
  display: none;
}/* Show project list when category is active */
.nav-category.open .nav-category-list {
  display: block;
}.site-navigation ul ul {
  margin-left: 1rem;
  /* child projects */
}.forthcoming{
	padding-top: calc(var(--spacing) * 2);
}
/*-------------------------
      CROPPING IMAGES
--------------------------*/
.gallery-image.landscape {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-image.portrait {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/*-------------------------
       TITLE OVERLAY
--------------------------*/
.title-overlay {
	background-color: white;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.3rem;
	z-index: 9999;
}.typewriter {
	white-space: nowrap;
	padding-bottom: 4rem;
}.typewriter span {
	display: inline-block;
}@keyframes reveal {
  to {
    opacity: 1;
  }
}body.no-scroll {
  overflow: hidden;
}
/*-------------------------
   HOMEPAGE THUMBNAILS
--------------------------*/
.content.thumbnails {
	position: relative;
	height:100vh;
	min-width: 0;
}.home-thumbnail-link {
	position: absolute;
	display: block;
	width: fit-content;
}.home-thumbnail {
	display: block;
	height: auto;
}.home-thumbnail.landscape {
	width: 125px;
}.home-thumbnail.portrait {
	width: 100px;
}.home-thumbnail.square {
	width: 105px;
}

/*-------------------------
        PROJECT PAGES
--------------------------*/
.project-heading{
	display: none;
}.pagetitle{
	padding-bottom: 0.4rem;
}.gallery{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:calc(var(--spacing) / 2);
}.gallery-image-wrapper{
	width: 100%;
	padding-bottom: calc(var(--spacing) * 2);
}.gallery img{
	width: 100%;
}.project-text{
	padding-top: calc(var(--spacing) * 2);
}.description{
	padding-bottom: calc(var(--spacing) * 2);
}.gallery-image-wrapper{
	padding: 0;
}.image-caption{
	display: none;
}/*--LIGHTBOX--*/
.lightbox.active{
	display: flex;
}

/*---------Arrows----------*/
.arrows{
	padding-top: calc(var(--spacing) * 4);
	padding-bottom: calc(var(--spacing) * 4);
	display: flex;
	flex-direction: row;
}
.back{
	width: 50%;
}.next{
	width: 50%;
	text-align: right;
}.arrows a{
	width: fit-content;
	text-decoration: none !important;
}

/*-------text page--------*/
.textpage.content{
	max-width: 700px;
}

/*-------------------------
           ABOUT 
--------------------------*/
.about{
	max-width: 700px;
}.profile-photo{
	max-width: 200px;
}.profile-photo>img{
	width: 100%;
}.about h2{
	padding-top: var(--spacing);
	padding-bottom: calc(var(--spacing)*2);
}.about .bodytext{
	
}

/*-------------------------
           ARCHIVE 
--------------------------*/
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem;
  align-items: start;
}.archive-column {
  min-width: 0;
}.archive-card {
  display: block;
  margin-left: auto;
  margin-right: auto;
  break-inside: avoid;
}.archive-card img {
  display: block;
  width: 100%;
  height: auto;
}.archive-card>.image-caption{
  display: none;
}


.archive-card:has(.archive-image.landscape) {
  width: 100%;
}.archive-card:has(.archive-image.portrait) {
  width: 80%;
}.archive-card:has(.archive-image.square) {
  width: 80%;
}


/*-------------------------
      MOBILE / DESKTOP 
--------------------------*/
@media (hover: none) and (pointer: coarse) {
	/*--Hides custom cursor for touch-based devices--*/
	.custom-cursor {
		display: none;
	}/*--Moving the footer out the Safari bottom toolbar trigger zone--*/
	body {
    	min-height: 0;
  	}
	html {
		scroll-behavior: auto;
	}footer {
		text-align: right;
		padding: 1rem calc(var(--spacing) * 2);
		padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
		width: 100%;
		margin-top: auto;
	}.lightbox-caption{
		padding-bottom: 1.5rem !important;
	}
}
/*JUST FOR SMALLER SCREENS*/
@media only screen and (max-width: 800px) {
	:root{
	--spacing: 0.5rem;
	}.content{
		padding-top: calc(var(--spacing) * 6);
	}/*--hide forthcoming--*/
	.content-main.internal .forthcoming {
    	display: none;
  	}/*-- Gallery Gap*/
	.gallery{
		gap:var(--spacing);
	}	
	/*--homepage thumbnails--*/
	.content.thumbnails {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 3rem;
		padding: 2rem;
		height: auto;
		min-height: 0;
	}.home-thumbnail-column {
		min-width: 0;
	}.home-thumbnail-link {
		position: static;
		display: block;
		width: 100%;
	}.home-thumbnail {
		display: block;
		width: 100%;
		height: auto;
	}.home-thumbnail.landscape {
 		width: 100%;
	}.home-thumbnail.portrait {
		width: 70%;
	}.home-thumbnail.square {
		width: 75%;
	}
}/*JUST FOR DESKTOP*/
@media only screen and (min-width: 800px) {
	.backtotop>a{
		display: none;
	}.content-main, .project-heading{
		display: grid;
		grid-template-columns: 300px minmax(80px, 900px);
		gap:calc(var(--spacing) * 2);
		justify-content:space-between;
	}main.content-main:not(.internal) .projects-list {
  		padding-top: calc(1lh + 0.4rem);
	}.pagetitle.mobile{
		display: none;
	}/*project page*/
	.project-text{
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap:calc(var(--spacing) / 2);
	}.description{
		padding-right: calc(var(--spacing) * 2);
	}/*----ARCHIVE----*/
	.archive-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 4rem;
        margin: 6rem;
	}.archive-card img {
  		transition: transform 0.3s ease;
	}.archive-card:hover img {
  		transform: scale(1.05);
	}/*---homepage thumbnails---*/
	.content.thumbnails {
		height: calc(100vh - 14rem);
		max-height: calc(100vh - 14rem);
	}.home-thumbnail.landscape {
		width: 170px;
	}.home-thumbnail.portrait {
		width: 140px;
	}.home-thumbnail.square {
		width: 145px;
	}/*--------filter--------*/
	.home-thumbnail {
		filter: grayscale(100%);
		transition: filter 0.3s ease, transform 0.3s ease;
	}.home-thumbnail-link:hover .home-thumbnail {
		filter: grayscale(0%);
		transform: scale(1.08);
	}
}@media only screen and (min-width: 1200px) {
	/*----ARCHIVE----*/
	.archive-grid {
		gap: 6rem;
		grid-template-columns: repeat(4, 1fr);
	}
}

/*------------------------------
           LIGHTBOX

- with overall padding of 2rem
------------------------------*/
.lightbox{
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	align-items: center;
	justify-content: center;
	background-color: white;
	/*cursor: zoom-out;*/
}.lightbox.active{
	display: flex;
}.lightbox-image{
	display: block;
	width: auto;
	height: auto;
	max-width: calc(100vw - 7rem);
	max-height: calc(100vh - 7rem);
	padding: 0;
	/*cursor: default;*/
}.lightbox-caption{
	background-color: white;
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.2rem 1rem 0.6rem 0.6rem;
	width: 100%;
	text-align: center;
}body.no-scroll{
	overflow: hidden;
}.lightbox button{
	color: inherit;
	font: inherit;
	font-size: 2rem;
	line-height: 1;
	background: none;
	border: none;
	padding: 1rem;
	/*margin: 1rem;*/
	/*cursor: pointer;*/
}.lightbox-prev{
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}.lightbox-next{
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}.lightbox-close{
	position: absolute;
	/*cursor: zoom-out;*/
	right: 0;
	top: 0;
}.lightbox-trigger{
	/*cursor: zoom-in;*/
}
