
.traum-photo-layer {position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; background:#333}
.traum-photo-layer::after {content:"";position:absolute;inset:0;background:rgba(0,0,0,.38)}
.traum-photo-track {display:flex;width:100%;height:100%;animation:traum-home-slide 18s linear 3s infinite both}
.traum-photo-track img {display:block;flex:0 0 100%;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.traum-photo-mobile {position:relative}
.traum-photo-mobile > .visual_area {position:relative;z-index:1}
.traum-photo-mobile .visual_area .item {background:transparent !important}
@media (prefers-reduced-motion:reduce) {.traum-photo-track {animation:none}}

.traum-photo-fixed {width:100%;height:100%;object-fit:cover;display:block}
.traum-photo-secondary {width:50%;aspect-ratio:8/5;margin:20px auto;overflow:hidden;background:#333;animation:traum-photo-reveal 3s steps(1,end) both}
@keyframes traum-photo-reveal {from {visibility:hidden} to {visibility:visible}}
@keyframes traum-home-slide {
0% {transform:translateX(0%)}
7.777778% {transform:translateX(0%)}
11.111111% {transform:translateX(-100%)}
18.888889% {transform:translateX(-100%)}
22.222222% {transform:translateX(-200%)}
30.000000% {transform:translateX(-200%)}
33.333333% {transform:translateX(-300%)}
41.111111% {transform:translateX(-300%)}
44.444444% {transform:translateX(-400%)}
52.222222% {transform:translateX(-400%)}
55.555556% {transform:translateX(-500%)}
63.333333% {transform:translateX(-500%)}
66.666667% {transform:translateX(-600%)}
74.444444% {transform:translateX(-600%)}
77.777778% {transform:translateX(-700%)}
85.555556% {transform:translateX(-700%)}
88.888889% {transform:translateX(-800%)}
96.666667% {transform:translateX(-800%)}
100.000000% {transform:translateX(-900%)}
}

.traum-photo-layer {isolation:isolate}
.traum-photo-layer::after {z-index:1}
.traum-photo-layer .traum-photo-secondary {position:absolute;right:3.5%;top:min(58%,54vh);z-index:2;width:50%;max-height:min(40%,39vh);margin:0}
@media(max-width:760px){.traum-photo-layer .traum-photo-secondary{right:3%;top:auto;bottom:8%;max-height:36%}}

/* Touch carousel within the fixed cover photo. */
@media(max-width:1100px), (pointer:coarse){
 .traum-touch-home{position:relative}
 .traum-photo-layer .traum-photo-secondary,.traum-touch-home>.traum-photo-secondary{
   position:absolute;right:4%;top:auto;bottom:7%;z-index:3;width:52%;height:32%;max-height:none;margin:0;
   pointer-events:auto;animation:none;visibility:visible;touch-action:pan-x pan-y;
 }
 .traum-touch-home>.traum-photo-secondary:not(.traum-slides-ready),
 .traum-photo-layer .traum-photo-secondary{visibility:hidden}
 .traum-touch-home>.traum-photo-secondary .traum-photo-track{
   display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;
   animation:none;transform:none;touch-action:pan-x pan-y;
 }
 .traum-touch-home>.traum-photo-secondary .traum-photo-track::-webkit-scrollbar{display:none}
 .traum-touch-home>.traum-photo-secondary img{scroll-snap-align:start}

}
@media(min-width:1101px) and (pointer:fine){.traum-touch-home>.traum-photo-secondary{display:none}}
