:root {
  --token-display--font-family: "Pp Neue Montreal Variable", sans-serif;
  --primitive-lava--lava-600: #e51111;
  --primitive-letter-spacing--1: -0.01em;
}

/*fluid responsive*/
html {
  font-size: calc(0.625rem + 0.41666666666666663vw);
}
@media screen and (max-width: 1920px) {
  html {
    font-size: calc(0.625rem + 0.41666666666666674vw);
  }
}
@media screen and (max-width: 1440px) {
  html {
    font-size: calc(0.8126951092611863rem + 0.20811654526534862vw);
  }
}
@media screen and (max-width: 479px) {
  html {
    font-size: calc(0.7494769874476988rem + 0.8368200836820083vw);
  }
}

/*type-variables*/
:root {
  --primitive-font-weight--montreal-500: 500;
  --primitive-font-weight--montreal-640: 640;

  --primitive-text-transform--uppercase: uppercase !important;
}

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: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* NAVIGATION */

.navigation {
  will-change: auto;
}

.trplm-nav-link-wrapper .trplm-link-short .trplm-link-letter {
  transition: 0.2s ease-in margin;
}

.trplm-nav-link-wrapper .trplm-link-full .trplm-link-letter {
  opacity: 0;
}

.trplm-nav-link-wrapper.expended .trplm-link-full {
  opacity: 1;
}
.trplm-nav-link-wrapper.expended
  .trplm-link-full
  .trplm-link-letter:nth-child(3),
.trplm-nav-link-wrapper.expended
  .trplm-link-full
  .trplm-link-letter:nth-child(5),
.trplm-nav-link-wrapper.expended
  .trplm-link-full
  .trplm-link-letter:nth-child(7),
.trplm-nav-link-wrapper.expended
  .trplm-link-full
  .trplm-link-letter:nth-child(8) {
  opacity: 1;
  transition-delay: 0.2s;
}
.trplm-nav-link-wrapper.expended
  .trplm-link-short
  .trplm-link-letter:nth-child(3) {
  margin-left: 0.18rem;
}

.trplm-nav-link-wrapper.expended
  .trplm-link-short
  .trplm-link-letter:nth-child(4) {
  margin-left: 0.48rem;
}
.trplm-nav-link-wrapper.expended
  .trplm-link-short
  .trplm-link-letter:nth-child(5) {
  margin-left: 0.68rem;
}

/* BLURRY BACKGROUND */
.blurry-background {
  transition: opacity 0.2s ease-out;
  z-index: -1;
  opacity: 0;
}

@media only screen and (min-width: 479px) {
  .navigation.hovered .blurry-background {
    z-index: 9;
    opacity: 1;
  }
  .navigation .nav-child {
    z-index: 0;
  }
  .navigation.hovered .nav-child {
    z-index: 10;
  }
}

/* VALORS SECTION */

.valors-container .blurry-background {
  z-index: 1;
}
.valors-container.blurred .blurry-background {
  opacity: 1;
}

.valors-container .valor-row > h2 {
  transition: color 0.5s ease;
}
.valors-container .valor-row .valors-tags-container > .tag {
  cursor: default;
}

.valors-container.variant .valor-row > h2 {
  color: white;
}
.valors-container.variant .valor-row .valors-tags-container > .tag {
  transition: color 0.5s ease, border 0.5s ease;
  color: white;
  border: 1px solid white;
}

.valors-container.variant .valor-row .valors-tags-details-container > .caption {
  color: white;
}
.valors-container .valor-row .valors-tags-details-container > .caption {
  z-index: 2;
  opacity: 0;
  transition: all 600ms cubic-bezier(0, 0.65, 0.46, 1);
  top: 10px;
}

.valors-container .valor-row .valors-tags-details-container > .caption.active {
  opacity: 1;
  top: 0;
}

.valors-container .valor-row h2 {
  pointer-events: none;
}

/* CONTACT SECTION */
.contact-section .contact-section-row .arrow {
  will-change: transform;
  cursor: pointer;
}

.contact-section h1 {
  transition: color 0.5s ease, border 0.5s ease;
}
.contact-section.variant h1 {
  color: white;
}

/* LINKS */
.link-btn-wrapper .left-bracket,
.link-btn-wrapper .right-bracket {
  transition: left 0.2s ease, right 0.2s ease;
}

.link-btn-wrapper:hover .left-bracket {
  left: 1px; /* 3px -> 1px */
}
.link-btn-wrapper:hover .right-bracket {
  right: 1px; /* 3px -> 1px */
}

/* MONOGRAM WHITE */
.spline-scene-monogram {
  transition: filter 0.4s linear;
}
.spline-scene-monogram.white {
  filter: saturate(0) brightness(1000);
}

.page-transition {
  display: block;
}

/* fix opacity: 1 on load */
.canvas-profile {
  opacity: 0;
}

/* NOISE BACKGROUND ANIMATION */
.noise-wrap-noise {
  animation: 250ms steps(10, end) 0s infinite alternate-reverse none running
    noise-animation;
}

@keyframes noise-animation {
  0% {
    background-position: 0% 0%;
  }
  10% {
    background-position: -5% -5%;
  }
  20% {
    background-position: -10% 5%;
  }
  30% {
    background-position: 5% -10%;
  }
  40% {
    background-position: -5% 15%;
  }
  50% {
    background-position: -10% 5%;
  }
  60% {
    background-position: 5% 5%;
  }
  70% {
    background-position: 0% 10%;
  }
  80% {
    background-position: -5% -5%;
  }
  90% {
    background-position: 10% 5%;
  }
}

/* BACKGROUND VIDEO */

.w-background-video--control {
  left: 1rem;
  bottom: 1rem;
  right: auto;
}
