html {
	scroll-behavior: smooth;
}

body {
	font-family: Raleway, sans-serif;
	background-color: #fff;
	/*animation: revealBody 0s 0.5s forwards;
	opacity: 0;*/
}
/*
@keyframes revealBody {
    to { opacity: 1; }
}
*/

#intro, .folio, #bio, #contact, #project {
	width: 100%;
	margin: 0;
}

#intro, #folio, #bio, #contact {
	scroll-margin-top: 110px;
}


.folio {
	overflow: hidden;
	background: #fff;
 /*f3f3f3*/
	padding-bottom: 60px;

}

.folio a {
	/*background: linear-gradient(to top, #44baff,#49e);*/
	/*background:linear-gradient(to right, rgba(102, 102, 255,0.2), rgba(68, 186, 255,0.2));*/
	padding: 5px 30px;
	background: #dedede;
	color: #000;
	font-weight: 400;
	display: inline-block;
	margin-top: 30px;
}


.folio a.secondary {
	background: none;
	color: #000;
}


.folio a:hover {
	background:linear-gradient(to right, #dedede,#ccc);
	color: #000;
}

.folio a.secondary:hover {
	text-decoration: underline;
	background: none;
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(5%);
		opacity: 0.3;

  }
  100% {
		opacity: 1;
    transform: translateX(0);
  }
}


@keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-moz-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-o-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-ms-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}


#project {
	overflow: hidden;
	height: calc(100vh - 50px);
	border-top: 0px;
	min-height: calc(100vh - 50px) !important;
	padding: 0;
}

#project h3 {
	position: fixed;
	z-index: 998;
	margin: 0;
	background: rgba(0,0,0, 0.9);
	padding: 0px 4%;
	vertical-align: middle;
	top: 50px;
	width: 100%;
	height: 50px;
	display: block;
  line-height: 2.2;
  font-weight: 200;
  font-size: 22px;
}
#project h3 strong{
	font-weight: 500;
	/*background: -webkit-linear-gradient(left, rgba(16, 167, 255,1), rgba(2, 136, 214,1));


    background-clip: border-box;

-webkit-background-clip: text;

-webkit-text-fill-color: transparent;*/
}

#project h3::after {
	/*font-size: 0px;
	line-height: 0%;
	width: 0px;
	border-bottom: 64px solid rgba(0,0,0,0.9);
	border-right: 64px solid rgba(0,0,0,0);
	content: " ";
	position: absolute;
	right: -64px;
	overflow: hidden;*/
}

#contactMini {
	background: #fff;
	position: absolute;
	width: 100%;
	height: 50px;
	padding: 5px 25px;
	bottom: 0px;
	display: none;
}

section {
  /*border-top: 1px solid #ddd;*/
	position: relative;
	min-height: 600px;
	width: 92%;
	padding: 0 4%;
}

/* ============================================================
SECTIONS
============================================================ */
section.module:last-child {
	margin-bottom: 0;
}

section.module h2 {
	margin-bottom: 40px;
	font-family: "Roboto Slab", serif;
	font-size: 30px;
}

section.module p {
	font-size: 16px;
	font-weight: 300;
}

section.module p:last-child {
	margin-bottom: 0;
}

section.module.content {
  /*padding: 40px 0;*/;
}

section.module.parallax-1 {
  /*  padding: 240px 0;*/
	background-position: right top;
	background-color: #dedede;
	background-size: 50%;
}

img[src="./img/bg12.jpg"] {
	top: 30% !important;
	right: 0px !important;
	height: 75% !important;
	width: 75% !important;


}
/*fix*/
div.parallax-mirror:nth-child(4){z-index:   -101 !important;}

.parallax-mirror {
	background-color: #dedede !important;
	min-height: 600px !important;
}

#intro {
	height: calc(100vh);
}

/* ============================================================
INTRO / HERO — modern layout (uses existing site palette)
============================================================ */
#intro.hero-modern{
	position: relative;
	min-height: 100vh;
	height: auto;
	overflow: hidden;
	color: #1e1e1e;
}

#intro.hero-modern .hero-shade{
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(255,255,255,0.40) 0%, rgba(255,255,255,0.78) 100%);
	pointer-events: none;
	z-index: 1;
}

#intro.hero-modern .hero-inner{
	position: relative;
	z-index: 2;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 120px 0 40px;
	box-sizing: border-box;
}

@media (min-width: 768px){
	#intro.hero-modern .hero-inner{ padding: 140px 0 50px; }
}

/* ---- Top main block ---- */
#intro.hero-modern .hero-main{ width: 100%; }

#intro.hero-modern .hero-intro{
	max-width: 32rem;
	margin: 5rem 0 2rem;
}

#intro.hero-modern .hero-eyebrow{
	font-family: Raleway, sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	margin: 0 0 1rem;
	padding: 0;
}

#intro.hero-modern .hero-eyebrow.accent{ color: #0ca6ff; }
#intro.hero-modern .hero-eyebrow.muted{ color: #555; }

#intro.hero-modern .accent{ color: #0ca6ff; }

#intro.hero-modern .hero-lead{
	font-family: Raleway, sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	color: #1e1e1e;
	margin: 0;
	padding: 0;
	max-width: 32rem;
}

@media (min-width: 768px){
	#intro.hero-modern .hero-lead{ font-size: 1.85rem; }
}

#intro.hero-modern .hero-name{
	font-family: Raleway, sans-serif;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.55em;
	margin: 0;
	padding: 0;
	font-size: 1.3rem;
	line-height: 1.2;
	letter-spacing: 0;
	white-space: normal;
}

@media (min-width: 768px){
	#intro.hero-modern .hero-name{ font-size: 1.6rem; }
}

#intro.hero-modern .hero-name .hn-name{
	font-weight: 700;
	color: #111;
	letter-spacing: -0.005em;
}

#intro.hero-modern .hero-name .hn-sep{
	color: #0ca6ff;
	font-weight: 300;
	font-size: 1.2em;
	line-height: 1;
}

#intro.hero-modern .hero-name .hn-role{
	font-weight: 300;
	color: #444;
	letter-spacing: 0.02em;
}

#intro.hero-modern .hero-tags{
	list-style: none;
	margin: 0.9rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.5rem;
}

#intro.hero-modern .hero-tags li{
	font-family: Raleway, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #555;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(0, 0, 0, 0.12);
	padding: 5px 10px;
	border-radius: 999px;
	line-height: 1;
	margin: 0;
}

#intro.hero-modern .hero-title{
	font-family: Raleway, sans-serif;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.0;
	color: #111;
	margin: 4rem 0 0;
	padding: 0;
	font-size: 15vw;
	background: none;
	height: auto;
	text-transform: none;
}

@media (min-width: 768px){
	#intro.hero-modern .hero-title{ font-size: 5vw; }
}

#intro.hero-modern .hero-title .line{
	display: block;
}

/* ---- Bottom row ---- */
#intro.hero-modern .hero-foot{
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 0;
}

@media (min-width: 768px){
	#intro.hero-modern .hero-foot{
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: end;
	}
}

#intro.hero-modern .hero-col{ min-width: 0; }

#intro.hero-modern .hero-foot-text{
	font-family: Raleway, sans-serif;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #1e1e1e;
	margin: 0;
	padding: 0;
	max-width: 28rem;
	font-weight: 500;
}

#intro.hero-modern .hero-cta-col{
	display: flex;
	justify-content: flex-start;
}

@media (min-width: 768px){
	#intro.hero-modern .hero-cta-col{ justify-content: flex-end; }
}

#intro.hero-modern .hero-cta{
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: Raleway, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #0ca6ff;
	background: none;
	border: 0;
	padding: 6px 0;
	text-decoration: none;
	transition: color 0.25s ease;
}

#intro.hero-modern .hero-cta:hover{
	color: #1e1e1e;
}

#intro.hero-modern .hero-cta svg{
	transition: transform 0.4s ease;
}

#intro.hero-modern .hero-cta:hover svg{ transform: translateY(3px); }

/* Cancel old #brand, #buffer styles inside the hero so they don't bleed */
#intro.hero-modern #brand,
#intro.hero-modern #buffer{ all: unset; }

/* ---- Light variant (no parallax, white bg, dark text) ---- */
#intro.hero-modern.hero-light{
	background:
		radial-gradient(ellipse at 85% -10%, rgba(12,166,255,0.12), transparent 55%),
		linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
	color: #1e1e1e;
}

#intro.hero-modern.hero-light .hero-lead{
	color: #555;
}

#intro.hero-modern.hero-light .hero-eyebrow.muted{
	color: #999;
}

#intro.hero-modern.hero-light .hero-title{
	color: #1e1e1e;
}

#intro.hero-modern.hero-light .hero-foot{
	border-top: 1px solid #e5e5e5;
}

#intro.hero-modern.hero-light .hero-foot-text{
	color: #444;
}

#intro.hero-modern.hero-light .hero-cta{
	color: #0ca6ff;
}

#intro.hero-modern.hero-light .hero-cta:hover{
	background: #0ca6ff;
	color: #fff;
}




section.module.parallax h1 {
  /*color: #000;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;*/
  /*text-shadow: 0 0 10px white;*/;
}

section h1 {
	color: #000;
	font-size: 30px;
	padding-top: 0em;
  line-height: 1.3em;
	font-weight: 600;
	/*text-transform: uppercase;*/
  /*text-shadow: 0 0 10px white;*/;
}





section h1.noHigher {
	margin-top: 70px;
}

section h3 {
	color: #ccc;
	font-size: 18px;
	line-height: 5;
	font-weight: 300;
	text-transform: uppercase;
  /*text-shadow: 0 0 10px white;*/;
}
.casestudy section h1 {
  padding-top: 2em;
}
.casestudy section div p{
	font-size: inherit;

	line-height: inherit;
	padding-top: 0;
	padding-bottom: 1em;

}
.casestudy a{
	/*color: #0BA5FF;*/
	font-weight: bold;

}
.casestudy a:hover{
	text-decoration: underline;

}

.casestudy section h3 {
	color: #787878;
	font-size: 1.2em;

	text-transform: uppercase;
	margin: 2em 0 0 0;
  /*text-shadow: 0 0 10px white;*/;
}

.casestudy img {
	display: inherit;
}

section.plate{
	background: #f1f1f1;
	padding-bottom: 5em;
	color:#333;
}

.white{
	/*height: auto !important;
	min-height: auto !important;*/
	padding-bottom: 3em;
	margin: auto;
	overflow: visible;

}

.white .royalSlider,
.white .royalSlider .rsOverflow,
.white .royalSlider .rsSlide,
.white .royalSlider .rsNav
{
	background: #fff;
}

.grey .royalSlider,
.grey .royalSlider .rsOverflow,
.grey .royalSlider .rsSlide,
.grey .royalSlider .rsNav
{
	background: #f1f1f1;
}

.white h3{
	position: relative;
	background: #fff;
	color:#787878;
	margin-top: 4em !important;
}
.dark h3{
	margin-top: 4em !important;
}

#caseProject{
  font-size: 1.1em;
	line-height: 1.7em;
	margin-bottom: 3em;
}
.casestudy section {
	min-height: inherit;
}

#caseProject .rsDefault .rsThumb {

    opacity: 0.7;

}

#caseProject #full-width-slider {


    top: 0px;

}


section h4 {
	color: #000;
	font-size: 14px;
	line-height: 2;
	font-weight: 700;
	text-transform: uppercase;
  /*text-shadow: 0 0 10px white;*/;
}



section p {
	line-height: 1.3;
	padding-top: 1em;
	font-size: 12px;
}
section.dark p {
	color:#aab;
}

[class*="parallax-"] {
	/*background-position: center center;
	background-size: cover;
	min-height: 600px;
	background-repeat: no-repeat;*/
}

section.module.parallax-1 {
	background-image: url("../img/bg12.jpg");
}

section.module.parallax-2 {
	background-image: url("../img/yuzu_bg.jpg");
}

section.module.parallax-3 {
	background-image: url("../img/ss_bg.jpg");
}

.parallax-window {
	min-height: 400px;
	background: transparent;
	background-size: 75%;
}

#bio {
	background-color: #fafafa;
}

#bio p {
	float: left;
	width: 30%;
	line-height: 1.8;
	margin: 50px 5% 100px 0;
	color: #000;
}

#bio p:last-child {
	margin-right: 0;
}

#bio p img {
	display: block;
  margin: 0 auto;
}

/* Keep the rightmost bio column flush now that more content follows */
#bio p:nth-of-type(3) {
	margin-right: 0;
}

/* ============================================================
   ABOUT ME — Current Tools subsection
============================================================ */
#bio p.tools-sublabel,
#bio .tools-row {
	clear: both;
}

.tools-sublabel {
	display:inline-block;
	width: 100% !important;
	margin: 0 0 24px 0 !important;
	padding-top: 10px;
	font-weight: 300;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ccc;
}

.tools-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 80px;
}

.tool-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	background: #fff;
	border: none;
	border-radius: 20px;
	min-width: 160px;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tool-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.tool-icon {
	display: block;
	width: 48px;
	height: 48px;
}

.tool-icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: block;
	margin: 0;
}

.tool-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tool-name {
	font-weight: 500;
	font-size: 14px;
	color: #111;
	line-height: 1.3;
}

.tool-role {
	font-size: 11.5px;
	color: #777;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.tools-row {
		margin-bottom: 40px;
	}
	.tool-card {
		flex: 1 1 calc(50% - 16px);
		min-width: 0;
	}
}

.project.yp {
	float: right;
	width: 55%;
	height: 450px;
	display: block;
	position: relative;
	top: 0;
	right: 0;
	background-image: url("../img/yp_preview.png");
	background-size: cover;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position-x: center;
}

.project.yuzu {
	float: right;
	width: 55%;
	height: 450px;
	display: block;
	position: relative;
	top: 100px;
	right: 0;
	background-image: url("../img/yuzu_preview.png");
	background-size: cover;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position-x: center;
}

.project.kollective {
	float: right;
	width: 55%;
	height: 450px;
	display: block;
	position: relative;
	top: 40px;
	right: 0;
	background-image: url("../img/kol_bg.png");
	background-size: cover;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position-x: center;
}

.project.cisco {
	float: right;
	width: 55%;
	height: 450px;
	display: block;
	position: relative;
	top: 30px;
	right: 0;
	background-image: url("../img/cisco_preview.jpg");
	background-size: cover;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position-x: center;
}

.project.acqueon {
	float: right;
	width: 55%;
	height: 450px;
	display: block;
	position: relative;
	top: 30px;
	right: 0;
	background-image: url("../img/ac_bg.png");
	background-size: cover;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position-x: center;
}

.project.extreme{
	float: right;
	width: 55%;
	height: 450px;
	display: block;
	position: relative;
	top: 30px;
	right: 0;
	background-image: url("../img/caseExtreme/IndexCaseStudy.png");
	background-size: cover;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position-x: center;
}

.project.ss {
	float: right;
	width: 55%;
	height: 450px;
	display: block;
	position: relative;
	top: 100px;
	right: 0;
	background-image: url("../img/ss_preview.png");
	background-position: right;
	background-repeat: no-repeat;
	background-size: auto 100%;
}

.contactInfo {
	font-size: 1.4em;
	margin-top: 50px;
	line-height: 2;
	font-weight: 500;
	color: #ddd;
	clear: both;
}
.contactInfo > div{
	width: 50%;
	float: left;
}

#contact a {
	color: #ddd;
}

#contact label {
	color: #999;
	font-weight: 200;
}

.contactInfo h3{
	font-size: 44px;
	color: #fff;
	line-height: 2;
}

#header_nav {
	padding: 0 4%;
	position: fixed;
	top: 0;
	width: 100%;
	height: 50px;
	z-index: 400;
	overflow: hidden;
  /*box-shadow: 3px 0px 3px rgba(0,0,0,0.15);*/;
}

#header_nav .icons {
	display: block;
	height: 50px;
	width: 200px;
	float: right;
	padding: 15px 0 15px 15px;
}

#header_nav .icons a {
	height: 20px;
	width: 20px;
	display: inline-block;
	float: right;
	margin-left: 10px;
}

#header_nav .icons a img{
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

#header_nav .icons a:hover img{
	opacity: 1;
}

#header_nav .logo {
	margin: 10px 50px 10px 0;
	width: 30px;
	height: 30px;
	float: left;
}

#header_nav .logo img {
	width: 30px;
	height: 30px;
}

/* Secondary (case study / folio) page header — Back button, no nav links */
#header_nav.secondary .nav {
	display: none;
}

#header_nav.secondary .btn-back,
.btn-back {
	float: left;
	margin: 10px 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-family: 'Raleway', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 12px;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-back:hover {
	border-color: #000;
	background: #f5f5f5;
}

@media screen and (min-width: 768px) {
	.navbar {
		display: none;
	}
	.sidebar {
		display: none !important;
	}
}

#mobile-nav {
	height: 50px;
	float: left;
	margin: 0 auto;
	position: fixed;
  left: calc(4% + 80px);
}

#header_nav:after {
	position: fixed;
	left: 0;
	top:50px;
	display: inline-block;
	width: 90%;
	content: "";
	content: '\00a0';
    background-image:
      linear-gradient(to right,  rgba(102, 102, 255,0.2), rgba(68, 186, 255,0.2));
    background-size: 100% 1px;
    background-repeat: no-repeat;
    float:left;
    width:100%;
}

#header_nav.trans:after {
	display: none;
}


#mobile-nav ul {
	overflow: hidden;
	display: block;
	width: 500px;
	margin: 0 auto;
	height: 50px;
}

.header {
	background: #fff;
	transition: background 200ms linear;
}

.header.trans {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

#mobile-nav ul li {
	float: left;
	margin: 13px 30px 0 0;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 16px;
}

#brand h3 {



	animation: 0.6s ease-in 0s 1 slideInFromBottom;


	background: #0ca6ff;
	font-size: 20px;
	color: #fff;
	width: 200px;
	padding: 20px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: normal;
	height: 150px;
	position: relative;
	top: -100px;
	left: 60%;

}
#mobile-nav a {
  padding: 5px;
}

#mobile-nav .active a {
  color: #000;
	background: #eaeaea;
  padding: 5px;
  border-radius: 3px;
}

#brand h1 {
	color: #1e1e1e;
	font-size: 50px;
	font-weight: lighter;
	padding: 0 40px;
	background: rgba(255,255,255,0.3);
	height: 150px;
	line-height: 3em;

}

#buffer {
	padding: 10% 0;
}

.hide {
	display: none;
}

#folio {
	/*background-image: url("../img/yuzu_preview.png");
	background-repeat: no-repeat;
	background-position-x: calc(100% + 80px);
	background-size: 65%;
	background-position-y: center;*/
}

#full-width-slider {
	width: 100%;
	color: #000;
	height: calc(100vh - 100px) !important;
	top:50px;
}

.rsDefault .rsThumbsHor {
	height: 46px;
}

.folio p {
	width: 42%;
	line-height: 1.8;
}

#folio p br {
	line-height: 3;
}

#folio2 {
  /*background-image: url("../img/yp_preview.png");
  background-position: right;


  background-repeat: no-repeat;


  background-size: 42%;*/;
}

#folio3 {

}

#contact {
	background-image: linear-gradient(to bottom, #2a2a2a 0%, #141414 100%);
	height: calc(100vh - 50px);
}




.main_content.portfolio {
	top: 50px;
	position: relative;
	height: calc(100vh - 50px);
	width: 100%;
	overflow: hidden;
}

.main_content.casestudy {
	top: 50px;
	position: relative;
	height: calc(100% - 50px);
	width: 100%;
	background: #f1f1f1;


}

.rsDefault .rsArrowIcn {

}
.main_content.casestudy section:not(.plate){
/*width: 92% !important;*/
background: #fff;
margin: 0 auto;
min-height: auto;
padding-bottom: 3em;
clip-path: polygon(
		0 100%,
		100% calc(100% - 6vh),
		100% 0,
		0 calc(0% + 6vh)

	);
/*50 100,100 95,100 5, 50 0, 0 5,0 95*/
/*path d="M0,20 C100,80 350,0 500,30 L500,00 L0,0 Z"*/

/*margin-top: -5em;*/
overflow: hidden;
}

.main_content.casestudy section.dark.fullwidth{
	clip-path: polygon(
		0 100%,
		100% calc(100% - 6vh),
		100% 0,
		0 calc(0% + 6vh)

		);
background: #334;
margin: 0 !important;
min-height: auto;
padding-bottom: 3em;
width: 100%;
margin-top: calc(-6vh) !important;
margin-bottom: calc(-6vh) !important;
overflow: hidden;
}

.main_content.casestudy section.dark.fullwidth.last{
	clip-path: polygon(
		0 100%,
		100% calc(100% - 0vh),
		100% 0,
		0 calc(0% + 6vh)

		);
background: #334;
margin: 0 !important;
min-height: auto;
padding-bottom: 3em;
width: 100%;
margin-top: calc(-6vh) !important;
margin-bottom: calc(-6vh) !important;
overflow: hidden;
}

.main_content.casestudy section.dark.fullwidth h3 {
	color: #dde;
}

.main_content.casestudy section.white.fullwidth{
	clip-path: polygon(
		0 100%,
		100% calc(100%),
		100% 0,
		0 calc(0% + 6vh)

		);
background: #fff;
margin: 0 !important;
min-height: auto;
padding-bottom: 3em;
width: 100%;

overflow: hidden;
}


mark{
	background: #f0f0f0;
	box-shadow: none;
	padding: 0.55em 0.9em;
	font-weight: 700;
	display: inline-block;
	margin: 10px 0 1em;
	border-radius: 2px;
	border-left: 2px solid #bdbdbd;
}


.main_content.casestudy p mark{
	box-shadow: none;
	padding: 0.55em 0.9em;
	margin: 0 0 1em;
	font-weight: 700;
	background: #f0f0f0;
	border-radius: 2px;
	border-left: 2px solid #bdbdbd;
	display: inline-block;
}

.main_content.casestudy section.white mark{


background: #fafafa;



}

.main_content.casestudy section:not(.plate)::before{

}





.main_content.casestudy section.txt{
	font-size: 1.1em;
	line-height: 1.7em;
	width: 100%;

}

.main_content.casestudy section.txt div.toolbar{
	border-left: 2px solid #bdbdbd;
	padding-left: 2%;


	/*width: 100vw;
  transform: translateX(-4%);
	padding: 0 4% 5em;*/
}

.main_content.casestudy section.txt h3{
	width: 100%;
	display: inline-block;
}
.main_content.casestudy section.txt div.fullwidth{
	width: calc(100%);
}




.main_content.casestudy section.txt div.right{
	padding-left: 0.5em;
}
.main_content.casestudy section.txt div.right.illustration{
	padding-left: 0;
	margin-top: 5em;
	animation: 0.6s ease-out 0s 1 slideInFromBottom;
}


.main_content.casestudy section.txt div.nopadding{
	padding: 0;
}
.main_content.casestudy section.txt strong{
	font-weight: 700;
}
.main_content.casestudy section.txt div{
position: relative;
line-height: 1.8em;
float: left;



width: calc(100% / 2);

height: auto;

display: block;
/*
background:center center no-repeat, linear-gradient(251.64deg,
#DFDFDF 0%, #DADBDD 25%, #CECED0 75%,
#C1C1C1 100%);

    background-size: auto, auto;

background-size: auto 100%;*/

padding-right: 3em;
}




.main_content.casestudy section.txt div:last-child{
	/*margin-bottom: 3em;*/

}

.main_content.casestudy section.txt div.right{
	padding-right:0em;

}

.main_content.casestudy section.txt .toolbar ul{

	margin: 0 0 0 0;
	font-size: 0.8em;


}
ul.bullets{
	padding-left: 1em;
	margin-bottom: 20px;
}

ul.bullets li{
	list-style-type: disc;
	 list-style-position: outside;



}

.main_content.casestudy div.illustration{
	/*border: 10px solid #fff;*/

box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  /*box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
*/
	width:calc(100% / 2 - 20px) !important;
	height: calc(100% - 40px);
	z-index: 200;
	overflow: hidden;
	min-height: 200px;
	margin-right: 20px;
	margin-bottom: 20px;
	cursor: pointer;
}

.main_content.casestudy div.illustration.noEffect,
.main_content.casestudy div.illustration.noEffect:hover
{
  box-shadow: none;
	cursor:default;
}

.main_content.casestudy div.illustration:hover{

box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
	transition: all 0.3s cubic-bezier(.25, .8, .25, 1);

}

.main_content.casestudy div.illustration img,
.main_content.casestudy div.illustration video
{
	max-width: 100%;
	 max-height: 100%;
	 height: auto;
}


.main_content.portfolio.fullpage{

	background: #fff;
}

[class^="icon-"], [class*=" icon-"] {
    height: 32px;
    width: 32px;
    display: inline-block;
    fill: #333;
		margin: 9px 0 9px 9px;
}
.underConstuction {
  height: 100vh;
}

#constMessage {
  background: rgba(255, 255, 100, 0.3);
  padding: 40px;
  font-size: 1.5em;
  font-weight: 700 !important;
}
#constMessage h1{
  line-height: 1;
  margin-bottom: 2em;
}
#constMessage p{
  font-weight: 500;
  color: #000;
}
#constMessage p strong{
  font-weight: 700;
}

.rsImg {
/*width: 100% !important;
height: auto !important;*/;
}

.rsDefault .rsThumb {
	width: 44px;
	height: 44px;
	opacity: 0.25;
}

.rsDefault .rsThumb.rsNavSelected {
	background: #fff;
	opacity: 1;
}

.rsDefault .rsThumb img {
	width: 100% !important;
	height: 100% !important;
}

.rsDefault .rsTmb {
	display: block;
	height: 44px;
}
/**** xportfolio ****/

.xportfolio{
	position: relative;
	float: left;
  width: 100%;
	top:200px;

}
.xportfolio div{
	position: relative;
	float: left;
	min-height: 285px;
	width: calc(100% / 3);
	height: calc(100vh / 3);
	display: block;
  background: url("../img/kol_bg.png") center center no-repeat, linear-gradient(251.64deg, #DFDFDF 0%, #DADBDD 25%, #CECED0 75%, #C1C1C1 100%);
background-size: auto 100%;

}
.xportfolio div.other{
  background: url("../img/kol_bg.png") center center no-repeat, linear-gradient(13deg, #DFDFDF 0%, #DADBDD 25%, #CECED0 75%, #C1C1C1 100%);
background-size: auto 100%;

}

/* ============================================================
STAT / NUMBER CARDS (case study outcomes)
============================================================ */
:root {
	--stat-subhead-fs:  1.05rem;
	--stat-eyebrow-fs:  0.6875rem;
	--stat-num-fs:      2.4375rem;
	--stat-label-fs:    0.875rem;
	--stat-tag-fs:      0.674rem;
}

.main_content.casestudy section.txt h4.stats-subhead{
	width: 100%;
	float: none;
	padding: 0;
	margin: 2.5em 0 0.25em;
	font-size: var(--stat-subhead-fs);
	font-weight: 700;
	color: #333;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: 0.01em;
}

.main_content.casestudy section.txt .stats-grid{
	width: 100%;
	float: none;
	padding: 1.25em 0 0 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25em;
}

.main_content.casestudy section.txt .stats-grid.two-col{
	grid-template-columns: repeat(2, 1fr);
}

.main_content.casestudy section.txt .stats-grid .stat-card{
	width: auto;
	float: none;
	padding: 24px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(30, 30, 30, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	min-height: 0;
}

.main_content.casestudy section.txt .stats-grid .stat-card:hover{
	box-shadow: 0 8px 24px rgba(30, 30, 30, 0.14);
	transform: translateY(-2px);
}

.main_content.casestudy section.txt .stats-grid .stat-eyebrow{
	width: auto;
	float: none;
	padding: 0;
	font-size: var(--stat-eyebrow-fs);
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.22px;
	color: #777;
	line-height: 17px;
}

.main_content.casestudy section.txt .stats-grid .stat-num{
	width: auto;
	float: none;
	padding: 0;
	font-family: 'Raleway', sans-serif;
	font-size: var(--stat-num-fs);
	font-weight: 700;
	line-height: 43px;
	background: linear-gradient(to bottom, #10a7ff 50%, #0288d6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.195px;
	display: flex;
	align-items: baseline;
	gap: 2px;
	flex-shrink: 0;
}

.main_content.casestudy section.txt .stats-grid .stat-num .stat-arrow{
	color: #999;
	-webkit-text-fill-color: #999;
}

.main_content.casestudy section.txt .stats-grid .stat-label{
	width: auto;
	float: none;
	padding: 0;
	font-size: var(--stat-label-fs);
	line-height: 22px;
	color: #505050;
	font-weight: 300;
}

.main_content.casestudy section.txt .stats-grid .stat-tags{
	width: auto;
	float: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.main_content.casestudy section.txt .stats-grid .stat-tag{
	display: inline-block;
	padding: 3px 8px;
	background: none;
	border: 1px solid #ccc;
	color: #555;
	font-size: var(--stat-tag-fs);
	font-weight: 400;
	line-height: normal;
	border-radius: 99px;
	letter-spacing: 0.2156px;
	white-space: nowrap;
}

@media (max-width: 1100px){
	.main_content.casestudy section.txt .stats-grid{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px){
	.main_content.casestudy section.txt .stats-grid,
	.main_content.casestudy section.txt .stats-grid.two-col{
		grid-template-columns: 1fr;
	}
}

/* ============================================================
CONTACT — follows existing site palette (Raleway, #0ca6ff accent,
dark gradient bg consistent with original #contact)
============================================================ */
#contact.contact-modern{
	position: relative;
	height: auto;
	min-height: calc(100vh - 00px - 0rem);
	background-image: linear-gradient(to bottom, #2a2a2a 0%, #141414 100%);
	color: #ddd;
	padding: 2rem 4% 2rem;
	overflow: hidden;
	box-sizing: border-box;
}

@media (min-width: 768px){
	#contact.contact-modern{ padding: 2rem 4% 2rem; }
}

#contact.contact-modern .contact-glow{
	position: absolute;
	top: -10rem; right: -4rem;
	width: 520px; height: 520px;
	max-width: 80vw; max-height: 80vw;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 9999px;
	filter: blur(150px);
	pointer-events: none;
	z-index: 0;
}

#contact.contact-modern .c-eyebrow{
	display: block;
	font-family: Raleway, sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #0ca6ff;
	margin: 0 0 1.5rem;
	padding: 0;
}

#contact.contact-modern .text-accent{ color: #0ca6ff; }

#contact.contact-modern .contact-head{
	position: relative;
	z-index: 1;
}

#contact.contact-modern h2.contact-title{
	font-family: Raleway, sans-serif;
	font-weight: 200;
	letter-spacing: -0.02em;
	line-height: 1;
	font-size: 12vw;
	color: #fff;
	margin: 0;
	padding: 0;
	text-transform: none;
	text-align: left;
}

@media (min-width: 768px){
	#contact.contact-modern h2.contact-title{ font-size: 7vw; }
}

#contact.contact-modern .contact-grid{
	position: relative;
	z-index: 1;
	/*display: grid;*/
	grid-template-columns: repeat(12, 1fr);
	gap: 1rem;
	min-height: calc(100vh - 50px - 30rem);

	/*margin-top: 3.5rem;*/
}

@media (min-width: 768px){
#contact.contact-modern .contact-grid{ /*margin-top: 5rem;*/ }
}

#contact.contact-modern .contact-email-wrap{ grid-column: span 12; }
#contact.contact-modern .contact-details{ grid-column: span 12; margin-top: 3rem; }

@media (min-width: 768px){
	#contact.contact-modern .contact-email-wrap{ grid-column: span 12; }
	#contact.contact-modern .contact-details{ grid-column: span 12; margin-top: 3rem; }
}

#contact.contact-modern .contact-email{
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: Raleway, sans-serif;
	font-weight: 300;
	letter-spacing: -0.01em;
	line-height: 1.1;
	font-size: 1.6rem;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	padding-bottom: 0.5rem;
	word-break: break-all;
	text-decoration: none;
	transition: color 0.3s, border-color 0.3s;
}

@media (min-width: 768px){
	#contact.contact-modern .contact-email{ font-size: 2.6rem; }
}

#contact.contact-modern .contact-email:hover{
	color: #0ca6ff;
	border-bottom-color: #0ca6ff;
}

#contact.contact-modern .contact-email svg{
	flex-shrink: 0;
	transition: transform 0.5s, color 0.5s;
}

#contact.contact-modern .contact-email:hover svg{
	transform: rotate(45deg);
	color: #0ca6ff;
}

#contact.contact-modern .contact-blurb{
	margin: 1.5rem 0 0;
	padding: 0;
	max-width: 28rem;
	color: #999;
	font-size: 0.95rem;
	line-height: 1.65;
	font-weight: 400;
}

#contact.contact-modern .detail-list{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 2rem 3rem;
}

#contact.contact-modern .detail-list li{
	flex: 1 1 auto;
	max-width: 13rem;
}

#contact.contact-modern .detail-list li{
	margin: 0;
	padding: 0;
	background: none;
}

#contact.contact-modern .detail-item{
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	color: #ddd;
	text-decoration: none;
}

#contact.contact-modern .detail-item svg{
	color: #0ca6ff;
	margin-top: 2px;
	flex-shrink: 0;
}

#contact.contact-modern .detail-item .lbl{
	display: block;
	margin-bottom: 0.3rem;
	color: #999;
	font-weight: 600;
}

#contact.contact-modern .detail-item .val{
	display: block;
	font-family: Raleway, sans-serif;
	font-size: 0.95rem;
	font-weight: 400;
	white-space: pre-line;
	color: #ddd;
	transition: color 0.2s;
}

#contact.contact-modern a.detail-item:hover .val{ color: #0ca6ff; }

#contact.contact-modern .footer-row{
	position: relative;
	z-index: 1;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1rem;
	font-family: Raleway, sans-serif;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #777;
}

#contact.contact-modern .footer-row p{ margin: 0; padding: 0; }
#contact.contact-modern .footer-row .f1{ grid-column: span 12; }
#contact.contact-modern .footer-row .f2{ grid-column: span 6; }
#contact.contact-modern .footer-row .f3{ grid-column: span 6; text-align: right; }

@media (min-width: 768px){
	#contact.contact-modern .footer-row .f1{ grid-column: span 4; }
	#contact.contact-modern .footer-row .f2{ grid-column: span 4; text-align: center; }
	#contact.contact-modern .footer-row .f3{ grid-column: span 4; }
}

/* ============================================================
   RESPONSIVE — bio & folio sections
============================================================ */
@media (max-width: 767px){

	section {
		width: 100%;
		padding: 0 4%;
		box-sizing: border-box;
		min-height: auto;
	}

	/* Bio: stack 3 columns vertically */
	#bio p {
		float: none;
		width: 100%;
		margin: 20px 0;
	}

	/* Folio: hide floated preview images, show text full width */
	.project {
		display: none;
	}

	.folio p,
	#folio p {
		width: 100%;
		float: none;
	}

	/* Reduce scroll-margin-top on mobile (header may be shorter) */
	#intro, #folio, #bio, #contact {
		scroll-margin-top: 60px;
	}

	/* Hide desktop nav, show hamburger on mobile */
	#mobile-nav {
		display: none;
	}

	.navbar {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1001;
	}

	.menu-icon {
		color: #111;
		fill: #111;
	}

	.icon-three-bars {
		width: 28px;
		height: 28px;
		fill: #111;
		display: block;
		margin: 11px;
	}
}
