/*
 * LONST TECH index.css v1.4.19
 * Home page only.
 */
.home-hero {
  position: relative;
  display: block;
  min-height: clamp(360px, 46vw, 620px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--hero-bg);
  color: var(--hero-title);
  padding: clamp(66px, 7.2vw, 104px) clamp(24px, 5vw, 76px) clamp(48px, 5.8vw, 80px);
}

.home-hero h1 {
  position: relative;
  z-index: 1;
  width: min(100%, 1220px);
  max-width: 100%;
  color: var(--hero-title);
  font-size: clamp(54px, 9.8vw, 158px);
  font-weight: 950;
  line-height: .8;
  letter-spacing: -.084em;
  text-transform: uppercase;
}

.home-hero h1 span {
  display: block;
}

.home-hero h1 small {
  display: inline-block;
  margin-left: .16em;
  color: var(--hero-title);
  font-size: .45em;
  letter-spacing: -.08em;
  vertical-align: middle;
}

.home-hero h1 > span:first-child {
  max-width: min(100%, 7.8em);
  white-space: normal;
}

.home-hero h1 > small,
.home-hero h1 > span:last-child {
  white-space: nowrap;
}

.home-hero .hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(420px, 38vw, 620px);
  top: clamp(248px, 24vw, 350px);
  width: clamp(210px, 19vw, 310px);
  padding: clamp(10px, 1.2vw, 16px) clamp(12px, 1.5vw, 20px);
  border: 1px solid color-mix(in srgb, var(--hero-copy) 46%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--hero-copy) 11%, transparent);
  color: var(--hero-copy);
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.05;
  letter-spacing: -.055em;
  text-align: left;
  text-shadow: none;
  pointer-events: none;
}

.home-hero .hero-copy p {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

.home-company {
  margin: 0 clamp(22px, 5vw, 78px);
  padding-left: 0;
  padding-right: 0;
}

.hero-thumb img {
  object-fit: cover;
  object-position: 50% 50%;
}

.about-row .about-thumb {
  display: grid;
  min-height: 300px;
  height: clamp(300px, 34vw, 500px);
  place-items: center;
  background: color-mix(in srgb, var(--accent) 92%, var(--paper) 8%);
}

.about-row .about-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  padding: clamp(10px, 2.2vw, 34px);
  transform: scale(1);
  transform-origin: center;
}

.about-row:hover .about-thumb img {
  transform: scale(1.04);
}

@media (max-width: 1080px) {
  .home-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 16px;
    padding: 66px 20px 36px;
  }

  .home-hero h1 {
    order: 1;
    width: 100%;
    font-size: clamp(46px, 12.6vw, 96px);
    line-height: .84;
    letter-spacing: -.078em;
  }

  .home-hero h1 > span,
  .home-hero h1 > small {
    white-space: normal;
  }

  .home-hero .hero-copy {
    position: static;
    order: 2;
    width: min(100%, 420px);
    max-width: 420px;
    color: var(--hero-copy);
    font-size: clamp(15px, 2.8vw, 20px);
    line-height: 1.18;
  }

  .home-company {
    margin: 0 20px;
  }

  .about-row .about-thumb {
    min-height: 250px;
    height: clamp(250px, 50vw, 420px);
  }
}

@media (max-width: 680px) {
  .home-hero {
    gap: 12px;
    padding: 60px 18px 32px;
  }

  .home-hero h1 {
    font-size: clamp(38px, 13.2vw, 66px);
    line-height: .86;
  }

  .home-hero h1 > span:first-child {
    max-width: 100%;
  }

  .home-hero .hero-copy {
    width: min(100%, 310px);
    font-size: 13px;
    line-height: 1.16;
  }

  .about-row .about-thumb {
    min-height: 220px;
    height: clamp(220px, 70vw, 340px);
  }

  .about-row .about-thumb img {
    padding: 12px;
  }
}
