:root {
  --black: rgb(26, 26, 26);
  --black: color(display-p3 0.102 0.102 0.102);
  --blackblack: rgb(244, 235, 213);
  --blackblack: color(display-p3 1 0.991 0.966);
  --white: rgb(244, 235, 213);
  --white: color(display-p3 1 0.991 0.966);
  --white-alpha: rgba(251, 234, 193, 0.6);
  --white-alpha: color(display-p3 0.949 0.897 0.745 / 0.853);
  --aube: rgb(223,163,109);
  --aube: color(display-p3 0.904 0.647 0.391);
  --vertgrisbrun: rgb(172, 155, 112);
  --aube-alpha: rgba(210, 127, 52, 0.6);
  --aube-alpha: color(display-p3 0.927 0.566 0.207 / 0.801);
  --verdure: rgb(172,184,132);
  --verdure: color(display-p3 0.758 0.813 0.541);
  --verdure-alpha: rgba(163, 179, 109, 0.6);
  --verdure-alpha: color(display-p3 0.801 0.883 0.476 / 0.6);
  --sable: rgb(255,208,123);
  --sable: color(display-p3 0.844 0.674 0.332);
  --sable-alpha: rgba(241, 180, 71, 0.604);
  --sable-alpha: color(display-p3 0.846 0.628 0.19 / 0.6);
  --marginLeft: 30;
  --marginRight: -100;
  --marginTop: 30;
}
 /* 
@media (prefers-color-scheme: dark) {
  :root {
  --white: rgb(26, 26, 26);
  --white: color(display-p3 0.102 0.102 0.102);
  --black: rgb(244, 235, 213);
  --black: color(display-p3 0.949 0.922 0.843);
  --white-alpha: rgba(251, 234, 193, 0.6);
  --white-alpha: color(display-p3 0.976 0.897 0.666 / 0.6);
  --aube: rgb(223,163,109);
  --aube: color(display-p3 0.904 0.647 0.391);
  --aube-alpha: rgba(210, 127, 52, 0.6);
  --aube-alpha: color(display-p3 0.927 0.566 0.207 / 0.602);
  --verdure: rgb(172,184,132);
  --verdure: color(display-p3 0.758 0.813 0.541);
  --verdure-alpha: rgba(163, 179, 109, 0.6);
  --verdure-alpha: color(display-p3 0.801 0.883 0.476 / 0.6);
  --sable: rgb(255,208,123);
  --sable: color(display-p3 0.844 0.674 0.332);
  --sable-alpha: rgba(241, 180, 71, 0.604);
  --sable-alpha: color(display-p3 0.846 0.628 0.19 / 0.6);
    }
}  */


/* A11Y */
.a11y-navigation{
  position: fixed;
  z-index: 100;
  top: 1em;
  left: 1em;
}
.a11y-navigation ul li{
  list-style: none;
}
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.sr-show-on-focus:focus{
  z-index: 20;
  width: auto;
  min-width: 10em;
  height: auto;
  clip: auto;
  background-color: #000;
  padding: 0.4em 1em;
  color: #fff;
}


@media (scripting: enabled) {
  [loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s;
  }
}

/* Prevent animation library to hide data for javascript disabled https://github.com/michalsnik/aos/issues/541 */
html.no-js [data-aos] {
  opacity: 1;
  transform: none;
}


html{
  font-size: 90%;
  scroll-behavior: smooth;
}
body{
  scroll-behavior: smooth;
  background-color: var(--white);
  color: var(--black);
  font-family: 'avenir next', avenir, 'helvetica neue', -apple-system,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
  font-size: calc(0.9em + 0.5vw);
  font-size: clamp(0.9em,calc(0.9em + 1vw),20px);
  margin: 0;
  padding: 0;
}

/* LOGO */
#logo{
  width:45vw;
  max-width: 600px;
  min-width: 320px;
  fill: var(--blackblack);
  height: auto;
}


.p1vmax{
  padding: 0.5vmax;

}
.p2vmax{
  padding: 1vmax;
}

.glass {
  inset: 0;
  backdrop-filter: blur(3px);
  /* backdrop-filter: grayscale(200%); */
  color: var(--blackblack);
  /* mask-image: url(#frostyGlassMask); */
}

/* NAV */
nav.sticky{
  position: fixed;
  top: 2vmax;
  left: 2vmax;
  z-index:999;
}

nav.sticky a{
  text-decoration: none;
  color:  var(--black);
}
nav{

}
nav ul{ 
  padding:0;
  margin: 0;
  margin-left: -0.3em;
  display: flex;
  flex-direction: column;
}
nav ul li{
  list-style-type: none;
  padding:0;
  margin: 0;
}
nav ul li a{
  padding: 0.4em 0.3em;
}
/* homepage */
#homepage section{
  scroll-snap-align: center;
  height: 80vh;
  min-height: 500px;
  padding: 6vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1vw;
  @media (max-width: 60em) {
    scroll-snap-align: start;
    height: 80vh;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.slide-text > *{
  max-width: 40em;
  /* hyphens: auto; */
}
#homepage section > *{
  /* max-width: 20em; */
}
#homepage{
  height: 100vh;
  width: 100%;
  @media (min-height: 600px) {
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position:relative;
  }
}

#homepage #home{
  /* background-color: var(--sable-alpha); */
  background-image: url('/images/arshift_sustainbuild_3.jpg');
  background-position: 50% 100%;
  background-size: cover;
  height: 65vh;
}
.home-content{
  display: flex;
  gap: 3vmax;
  align-items: flex-end;
  flex-wrap: wrap;
}
#homepage #about{
  background-color: var(--white-alpha);
  height: 50vh;
}
#homepage #entracte{
  background-image: url('/images/arshift_sustainbuild_1.jpeg');
  background-position: 50% 50%;
  background-size: cover;
  height: 70vh;  
}
#homepage #services{
  background-color: var(--aube-alpha);
  height: 50vh;
}
#homepage #project{
  background-color: var(--vertgrisbrun);
}
#homepage #contact{
  background-image: url('/images/arshift_sustainbuild_2.jpeg');
  background-position: 50% 50%;
  background-size: cover;
  height: 60vh;
  /* background-color: var(--sable-alpha); */
  /* background: linear-gradient(-160deg,var(--sable-alpha) 0%, var(--sable-alpha) 65%, var(--sable) 65%, var(--sable) 100%); */
}


a{
  color: var(--color_greeny);
  text-decoration-skip-ink: auto;
  text-decoration: currentcolor underline;
  text-underline-offset: 3px;
}
a:hover{
  color: var(--color_green);
}

a.button{
  background-color: var(--color_greeny);
  color: var(--dust);
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
a.button:hover{
  /* background-color: var(--apple2);
  color: var(--blue); */
}

.project_detail{
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  @media (min-width: 60em) {
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }
}
.project_detail_slider{
  display: flex;
  height: calc(6 * 100vh);
  flex-flow: column nowrap;
  @media (min-width: 60em) {
    height: 100vh;
    flex-flow: row nowrap;
    width:calc(8 * 100vw);
  }
}
.project_detail_slider section{
  scroll-snap-align: start;
  display: flex;
  justify-content: flex-start;
  gap: 0.5em;
  width: 100vw;
  height: 100vh;
  @media (min-width: 60em) {
    flex-direction: column;
    width: 60vw;  
  }
}
.project_detail_slider section.content_text h1{
  font-size: clamp(1.8em,calc(1.4em + 2vw),70px);
  margin-bottom: 3em;
}
.project_detail_slider section.content_text{
  /* background-color: var(--vertgrisbrun); */
  @media (min-width: 60em) {
    width: 40vw;  
  }
}
.project_detail_slider section.content_text .container{
  margin: 6vmax 2vmax 2vmax;
}
.project_detail_slider section.content_text .container_title{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  @media (min-width: 60em) {
    height: 100%;
  }
}
.project_detail_slider section.content_text .container_credit{
  display: flex;
  flex-direction: column;
  @media (min-width: 60em) {
    height: 100%;
  }
  justify-content: flex-end;
}
.project_detail_slider section.content_image{
  @media (min-width: 60em) {
    border-right: 3px solid var(--black);
  }
}
/* .project_detail_slider section.content_image img{
  @media (min-width: 60em) {
    filter: sepia(100%) grayscale(50%);
    transition-duration: 0.1s;
    transition-timing-function: ease-in-out;
    transition-property: filter;
  }
}
.project_detail_slider section.content_image img:hover{
  @media (min-width: 60em) {
    filter: none;
  }
} */

.project_detail_slider section.content_image .banner{
  position: relative;
}
.project_detail_slider section.content_image .banner h1{
  position: absolute;
  bottom: 2vmax;
  right: 3vmax;
  animation: fadeIn 1.6s infinite alternate;
}
@keyframes fadeIn {
  from {
    opacity: 0.6;
  }
}
.project_detail_slider section.content_image a{
  display: block;
  width: 100%;
  height: 100%;
}
.project_detail_slider section.content_image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project_detail_slider section.more_project{
  background-color: var(--black);
  @media (min-width: 60em) {
    width: 60vw;  
  }
}
.project_detail_slider section.more_project .project_list{
  height: 100%;
  gap: 2vmax;
  margin: 2vmax;
  align-items: flex-end;
  justify-content: flex-end;
}



/* Project listing */
.project_list{
  display: flex;  
  flex-wrap: wrap;
  gap: 1vmax;
  margin-top: 1vw;
  margin-bottom: 3vmax;
  z-index:99;
  flex-direction: column;
  @media (min-width: 60em) {
    flex-direction: row;
  }
}
.project_list a{
  @media (min-width: 60em) {
    width: 15vmax;
    height: 15vmax;
  }
  display: grid; 
  grid-template-areas: stack;
  text-decoration: none; 
  /* justify-content: space-between; */
  /* background-color: var(--black); */
  /* flex-direction: column; */
  /* color: var(--white); */
  
}


.project_list a > *{
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-property: filter, height;
    grid-area: stack;
}
.project_list a img{
  height: 15vmax;
  width: 100%;
  @media (min-width: 60em) {
    width: 15vmax;
    height: 15vmax;
  }
  /* height:20vmax; */
  object-fit: cover;
  /* filter: sepia(100%); */
  filter: grayscale(100%) opacity(70%) contrast(160%);
}
.project_list a:hover img{
  filter: none;
}
.project_list_title{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.project_list a h4{
  /* height:20vmax; */
  /* display: block; */
  font-weight: normal;
  padding: 0.6em 0.8em ;
  /* align-self: end; */
  /* text-align: left; */
}


/* Typography */
h1, h2, h3, h4, h5{
  word-wrap: break-word;
}
h1, .h1, .h-huge {
  font-size: -webkit-calc(200% + 4vw);
  font-size: clamp(1.3em,calc(1.8em + 2vw),70px);
  line-height: 1.1em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}
h2, .h2 {
  font-size: calc(1.2em + 1vw);
  font-size: clamp(1.3em,calc(1.2em + 1vw),30px);
  font-weight: 600;
  line-height: 1.3em;
  margin-top: 0;
  margin-bottom: 0.4em;
}
.lead{
  font-size: calc(1.2em + 1vw);
  font-size: clamp(1.6em,calc(1.2em + 1vw),30px);
  line-height: 1.3em;
  font-weight: 600;
}



.center{
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

blockquote{
  font-size:130%;
}

p, ul, ol, pre, table, blockquote {
  line-height: 1.56em;
  margin-top: 0;
  margin-bottom: 0.5em;
}

ul, ol{
  margin-left: 1.4em;
  padding-left: 0em;
  margin-bottom: 1em;
}
ul li, ol li{
  margin-bottom: 0.3em;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0.3em;
  margin-bottom: 0px;
}

input, textarea, keygen, select, button{
  font-size: 100%;
}

mark{
  background-color: var(--sable);
}


.construction{
  position: absolute;
  top:0;
  left:0;
}

#sachi_left{
  will-change: margin;
  margin-left: calc(var(--marginRight)*1vw);
  margin-top: calc(var(--marginTop)*1vh);
}
#sachi_right{
  will-change: margin;
  margin-left:calc(var(--marginLeft)*1vw);
  margin-top: calc(var(--marginTop)*1vh);
}

.face, .teton, .etalon {
  transform-origin: 0 0;
  position: absolute;
  /* transform: translateZ(0); */
  z-index: -1;
  border: 2px solid var(--black);
  width: 10vw;
  height: 10vw;
  /* height: 100px;
  width: 100px; */
}
.sachi .face {
  width: 10vw;
  height: 10vw;
  /* height: 100px;
  width: 100px; */
}
.teton{
  
  width: 3vw;
  height: 3vw;
}
.etalon{
  background-color: #00ff0055;
  width: 1vw;
  height: 1vw;
}



.top {
  transform: rotate(210deg) skewX(-30deg) scaleY(0.864);
 }
.left {
  transform: rotate(90deg) skewX(-30deg) scaleY(0.864);
}
.right {
  transform: rotate(-30deg) skewX(-30deg) scaleY(0.864);
 }
#sachi_left .face.top {
  width: 10vw;
  height: 200vw;
}
#sachi_left .face.right {
  width: 200vw;
}
#sachi_right .face.top {
  width: 200vw;
}
#sachi_right .face.left {
  height: 200vw;
}

#sachi_left .teton.left {
  transform: rotate(90deg) skewX(-30deg) scaleY(0.864) translateX(5vw) translateY(5vw);
}
#sachi_left .teton.top {
  transform: rotate(210deg) skewX(-30deg) scaleY(0.864) translateX(0vw) translateY(-5vw);
  height: 2.5vw;
}
#sachi_left .teton.right {
  transform: rotate(-30deg) skewX(-30deg) scaleY(0.864) translateX(-5vw) translateY(0);
  width: 2.5vw;
}

#sachi_right .teton.left {
  transform: rotate(90deg) skewX(-30deg) scaleY(0.864) translateX(0vw) translateY(-5vw);
  height: 2.5vw;
}
#sachi_right .teton.top {
  transform: rotate(210deg) skewX(-30deg) scaleY(0.864) translateX(-5vw) translateY(0vw);
  width: 2.5vw;
}
#sachi_right .teton.right{
  transform: rotate(-30deg) skewX(-30deg) scaleY(0.864) translateX(5vw) translateY(5vw);
}
.tenon{
  margin-top: 0vh;
  margin-left: 60vw;
}
.tenon .right{
  height: 491vh;
}
.tenon .left{
  width: 490vh;
}
.teton_group{
  display: none;
}

.socials{ 
  margin: 0; 
  padding: 0;
  display: flex;
  gap: 0.5vmax;
}
.socials li{
  margin: 0; padding: 0;
  list-style: none;
  display: inline-block;
}
a.icon {
  background-color: var(--white);
  border-radius: 0.5vmax;
}
a.icon svg{
  fill: var(--black);
}
a.icon, a.icon svg{
  display: block;
  height: 3vmax;
  width: 3vmax;
}
a.icon:hover svg{
  fill: var(--black);
}
a.icon:hover{
  background-color: var(--white-alpha);
  transform: scale(1.1);
  transition: background-color 0.2s, transform 0.2s ease-in-out;
}

/* Utilities */
.hide-mobile{
  display: none;
}
@media (min-width: 60em) {
  .hide-mobile{
    display: block;
  }
}




