#HomePage {
  padding-top: 120vh;
}
/* hero section */

a {
  color: inherit;
  text-decoration: none;
}

.HomeHero {
  position: absolute;
  left: 0;
  top: 0;
  padding: 150px var(--margin) var(--margin);
  width: 100%;
  height: 100dvh;
  height: 100svh;
  height: 100vh;
  background: var(--blackColor);
}

.HomeHero__title {
  width: var(--heroTitleWidth);
  font-style: normal;
  font-weight: 400;
  --minFontSize: 48;
  --maxFontSize: 128;
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.HomeHero__title i {
  font-variation-settings: "SRFF" 0.2, "slnt" -1;
}

.HomeHero__definition {
  width: 100%;
  font-style: normal;
  --minFontSize: 16;
  --maxFontSize: 19;
  line-height: 1.4;
  text-indent: var(--margin);
  font-variation-settings: "wght" 320, "SRFF" 0;
}

.HomeHero__definition i {
  font-variation-settings: "wght" 320, "SRFF" 0, "slnt" -1;
}

.HomeHero__definition a {
  text-decoration: underline;
  color: inherit;
}

.HomeHero__row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  opacity: 0;
  transform: translateY(60px);
  font-variation-settings: "wght" 100, "SRFF" 0.2;
  transition: opacity ease-out 500ms, transform ease-out 1200ms,
    font-variation-settings ease-out 1600ms;
}

.initialized .HomeHero__row {
  transform: translateY(0);
  opacity: 1;
  font-variation-settings: "wght" 500, "SRFF" 0.2;
}

.HomeHero__copy {
  position: absolute;
  bottom: 100px;
  left: 20px;
  min-width: 300px;
  width: 20%;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

@media (min-width: 768px) {
  .HomeHero__definition {
    width: 31.75%;
  }
  .HomeHero__copy {
    left: 80px;
  }
}

.HomeHero__copy--5,
.HomeHero__copy--10,
.HomeHero__copy--20 {
  opacity: 0;
  transition: opacity 500ms;
}

.HomeHero__chart {
  position: fixed;
  left: var(--margin);
  width: calc(100% - calc(var(--margin) * 2));
  height: calc(100vh - 250px);
  bottom: 30px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1000ms;
}

.HomeHero__chart--hidden {
  opacity: 0 !important;
  transition: opacity 500ms ease-in 800ms;
}

.HomeHero__chartLines {
  position: absolute;
  left: 0;
  bottom: calc(30px + 3vh);
  width: calc(100% - 26px);
  height: calc(100% - 42px);
  transform-origin: 0 100%;
  transition: opacity 500ms, transform 1000ms;
}

.HomeHero__chartLine {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 5%;
  transform-origin: 0 100%;
  transition: opacity 500ms, transform 1000ms;
  display: flex;
  align-items: flex-end;
}

.HomeHero__chartLine {
  stroke-dashoffset: 150;
  stroke-dasharray: 150;
  animation: drawLine 1400ms cubic-bezier(0, 0.25, 0.25, 1) 1100ms forwards;
}

.HomeHero__chartLine:nth-of-type(2) {
  stroke-dashoffset: -110;
  stroke-dasharray: 110;
  animation: drawLine2 1200ms cubic-bezier(0, 0.25, 0.25, 1) 800ms forwards;
}

.HomeHero__chartLine:nth-of-type(3) {
  stroke-dashoffset: -100;
  stroke-dasharray: 100;
  animation: drawLine3 1000ms cubic-bezier(0, 0.25, 0.25, 1) 500ms forwards;
}

.initialized .HomeHero__chart {
  opacity: 1;
}

.HomeHero__chartLine svg {
  width: 100%;
  height: 100%;
}

.HomeHero__chartLine svg path {
  /* i am animating the path in from left to right */
  transform-origin: 0 100%;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes drawLine {
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes drawLine2 {
  to {
    opacity: 1;
    stroke-dashoffset: 1;
    stroke-dasharray: 1;
  }
}

@keyframes drawLine3 {
  to {
    opacity: 1;
    stroke-dashoffset: 0.5;
    stroke-dasharray: 0.5;
  }
}

.HomeHero__chartBottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 36px);
}

@media (min-width: 960px) {
  .HomeHero__chartBottom {
    width: calc(100% - 26px);
  }
}

.HomeHero__chartAxis--x {
  position: relative;
  border-bottom: 1px solid;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.HomeHero__chartTick--x {
  border-right: 1px solid;
  height: 8px;
}

.HomeHero__chartFooter {
  display: flex;
  justify-content: space-between;
  font-family: "Geist Mono Variable";
  --minFontSize: 12;
  --maxFontSize: 12;
  font-variation-settings: "wght" 500;
  margin-top: 8px;
}

.HomeHero__chartRight,
.HomeHero__chartPercentages {
  position: absolute;
  top: 0;
  transform: translateX(calc(100% + 18px)) translateY(-2vh);
  height: calc(100% - 44px);
  right: 26px;
  display: flex;
  justify-content: space-between;
  text-align: left;
  font-family: "Geist Mono Variable";
  --minFontSize: 12;
  --maxFontSize: 12;
  font-variation-settings: "wght" 500;
  margin-top: 44px;
}

.HomeHero__chartPercentages {
  color: #50d2d7;
  top: -64px;
  right: 70px;
  height: 78.5%;
  display: flex;
  text-align: right;
  flex-direction: column;
  justify-content: space-between;
}

.HomeHero__chartPercentage:nth-of-type(2) {
  position: relative;
  top: 23%;
  color: #965345;
}

.HomeHero__chartPercentage:nth-of-type(3) {
  position: relative;
  color: #965345;
}

@media (max-width: 960px) {
  .HomeHero__chartRight {
    right: 36px;
  }
}

.HomeHero__chartAxis--y {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: 0 100%;
  transition: opacity 1500ms, transform 1500ms;
}

.HomeHero__chartTick--y {
  position: relative;
  white-space: nowrap;
}

.HomeHero__chartTick--y::after {
  position: absolute;
  left: -11px;
  top: 11px;
  content: "";
  border-bottom: 1px solid;
  width: 8px;
}

.HomeHero__chartTick--y--original {
  position: absolute;
  bottom: calc(7.7% + 10px);
  opacity: 0.5;
}

/* EVERYTHING SECTION */

.HomeEverythingSection {
  padding: calc(var(--margin) * 4) var(--margin) var(--margin);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 0;
  height: 92vh;
  width: 100%;
}

@media (min-width: 960px) {
  .HomeEverythingSection {
    margin-bottom: 0px;
    height: 100vh;
    padding: calc(var(--margin) * 2) var(--margin) var(--margin);
  }
}

.HomeEverythingSection__title {
  width: 80vw;
  cursor: pointer;
}

.HomeEverythingSection a {
  color: inherit;
  text-decoration: none;
}

.HomeEverythingSectionLabel {
  font-family: "Geist Mono Variable";
  font-style: normal;
  --minFontSize: 12;
  --maxFontSize: 12;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  font-variation-settings: "wght" 400;
  padding: 2px 4px 1px;
  background: var(--whiteColor);
  color: var(--blackColor);
  position: fixed;
  left: 0;
  top: 0;
  letter-spacing: 0;
}

.HomeEverythingSection__list {
  font-family: "Arizona";
  font-weight: 400;
  font-variation-settings: "SRFF" 0.2;
  --minFontSize: 30;
  --maxFontSize: 64;
  align-self: flex-end;
  line-height: 1.2;
}

.HomeEverythingSectionLabel {
  transition: opacity 400ms;
}

.HomeEverythingSection:hover .HomeEverythingSectionLabel {
  opacity: 1;
}

.HomeHero__lines {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  transition: opacity 1000ms;
}

.HomeHero__lines canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.HomeHero__lines img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 959px) {
  .isDesktopOpnly {
    display: none;
  }
}

@media (min-width: 960px) {
  .isMobileOnly {
    display: none;
  }
}
