html{
	font-size: 62.5%;
}

*{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
}

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

#fadeoverlay {
	position:absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 99;
	background:rgba(255,255,255,1);
}

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

#coffee {
margin: 0;}

#coffeetoggle { 
	display:none;
	width: 100%;
	padding: 0px;
	margin: 0 auto;
	height: calc(100% - 100px);
}


body{
	font-family: 'Work Sans', sans-serif;
	overflow-x: hidden;
}

body.panel-open {
	overflow: hidden;
}

.wrap{
	width: 100%;
	max-width: 1000px;
	padding: 40px 40px 0px 40px;
	margin: 0 auto;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateX(0);
}

body.panel-open .wrap {
	transform: translateX(-40vw);
}

@media screen and (max-width: 800px) {
	body.panel-open .wrap {
		transform: translateX(-50vw);
	}
}

section{
	margin: 10% 0;
}

section, header{
	display:block;
}

header {
	position: relative;
	z-index: 1;
}

header h3{
	font-size: 1.8rem;
	font-weight: 500;
	color: #ccc;
	margin-bottom: 24px;
	float: left;
	display:none;
}


#social{
	float: left;
	font-size: 1.8rem;
	width: 48%;
	text-align: left;
}

#social a:link, #social a:active, #social a:visited{
	color: #ccc;
	margin-right: 2%;
	margin-left: 0;
	border: none;
} 

#social a:hover{
	color: #000;
}


.prompt p{
	font-size: 3rem;
	margin-bottom: 24px;
	line-height: 140%;
}

.prompt strong{
	font-weight: 700;
}

.prompt a:link, #intro a:active, #intro a:visited{
	border-bottom: 4px solid rgba(252, 51, 89, 0.15);
	text-underline-offset: 0;
	text-decoration-skip-ink: none;
}

.prompt a.project-link {
	display: inline;
	padding: 0;
	margin: 0;
	vertical-align: baseline;
	line-height: inherit;
}

.prompt a:hover{
		border-bottom: 4px solid rgba(252, 51, 89, 1);
}



.hide {
  display: none;
}

/* Inline project panel styles */
.project-slot {
  display: inline-block;
  position: relative;
}

/* Panel backdrop overlay */
.panel-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0);
  z-index: 9999;
  pointer-events: none;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
}

.panel-backdrop--visible {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: block;
}

.panel-backdrop__arrow {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  display: flex !important;
  pointer-events: none;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.panel-backdrop__arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}

.project-panel--visible .panel-backdrop__arrow {
  opacity: 1 !important;
}

/* Project tooltip styles */
.project-tooltip {
  position: absolute;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-tooltip--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.project-tooltip__inner {
  background: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 280px;
  overflow: hidden;
}

.project-tooltip__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.project-tooltip__inner h3 {
  margin: 0.8rem 1rem 0.3rem;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Work Sans', sans-serif;
  color: #000;
}

.project-tooltip__inner p {
  margin: 0 1rem 0.8rem;
  font-size: 1.2rem;
  font-family: 'Work Sans', sans-serif;
  color: #666;
  white-space: normal;
  line-height: 1.4;
}

.project-panel {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: none;
  height: 100vh;
  min-height: 100vh;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.project-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100vh;
  min-height: 100vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
  z-index: 10001;
  pointer-events: none;
}

.project-panel--visible {
  transform: translateX(0);
  pointer-events: auto;
}

.project-panel__inner {
  height: 100%;
  padding: 0 2.4rem 2rem;
  background: #ffffff;
  position: relative;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08), -2px 0 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.project-panel__inner--no-image {
  padding-top: 2.4rem;
}

.project-panel__image-container {
  width: calc(100% + 4.8rem);
  margin: 0 -2.4rem 2rem;
  display: none;
  overflow: hidden;
  position: relative;
  min-height: 400px;
}

.project-panel__image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(50px) brightness(0.9);
  transform: scale(1.2);
  z-index: 0;
}

.project-panel__image {
  position: relative;
  width: 100%;
  max-height: 400px;
  height: auto;
  display: block;
  object-fit: contain;
  z-index: 1;
}

.project-panel__inner h2 {
  margin: 0 0 1rem;
  font-size: 2.4rem;
  font-weight: 700;
  font-family: 'Work Sans', sans-serif;
}

.project-panel__inner p {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  line-height: 140%;
  font-family: 'Work Sans', sans-serif;
}

.project-panel__link {
  display: inline-block;
  margin-top: auto;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  border: 2px solid #000;
  background: #ffffff;
  color: #000;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.project-panel__link:hover {
  background: #000;
  color: #ffffff;
  border-bottom: 2px solid #000;
}

.project-panel__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: #000;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
  width: 2.4rem;
  height: 2.4rem;
  font-family: 'Work Sans', sans-serif;
  z-index: 1000;
}

.project-panel__close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}


@media screen and (max-width: 800px) {
  /* Mobile optimizations */
  #wrap{
  padding: 20px;
  }
  
  #social{
	font-size: 2.2rem;
	width: 95%;
}
	header h3{
	display: none;
	width: 0%;
	}
	
	.prompt p{
	font-size: 2rem;
	margin-bottom: 24px;
	line-height: 140%;
	}
	
	#coffeetoggle {
	height: calc(100% - 75px);
	}
	
	/* Panel mobile styles */
	.project-panel {
		width: 100%;
		max-width: 100%;
	}
	
	.project-panel__inner {
		padding: 1.5rem;
	}
	
	.project-panel__inner--no-image {
		padding-top: 1.5rem;
	}
	
	.project-panel__inner h2 {
		font-size: 1.8rem;
		margin-top: 1.5rem;
	}
	
	.project-panel__inner p {
		font-size: 1.4rem;
		margin-bottom: 1rem;
	}
	
	.project-panel__link {
		font-size: 1.2rem;
		padding: 0.4rem 1rem;
	}
	
	.project-panel__close {
		font-size: 2rem;
		width: 2.5rem;
		height: 2.5rem;
		top: 1rem;
		right: 1rem;
		padding: 0.4rem;
	}
	
	/* Arrow mobile positioning - hide on mobile since panel is full width */
	.panel-backdrop__arrow {
		display: none !important;
	}
	
	/* Tooltip mobile adjustments */
	.project-tooltip {
		max-width: 90%;
	}
	
	.project-tooltip__inner {
		padding: 0.6rem 0.8rem;
	}
	
	.project-tooltip__inner h3 {
		font-size: 1.2rem;
	}
	
	.project-tooltip__inner p {
		font-size: 1rem;
	}
	
	/* Panel image mobile styles */
	.project-panel__image-container {
		width: calc(100% + 3rem);
		margin: 0 -1.5rem 1rem;
		min-height: 250px;
	}
	
	.project-panel__image {
		max-height: 250px;
	}
	
	.project-panel__image-background {
		filter: blur(40px) brightness(0.9);
	}
	
	/* Better touch targets for mobile - use padding instead of min-height to keep border close */
	.project-link {
		padding: 0.3rem 0.2rem;
		display: inline-block;
		margin: -0.3rem -0.2rem;
		line-height: inherit;
		vertical-align: baseline;
	}
	
	.project-panel__close {
		min-width: 44px;
		min-height: 44px;
	}
	
	.project-panel__link {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
	
	/* Adjust content slide for mobile */
	body.panel-open .wrap {
		transform: translateX(-50vw);
	}
}