@charset utf-8;
/*
Theme Name: B A R R / O
Author: Code by Ricardo Juárez for Phantasia	
Author URI: http://rjvv.com/
Version: 1.0
License: GNU/GPL Version 2 or later. http://www.gnu.org/licenses/gpl.html
Copyright: (c) 2025 Ricardo Juárez
*/



:root 	{
  --sans: 'Arizona', serif;

--big: clamp(40px, 8vw, 180px);
  --medium: 32px;
  --body: 18px;

  --linebig: 0.9;
  --linemedium: 36px;
  --linebody: 20px;

  --lsbig: -0.01em;
  --lsmedium: 0.05em;
  --lsbody: 0.05em;

--header:60px;
	--primary:#FFFFFF;
	--contrast: #000000;
	--accent:rgba(0,0,0,0.4);


	--primaryrgb:255,255,255;
	--contrastrgb:0,0,0;
	
	--pad:20px;
	--padb: 60px;
	--padh: 100px;

	 --app-height: var(--real100);
}


.post-content a, .post-content strong{
	display: inline-block;
}


img, .overlay-title,
video {
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto; /* optional, keeps hover/click working */
}

*{
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
     -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;

}


html, body
{
	scroll-behavior: smooth;
	overscroll-behavior-block: none;
overscroll-behavior: none;
margin:0;
font-size:100%;
width:100%;
     }
     
     	html { margin-top: 0px !important; }
	* html body { margin-top: 0px !important; }
	@media screen and ( max-width: 782px ) {
		html { margin-top: 0px !important; }
		* html body { margin-top: 0px !important; }
	}
	

/*


[data-barba="container"] {
  position: relative;
  min-height: 100vh;
  z-index: 1;
  transition: opacity 0.5s ease, filter 0.5s ease;
  opacity: 0;
}


body.barba-loading {
  overflow: hidden;
}

body.page-transition {
  pointer-events: none;
}
body.barba-loading {
  overflow: hidden;
}
body.barba-loaded [data-barba="container"] {
  opacity: 1;
  }
  
*/

  
  .cover-item{
	  cursor: pointer;
  }

.page-template-default{
	background-color: var(--accent);
}
.post-content{
	display: flex;
	flex-direction: column;
	min-height: var(--real100);
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 40px;
	margin: 0px auto;
	max-width: 1920px
}


body {
margin:0;
min-height: 100vh;
-moz-osx-font-smoothing: grayscale; 
text-rendering:geometricPrecision;
-webkit-font-smoothing: antialiased;
color: var(--contrast);
background-color: var(--primary);
    font-style: normal;
transition: background 0.5s ease;
font-family: var(--sans);
  font-size: var(--body);
  line-height: var(--linebody);
  font-weight: 500;
  letter-spacing: var(--lsbody);
}
#main{
}



.big {
  font-family: var(--sans);
  font-size: var(--big);
  line-height: var(--linebig);
  font-weight: 500;
  letter-spacing: var(--lsbig);
}
.body, .page-content h4{
  font-size: var(--body);
  line-height: var(--linebody);
  font-weight: 500;
  letter-spacing: var(--lsbody);
}  
.locations-text h2{
	margin-bottom: 40px;
}
.locations-text h2,
.page-content p,
.medium {
  font-family: var(--sans);
  font-size: var(--medium);
  line-height: var(--linemedium);
  font-weight: 500;
  letter-spacing: var(--lsmedium);
}

.page-content p{
	margin-bottom: var(--pad);
}
.page-content h4{
	margin-top: calc(var(--pad) * 2);
}
.body {
  font-family: var(--sans);
  font-size: var(--body);
  line-height: var(--linebody);
  font-weight: 500;
  letter-spacing: var(--lsbody);
}

.single-post .gallery{
padding-top: calc(var(--padh) / 2 + var(--padh));}

.media-item{
	margin: 0 auto calc(var(--padh) / 2 + var(--padh));
	width: 50%;
	}
	.media-item.vertical img,	.media-item.vertical video{
		object-fit:contain;
		height: 100%;
	}
.media-item.vertical{
	margin: 0 auto calc(var(--padh) / 2 + var(--padh));
	width: calc(100% / 3);
		max-height: calc(80vh - var(--header) - var(--pad));
	}
.media-item.layout-big.horizontal{
	margin: 0 auto calc(var(--padh) / 2 + var(--padh));
	width: 83%;
	}
.media-item.layout-big.vertical{
	max-height: calc(100vh - var(--header) - var(--pad));
	margin: 0 auto calc(var(--padh) / 2 + var(--padh));
	width: 50%;
	}
.media-item.layout-full{
	width: 100% !important;
	}


h1, h2, h3, h4, h5, h6{
	margin-bottom: 0;
font-weight: 500;
  all: unset;
display: inline-block;
}
.justify{
	text-align: justify;
}
header{
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
position: fixed;
top: 0;
padding: var(--pad);
width: 100%;
z-index: 9999;
	justify-content: space-between;
	mix-blend-mode: difference;
}

.more-info{
	color: white !important;
	mix-blend-mode: difference;
}
header *{
	color: white !important;
}


.page-template-home header{
	position: sticky;
	top:0;
}


strong, b, i, em{
font-weight: normal;
font-style: normal;
}
.logo img{
	width: 100%;
	height: auto;
	padding: 0 var(--padh);
}

.locations-text{
	width: 100vw;
	height: 100vh;
position: absolute;
	z-index: 2;
	color: var(--primary);
	padding: 80px 40px;
	}




.logo{
	width: 100vw;
	height: 100vh;
position: absolute;
	display: flex;
	cursor: pointer;
	justify-content:  center;
	align-items: center;
	z-index: 2;}

.cover-media-full{
	width: 100vw;
	height: 100vh;
	position: relative;
}
.cover-media-full video, .cover-media-full img{
	object-fit:cover;
	height: 100%;
}

.page-content{
	padding: calc(var(--pad) * 4) calc(var(--pad) * 2); 
}
.more-info{
	position: fixed;
	top:var(--pad);
	right: calc(var(--pad) * 2);
	z-index: 999999;
	}
#info-overlay{
	position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.8);
}
.info-col{
	width:calc((100vw - var(--padh) - var(--padb) - var(--padb)) / 2);
	margin-left: auto;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
	padding: calc(var(--padh) * 2) var(--pad) var(--pad);
}

footer{
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.footer{
	align-items: baseline;
	display: flex;
	gap:var(--padb);
	justify-content: center;
	position: absolute;
	width: 100%;
	bottom: var(--pad);}

.uppercase{
	text-transform: uppercase;
}
.tright{
	justify-content: flex-end;
	text-align: right;
}
.tcenter{
text-align: center;}

.grid-2{
	gap:var(--padh);
	padding: var(--padh) var(--padb);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}
.sticky{
	position: sticky;
	top:var(--padh);
	height: fit-content;
}

.page-template-work #main *:last-child,
.page-template-home #main *:last-child{
	padding-bottom: 0;
}

.page-template-about #main{
	min-height: 100vh;
}


.page-template-work footer,
.page-template-home footer{
	margin-top: calc((var(--padh) * 2) * -1);
}




.works-grid {
  padding: calc(var(--padh) * 2) var(--padb);
}
.grid-sizer,
.work-item { width: calc((100vw - var(--padh) - var(--padb) - var(--padb)) / 2); }

svg{
	width: 100vw;
	height: auto;
	padding: 0 var(--padh);
}


.work-item{
margin-bottom: calc(var(--padh) * 2);
}
.featured-title{
	margin-left: var(--pad);
}
.featured-post a{
	width: 100% !important;
	display: block;
}
.featured-post{
	margin-bottom: var(--padh);
}
.single h1{
	position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.work-item a{
	display: block;
}

.work-item.col1 a{
	margin-left: auto;
}
.work-item.col2 a{
	margin-right: auto;
}


.v-media-item:last-of-type{
	margin: 0 auto 0;
}

.v-media-item{
	margin: 0 auto var(--padh);
}

.v-media-item.vertical{
	width: calc(100% * 0.67);
}
.caption{
	margin-top: var(--pad);
}

.medium-size.vertical a{
	width: 50%;
}
.big-size.vertical a{
	width: calc(100% * 0.67);
	margin-left: auto;
	margin-right: auto;
	}
.medium-size.horizontal a{
	width: calc(100% * 0.67);
	}

.filters-toggle,
.filters {
  display: none;
}
.filters-toggle.open,
.filters.open {
  display: flex;
}

.filters-cont *{ color: white;}
.filters {  gap:.75rem; list-style:none; padding:0; margin:0; }
.filters li { cursor:pointer; opacity:.6; }
.filters li.active { opacity:1;  }

.js-masonry { position: relative; }     /* container must be relative */
.work-item { 
  opacity: 1; 
  transition: opacity .3s ease;         /* only opacity here */
  will-change: opacity; 
}
.work-item.is-hiding { opacity: 0; }


.filters-cont{
	mix-blend-mode: difference;
		position: fixed;
	z-index: 999999;
	top:var(--pad);
	right: calc(var(--pad) * 2);
}


.wrap{
	flex-wrap: wrap;
}
.padded{
	padding:var(--pad);
}

.full{
	width: 100%;
	height: var(--app-height);
	height: 100vh;
}
	
/* MENU */

.absolute-menu *{
	color: white;
}
.absolute-menu{
	mix-blend-mode: difference;
	position: absolute;
	z-index: 9999;
	top:0;
	left: 0;
	padding: var(--pad);
	width: 100vw;
}


[id^="menu-main"]{
	display: flex;
	gap:calc(var(--pad) * 2);
	width: 100%;
	justify-content: center;
}
[id^="menu-main"] li a{
}

.icon-menu, .icon-close{
	display: inline-block;
	    font-size: 24px;
	    cursor: pointer;
}
.inverter{
	    mix-blend-mode: difference;
	    color:var(--primary);
position: fixed;
z-index: 99999999
	
}

video{
	width: 100%;
}
.work-cover { width: 100%; }
.cover-media { display:block; width:100%; height:auto; }

.mobile-menu.icon-close{
	color: var(--contrast);
}


.work-cover{
	margin-bottom: 10px;
}

.icon-close{
	    mix-blend-mode: difference;
	    color:var(--primary);
position: fixed;
z-index: 99999;
top:var(--padm);
right:var(--padb);	
	}

.menu-hover{
	overflow: hidden;
transition: all 0.3s ease;
pointer-events: none;
	position: fixed;
	width: 100%;
	height: 0;
	top: 0;
	background-color: var(--accent);
z-index: 9999999;}
.menu-int{
		    height: var(--app-height);
padding: var(--pad) var(--pad) 0;
    width: 100%;
    display: flex;
    flex-direction: column;
justify-content: flex-end;
  align-items: flex-start;
}
.menu-int [id^="menu-main"]{

}

.menu-int [id^="menu-main"] a{
display: inline-block;
}

.menu-hover.appear{
	    height: var(--app-height);
pointer-events: all;}



.blocks{
	display: flex;
	flex-direction: column;
	gap:90px;
	padding: var(--padb);
}
s
.post-content p,
.post-content h2,
.post-content h3,
.post-content ul,
.post-content ol,
.post-content blockquote {
	break-inside: avoid;
}
.post-content p{
margin-bottom: 40px;
width: 100%;
}
.post-content *:last-child{
	margin-bottom: 0;
}


.current-menu-item {
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}


body.no-scroll {
  overflow: hidden;
}


.covers{
	margin-top: -10vh;
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: 1;
}

.cover-hover.hidden {
  display: none;
}


/* INPUTS */
input[type="checkbox"]
{
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     display: inline-block;
     position: relative;
     height: 0px;
     border-radius: 0;
     width: 0px;
     cursor: pointer;     
     outline: none;
     border: none;
     margin: 0;
}

input[type="checkbox"]:checked + label{
	color: #444444;
}
input[type="checkbox"]:hover
{
     background-color: var(--contrast);
}
input[type="checkbox"]:checked
{
background-color: var(--contrast);
}

input[type="submit"]{
	  font-size: var(--body);
	 -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     display: inline-block;
     font-family: var(--sans);

     border: none;
     cursor: pointer;
     cursor: pointer;
     outline: none;
padding: 8px 22px;
background: #E5E5E5;
border-radius: 30px;
margin-left: 20px;
}


input[type="text"],
input[type="tel"], 
input[type="email"], 
input[type="password"],
select,
textarea{
	flex: 1;
	  font-size: var(--body);
	padding: 10px 0px 5px;
	 -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     display: inline-block;
     position: relative;
     background-color: transparent;
     font-family: var(--sans);
     color: var(--primary);
     border: none;
     border-bottom: 1px solid var(--primary);
     border-radius: 0px;
     outline: none;
}
input[type="text"]:focus,
input[type="tel"]:focus, 
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus{
} 



@media all and (-ms-high-contrast:none){}