* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  color: #333;
  background-color: #fafafa;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 0, 255, 0.03) 2px, rgba(255, 0, 255, 0.03) 4px),
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 0, 0.02) 2px, rgba(255, 255, 0, 0.02) 4px);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  position: relative;
  font-family: Satoshi, sans-serif;
  font-size: .9rem;
  line-height: 1em;
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 100, 100, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: chromatic-shift 15s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, rgba(0,255,255,0.02) 0%, transparent 50%, rgba(255,0,255,0.02) 100%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

@keyframes chromatic-shift {
  0%, 100% {
    opacity: 0.6;
    filter: hue-rotate(0deg);
  }
  50% {
    opacity: 0.8;
    filter: hue-rotate(20deg);
  }
}

img {
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: inline-block;
}

html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
.gallery_image:nth-child(odd){
  transform: translateY(30%);
}	
.gallery_image:nth-child(even){
  transform: translateY(-30%);
}
.paragraph{
  width: 100%; /* or specific width */
  display: block;
  white-space: normal;
}
.line, .word, .line-wrap, .char-wrap{
  overflow: hidden;
}
.line-wrap, .char-wrap{
  display: inline-block;
}
.cursor{
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  z-index: 9999;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  opacity: 0;
}
.cursor.is-visible{
  opacity: 1;
} 
.cursor.is-open .cross_button{
  transform: rotateZ(360deg);
}
.cross_button{
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid black;
  background-color: white;
  transform: rotateZ(45deg);
}
.cross_button::after,
.cross_button::before{
  content: "";
  position: absolute;
  background-color: black;
  top: 50%;
  left: 50%;
  width: calc(100% - 0.75rem);
  height: 1.1px;
}
.cross_button::after{
  transform: translate(-50%, -50%) rotateZ(-45deg);
}
.cross_button::before{
  transform: translate(-50%, -50%) rotateZ(45deg);
}

.content:nth-child(even) .content_title-top{
  justify-content: flex-end;
 }
 .content:nth-child(even) .content_title-bottom{
  justify-content: flex-start;  
 }
 .content:nth-child(even) .content_text-left {   
  justify-content: flex-start;  
 }  
 .content:nth-child(even) .content_text-right {
  justify-content: flex-end;  
 }

.section_content {
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 100vw;
  overflow: hidden;
}

.section_content.is-hidden {
  z-index: 0;
}

.button_reference {
  z-index: 20;
  color: rgba(0, 0, 0, 0.6);
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  gap: 0.35rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button_reference:hover {
  color: rgba(0, 0, 0, 0.9);
  transform: translateX(3px);
}

.button_reference strong {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.button_reference.fix-bottom-left {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
}

.demo-switcher {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 20;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1;
  transition: all 0.3s ease;
}

.demo-switcher__label {
  color: rgba(0, 0, 0, 0.4);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.demo-switcher__item {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.demo-switcher__item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.7);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-switcher__item:hover {
  color: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

.demo-switcher__item:hover::after {
  width: 100%;
}

.demo-switcher__item--current {
  color: rgba(0, 0, 0, 0.9);
  font-weight: 600;
  cursor: default;
}

.demo-switcher__item--current::after {
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.demo-switcher__item--current:hover {
  transform: none;
}

.code_js, .code_css {
  display: none;
}

.div-block {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  display: flex;
  position: fixed;
  top: 0;
}

.content_wrapper {
  aspect-ratio: 16 / 9;
  cursor: pointer;
  width: 50vw;
  position: relative;
}

.text-block {
  position: absolute;
  bottom: 330.2px;
}

.title-small {
  text-transform: uppercase;
  font-family: Generalsans, Tahoma, sans-serif;
  font-size: clamp(.9rem, .9vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  overflow: hidden;
}

.content {
  position: absolute;
  top: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  display: flex;
}

.gallery {
  grid-column-gap: 7.5vw;
  grid-row-gap: 7.5vw;
  flex-flow: row;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
}

.gallery_image {
  aspect-ratio: 1;
  cursor: pointer;
  height: 45vh;
}

.scroll-wrapper {
  position: fixed;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  position: relative;
  top: 0;
  overflow: hidden;
}

.content_text-right {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  flex-flow: column;
  width: 17vw;
  height: 100%;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
  padding-left: 1em;
  display: flex;
  position: absolute;
  left: 100%;
}

.content_text-left {
  grid-column-gap: .25rem;
  grid-row-gap: .25rem;
  text-align: right;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 17vw;
  height: 100%;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
  padding-right: 1em;
  display: flex;
  position: absolute;
  right: 100%;
}

.content_title-top {
  mix-blend-mode: difference;
  filter: invert();
  justify-content: flex-start;
  align-items: center;
  width: 105%;
  margin-left: 2em;
  display: flex;
  position: absolute;
  bottom: calc(100% - 1.5vw);
}

.content_title-bottom {
  color: #000;
  mix-blend-mode: difference;
  filter: invert();
  justify-content: flex-end;
  align-items: center;
  width: 105%;
  margin-left: 2em;
  display: flex;
  position: absolute;
  top: calc(100% - 1.75vw);
  left: 0%;
}

.title-big {
  color: #000;
  font-family: Generalsans, Tahoma, sans-serif;
  font-size: 6vw;
  line-height: .8em;
}

.nav {
  z-index: 100;
  position: fixed;
  inset: 0% 0% auto;
}

.nav_top-wrapper {
  z-index: 2;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 2vw;
  display: flex;
  position: relative;
}

.nav_top {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.nav_link {
  color: #000;
  font-family: Generalsans, Tahoma, sans-serif;
  font-size: .8rem;
  text-decoration: none;
  overflow: hidden;
}

.body {
  line-height: 1.1em;
}

.scroll-content {
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  padding-left: 35vw;
  padding-right: 35vw;
  display: flex;
}

.image_container {
  width: 100%;
  height: 100%;
}

.is-hidden {
  visibility: hidden;
}

.paragraph {
  font-size: clamp(.9rem, .9vw, 2.5rem);
  line-height: 1.1;
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .content_text-right, .content_text-left {
    width: 20vw;
  }
}

@media screen and (max-width: 767px) {
  .content_wrapper {
    width: 75vw;
  }

  .gallery_image {
    width: 50vw;
    height: auto;
  }

  .content_text-right {
    width: 100%;
    left: 0;
    top: 100%;
    padding: 1.5em 2em;
    text-align: center;
    align-items: center;
  }

  .content_text-left {
    width: 100%;
    right: 0;
    bottom: 100%;
    padding: 1.5em 2em;
    text-align: center;
    align-items: center;
  }

  .content_title-top, .content_title-bottom {
    width: 100%;
    margin-left: 0;
  }

  .title-small {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  .paragraph {
    font-size: clamp(0.85rem, 2.5vw, 1.2rem);
  }
}


@font-face {
  font-family: 'Satoshi Italic';
  src: url('../fonts/Satoshi-VariableItalic.ttf') format('truetype');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Generalsans Italic';
  src: url('../fonts/GeneralSans-VariableItalic.ttf') format('truetype');
  font-weight: 200 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Generalsans';
  src: url('../fonts/GeneralSans-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}