.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15rem;
  @media (min-width: 768px) {
    flex-direction: row;
    justify-content: space-between;
    height: 35rem;
  }
  @media (min-width: 768px) {
    height: 50rem;
  }
  @media (min-width: 1200px) {
    height: clamp(55rem, calc(var(--vh , 1vh) * 100 + 5rem), 70rem); 
  }
  
  & .home-hero__content {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    padding-top: 7.5rem;
    padding-right: 2.5rem;
    @media (min-width: 768px) {
      justify-content: end;
      flex: 1 1 0%;
      height: 100%;
      padding: 0;
      width: 46.25%;
      max-width: 46.25rem;
    }
  }
  
  & .home-hero__title {
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: fit-content;
    position: absolute;
    top: 11.25rem;
    left: 1.25rem;
    & .home-hero__title-main {
      line-height: 1.15;
      letter-spacing: 0.1em;
      font-family: var(--font-serif);
      font-size: 2.25rem;
    }
    & .home-hero__title-sub {
      line-height: 1.8;
      font-weight: 500;
      font-size: 0.875rem;
      padding-left: 2.5rem;
    }
    &.home-hero__title--ivory {
      z-index: 1;
      color: var(--ivory);
    }
    @media (min-width: 768px) {
      top: -6rem;
      right: -10rem;
      left: auto;
      & .home-hero__title-main {
        font-size: 3rem;
      }
      & .home-hero__title-sub {
        font-size: 1rem;
        padding-left: 3rem;
      }
    }
    @media (min-width: 1024px) {
      top: -9rem;
      right: -13rem;
      & .home-hero__title-main {
        font-size: 4.5rem;
      }
      & .home-hero__title-sub {
        font-size: 1.125rem;
        padding-left: 3.5rem;
      }
    }
    @media (min-width: 1200px) {
      top: -11.375rem;
      right: -17.125rem;
      & .home-hero__title-main {
        font-size: 5.5rem;
      }
      & .home-hero__title-sub {
        font-size: 1.25rem;
        padding-left: 4.375rem;
        & br:last-child {
          display: none;
        }
      }
    }
  }
  
  & .home-hero__image-wrapper {
    padding-left: 3.75rem;
    @media (min-width: 768px) {
      height: 100%;
      padding: 0 0 8rem;
      width: 30%;
    }
  }
  
  & .home-hero__image {
    position: relative;
    width: 100%;
    &::after {
      content: "";
      pointer-events: none;
      position: absolute;
      inset: 0;
      background-color: hsl(0deg 0% 0% / 10%);
    }
    & > img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
    &.home-hero__image--1 {
      height: 12.5rem;
    }
    &.home-hero__image--2 {
      height: 15rem;
    }
    @media (min-width: 768px) {
      &.home-hero__image--1 {
        height: 100%;
      }
      &.home-hero__image--2 {
        height: 100%;
      }
    }
  }
}

.home-bg-logo {
  width: 117.3333333333%;
  position: absolute;
  bottom: 17.5rem;
  left: 50%;
  transform: translate(-50%, 100%);
  & img {
    width: 100%;
  }
  @media (min-width: 768px) {
    width: 95%;
    bottom: 5rem;
  }
  @media (min-width: 1024px) {
    bottom: 10rem;
  }
  @media (min-width: 1200px) {
    bottom: 23rem;
  }
}

.home-intro-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 1304;
  & img {
    object-fit: cover;
    position: absolute;
    &:first-child {
      top: 3.75rem;
      right: 0;
      aspect-ratio: 1 / 1;
      width: 37.5%;
      @media (min-width: 1024px) {
        top: 5rem;
      }
    }
    &:last-child {
      bottom: 0;
      left: 0;
      aspect-ratio: 8 / 9;
      width: 50%;
    }
  }
}

.home-tool-illust {
  position: absolute;
  &.home-tool-illust--1 {
    width: 11.25rem;
    top: calc(50% + 9.375rem);
    right: -1.25rem;
    transform: translateY(-50%);
  }
  &.home-tool-illust--2 {
    width: 20rem;
    bottom: 7.5rem;
    left: -5rem;
  }
  @media (min-width: 1200px) {
    &.home-tool-illust--1 {
      right: 5rem;;
    }
    &.home-tool-illust--2 {
      left: 5rem;
    }
  }
}

.home-features-card {
  transition: all ease 200ms;
  &::before {
    pointer-events: none;
    content: "";
    position: absolute;
    inset: 0;
  }
  &:hover {
    text-decoration: none;
    opacity: 90%;
    background-color: hsl(0deg 0% 0% / 2%);
    filter: blur(0.5px);
  }
}

.home-features-card__num {
  line-height: 1;
  letter-spacing: 0;
  font-family: var(--font-serif);
  color: var(--ink);
  opacity: 10%;
  font-size: 3.75rem;
  position: absolute;
  top: -0.5833333333em;
  left:-0.5em;
  @media (min-width: 768px) {
    font-size: 4.5rem;
  }
  @media (min-width: 1200px) {
    font-size: 6rem;
  }
}

.home-column {
  & .webgene-blog {
    display: grid;
    gap: 1.5rem;
    @media (min-width: 1024px) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      & .webgene-no-items {
        grid-column: span 3 / span 3;
      }
    }
  }
}

.home-insta1 {
  width: 100%;
  position: relative;
  &::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-color: hsl(0deg 0% 0% / 30%);
    z-index: 2;
  }
  & .webgene-no-items {
    min-height: 17.5rem;
    opacity: 0%;
  }
  & .swiper-wrapper {
    transition-timing-function: linear;
  }
  & .swiper-slide {
    & img,
  	& video { 
    width: 100%;
    	aspect-ratio: 4 / 3;
      object-fit: cover;
    }
  }
}



